# Datasets and Functions to Accompany Analisis De Datos Con R

## Documentation for package ‘datana’ version 1.1.4

- DESCRIPTION file.

## Help Pages

A B C D E F G H I K L M O P Q R S T U V X

## -- A --

aboutrsq | About the R-Squared statistics: the Anscombe quartet dataset
aboutrsq2 | Sobre el estadístico R2: los datos del cuarteto de Anscombe
airnyc | Airquality data in New York city.
airnyc2 | Calidad del aire en la ciudad de Nueva York.
annualppCities | Time series of annual precipitations in cities of Chile.
annualppCities2 | Serie de tiempo de precipitaciones anuales en Chile.
assigncl | Function to assign classes based upon a variable of interest.

## -- B --

bears | Age and physical measurement data for wild bears
bears2 | Edad y características biométricas de osos salvajes
bearsdepu | Age and physical measurement data for wild bears (without missing values)
bearsdepu2 | Edad y características biométricas de osos salvajes (sin datos faltantes)
beetles | Population density growth of beetles
beetles2 | Crecimiento poblacional de escarabajos

## -- C --

cameratrap | Camera trap data on mammals in Ruaha National Park, southern Tanzania.
cameratrap2 | Camaras trampa de mamiferos en el parque nacional Ruaha, en el sur de Tanzania
carAccidents | Driver status after car accidents in Greece.
caribou | Caribou survival
caribou2 | Sobrevivencia de caribú
casen | Datos encuesta CASEN del 2022
cdf | Function to compute the cumulative distribution of a variable
chicksw | Chicken growth data.
chicksw2 | Crecimiento de pollos.
co2temp | CO2 emissions and temperature at country-level.
contrast | Function to compute the needed statistics for a given contrast
corkoak | Tree-level cork biomass data for Oak trees in Portugal
corkoak2 | Datos de biomasa de corcho en árboles de Encino en Portugal

## -- D --

deleteLeft | Deletes the first n-characters of a string
deleteRight | Deletes the last n-characters of a string
descstat | Creates a descriptive statistics table for continuous variables.

## -- E --

education | Stock and Watson CPS Education Earnings
election | Presidential election data of Florida (USA) in 2000.
election2 | Elección presidencial en el estado de Florida (USA) en el 2000.
endfid2 | Puntaje ENDFID 2021 por carrera
eucaleaf | Leaf measurements for Eucalyptus nitens trees in Tasmania, Australia.
eucaleaf2 | Mediciones foliares para árboles de Eucalyptus nitens en Tasmania, Australia.
eucaleafAll | Leaf measurements (all, n=744) for Eucalyptus nitens trees in Tasmania, Australia.
eucaleafAll2 | Mediciones foliares (todas, n=744) para árboles de Eucalyptus nitens en Tasmania, Australia.
extractLeft | Extracts the last n-characters of a string
extractRight | Extracts the last n-characters of a string

## -- F --

fdamage | Foliar damage by Ozone
fdamage2 | Daño foliar por Ozono
fertiliza | Fertilization experiment data.
fertiliza2 | Experimento de fertilización
ficdiamgr | Diameter growth of trees
ficdiamgr2 | Crecimiento diametral de árboles
findColumn.byname | Finds the position of a specific variable.
fishgrowth | Fish growth variables.
fishgrowth2 | Crecimiento de peces
forestfire | Forest fire occurrence in central Chile
forestfire2 | Ocurrencia de incendios forestales

## -- G --

gasoline | Prices of gasoline and crude oil
gasoline2 | Precios de gasolina y petróleo
gdpcap | Datos GDP-per capita
gmean | Function to compute the geometric mean of a numeric vector

## -- H --

hgrdfir | Tree height growth of Douglas-fir sample trees in the Northwest of the United States
hgrdfir2 | Crecimiento en altura de una muestra de árboles en los Estados Unidos
histbxp | Function for building a figure having both an histogram and a boxplot for a single random variable
hmean | Function to compute the harmonic mean of a numeric vector

## -- I --

idahohd | Tree height-diameter data from Idaho (USA)
idahohd2 | Altura-diámetro de árboles en el estado de Idaho (USA)
imacec2 | Índice Mensual de Actividad Económica (IMACEC)
interp | Interpolation function

## -- K --

kurto | Computes the sample kurtosis of a distribution

## -- L --

