iht-methods | R Documentation |
Print function for objects of class conTest
.
## S3 method for class 'conTest'
print(x, digits = max(3, getOption("digits") - 2), ...)
x |
an object of class |
digits |
the number of significant digits to use when printing. |
... |
no additional arguments for now. |
No return value, just the result of the print function
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.