Learn R Programming

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

asbio (version 1.9-2)

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-2

License

GPL (>= 2)

Maintainer

Last Published

March 28th, 2023

Functions in asbio (1.9-2)

BCI.plant

Tree presence/absence data from Barro Colorado island
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
Bayes.disc

Bayesian graphical summaries for discrete or categorical data.
HL.mean

Hodges-Lehman estimator of location
D.sq

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

Brunner-Dette-Munk test
K

Soil potassium analyses from 8 laboratories
PM2.5

PM 2.5 pollutant data from Pocatello Idaho
Preston.dist

Preston diversity analysis
SexDeterm

Fern environmental sex determination data
Kappa

Calculates kappa statistic and other classification error statistics
C.isotope

Atmospheric carbon and D14C measurements
Venn

Venn probability diagrams for an event with two outcomes
AP.test

Agresti-Pendergrast test
Kullback

Kullback test for equal covariance matrices.
BCI.count

Barro Colorado Island Tree Counts
Fbird

Frigatebird drumming frequency data
ML.k

Maximum likelihood algorithm for determining the binomial dispersal coefficient
G.mean

Geometric mean
Glucose2

Glucose Levels Following Alcohol Ingestion
R.hat

R hat MCMC convergence statistic
anm.ls

Animated plot of least squares function.
H.mean

Harmonic mean
MS.test

Mack-Skillings test
SM.temp.moist

Alpine soil temperature and moisture time series
anm.ls.reg

Animated plot of the least squares function.
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
anm.ExpDesign

Animated depiction of experimental designs
ant.dew

Ant honeydew data
anm.mc.bvn

Animation of Markov Chain Monte Carlo walks in bivariate normal space
asthma

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

Split plot computer chip data from Littell et al. (2006)
anm.samp.design

Animated demonstration of randomized sampling designs
Mode

Sample mode
MC.test

Monte Carlo hypothesis testing for two samples.
bats

Bat forearm length as a function of bat age
bayes.lm

Bayesian linear models with uniform priors
PCB

PCBs and herring egg thickness
anm.LV

Animated depictions of Lotka-Volterra competition and exploitation models
anm.cont.pdf

Animated demonstration of density for a continuous pdf
agrostis

Agrostis variabilis cover measurements
anm.die

Animated depiction of six-sided die throws.
chronic

Chronic ailment counts for urban and rural women in Australia
MC

Simple functions for MCMC demonstrations
anm.ci

Animation demonstrations of confidence intervals.
ci.boot

Bootstrap confidence intervals
bear

Grizzly bear litter sizes
anm.coin

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

Barplots with error bars (including interval plots)
bv.boxplot

Bivariate boxplots
corn

Corn yield data
aids

Aids and veterans dataset
bvn.plot

Make plots of bivariate normal distributions
alfalfa.split.plot

An agricultural split plot design
alpha.div

Functions for calculating alpha diversity.
ci.impt

Confidence interval for the product of two proportions
anolis

Anolis lizard contingency table data
ci.median

Confidence interval for the median
anm.geo.growth

Animated depictions of population growth
anscombe

Anscombe's quartet
anm.loglik

Animated plots of log-likelihood functions
crab.weight

crab gill and body weight data
ci.p

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

Dissolved levels in locations above and below a town
best.agreement

Determine agreement of two classifications
bromus

Bromus tectorum dataset
death.penalty

Florida state death penalty data
bin2dec

Conversion of binary digits to decimal numbers
book.menu

Pulldown menus for 'asbio' interactive graphical functions
beetle

Wood boring beetle data
auc

Area under a receiver operating characteristic (ROC) curve
baby.walk

Baby walking times experimental data
ci.prat

Confidence intervals for the ratio of binomial and multinomial proportions
enzyme

Enzymatic rate data for the phospholipase protein ExoU
bombus

Bombus pollen data.
exercise.repeated

Repeated measures data for an exercise experiment.
km

Kaplan-Meier survivorship.
depression

Hamilton depression scores before and after drug treatment
bootstrap

A simple function for bootstrapping
larrea

Creosote bush counts
ci.mu.z

Z and t confidence intervals for mu.
drugs

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

Bone development data
pairw.fried

Multiple pairwise comparison procedure to accompany a Friedman test.
bound.angle

Angle of azimuth to a boundary.
boot.ci.M

Bootstrap CI of M-estimators differences of two samples
case1202

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

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

Caribou count data
goats

Mountain goat data from Yellowstone National Park
cliff.sp

Yellowstone NP cliff community data
chi.plot

Chi plots for diagnosing multivariate independence.
ci.mu.oneside

One sided confidence interval for mu.
pairw.kw

Multiple pairwise comparison procedure to accompany a Kruskal-Wallis test
ci.strat

Confidence intervals for stratified random samples.
cliff.env

Environmental data for the community dataset cliff.sp
case0902

Dataset of mammal traits from Ramsey and Schaefer (1997)
e.cancer

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

Creates plots for one way ANCOVAs
concrete

Concrete strength dataset for data mining
deer.296

Mule deer telemetry data
plotCI.reg

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

Huber M-estimator iterative least squares algorithm
crabs

Agresti crabs dataset
deer

Maternal deer data
eff.rbd

