Learn R Programming

datana (version 1.1.5)

Datasets and Functions to Accompany Analisis De Datos Con R

Description

Datasets and functions to accompany the book 'Analisis de datos con el programa estadistico R: una introduccion aplicada' by Salas-Eljatib (2021, ISBN: 9789566086109). The package helps carry out data management, exploratory analyses, and model fitting.

Copy Link

Version

Install

install.packages('datana')

Monthly Downloads

835

Version

1.1.5

License

GPL (>= 3)

Maintainer

Christian Salas-Eljatib

Last Published

October 14th, 2025

Functions in datana (1.1.5)

caribou2

Sobrevivencia de caribú
beetles

Population density growth of beetles
bearsdepu2

Edad y características biométricas de osos salvajes (sin datos faltantes)
cameratrap2

Camaras trampa de mamiferos en el parque nacional Ruaha, en el sur de Tanzania
deleteRight

Deletes the last n-characters of a string
contrast

Function to compute the needed statistics for a given contrast
corkoak

Tree-level cork biomass data for Oak trees in Portugal
descstat

Creates a descriptive statistics table for continuous variables.
deleteLeft

Deletes the first n-characters of a string
datana-package

datana: Datasets and Functions to Accompany Analisis De Datos Con R
corkoak2

Datos de biomasa de corcho en árboles de Encino en Portugal
co2temp

CO2 emissions and temperature at country-level.
chicksw2

Crecimiento de pollos.
chicksw

Chicken growth data.
election2

Elección presidencial en el estado de Florida (USA) en el 2000.
eucaleafAll2

Mediciones foliares (todas, n=744) para árboles de Eucalyptus nitens en Tasmania, Australia.
education

Stock and Watson CPS Education Earnings
extractLeft

Extracts the last n-characters of a string
extractRight

Extracts the last n-characters of a string
endfid2

Puntaje ENDFID 2021 por carrera
eucaleafAll

Leaf measurements (all, n=744) for Eucalyptus nitens trees in Tasmania, Australia.
eucaleaf

Leaf measurements for Eucalyptus nitens trees in Tasmania, Australia.
election

Presidential election data of Florida (USA) in 2000.
eucaleaf2

Mediciones foliares para árboles de Eucalyptus nitens en Tasmania, Australia.
findColumn.byname

Finds the position of a specific variable.
fertiliza2

Experimento de fertilización
fertiliza

Fertilization experiment data.
forestfire

Forest fire occurrence in central Chile
fishgrowth2

Crecimiento de peces
ficdiamgr2

Crecimiento diametral de árboles
fishgrowth

Fish growth variables.
fdamage

Foliar damage by Ozone
ficdiamgr

Diameter growth of trees
fdamage2

Daño foliar por Ozono
hmean

Function to compute the harmonic mean of a numeric vector
gmean

Function to compute the geometric mean of a numeric vector
histbxp

Function for building a figure having both an histogram and a boxplot for a single random variable
idahohd

Tree height-diameter data from Idaho (USA)
hgrdfir

Tree height growth of Douglas-fir sample trees in the Northwest of the United States
gdpcap

Datos GDP-per capita
gasoline

Prices of gasoline and crude oil
forestfire2

Ocurrencia de incendios forestales
interp

Interpolation function
landcover2

Cobertura territorial, ambiental y sociodemografica de los 34 municipios que componen el area del Gran Santiago, Santiago, Chile..
leafw2

Area y peso para hojas de árboles.
largetrees2

Árboles grandes en bosques cercanos a Tolga, en el Este de Noruega.
gasoline2

Precios de gasolina y petróleo
hgrdfir2

Crecimiento en altura de una muestra de árboles en los Estados Unidos
lifexpect

Esperanza de vida de paises
largetrees

Large trees in forests near Tolga, in Eastern Norway.
kurto

Computes the sample kurtosis of a distribution
moda

Computes the mode
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.
landcover

Land-cover, environmental and sociodemographic data for the 34 municipalities composing the Greater Santiago area, Santiago, Chile.
imacec2

Índice Mensual de Actividad Económica (IMACEC)
idahohd2

Altura-diámetro de árboles en el estado de Idaho (USA)
obspredplot

Observed versus predicted values plot.
lrt

