get_cutpoints | R Documentation |
Accessor method for cutpoints slot in TSDT objects.
get_cutpoints(.Object, subgroup, subsub = NULL) ## S4 method for signature 'TSDT_CutpointDistribution' get_cutpoints(.Object, subgroup = character, subsub = NULL) ## S4 method for signature 'TSDT' get_cutpoints(.Object, subgroup = character, subsub = NULL)
.Object |
A TSDT object. |
subgroup |
The anonymized subgroup. |
subsub |
A particular component of the subgroup to retrieve. |
The summary results from TSDT provide a set of 'anonymized' subgroups in a form similar to 'X1<xxxxx'. The variable X1 may have been selected as a splitting variable in several bootstrapped samples. The exact numerical cutpoint for X1 could vary from one sample to the next. The get_cutpoints method returns all the numerical cutpoints associated with this subgroup. If the subgroup is a compound subgroup defined on more than one spliting variable the user can specify the 'subsub' parameter to get the cutpoints associated with a particular component of the subgroup.
## Not run: example( TSDT ) ## You can access the cutpoints slot of a TSDT object directly ex2@cutpoints ## You can also use the accessor method get_cutpoints( ex2@cutpoints, subgroup = 'X1<xxxxx' ) ## Retrieving a compound subgroup defined on multiple splits get_cutpoints( ex2, subgroup = 'X1<xxxxx & X1>=xxxxx' ) ## Retrieving a single component from the compound subgroup get_cutpoints( ex2, subgroup = 'X1<xxxxx & X1>=xxxxx', subsub = 'X1>=xxxxx' ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.