Learn R Programming

growthrates (version 0.8.4)

[,multiple_fits,ANY,missing-method: Extract or Replace Parts of a 'multiple_fits' Object

Description

Operators to access parts of 'multiple_fits' objects

Usage

# S4 method for multiple_fits,ANY,missing
[(x, i, j, ..., drop = TRUE)

# S4 method for multiple_fits,ANY,missing [[(x, i, j, ...)

Arguments

x

object of class multiple_fits

i

numeric or character index

j

NULL (for compatibility with other uses of [ or [[)

...

optional arguments passed to [

drop

If TRUE the result is coerced to the lowest possible dimension

Examples

Run this code

data(bactgrowth)
L <- all_splines(value ~ time | strain + conc +replicate, data=bactgrowth)

coef(L[[1]])

plot(L[["R:0:2"]])

par(mfrow=c(2, 2))
plot(L[1:4])

Run the code above in your browser using DataLab