Description Usage Arguments Value Examples
Constructs an McplModel.
1 | McplModel(learningModel,responseModel)
|
learningModel |
an object of class |
responseModel |
an object of class |
An object of class McplModel
.
1 2 3 4 5 6 7 8 9 10 | ## open weather prediction data
data(WPT)
## first specify a learning model, then a response model, and then combine
## them into an McplModel.
lMod <- RescorlaWagner(y~x1+x2+x3+x4,data=WPT,ntimes=rep(200,25),remove.intercept=TRUE)
rMod <- RatioRuleResponse(r~predict(lMod)-1,data=WPT,ntimes=rep(200,25))
mMod <- McplModel(lMod,rMod)
## estimate free parameters
## Not run: mMod <- fit(mMod)
summary(mMod)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.