landcover | Land-cover, environmental and sociodemographic data for the 34 municipalities composing the Greater Santiago area, Santiago, Chile.
landcover2 | Cobertura territorial, ambiental y sociodemografica de los 34 municipios que componen el area del Gran Santiago, Santiago, Chile..
largetrees | Large trees in forests near Tolga, in Eastern Norway.
largetrees2 | Árboles grandes en bosques cercanos a Tolga, en el Este de Noruega.
leafw2 | Area y peso para hojas de árboles.
lifexpect | Esperanza de vida de paises
llancahue | Tree locations for a sample plot in the Llancahue experimental forest
llancahue2 | Ubicación cartesiana de árboles en el bosque de Llancahue
lrt | Performs a likelihood ratio test between two models being fitted by maximum likelihood.
lrt.glm | Computes a likelihood ratio test between a reduced model and a full model. Both models must be already fitted using and R function.

## -- M --

maple | Tree biomass of sugar maple (Acer saccharum) trees.
moda | Computes the mode
modresults | Creates an object having the main fitting statistics from a regression model.

## -- O --

obspredplot | Observed versus predicted values plot.

## -- P --

papersdocstu | Productividad científica de estudiantes de postgrado
pesohojas | Peso de hojas
plotrend | Function for building a scatterplot with a superposing smoothed line
presenceIce | Presence or absence of sea ice from logbook records of annual cruises
president | Eleccion presidencial del 2021 en Chile.
pressind | Function to compute the PRESS statistics of a regression model .
primarias | Elección primaria para la presidencia de Chile
pspLlancahue | Ubicación cartesiana de árboles en un bosque (solo como referencia para uso del libro).
pspruca | Tree spatial coordinates in the Rucamanque forest
pspruca2 | Ubicación espacial de árboles en el bosque de Rucamanque
ptaeda | Height growth of Pinus taeda (Loblolly pine) trees
ptaeda2 | Crecimiento en altura de Pinus taeda
pvalt | Obtain the P-value for a Standard t-distributed random variable
pvalz | Obtain the P-value for a Standard Gaussian random variable

## -- Q --

qqgauss | Function for producing a QQ plot for a Gaussian probability density function.

## -- R --

rainfallCA | Datos de precipitación en Californa
rankmod | Function to produce a table ranks the models being analyzed.
raulihg | Height growth of Nothofagus alpina trees in Chile.
raulihg2 | Crecimiento en altura de árboles de Nothofagus alpina.
rendesc2 | Rendimiento escolar por estudiante en Chile 2024

## -- S --

simce2 | Puntaje SIMCE 2023 en matemática 4to Básico por RBD
simmeind | Computes the simmetry index
singleupp | Convert
skewn | Computes the skewness of a numeric vector
sludge | Sludge data are at different cities, with a value of concentration zinc.
sludge2 | Sludge data are at different cities, with a value of concentration zinc.
smoothfit | Function to produce a smooth curve over a scatterplot
snaspe | On the National System of State Protected Wild Areas (SNASPE) of Chile.
snaspe2 | Sistema nacional de areas protegidas del estado (SNASPE) de Chile
soiltreat | Soil treatment experiment in tree seedlings
soiltreat2 | Tratamientos del suelo en el crecimiento de plantulas.
spataustria | Tree locations for several plots of Norway spruce (Picea abies) in Austria

## -- T --

tabtexanova | Creates a LaTeX file having an ANOVA table for a previously fitted linear regression model
tabtexdescstat | Creates a LaTeX file having a descriptive statistics table for continuous variables
tabtexregre | Creates a LaTeX file having an ANOVA table for a previously fitted linear regression model
timeserplot | Produces a time series plot
treevol | Diameter, height and volume for Black Cherry Trees
treevol2 | Volumen, altura, y diámetro para árboles de Black Cherry
treevolroble | Tree volume of roble (Nothofagus obliqua) in the Rucamanque forest
treevolroble2 | Volumen a nivel de árbol para roble (Nothofagus obliqua) especie en el bosque de Rucamanque

## -- U --

upperleft | convert the first n-characters of a string to upper-case letters.

## -- V --

valesta | Function to compute prediction statistics based on observed values
valestamod | Function to create a table with the prediction statistics by model.
vifx | Computes the variance inflation factor (VIF) for a multiple linear regression (MLR) model.

## -- X --

xyboxplot | Function for building a scatterplot with superposing boxplots
xyhist | A scatterplot with marginal histograms
xymultiplot | Figure of a matrix of scatterplots and histograms for several variables.