cleanfp | R Documentation |
Methods to handle cleaning of objects supported by forest
.
cleanfp(x, ...)
## S3 method for class 'cleanfp'
print(x, ...)
## Default S3 method:
cleanfp(x, ...)
## S3 method for class 'coxph'
cleanfp(x, exp = TRUE, conf.int = 0.95, digits = 2L, format_pval = TRUE, ...)
## S3 method for class 'crr'
cleanfp(
x,
formula,
data,
exp = TRUE,
conf.int = 0.95,
digits = 2L,
format_pval = TRUE,
...
)
## S3 method for class 'crr2'
cleanfp(
x,
which = 1L,
exp = TRUE,
conf.int = 0.95,
digits = 2L,
format_pval = TRUE,
...
)
## S3 method for class 'coxphf'
cleanfp(
x,
formula = x$call$formula,
data,
exp = TRUE,
conf.int = 1 - x$alpha,
digits = 2L,
format_pval = TRUE,
...
)
## S3 method for class 'logistf'
cleanfp(
x,
formula = x$call$formula,
data,
exp = TRUE,
conf.int = 1 - x$alpha,
digits = 2L,
format_pval = TRUE,
...
)
## S3 method for class 'glm'
cleanfp(x, exp = TRUE, conf.int = 0.95, digits = 2L, format_pval = TRUE, ...)
## S3 method for class 'table'
cleanfp(x, conf.int = 0.95, digits = 2L, format_pval = TRUE, ...)
## S3 method for class 'formula'
cleanfp(
formula = formula(data),
data,
conf.int = 0.95,
digits = 2L,
format_pval = TRUE,
order = c("p.value", "coef", "none"),
decreasing = FALSE,
...
)
## S3 method for class 'lm'
cleanfp(x, conf.int = 0.95, digits = 2L, format_pval = TRUE, ...)
x |
an object or formula |
... |
additional arguments passed to or from other methods |
exp |
logical; if |
conf.int |
the confidence level |
digits |
the number of digits past the decimal to keep |
format_pval |
logical or a function used to format p-values to character strings |
formula |
a formula |
data |
a data frame with variables in |
which |
for |
order |
variable used to order the results, one of |
decreasing |
logical; if |
see forest
for examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.