Learn R Programming

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

asbio (version 1.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

4,866

Version

1.7

License

GPL (>= 2)

Maintainer

Ken Aho

Last Published

November 10th, 2021

Functions in asbio (1.7)

Bayes.disc

Bayesian graphical summaries for discrete or categorical data.
ConDis.matrix

Calculation and display of concordant and discordant pairs
ES.May

May's effective specialization index
BCI.plant

Tree presence/absence data from Barro Colorado island
BCI.count

Barro Colorado Island Tree Counts
C.isotope

Atmospheric carbon and D14C measurements
AP.test

Agresti-Pendergrast test
D.sq

Mahalanobis distance for two sites using a pooled covariance matrix
DH.test

Doornik-Hansen test for multivariate normality.
BDM.test

Brunner-Dette-Munk test
G.mean

Geometric mean
MC

Simple functions for MCMC demonstrations
ML.k

Maximum likelihood algorithm for determining the binomial dispersal coefficient
Kullback

Kullback test for equal covariance matrices.
Mode

Sample mode
HL.mean

Hodges-Lehman estimator of location
H.mean

Harmonic mean
MC.test

Monte Carlo hypothesis testing for two samples.
R.hat

R hat MCMC convergence statistic
Preston.dist

Preston diversity analysis
MS.test

Mack-Skillings test
PCB

PCBs and herring egg thickness
anm.LV

Animated depictions of Lotka-Volterra competition and exploitation models
PM2.5

PM 2.5 pollutant data from Pocatello Idaho
anm.coin

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

Aids and veterans dataset
anm.cont.pdf

Animated demonstration of density for a continuous pdf
SM.temp.moist

Alpine soil temperature and moisture time series
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
Glucose2

Glucose Levels Following Alcohol Ingestion
alfalfa.split.plot

An agricultural split plot design
K

Soil potassium analyses from 8 laboratories
Kappa

Calculates kappa statistic and other classification error statistics
anscombe

Anscombe's quartet
Semiconductor

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

Angle of azimuth to a boundary.
baby.walk

Baby walking times experimental data
bats

Bat forearm length as a function of bat age
bplot

Barplots with error bars (including interval plots)
SexDeterm

Fern environmental sex determination data
ant.dew

Ant honeydew data
best.agreement

Determine agreement of two classifications
bvn.plot

Make plots of bivariate normal distributions
beetle

Wood boring beetle data
Venn

Venn probability diagrams for an event with two outcomes
caribou

Caribou count data
ci.impt

Confidence interval for the product of two proportions
ci.boot

Bootstrap confidence intervals
agrostis

Agrostis variabilis cover measurements
ci.sigma

Confidence interval for sigma squared.
ci.strat

Confidence intervals for stratified random samples.
anm.die

Animated depiction of six-sided die throws.
e.cancer

Esophageal cancer data modified slightly to create a balanced three-way factorial design
bromus

Bromus tectorum dataset
anm.geo.growth

Animated depictions of population growth
anolis

Anolis lizard contingency table data
anm.ci

Animation demonstrations of confidence intervals.
drugs

Contingency data for high school marijuana, alcohol, and cigarette use
bayes.lm

Bayesian linear models with uniform priors
bear

Grizzly bear litter sizes
anm.samp.design

Animated demonstration of randomized sampling designs
joint.ci.bonf

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

Kaplan-Meier survivorship.
alpha.div

Functions for calculating alpha diversity.
chi.plot

Chi plots for diagnosing multivariate independence.
crabs

Agresti crabs dataset
eff.rbd

Efficiency of a randomized block design compared to a CRD
crab.weight

crab gill and body weight data
chronic

Chronic ailment counts for urban and rural women in Australia
enzyme

Enzymatic rate data for the phospholipase protein ExoU
anm.ls.reg

Animated plot of the least squares function.
bin2dec

Conversion of binary digits to decimal numbers
bone

Bone development data
bombus

Bombus pollen data.
myeloma

Patient responses to myeloma drug treatments
anm.mc.bvn

Animation of Markov Chain Monte Carlo walks in bivariate normal space
cliff.env

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

Pulldown menus for 'asbio' interactive graphical functions
cliff.sp

Yellowstone NP cliff community data
ci.mu.oneside

One sided confidence interval for mu.
ci.p

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

Dataset of mammal traits from Ramsey and Schaefer (1997)
goats

Mountain goat data from Yellowstone National Park
bv.boxplot

Bivariate boxplots
ci.prat

Confidence intervals for the ratio of binomial and multinomial proportions
anm.ls

Animated plot of least squares function.
concrete

Concrete strength dataset for data mining
anm.loglik

Animated plots of log-likelihood functions
anm.ExpDesign

Animated depiction of experimental designs
ci.prat.ak

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

Maternal deer data
case1202

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

Corn yield data
asthma

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

Agricultural factorial design
ci.median

Confidence interval for the median
auc

Area under a receiver operating characteristic (ROC) curve
near.bound

Nearest neighbor boundary coordinates
huber.mu

Huber M-estimator of location
death.penalty

Florida state death penalty data
bootstrap

A simple function for bootstrapping
potash

Potash/cotton strength data
boot.ci.M

Bootstrap CI of M-estimators differences of two samples
one.sample.t

One sample t-test
dO2

Dissolved levels in locations above and below a town
ci.mu.z

Z and t confidence intervals for mu.
huber.one.step

Huber one step M-estimator
one.sample.z

One sample z-test
g.test

Likelihood ratio test for tabular data
garments

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

Tippett cuckoo egg data
deer.296

Mule deer telemetry data
facebook

Facebook performance metrics for data mining and machine learning
exercise.repeated

Repeated measures data for an exercise experiment.
illusions

Visual illusions illustrating human perception errors.
fruit

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

Hamilton depression scores before and after drug treatment
frog

Australian frog calls following fire
paik

Paik diagrams
pseudo.v

Jacknife pseudo-values
potato

Fisher's Rothamsted potato data
qq.Plot

Normal quantile plots for single or multiple factor levels
samp.dist.mech

Animated representation of sampling distribution basics
see.ancova.tck

Visualize ANCOVA mechanics
larrea

Creosote bush counts
savage

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

Ipomopsis fruit yield data
see.anova.tck

Interactive depiction of the ANOVA mechanism
simberloff

Compilations of genus and species counts from Simberloff (1970)
pairw.anova

Conducts pairwise post hoc and planned comparisons associated with an ANOVA
moose.sel

Datasets for resource use and availability
polyamine

Polyamine data from Hollander and Wolfe (1999)
portneuf

Portneuf River longitudinal N and P data
r.pb

Percentage bend correlation
fly.sex

Fly sex and longevity
rat

Rat glycogen data from Sokal and Rohlf (2012)
fire

Fire data from Yellowstone National Park
modlevene.test

Modified Levene's test
montane.island

Mountain island biogeographic data
partial.R2

Partial correlations of determination in multiple regression
skew

Sample skewness and kurtosis
sc.twin

Matched pairs schizophrenia data
mosquito

Mosquito wing length data
pairw.fried

Multiple pairwise comparison procedure to accompany a Friedman test.
lm.select

AIC, AICc, BIC, Mallow's Cp, and PRESS evaluation of linear models
loess.surf

Loess 2D and 3D smooth plots
heart

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

Huber M-estimator iterative least squares algorithm
life.exp

Mouse life expectancy data
se.jack

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

Unbalanced and balanced linear models
plantTraits

Plant traits for 136 species
perm.fact.test

Permutation test for two and three way factorial designs
partial.resid.plot

Partial residual plots for interpretation of multiple regression.
prostate

Prostate cancer data
pika

Nitrogen content of soils under pika haypiles
plot.pairw

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

Multiple pairwise comparison procedure to accompany a Kruskal-Wallis test
r.bw

Biweight midvariance, and biweight midcorrelation.
see.logic

Interactive worksheet for logical and fallacious arguments
r.dist

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

Refinery CO dataset
plotAncova

Creates plots for one way ANCOVAs
tukey.add.test

Tukey's test of additivity.
win

Winsorize data
plotCI.reg

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

White wine quality data for data mining
veneer

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

Population levels in various countries from 1980-2006
sedum.ts

CO2 exchange time series data
rinvchisq

Random draws from a scaled inverse chi-square distribution
see.M

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

Interactive depiction of precision and accuracy
mcmc.norm.hier

Gibbs sampling of normal hierarchical models
prp

Perpendicularity
magnets

Magnet pain relief data
see.lma.tck

ANOVA linear models
see.cor.range.tck

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

Visualize exponential power functions
see.mixedII

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

Visualize the Hardy Weinberg equilibrium
press

prediction sum of squares
panel.cor.res

Functions for customizing correlation matrices
power.z.test

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

Welch tests controlled for simultaneous inference
see.move

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

Regression linear model derivation from linear algebra
rmvm

A multivariate normal dataset for data mining
see.nlm

Visualize important non-linear functions
see.rEffect.tck

Visualize random effects model
see.regression.tck

Demonstration of regression mechanics
see.norm.tck

Visualize pdfs
samp.dist

Animated and/or snapshot representations of a statistic's sampling distribution
see.ttest.tck

Visualize t-tests
trim.me

Trim data
see.power

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

Interactive depiction of the multinomial distribution
transM

Transition matrix analysis
selftest.se.tck1

Interactive self-testing questions
shade.norm

Shading functions for interpretation of pdf probabilities.
see.typeI_II

Interactive depiction of type I and II error
see.smooth.tck

Interactive smoother demonstrations
see.roc.tck

Interactive depiction of ROC curves
snore

Snoring and heart disease contingency data
webs

Spider web length data
shade.norm.tck

GUI display of probability
trag

Salsify height dataset
suess

del14C in the atmosphere from 1700-1950
vs

Scandinavian site by species community matrix
wash.rich

Species richness and environmental variables from Mt Washburn
wheat

Agricultural randomized block design
whickham

Whickham contingency table data for smokers and survivorship
trim.ranef.test

Robust test for random factors using trimmed means.
so2.us.cities

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

Robust one way trimmed means test.
shad

American gizzard shad data
stan.error

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

DEM data from the Starkey experimental forest in NE Oregon
wildebeest

Wildebeest carcass categorical data
world.emissions

Greenhouse gas emissions from Our World in Data
world.co2

World CO2 levels, by country, from 1980 to 2006