Learn R Programming

asbio (version 1.12-1)

A Collection of Statistical Tools for Biologists

Description

Contains functions from: Aho, K. (2014) Foundational and Applied Statistics for Biologists using R. CRC/Taylor and Francis, Boca Raton, FL, ISBN: 978-1-4398-7338-0.

Copy Link

Version

Install

install.packages('asbio')

Monthly Downloads

4,651

Version

1.12-1

License

GPL (>= 2)

Maintainer

Ken Aho

Last Published

October 31st, 2025

Functions in asbio (1.12-1)

G.mean

Geometric mean
MC.test

Monte Carlo hypothesis testing for two samples.
HL.mean

Hodges-Lehman estimator of location
K

Soil potassium analyses from 8 laboratories
Glucose2

Glucose Levels Following Alcohol Ingestion
Kappa

Calculates kappa statistic and other classification error statistics
H.mean

Harmonic mean
Fbird

Frigatebird drumming frequency data
MC

Simple functions for MCMC demonstrations
Kullback

Kullback test for equal covariance matrices.
SM.temp.moist

Alpine soil temperature and moisture time series
Mode

Sample mode
ML.k

Maximum likelihood algorithm for determining the binomial dispersal coefficient
Semiconductor

Split plot computer chip data from Littell et al. (2006)
PCB

PCBs and herring egg thickness
Preston.dist

Preston diversity analysis
R.hat

R hat MCMC convergence statistic
alpha.div

Functions for calculating alpha diversity.
MS.test

Mack-Skillings test
PM2.5

PM 2.5 pollutant data from Pocatello Idaho
aids

Aids and veterans dataset
anm.LV

Animated depictions of Lotka-Volterra competition and exploitation models
SexDeterm

Fern environmental sex determination data
anm.ExpDesign

Animated depiction of experimental designs
agrostis

Agrostis variabilis cover measurements
anm.coin

Animated demonstration of frequentist binomial convergence of probability using a coin flip.
Rabino_CO2

CSIRO d13C-CO2 data from Rubino et al., A revised 1000 year atmospheric 13C-CO2 record from Law Dome and South Pole, Antarctica
Venn

Venn probability diagrams for an event with two outcomes
alfalfa.split.plot

An agricultural split plot design
anm.ci

Animation demonstrations of confidence intervals.
anm.ls

Animated plot of least squares function.
anm.mc.bvn

Animation of Markov Chain Monte Carlo walks in bivariate normal space
anm.ls.reg

Animated plot of the least squares function.
anm.geo.growth

Animated depictions of population growth
anscombe

Anscombe's quartet
bayes.lm

Bayesian linear models with uniform priors
anm.samp.design

Animated demonstration of randomized sampling designs
best.agreement

Determine agreement of two classifications
anm.loglik

Animated plots of log-likelihood functions
auc

Area under a receiver operating characteristic (ROC) curve
bin2dec

Conversion between binary digits and decimal numbers
anm.cont.pdf

Animated demonstration of density for a continuous pdf
ant.dew

Ant honeydew data
anm.die

Animated depiction of six-sided die throws.
bear

Grizzly bear litter sizes
beetle

Wood boring beetle data
bats

Bat forearm length as a function of bat age
asthma

Asthma repeated measures dataset from Littell et al. (2002)
anolis

Anolis lizard contingency table data
baby.walk

Baby walking times experimental data
bound.angle

Angle of azimuth to a boundary.
bvn.plot

Make plots of bivariate normal distributions
boot.ci.M

Bootstrap CI of M-estimators differences of two samples
book.menu

Pulldown menus for 'asbio' interactive graphical functions
bv.boxplot

Bivariate boxplots
bromus

Bromus tectorum dataset
bombus

Bombus pollen data.
bplot

Barplots with error bars (including interval plots)
bone

Bone development data
bootstrap

A simple function for bootstrapping
caribou

Caribou count data
case1202

Dataset of salary attributes for male and female workers from Ramsey and Schafer (1997)
ci.impt

Confidence interval for the product of two proportions
ci.boot

Bootstrap confidence intervals
case0902

Dataset of mammal traits from Ramsey and Schaefer (1997)
chi.plot

Chi plots for diagnosing multivariate independence.
chronic

