Learn R Programming

ecap (version 0.1.2)

print.ecap: Printing ECAP Object

Description

Prints summary information about the ECAP object

Usage

# S3 method for ecap
print(x, digits, ...)

Arguments

x

An object of class ecap.

digits

The number of significant digits that should be displayed.

...

Additional arguments

References

http://faculty.marshall.usc.edu/gareth-james/Research/Probs.pdf

Examples

Run this code
# NOT RUN {
set.seed(1)
p_obs <- runif(1000, 0, 1)
win_var <- rbinom(length(p_obs), 1, p_obs)
ecap_fit <- ecap(unadjusted_prob = p_obs, win_var = win_var, win_id = 1, bias_indicator = TRUE)
print(ecap_fit)
# }

Run the code above in your browser using DataLab