Learn R Programming

statforbiology

Overview

This is the companion R package to the blog Fixing the bridge between biologists and statisticians. It contains several miscellaneous utilities to perform statistical analyses of data in agriculture and biology.

Installation

The package is freely available on CRAN (stable version) and github (development version). Instructions for installation are also provided at this link. Please note that the 'devtools' package is necessary, and must be available prior to the installation of 'statforbiology'.

# You can install statforbiology from GitHub
# install.packages("devtools")
# devtools::install_github("onofriAndreaPG/statforbiology")

Copy Link

Version

Install

install.packages('statforbiology')

Monthly Downloads

317

Version

0.9.9

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Andrea Onofri

Last Published

October 21st, 2024

Functions in statforbiology (0.9.9)

SSbragg

Bragg's Equation
SSlorentz

Lorentz equation
SSpowerCurve

Power curve equation
compCoefs

Pairwise comparisons of model parameters for nls objects
check.hom

Check linear models for homoscedasticity
beetGrowth

Growth of sugarbeet in weed-infested and weed-free conditions
anova.aovlist

Prints an ANOVA table for an 'aovList' object
biplot.AMMIobj

Biplots for AMMI and GGE analyses of multi-environment genotype experiments
compCurves

Compare regression curves in a pairwise fashion
contr.Tukey

Pairwise contrast matrix
gnlht

Linear/nonlinear contrasts of model parameters
ma

Moving average for a vector
boxcox.nls

Transform-both-sides (TBS) method for nonlinear regression
plotnls

Plotting diagnostics for an nls object
pairComp

Pairwise comparisons between the numeric elements of a vector
degradation

Soil degradation kinetic for a herbicide
deviance.drc

Residual deviance for a non-linear regression fit.
poly2

Simple polynomial regression functions
getPlotData

Get the data for plotting with ggplot()
getAgroData

Get one of the available datasets
negExp

Negative exponential functions
angularTransform

Angular transformation for percentages
mixture

Efficacy of the mixture of two herbicides
metamitron

Degradation of metamitron in soil with co-applied herbicides
AMMI

AMMI analysis for multienvironment genotype experiments
CVA

Canonical variate analysis for multienvironment and multitrait genotype experiments
SSL

Logistic equations
SSW1

Weibull equation (Type I)
SSW2

Weibull equation (Type II)
SSLL

Log-logistic equation
SSbeta

Beta equation
GGE

GGE analysis for multienvironment genotype experiments
SScousens85

Rectangular hyperbola for yield/weed density relationship
expoDecay

Exponential decay function
SSE

Modified Gompertz equations
R2nls

Goodness of fit for nonlinear regression
SSYL

Yield loss equation (Rectangular hyperbola)
logCurve

Logarithmic curve
SSGompertz

Gompertz equations
expoGrowth

Exponential growth function
asymReg

Asymptotic functions
linear

Simple linear regression functions