Learn R Programming

datana (version 1.1.2)

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

467

Version

1.1.2

License

GPL (>= 3)

Maintainer

Christian Salas-Eljatib

Last Published

August 18th, 2025

Functions in datana (1.1.2)

co2temp

CO2 emissions and temperature at country-level.
extractLeft

Extracts the last n-characters of a string
gmean

Function to compute the geometric mean of a numeric vector
fdamage2

Daño foliar por Ozono
extractRight

Extracts the last n-characters of a string
deleteRight

Deletes the last n-characters of a string
descstat

Creates a descriptive statistics table for continuous variables.
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.
hgrdfir

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

Foliar damage by Ozone
gasoline

Prices of gasoline and crude oil
ficdiamgr

Diameter growth of trees
deleteLeft

Deletes the first n-characters of a string
fishgrowth2

Crecimiento de peces
forestfire2

Ocurrencia de incendios forestales
eucaleafAll2

Mediciones foliares (todas, n=744) para árboles de Eucalyptus nitens en Tasmania, Australia.
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.
eucaleafAll

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

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

Function to compute the needed statistics for a given contrast
kurto

Computes the sample kurtosis of a distribution
gasoline2

Precios de gasolina y petróleo
landcover

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

Tree height-diameter data from Idaho (USA)
corkoak

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

Function to compute the cumulative distribution of a variable
endfid2

Puntaje ENDFID 2021 por carrera
pressind

Function to compute the PRESS statistics of a regression model .
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.
maple

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

Eleccion presidencial del 2021 en Chile.
papersdocstu

Productividad científica de estudiantes de postgrado
chicksw

Chicken growth data.
pesohojas

Peso de hojas
findColumn.byname

Finds the position of a specific variable.
treevol2

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

Tree spatial coordinates in the Rucamanque forest
election

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

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

Datos de precipitación en Californa
chicksw2

Crecimiento de pollos.
sludge2

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

Tratamientos del suelo en el crecimiento de plantulas.
education

Stock and Watson CPS Education Earnings
pvalz

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

Esperanza de vida de paises
leafw2

Area y peso para hojas de árboles.
spataustria

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

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

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

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

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

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

Fish growth variables.
llancahue

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

Computes the mode
snaspe2

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

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

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

Soil treatment experiment in tree seedlings
timeserplot

Produces a time series plot
raulihg

Height growth of Nothofagus alpina trees in Chile.
modresults

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

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

Function for building a scatterplot with a superposing smoothed line
xyhist

A scatterplot with marginal histograms
largetrees2

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

Function to produce a smooth curve over a scatterplot
gdpcap

Datos GDP-per capita
fertiliza

Fertilization experiment data.
ptaeda2

Crecimiento en altura de Pinus taeda
forestfire

Forest fire occurrence in central Chile
ptaeda

Height growth of Pinus taeda (Loblolly pine) trees
treevol

Diameter, height and volume for Black Cherry Trees
hmean

Function to compute the harmonic mean of a numeric vector
histbxp

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

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

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

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

Crecimiento en altura de árboles de Nothofagus alpina.
idahohd2

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

Experimento de fertilización
lrt

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

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

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

Function for building a scatterplot with superposing boxplots
singleupp

Convert
skewn

Computes the skewness of a numeric vector
vifx

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

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

Function to compute prediction statistics based on observed values
tabtexdescstat

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

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

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

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

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

Rendimiento escolar por estudiante en Chile 2024
primarias

Elección primaria para la presidencia de Chile
annualppCities2

Serie de tiempo de precipitaciones anuales en Chile.
assigncl

Function to assign validation classes
cameratrap

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

Age and physical measurement data for wild bears
bearsdepu

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

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

Datos encuesta CASEN del 2022
airnyc

Airquality data in New York city.
caribou

Caribou survival
aboutrsq

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

Calidad del aire en la ciudad de Nueva York.
annualppCities

Time series of annual precipitations in cities of Chile.
cameratrap2

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

Sobrevivencia de caribú
carAccidents

Driver status after car accidents in Greece.
bearsdepu2

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

Crecimiento poblacional de escarabajos
aboutrsq2

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

Population density growth of beetles