Learn R Programming

asbio (version 1.9-7)

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

3,843

Version

1.9-7

License

GPL (>= 2)

Maintainer

Last Published

January 19th, 2024

Functions in asbio (1.9-7)

ES.May

May's effective specialization index
DH.test

Doornik-Hansen test for multivariate normality.
Kappa

Calculates kappa statistic and other classification error statistics
R.hat

R hat MCMC convergence statistic
MC

Simple functions for MCMC demonstrations
Kullback

Kullback test for equal covariance matrices.
H.mean

Harmonic mean
MC.test

Monte Carlo hypothesis testing for two samples.
Glucose2

Glucose Levels Following Alcohol Ingestion
SM.temp.moist

Alpine soil temperature and moisture time series
Semiconductor

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

Maximum likelihood algorithm for determining the binomial dispersal coefficient
Fbird

Frigatebird drumming frequency data
anm.ci

Animation demonstrations of confidence intervals.
G.mean

Geometric mean
MS.test

Mack-Skillings test
ConDis.matrix

Calculation and display of concordant and discordant pairs
alfalfa.split.plot

An agricultural split plot design
alpha.div

Functions for calculating alpha diversity.
D.sq

Mahalanobis distance for two sites using a pooled covariance matrix
HL.mean

Hodges-Lehman estimator of location
Mode

Sample mode
anm.coin

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

Soil potassium analyses from 8 laboratories
anscombe

Anscombe's quartet
PM2.5

PM 2.5 pollutant data from Pocatello Idaho
PCB

PCBs and herring egg thickness
anolis

Anolis lizard contingency table data
bear

Grizzly bear litter sizes
anm.cont.pdf

Animated demonstration of density for a continuous pdf
Preston.dist

Preston diversity analysis
anm.die

Animated depiction of six-sided die throws.
beetle

Wood boring beetle data
bombus

Bombus pollen data.
auc

Area under a receiver operating characteristic (ROC) curve
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
SexDeterm

Fern environmental sex determination data
agrostis

Agrostis variabilis cover measurements
aids

Aids and veterans dataset
anm.ExpDesign

Animated depiction of experimental designs
ci.prat.ak

Confidence intervals for ratios of proportions when the denominator is known
bone

Bone development data
Venn

Venn probability diagrams for an event with two outcomes
ci.sigma

Confidence interval for sigma squared.
asthma

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

Ant honeydew data
bplot

Barplots with error bars (including interval plots)
anm.LV

Animated depictions of Lotka-Volterra competition and exploitation models
bromus

Bromus tectorum dataset
ci.mu.oneside

One sided confidence interval for mu.
ci.mu.z

Z and t confidence intervals for mu.
anm.ls

Animated plot of least squares function.
baby.walk

Baby walking times experimental data
cliff.sp

Yellowstone NP cliff community data
anm.geo.growth

Animated depictions of population growth
depression

Hamilton depression scores before and after drug treatment
anm.mc.bvn

Animation of Markov Chain Monte Carlo walks in bivariate normal space
anm.samp.design

Animated demonstration of randomized sampling designs
concrete

Concrete strength dataset for data mining
fly.sex

Fly sex and longevity
drugs

Contingency data for high school marijuana, alcohol, and cigarette use
anm.loglik

Animated plots of log-likelihood functions
caribou

Caribou count data
case0902

Dataset of mammal traits from Ramsey and Schaefer (1997)
cliff.env

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

Bayesian linear models with uniform priors
ci.strat

Confidence intervals for stratified random samples.
e.cancer

Esophageal cancer data modified slightly to create a balanced three-way factorial design
eff.rbd

Efficiency of a randomized block design compared to a CRD
bats

Bat forearm length as a function of bat age
anm.ls.reg

Animated plot of the least squares function.
best.agreement

Determine agreement of two classifications
bin2dec

Conversion of binary digits to decimal numbers
book.menu

Pulldown menus for 'asbio' interactive graphical functions
ci.impt

Confidence interval for the product of two proportions
ci.median

Confidence interval for the median
boot.ci.M

Bootstrap CI of M-estimators differences of two samples
crabs

Agresti crabs dataset
frog

Australian frog calls following fire
fruit

Fruit weight data from Littell et al. (2002)
deer.296

Mule deer telemetry data
huber.NR

Huber M-estimator iterative least squares algorithm
g.test

Likelihood ratio test for tabular data
bvn.plot

Make plots of bivariate normal distributions
bv.boxplot

Bivariate boxplots
bootstrap

A simple function for bootstrapping
deer

Maternal deer data
cuckoo

Tippett cuckoo egg data
huber.one.step

Huber one step M-estimator
grass

Agricultural factorial design
heart

Heart rate data from Milliken and Johnson (2009)
modlevene.test

Modified Levene's test
huber.mu

Huber M-estimator of location
bound.angle

Angle of azimuth to a boundary.
myeloma

Patient responses to myeloma drug treatments
case1202

Dataset of salary attributes for male and female workers from Ramsey and Schafer (1997)
illusions

Visual illusions illustrating human perception errors.
chronic

Chronic ailment counts for urban and rural women in Australia
moose.sel

Datasets for resource use and availability
enzyme

Enzymatic rate data for the phospholipase protein ExoU
ci.boot

Bootstrap confidence intervals
pseudo.v

Jacknife pseudo-values
exercise.repeated

Repeated measures data for an exercise experiment.
mosquito

Mosquito wing length data
chi.plot

Chi plots for diagnosing multivariate independence.
ci.p

Confidence interval estimation for the binomial parameter pi using five popular methods.
partial.R2

Partial correlations of determination in multiple regression
larrea

Creosote bush counts
montane.island

Mountain island biogeographic data
corn