Efficiency of a randomized block design compared to a CRD
pseudo.v

Jacknife pseudo-values
qq.Plot

Normal quantile plots for single or multiple factor levels
life.exp

Mouse life expectancy data
huber.mu

Huber M-estimator of location
cuckoo

Tippett cuckoo egg data
myeloma

Patient responses to myeloma drug treatments
lm.select

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

Nearest neighbor boundary coordinates
see.cor.range.tck

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

Visualize exponential power functions
partial.R2

Partial correlations of determination in multiple regression
see.move

Interactive visualization of least squares regression.
fruit

Fruit weight data from Littell et al. (2002)
one.sample.t

One sample t-test
facebook

Facebook performance metrics for data mining and machine learning
one.sample.z

One sample z-test
see.nlm

Visualize important non-linear functions
perm.fact.test

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

Partial residual plots for interpretation of multiple regression.
g.test

Likelihood ratio test for tabular data
r.bw

Biweight midvariance, and biweight midcorrelation.
huber.one.step

Huber one step M-estimator
fire

Fire data from Yellowstone National Park
illusions

Visual illusions illustrating human perception errors.
modlevene.test

Modified Levene's test
pika

Nitrogen content of soils under pika haypiles
simberloff

Compilations of genus and species counts from Simberloff (1970)
skew

Sample skewness and kurtosis
ci.prat.ak

Confidence intervals for ratios of proportions when the denominator is known
montane.island

Mountain island biogeographic data
trim.ranef.test

Robust test for random factors using trimmed means.
polyamine

Polyamine data from Hollander and Wolfe (1999)
power.z.test

Power analysis for a one sample z-test
grass

Agricultural factorial design
press

prediction sum of squares
ci.sigma

Confidence interval for sigma squared.
heart

Heart rate data from Milliken and Johnson (2009)
r.dist

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

Portneuf River longitudinal N and P data
sc.twin

Matched pairs schizophrenia data
moose.sel

Datasets for resource use and availability
mosquito

Mosquito wing length data
prostate

Prostate cancer data
trim.test

Robust one way trimmed means test.
se.jack

Jackknife standard error from a set of pseudovalues
see.M

Visualization of the M-estimation function
fly.sex

Fly sex and longevity
world.co2

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

Australian frog calls following fire
prp

Perpendicularity
see.accPrec.tck

Interactive depiction of precision and accuracy
sedum.ts

CO2 exchange time series data
ipomopsis

Ipomopsis fruit yield data
joint.ci.bonf

Calculates joint confidence intervals for parameters in linear models using a Bonferroni procedure.
see.rEffect.tck

Visualize random effects model
see.regression.tck

Demonstration of regression mechanics
refinery

Refinery CO dataset
rinvchisq

Random draws from a scaled inverse chi-square distribution
paik

Paik diagrams
selftest.se.tck1

Interactive self-testing questions
see.HW

Visualize the Hardy Weinberg equilibrium
see.lmu.tck

Unbalanced and balanced linear models
see.ancova.tck

Visualize ANCOVA mechanics
see.anova.tck

Interactive depiction of the ANOVA mechanism
shad

American gizzard shad data
pairw.anova

Conducts pairwise post hoc and planned comparisons associated with an ANOVA
magnets

Magnet pain relief data
stan.error

Variance and standard error estimators for the sampling distribution of the sample mean
mcmc.norm.hier

Gibbs sampling of normal hierarchical models
starkey

DEM data from the Starkey experimental forest in NE Oregon
vs

Scandinavian site by species community matrix
world.emissions

Greenhouse gas emissions from Our World in Data
pairw.oneway

Welch tests controlled for simultaneous inference
wash.rich

Species richness and environmental variables from Mt Washburn
potash

Potash/cotton strength data
panel.cor.res

Functions for customizing correlation matrices
plantTraits

Plant traits for 136 species
plot.pairw

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

Fisher's Rothamsted potato data
r.pb

Percentage bend correlation
rat

Rat glycogen data from Sokal and Rohlf (2012)
samp.dist.mech

Animated representation of sampling distribution basics
rmvm

A multivariate normal dataset for data mining
savage

Mammalian BMR and biomass data from Savage et al. (2004)
see.norm.tck

Visualize pdfs
samp.dist

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

ANOVA linear models
see.mixedII

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

Regression linear model derivation from linear algebra
see.power

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

Visualize t-tests
see.logic

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

Interactive depiction of ROC curves
see.typeI_II

Interactive depiction of type I and II error
suess

del14C in the atmosphere from 1700-1950
see.smooth.tck

Interactive smoother demonstrations
see.mnom.tck

Interactive depiction of the multinomial distribution
trag

Salsify height dataset
shade.norm

Shading functions for interpretation of pdf probabilities.
webs

Spider web length data
wheat

Agricultural randomized block design
shade.norm.tck

GUI display of probability
snore

Snoring and heart disease contingency data
so2.us.cities

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

Tukey's test of additivity.
transM

Transition matrix analysis
veneer

Veneer data from Littell et al. (2002)
win

Winsorize data
trim.me

Trim data
whickham

Whickham contingency table data for smokers and survivorship
wine

White wine quality data for data mining
world.pop

Population levels in various countries from 1980-2006
wildebeest

Wildebeest carcass categorical data