names.growthmodel | R Documentation |
Methods to get the parameter names of a growth model or to get or set
identifiers of multiple_fits
objects.
## S3 method for class 'growthmodel' names(x) ## S4 method for signature 'multiple_fits' names(x) ## S4 replacement method for signature 'multiple_fits' names(x) <- value
x |
either a function being a parametric growth model of package growthmodels or an object with multiple fits. |
value |
a character vector of up to the same length as x, or NULL |
character vector of the parameter names
growthmodel
: returns information about
valid parameter names if a pnames
attribute exists, else NULL
.
NULL
.
multiple_fits
: can be applied to objects
returned by all_growthmodels
, all_splines
or
all_easylinear
respectively. This can be useful for selecting
subsets, e.g. for plotting, see example below.
multiple_fits
, all_growthmodels
,
all_splines
, all_easylinear
## growthmodel-method names(grow_baranyi) ## multiple_fits-method L <- all_splines(value ~ time | strain + conc + replicate, data = bactgrowth) names(L) ## plot only the 'R' strain par(mfrow=c(4, 6)) plot(L[grep("R:", names(L))])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.