Skip to contents

Prints a summary of the model to the console

Usage

# S3 method for class 'PTE_bootstrap_results'
print(x, ...)

Arguments

x

A PTE_bootstrap_results model object built via running the PTE_bootstrap_inference function.

...

Other methods passed to print

Author

Adam Kapelner

Examples

library(PTE)
data(continuous_example)
pte_results = PTE_bootstrap_inference(continuous_example$X, continuous_example$y,
    regression_type = "continuous", B = 5, num_cores = 1)
print(pte_results)
#>     I_random observed_est = 0.077,  pctile p-val = 0.333, 
#>       95% CI's: basic = [-0.009, 0.213], pctile = [-0.06, 0.162], 
#>     I_best observed_est = 0.065,  p val = 0.667, 
#>       95% CI's: basic = [0.087, 0.329], pctile = [-0.2, 0.043],