cp_estsum {cutpoint}R Documentation

Summarise cutpoint estimation

Description

Writes the summary of the cutpoint estimation to the console.

Usage

cp_estsum(cpobj, verbose = TRUE)

Arguments

cpobj

list, contains variables for cp_estsum function

verbose

logical value: if TRUE the summary of the cutpoint estimation is writing to the console. Default is TRUE.

Value

Summary of the cutpoint estimation.

See Also

cp_est() for main function of the package.

Examples


# Example
# Writes the summary to the console
# The data set data1 is included in this package
cpobj <- cp_est(
  cpvarname    = "biomarker",
  covariates   = c("covariate_1", "covariate_2"),
  data         = data1,
  nb_of_cp     = 2,
  plot_splines = FALSE,
  print_res    = FALSE
)
cp_estsum(cpobj, verbose = TRUE)


[Package cutpoint version 1.0.0 Index]