Chronic ailment counts for urban and rural women in Australia
ci.mu.z

Z and t confidence intervals for mu.
ci.mu.oneside

One sided confidence interval for mu.
ci.median

Confidence interval for the median
corn

Corn yield data
crab.weight

crab gill and body weight data
cliff.env

Environmental data for the community dataset cliff.sp
cliff.sp

Yellowstone NP cliff community data
ci.p

Confidence interval estimation for the binomial parameter pi using five popular methods.
ci.prat

Confidence intervals for the ratio of binomial and multinomial proportions
concrete

Concrete strength dataset for data mining
ci.prat.ak

Confidence intervals for ratios of proportions when the denominator is known
ci.strat

Confidence intervals for stratified random samples.
ci.sigma

Confidence interval for sigma squared.
crabs

Agresti crabs dataset
death.penalty

Florida state death penalty data
drugs

Contingency data for high school marijuana, alcohol, and cigarette use
depression

Hamilton depression scores before and after drug treatment
dO2

Dissolved levels in locations above and below a town
eff.rbd

Efficiency of a randomized block design compared to a CRD
deer

Maternal deer data
cuckoo

Tippett cuckoo egg data
e.cancer

Esophageal cancer data modified slightly to create a balanced three-way factorial design
deer.296

Mule deer telemetry data
garments

Garment Latin square data from Littell et al. (2002)
fruit

Fruit weight data from Littell et al. (2002)
enzyme

Enzymatic rate data for the phospholipase protein ExoU
facebook

Facebook performance metrics for data mining and machine learning
frog

Australian frog calls following fire
g.test

Likelihood ratio test for tabular data
fire

Fire data from Yellowstone National Park
exercise.repeated

Repeated measures data for an exercise experiment.
goats

Mountain goat data from Yellowstone National Park
fly.sex

Fly sex and longevity
huber.NR

Huber M-estimator iterative least squares algorithm
ipomopsis

Ipomopsis fruit yield data
heart

Heart rate data from Milliken and Johnson (2009)
huber.mu

Huber M-estimator of location
km

Kaplan-Meier survivorship.
larrea

Creosote bush counts
huber.one.step

Huber one step M-estimator
illusions

Visual illusions illustrating human perception errors.
joint.ci.bonf

Calculates joint confidence intervals for parameters in linear models using a Bonferroni procedure.
grass

Agricultural factorial design
myeloma

Patient responses to myeloma drug treatments
near.bound

Nearest neighbor boundary coordinates
mcmc.norm.hier

Gibbs sampling of normal hierarchical models
magnets

Magnet pain relief data
montane.island

Mountain island biogeographic data
moose.sel

Datasets for resource use and availability
lm.select

AIC, AICc, BIC, Mallow's Cp, and PRESS evaluation of linear models
life.exp

Mouse life expectancy data
modlevene.test

Modified Levene's test
mosquito

Mosquito wing length data
paik

Paik diagrams
partial.R2

Partial correlations of determination in multiple regression
pairw.kw

Multiple pairwise comparison procedure to accompany a Kruskal-Wallis test
one.sample.t

One sample t-test
pairw.oneway

Welch tests controlled for simultaneous inference
one.sample.z

One sample z-test
pairw.fried

Multiple pairwise comparison procedure to accompany a Friedman test.
pairw.anova

Conducts pairwise post hoc and planned comparisons associated with an ANOVA
partial.resid.plot

Partial residual plots for interpretation of multiple regression.
panel.cor.res

Functions for customizing correlation matrices
polyamine

Polyamine data from Hollander and Wolfe (1999)
plantTraits

Plant traits for 136 species
perm.fact.test

Permutation test for two and three way factorial designs
pika

Nitrogen content of soils under pika haypiles
plotAncova

Creates plots for one way ANCOVAs
potash

Potash/cotton strength data
power.z.test

Power analysis for a one sample z-test
qq.Plot

Normal quantile plots for single or multiple factor levels
prp

Perpendicularity
plot.pairw

Plots confidence intervals and/or bars with letters indicating significant differences for objects from class pairw
plotCI.reg

Plots a simple linear regression along with confidence and prediction intervals.
prostate

Prostate cancer data
press

prediction sum of squares
r.bw

