Learn R Programming

rFSA (version 0.1.0)

fitted.FSA: Fitted Values for FSA solutions

Description

Fitted Values for FSA solutions

Usage

# S3 method for FSA
fitted(object, ...)

Arguments

object

FSA object to get fitted values from.

...

other parameters passed to fitmodels or fitted function. See help(fitmodels) or help(fitted) for assistance.

Value

list of fitted values from each FSA model.

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)
fitted(fit)
# }

Run the code above in your browser using DataLab