View source: R/cross_validation.R
This function returns the point estimate, 95 confidence intervals for each ordinal stage of a given response variable.
1 2 3 4 5 6 7 8 9 | generate_ord_ci(
data_dir,
analysis_name,
var_name,
th_x,
input_seed = NA,
save_file = F,
j = NA
)
|
data_dir |
Directory where files are saved |
analysis_name |
Unique identifier for current analysis |
var_name |
Response variable name |
th_x |
Parameterization for prior on x |
input_seed |
An optional seed that can be used to make results reproducible. The input_seed must be either (1) NA / not provided (the default), (2) a single integer, or (3) a vector with length M+1 (see Description of calc_ci_ord for further details). |
save_file |
Logical whether the resulting data frame should be saved as an .rds file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.