Learn R Programming

mixer (version 1.8)

getModel: Get the parameters of a model

Description

Generic method to get the parameters of a model. Type ?getModel.mixer for more details

Usage

getModel( object, ...)

Arguments

object
an object representing a model
...
adding arguments (depending on the object type)

Value

Return parameters of the model.

Examples

Run this code

graph.affiliation(n=100,c(1/3,1/3,1/3),0.8,0.2) -> g
mixer(g$x,qmin=2,qmax=6) -> xout
m <- getModel( xout )

m <- getModel( xout, q=5 )


Run the code above in your browser using DataLab