mm | R Documentation |
mm calculates length-at-age for the generalized Michaelis-Menton curve. The equation being (a x ages)/(b + ages^c).
mm(p, ages)
p |
is a vector the first three cells of which are a, b, c for the mm curve. |
ages |
is a vector of ages; could be a single number |
a vector of predicted lengths for a vector of ages in 'ages'
ages <- seq(0,20,1) # sigma is ignored here
pars <- c(a=23.0,b=1.0,c=1.0,sigma=1.0) # a, b, c, sigma
plot1(ages,mm(pars,ages),xlab="Age",ylab="Length",lwd=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.