Corn yield data
qq.Plot

Normal quantile plots for single or multiple factor levels
km

Kaplan-Meier survivorship.
rmvm

A multivariate normal dataset for data mining
life.exp

Mouse life expectancy data
lm.select

AIC, AICc, BIC, Mallow's Cp, and PRESS evaluation of linear models
near.bound

Nearest neighbor boundary coordinates
panel.cor.res

Functions for customizing correlation matrices
pairw.oneway

Welch tests controlled for simultaneous inference
perm.fact.test

Permutation test for two and three way factorial designs
crab.weight

crab gill and body weight data
partial.resid.plot

Partial residual plots for interpretation of multiple regression.
samp.dist

Animated and/or snapshot representations of a statistic's sampling distribution
pika

Nitrogen content of soils under pika haypiles
see.cor.range.tck

Depict the effect of range on correlation
potash

Potash/cotton strength data
r.pb

Percentage bend correlation
rat

Rat glycogen data from Sokal and Rohlf (2012)
dO2

Dissolved levels in locations above and below a town
ci.prat

Confidence intervals for the ratio of binomial and multinomial proportions
garments

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

Florida state death penalty data
facebook

Facebook performance metrics for data mining and machine learning
goats

Mountain goat data from Yellowstone National Park
ipomopsis

Ipomopsis fruit yield data
joint.ci.bonf

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

Multiple pairwise comparison procedure to accompany a Friedman test.
fire

Fire data from Yellowstone National Park
see.exppower.tck

Visualize exponential power functions
magnets

Magnet pain relief data
see.lma.tck

ANOVA linear models
mcmc.norm.hier

Gibbs sampling of normal hierarchical models
see.move

Interactive visualization of least squares regression.
see.lmr.tck

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

Visualize random effects model
one.sample.t

One sample t-test
paik

Paik diagrams
potato

Fisher's Rothamsted potato data
pairw.kw

Multiple pairwise comparison procedure to accompany a Kruskal-Wallis test
plotAncova

Creates plots for one way ANCOVAs
see.regression.tck

Demonstration of regression mechanics
pairw.anova

Conducts pairwise post hoc and planned comparisons associated with an ANOVA
r.bw

Biweight midvariance, and biweight midcorrelation.
polyamine

Polyamine data from Hollander and Wolfe (1999)
r.dist

Visualize the sampling distribution of Pearson's product moment correlation
selftest.se.tck1

Interactive self-testing questions
one.sample.z

One sample z-test
plotCI.reg

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

CO2 exchange time series data
shad

American gizzard shad data
see.HW

Visualize the Hardy Weinberg equilibrium
plantTraits

Plant traits for 136 species
see.M

Visualization of the M-estimation function
portneuf

Portneuf River longitudinal N and P data
power.z.test

Power analysis for a one sample z-test
plot.pairw

Plots confidence intervals and/or bars with letters indicating significant differences for objects from class pairw
see.accPrec.tck

Interactive depiction of precision and accuracy
prostate

Prostate cancer data
transM

Transition matrix analysis
trim.me

Trim data
snore

Snoring and heart disease contingency data
so2.us.cities

SO2 data for 32 US cities with respect to 6 explanatory variables
trim.ranef.test

Robust test for random factors using trimmed means.
press

prediction sum of squares
sc.twin

Matched pairs schizophrenia data
see.nlm

Visualize important non-linear functions
refinery

Refinery CO dataset
prp

Perpendicularity
vs

Scandinavian site by species community matrix
se.jack

Jackknife standard error from a set of pseudovalues
see.ancova.tck

Visualize ANCOVA mechanics
trim.test

Robust one way trimmed means test.
win

Winsorize data
samp.dist.mech

Animated representation of sampling distribution basics
simberloff

Compilations of genus and species counts from Simberloff (1970)
wash.rich

Species richness and environmental variables from Mt Washburn
skew

Sample skewness and kurtosis
wine

White wine quality data for data mining
rinvchisq

Random draws from a scaled inverse chi-square distribution
world.pop

Population levels in various countries from 1980-2006
see.anova.tck

Interactive depiction of the ANOVA mechanism
see.norm.tck

Visualize pdfs
suess

del14C in the atmosphere from 1700-1950
see.power

Interactive depiction of type I and type II error and power
stan.error

Variance and standard error estimators for the sampling distribution of the sample mean
see.mixedII

Depiction of the effect of random level selection on inferences concerning fixed effects
trag

Salsify height dataset
starkey

DEM data from the Starkey experimental forest in NE Oregon
savage

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

Spider web length data
whickham

Whickham contingency table data for smokers and survivorship
see.lmu.tck

Unbalanced and balanced linear models
see.logic

Interactive worksheet for logical and fallacious arguments
wildebeest

Wildebeest carcass categorical data
wheat

Agricultural randomized block design
see.roc.tck

Interactive depiction of ROC curves
see.mnom.tck

Interactive depiction of the multinomial distribution
see.smooth.tck

Interactive smoother demonstrations
shade.norm

Shading functions for interpretation of pdf probabilities.
see.ttest.tck

Visualize t-tests
shade.norm.tck

GUI display of probability
tukey.add.test

Tukey's test of additivity.
see.typeI_II

Interactive depiction of type I and II error
veneer

Veneer data from Littell et al. (2002)
world.co2

World CO2 levels, by country, from 1980 to 2006
world.emissions

Greenhouse gas emissions from Our World in Data
AP.test

Agresti-Pendergrast test
C.isotope

Atmospheric carbon and D14C measurements
Bayes.disc

Bayesian graphical summaries for discrete or categorical data.
BCI.count

Barro Colorado Island Tree Counts
BCI.plant

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

Brunner-Dette-Munk test