Description Usage Arguments Value Examples
The gTree function calculates Guttman error trees ("GETs") by recursively partitioning the Guttman errors.
1 |
formula |
a formula. |
data |
a data.frame |
type |
a factor. Has currently no use. |
Returns a Guttman error tree.
1 2 3 4 | data(Communality)
Communality$ge <- guttmanErrors(Communality[,1:10])
Communality.tree <- gTree(ge ~ sex + age, data = Communality)
plot(Communality.tree)
|
Loading required package: party
Loading required package: grid
Loading required package: mvtnorm
Loading required package: modeltools
Loading required package: stats4
Loading required package: strucchange
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: sandwich
Attaching package: 'GetR'
The following object is masked from 'package:grid':
gTree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.