Learn R Programming

⚠️There's a newer version (1.1.5) of this package.Take me there.

datana (version 1.1.4)

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.4

License

GPL (>= 3)

Maintainer

Christian Salas-Eljatib

Last Published

September 23rd, 2025

Functions in datana (1.1.4)

descstat

Creates a descriptive statistics table for continuous variables.
deleteRight

Deletes the last n-characters of a string
beetles2

Crecimiento poblacional de escarabajos
beetles

Population density growth of beetles
bearsdepu2

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

Driver status after car accidents in Greece.
datana-package

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

Deletes the first n-characters of a string
findColumn.byname

Finds the position of a specific variable.
eucaleaf2

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

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

Fish growth variables.
education

Stock and Watson CPS Education Earnings
eucaleaf

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

Chicken growth data.
chicksw2

Crecimiento de pollos.
corkoak

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

Crecimiento de peces
election

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

Forest fire occurrence in central Chile
endfid2

Puntaje ENDFID 2021 por carrera
hmean

Function to compute the harmonic mean of a numeric vector
gmean

Function to compute the geometric mean of a numeric vector
corkoak2

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

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

Foliar damage by Ozone
contrast

Function to compute the needed statistics for a given contrast
co2temp

CO2 emissions and temperature at country-level.
kurto

Computes the sample kurtosis of a distribution
interp

Interpolation function
idahohd

Tree height-diameter data from Idaho (USA)
extractLeft

Extracts the last n-characters of a string
extractRight

Extracts the last n-characters of a string
hgrdfir2

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

Daño foliar por Ozono
histbxp

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

Prices of gasoline and crude oil
forestfire2

Ocurrencia de incendios forestales
leafw2

Area y peso para hojas de árboles.
maple

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

Esperanza de vida de paises
llancahue

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

Computes the mode
presenceIce

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

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

Fertilization experiment data.
idahohd2

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

Function for building a scatterplot with a superposing smoothed line
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.
eucaleafAll2

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

Diameter growth of trees
ficdiamgr2

Crecimiento diametral de árboles
eucaleafAll

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

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

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

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

Productividad científica de estudiantes de postgrado
largetrees2

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

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

Eleccion presidencial del 2021 en Chile.
rankmod

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

Observed versus predicted values plot.
fertiliza2

Experimento de fertilización
pspruca

Tree spatial coordinates in the Rucamanque forest
pesohojas

Peso de hojas
pspruca2

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

Crecimiento en altura de árboles de Nothofagus alpina.
raulihg

Height growth of Nothofagus alpina trees in Chile.
pressind

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

Function to produce a smooth curve over a scatterplot
snaspe

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

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

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

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

Soil treatment experiment in tree seedlings
snaspe2

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

Tratamientos del suelo en el crecimiento de plantulas.
rendesc2

Rendimiento escolar por estudiante en Chile 2024
spataustria

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

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

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

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

Computes the skewness of a numeric vector
singleupp

Convert
simmeind

Computes the simmetry index
vifx

Computes the variance inflation factor (VIF) for a multiple linear regression (MLR) 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).
gdpcap

Datos GDP-per capita
gasoline2

Precios de gasolina y petróleo
xyboxplot

Function for building a scatterplot with superposing boxplots
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..
valesta

Function to compute prediction statistics based on observed values
valestamod

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

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

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

A scatterplot with marginal histograms
xymultiplot

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

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

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

Datos de precipitación en Californa
sludge2

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

Height growth of Pinus taeda (Loblolly pine) trees
ptaeda2

Crecimiento en altura de Pinus taeda
sludge

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

Diameter, height and volume for Black Cherry Trees
timeserplot

Produces a time series plot
assigncl

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

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

Airquality data in New York city.
bears

Age and physical measurement data for wild bears
airnyc2

Calidad del aire en la ciudad de Nueva York.
annualppCities2

Serie de tiempo de precipitaciones anuales en Chile.
aboutrsq2

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

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

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

Camera trap data on mammals in Ruaha National Park, southern Tanzania.
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
caribou

Caribou survival
caribou2

Sobrevivencia de caribú
casen

Datos encuesta CASEN del 2022
cdf

Function to compute the cumulative distribution of a variable