print.subgroup_fitted {personalized} | R Documentation |
Printing results for fitted subgroup identification models
Description
Prints results for estimated subgroup treatment effects
Prints summary results for estimated subgroup treatment effects
Usage
## S3 method for class 'subgroup_fitted'
print(x, digits = max(getOption("digits") - 3, 3), ...)
## S3 method for class 'subgroup_validated'
print(
x,
digits = max(getOption("digits") - 3, 3),
sample.pct = FALSE,
which.quant = NULL,
...
)
## S3 method for class 'subgroup_summary'
print(x, p.value = 0.001, digits = max(getOption("digits") - 3, 3), ...)
Arguments
x |
a fitted object from either |
digits |
minimal number of significant digits to print. |
... |
further arguments passed to or from |
sample.pct |
boolean variable of whether to print the percent of the test sample within each subgroup. If false the sample size itself, not the percent is printed. This may not be informative if the test sample size is much different from the total sample size |
which.quant |
when |
p.value |
a p-value threshold for mean differences below which covariates will be displayed. P-values are adjusted for
multiple comparisons by the Hommel approach. For example,
setting |
See Also
validate.subgroup
for function which creates validation results
and fit.subgroup
for function which fits subgroup identification models.
summarize.subgroups
for function which summarizes subgroup covariate values