Learn R Programming

rFSA (version 0.1.0)

fitmodels: Model fitting function for FSA solutions

Description

Model fitting function for FSA solutions

Usage

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

Run this code
# NOT RUN {
#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)
# }

Run the code above in your browser using DataLab