iht-methods {restriktor} | R Documentation |
Methods for iht
Description
Print function for objects of class conTest
.
Usage
## S3 method for class 'conTest'
print(x, digits = max(3, getOption("digits") - 2), ...)
Arguments
x |
an object of class |
digits |
the number of significant digits to use when printing. |
... |
no additional arguments for now. |
Value
No return value, just the result of the print function
Examples
# 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 < GroupNo")
iht(fit.con)
[Package restriktor version 0.5-80 Index]