fitmodels: Model fitting function for FSA solutions

Description Usage Arguments Value Examples

View source: R/fitmodels.R

Description

Model fitting function for FSA solutions

Usage

1
fitmodels(object, ...)

Arguments

object

FSA object to construct models on.

...

other parameters passed to lm or glm. See help(lm) or help(glm) for other potential arguements.

Value

list of FSA models that have been fitted.

Examples

1
2
3
4
5
6
#use mtcars package see help(mtcars)
data(mtcars)
colnames(mtcars)
fit<-lmFSA(formula="mpg~hp*wt",data=mtcars,fixvar="hp",
     quad=FALSE,m=2,numrs=10,save_solutions=FALSE,cores=1)
fitmodels(fit)

joshuawlambert/rFSA2 documentation built on July 2, 2021, 12:50 a.m.