conTest_methods: Methods for conTest

Description Usage Arguments Examples

Description

Print function for objects of class conTest.

Usage

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

Arguments

x

an object of class conTest.

digits

the number of significant digits to use when printing.

...

no additional arguments for now.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
  # unrestricted linear model for ages (in months) at which an 
  # infant starts to walk alone.
  
  # prepare data
  DATA <- subset(ZelazoKolb1972, Group != "Control")
  
  # fit unrestricted linear model
  fit.lm <- lm(Age ~ -1 + Group, data = DATA)
  
  # restricted linear model with restrictions that the walking 
  # exercises would not have a negative effect of increasing the 
  # mean age at which a child starts to walk. 
  fit.con <- restriktor(fit.lm, constraints = "GroupActive  < GroupPassive; 
                                               GroupPassive < GroupNo")
  
  conTest(fit.con)

restriktor documentation built on Feb. 25, 2020, 5:08 p.m.