Learn R Programming

datana (version 1.1.3)

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

416

Version

1.1.3

License

GPL (>= 3)

Maintainer

Christian Salas-Eljatib

Last Published

September 2nd, 2025

Functions in datana (1.1.3)

cameratrap2

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

Crecimiento poblacional de escarabajos
carAccidents

Driver status after car accidents in Greece.
cdf

Function to compute the cumulative distribution of a variable
cameratrap

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

Sobrevivencia de caribú
bearsdepu2

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

Caribou survival
casen

Datos encuesta CASEN del 2022
beetles

Population density growth of beetles
datana-package

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

CO2 emissions and temperature at country-level.
deleteLeft

Deletes the first n-characters of a string
contrast

Function to compute the needed statistics for a given contrast
deleteRight

Deletes the last n-characters of a string
corkoak2

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

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

Chicken growth data.
chicksw2

Crecimiento de pollos.
eucaleafAll

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

Puntaje ENDFID 2021 por carrera
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.
eucaleaf2

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

Crecimiento diametral de árboles
eucaleaf

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

Diameter growth of trees
findColumn.byname

Finds the position of a specific variable.
fishgrowth

Fish growth variables.
hgrdfir

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

Function to compute the geometric mean of a numeric vector
descstat

Creates a descriptive statistics table for continuous variables.
fertiliza2

Experimento de fertilización
education

Stock and Watson CPS Education Earnings
election

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

Function to compute the harmonic mean of a numeric vector
fdamage2

Daño foliar por Ozono
fdamage

Foliar damage by Ozone
fertiliza

Fertilization experiment data.
extractLeft

Extracts the last n-characters of a string
hgrdfir2

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

Forest fire occurrence in central Chile
gdpcap

Datos GDP-per capita
idahohd

Tree height-diameter data from Idaho (USA)
histbxp

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

Esperanza de vida de paises
largetrees2

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

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

Extracts the last n-characters of a string
kurto

Computes the sample kurtosis of a distribution
leafw2

Area y peso para hojas de árboles.
fishgrowth2

Crecimiento de peces
idahohd2

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

Ocurrencia de incendios forestales
gasoline2

Precios de gasolina y petróleo
gasoline

Prices of gasoline and crude oil
papersdocstu

Productividad científica de estudiantes de postgrado
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..
imacec2

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

Peso de hojas
ptaeda

Height growth of Pinus taeda (Loblolly pine) trees
president

Eleccion presidencial del 2021 en Chile.
pressind

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

Computes the skewness of a numeric vector
singleupp

Convert
llancahue2

Ubicación cartesiana de árboles en el bosque de Llancahue
timeserplot

Produces a time series plot
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.
ptaeda2

Crecimiento en altura de Pinus taeda
primarias

Elección primaria para la presidencia de Chile
treevol

Diameter, height and volume for Black Cherry Trees
presenceIce

Presence or absence of sea ice from logbook records of annual cruises
plotrend

Function for building a scatterplot with a superposing smoothed line
pspLlancahue

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

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

Computes the mode
pvalt

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

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

Rendimiento escolar por estudiante en Chile 2024
lrt

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

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

Datos de precipitación en Californa
smoothfit

Function to produce a smooth curve over a scatterplot
tabtexdescstat

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

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

Height growth of Nothofagus alpina trees in Chile.
raulihg2

Crecimiento en altura de árboles de Nothofagus alpina.
simce2

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

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

Large trees in forests near Tolga, in Eastern Norway.
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.
valestamod

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

Function to compute prediction statistics based on observed values
xyhist

A scatterplot with marginal histograms
xymultiplot

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

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

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

Tree spatial coordinates in the Rucamanque forest
spataustria

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

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

Tratamientos del suelo en el crecimiento de plantulas.
treevolroble2

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

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

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

Function for building a scatterplot with superposing boxplots
vifx

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

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

Soil treatment experiment in tree seedlings
bears2

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

Function to assign validation classes
airnyc

Airquality data in New York city.
aboutrsq

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

Serie de tiempo de precipitaciones anuales en Chile.
bearsdepu

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

Age and physical measurement data for wild bears
annualppCities

Time series of annual precipitations in cities of Chile.
airnyc2

Calidad del aire en la ciudad de Nueva York.
aboutrsq2

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