Performs a likelihood ratio test between two models being fitted by maximum likelihood.
modresults

Creates an object having the main fitting statistics from a regression model.
maple

Tree biomass of sugar maple (Acer saccharum) trees.
llancahue

Tree locations for a sample plot in the Llancahue experimental forest
llancahue2

Ubicación cartesiana de árboles en el bosque de Llancahue
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
ptaeda

Height growth of Pinus taeda (Loblolly pine) trees
ptaeda2

Crecimiento en altura de Pinus taeda
primarias

Elección primaria para la presidencia de Chile
president

Eleccion presidencial del 2021 en Chile.
pspLlancahue

Ubicación cartesiana de árboles en un bosque (solo como referencia para uso del libro).
pressind

Function to compute the PRESS statistics of a regression model .
simce2

Puntaje SIMCE 2023 en matemática 4to Básico por RBD
simmeind

Computes the simmetry index
qqgauss

Function for producing a QQ plot for a Gaussian probability density function.
raulihg2

Crecimiento en altura de árboles de Nothofagus alpina.
rankmod

Function to produce a table ranks the models being analyzed.
rendesc2

Rendimiento escolar por estudiante en Chile 2024
raulihg

Height growth of Nothofagus alpina trees in Chile.
pspruca2

Ubicación espacial de árboles en el bosque de Rucamanque
pspruca

Tree spatial coordinates in the Rucamanque forest
pvalz

Obtain the P-value for a Standard Gaussian random variable
pvalt

Obtain the P-value for a Standard t-distributed random variable
rainfallCA

Datos de precipitación en Californa
snaspe2

Sistema nacional de areas protegidas del estado (SNASPE) de Chile
skewn

Computes the skewness of a numeric vector
smoothfit

Function to produce a smooth curve over a scatterplot
sludge

Sludge data are at different cities, with a value of concentration zinc.
soiltreat

Soil treatment experiment in tree seedlings
snaspe

On the National System of State Protected Wild Areas (SNASPE) of Chile.
soiltreat2

Tratamientos del suelo en el crecimiento de plantulas.
singleupp

Convert
spataustria

Tree locations for several plots of Norway spruce (Picea abies) in Austria
sludge2

Sludge data are at different cities, with a value of concentration zinc.
treevol2

Volumen, altura, y diámetro para árboles de Black Cherry
tabtexanova

Creates a LaTeX file having an ANOVA table for a previously fitted linear regression model
valestamod

Function to create a table with the prediction statistics by model.
treevolroble

Tree volume of roble (Nothofagus obliqua) in the Rucamanque forest
tabtexdescstat

Creates a LaTeX file having a descriptive statistics table for continuous variables
timeserplot

Produces a time series plot
valesta

Function to compute prediction statistics based on observed values
upperleft

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

Volumen a nivel de árbol para roble (Nothofagus obliqua) especie en el bosque de Rucamanque
treevol

Diameter, height and volume for Black Cherry Trees
xyhist

A scatterplot with marginal histograms
xyboxplot

Function for building a scatterplot with superposing boxplots
vifx

Computes the variance inflation factor (VIF) for a multiple linear regression (MLR) model.
xymultiplot

Figure of a matrix of scatterplots and histograms for several variables.
assigncl

Function to assign classes based upon a variable of interest.
airnyc

Airquality data in New York city.
carAccidents

Driver status after car accidents in Greece.
annualppCities

Time series of annual precipitations in cities of Chile.
bears

Age and physical measurement data for wild bears
casen

Datos encuesta CASEN del 2022
aboutrsq2

Sobre el estadístico R2: los datos del cuarteto de Anscombe
beetles2

Crecimiento poblacional de escarabajos
cameratrap

Camera trap data on mammals in Ruaha National Park, southern Tanzania.
bearsdepu

Age and physical measurement data for wild bears (without missing values)
aboutrsq

About the R-Squared statistics: the Anscombe quartet dataset
airnyc2

Calidad del aire en la ciudad de Nueva York.
bears2

Edad y características biométricas de osos salvajes
annualppCities2

Serie de tiempo de precipitaciones anuales en Chile.
caribou

Caribou survival
cdf

Function to compute the cumulative distribution of a variable