print.mixor: Printing Mixor Model Fits

Description Usage Arguments Value Author(s) See Also Examples

View source: R/print.mixor.R

Description

print method for class mixor.

Usage

1
2
## S3 method for class 'mixor'
print(x, digits = max(3L, getOption("digits") - 3L), ...)

Arguments

x

an object of class mixor.

digits

the number of significant digits to use when printing.

...

further arguments passed to or from other methods.

Value

The function print.mixor prints the model call and coefficients from the mixor object.

Author(s)

Kellie J. Archer, Donald Hedeker, Rachel Nordgren, Robert D. Gibbons

See Also

See Also as mixor, summary.mixor, coef.mixor

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library("mixor")
data("schizophrenia")
### Random intercept
SCHIZO1.fit<-mixor(imps79o ~ TxDrug + SqrtWeek + TxSWeek, data=schizophrenia, 
     id=id, link="probit")
print(SCHIZO1.fit)
### Random intercept and slope	
SCHIZO2.fit<-mixor(imps79o ~ TxDrug + SqrtWeek + TxSWeek, data=schizophrenia, 
     id=id, which.random.slope=2, link="probit")
print(SCHIZO2.fit)

Example output

Call:
mixor(formula = imps79o ~ TxDrug + SqrtWeek + TxSWeek, data = schizophrenia, 
    id = id, link = "probit")

Coefficients:
       (Intercept)              TxDrug            SqrtWeek             TxSWeek  
           3.36636            -0.05166            -0.45912            -0.67226  
Random.(Intercept)          Threshold2          Threshold3  
           1.22740             1.72930             2.93971  


Call:
mixor(formula = imps79o ~ TxDrug + SqrtWeek + TxSWeek, data = schizophrenia, 
    id = id, which.random.slope = 2, link = "probit")

Coefficients:
            (Intercept)                 SqrtWeek                   TxDrug  
                4.10116                 -0.50592                  0.03241  
                TxSWeek  (Intercept) (Intercept)     (Intercept) SqrtWeek  
               -0.94264                  2.17199                 -0.45260  
      SqrtWeek SqrtWeek               Threshold2               Threshold3  
                0.61933                  2.17907                  3.64342  

mixor documentation built on May 2, 2019, 5:56 a.m.