Biweight midvariance, and biweight midcorrelation.
pseudo.v

Jacknife pseudo-values
rat

Rat glycogen data from Sokal and Rohlf (2012)
potato

Fisher's Rothamsted potato data
r.dist

Visualize the sampling distribution of Pearson's product moment correlation
portneuf

Portneuf River longitudinal N and P data
r.pb

Percentage bend correlation
rinvchisq

Random draws from a scaled inverse chi-square distribution
savage

Mammalian BMR and biomass data from Savage et al. (2004)
se.jack

Jackknife standard error from a set of pseudovalues
rmvm

A multivariate normal dataset for data mining
refinery

Refinery CO dataset
sc.twin

Matched pairs schizophrenia data
samp.dist.mech

Animated representation of sampling distribution basics
samp.dist

Animated and/or snapshot representations of a statistic's sampling distribution
sedum.ts

CO2 exchange time series data
see.HW

Visualize the Hardy Weinberg equilibrium
see.M

Visualization of the M-estimation function
see.exppower.tck

Visualize exponential power functions
see.logic

Interactive worksheet for logical and fallacious arguments
see.accPrec.tck

Interactive depiction of precision and accuracy
see.lmu.tck

Unbalanced and balanced linear models
see.cor.range.tck

Depict the effect of range on correlation
see.lmr.tck

Regression linear model derivation from linear algebra
see.lma.tck

ANOVA linear models
see.power

Interactive depiction of type I and type II error and power
see.ancova.tck

Visualize ANCOVA mechanics
see.anova.tck

Interactive depiction of the ANOVA mechanism
see.roc.tck

Interactive depiction of ROC curves
see.smooth.tck

Interactive smoother demonstrations
see.mnom.tck

Interactive depiction of the multinomial distribution
see.rEffect.tck

Visualize random effects model
see.norm.tck

Visualize pdfs
see.mixedII

Depiction of the effect of random level selection on inferences concerning fixed effects
see.regression.tck

Demonstration of regression mechanics
see.move

Interactive visualization of least squares regression.
see.nlm

Visualize important non-linear functions
simberloff

Compilations of genus and species counts from Simberloff (1970)
see.typeI_II

Interactive depiction of type I and II error
shad

American gizzard shad data
snore

Snoring and heart disease contingency data
so2.us.cities

SO2 data for 32 US cities with respect to 6 explanatory variables
skew

Sample skewness and kurtosis
selftest.se.tck1

Interactive self-testing questions
shade.norm

Shading functions for interpretation of pdf probabilities.
trim.test

Robust one way trimmed means test.
see.ttest.tck

Visualize t-tests
shade.norm.tck

GUI display of probability
starkey

DEM data from the Starkey experimental forest in NE Oregon
trim.me

Trim data
stan.error

Variance and standard error estimators for the sampling distribution of the sample mean
transM

Transition matrix analysis
trag

Salsify height dataset
suess

del14C in the atmosphere from 1700-1950
veneer

Veneer data from Littell et al. (2002)
trim.ranef.test

Robust test for random factors using trimmed means.
tukey.add.test

Tukey's test of additivity.
world.co2

World CO2 levels, by country, from 1980 to 2006
win

Winsorize data
world.emissions

Greenhouse gas emissions from Our World in Data
wine

White wine quality data for data mining
wildebeest

Wildebeest carcass categorical data
whickham

Whickham contingency table data for smokers and survivorship
vs

Scandinavian site by species community matrix
webs

Spider web length data
wheat

Agricultural randomized block design
wash.rich

Species richness and environmental variables from Mt Washburn
world.pop

Population levels in various countries from 1980-2006
BCI.count

Barro Colorado Island Tree Counts
D.sq

Mahalanobis distance for two sites using a pooled covariance matrix
C.isotope

Atmospheric carbon and D14C measurements
DH.test

Doornik-Hansen test for multivariate normality.
ES.May

May's effective specialization index
ConDis.matrix

Calculation and display of concordant and discordant pairs
BDM.test

Brunner-Dette-Munk test
BCI.plant

Tree presence/absence data from Barro Colorado island
AP.test

Agresti-Pendergrast test
Bayes.disc

Bayesian graphical summaries for discrete or categorical data.