Learn R Programming

cold (version 2.0-2)

model.mat-methods: Methods for function model.mat

Description

Methods for function model.mat extracting the fixed effects model matrix for a fitted model object from class cold.

Arguments

Methods

signature(object="cold"):

Returns the fixed effects model matrix of the fitted model.

Examples

Run this code
# NOT RUN {
#####  data = seizure

### AR1
seiz1M <- cold(y ~ lage + lbase + v4 + trt + trt:lbase, data = seizure, 
start = NULL, dependence = "AR1")

model.mat(seiz1M)[1:20,]


# }

Run the code above in your browser using DataLab