generate_ord_ci: Generate the confidence intervals for a given a...

Description Usage Arguments

View source: R/cross_validation.R

Description

This function returns the point estimate, 95 confidence intervals for each ordinal stage of a given response variable.

Usage

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
)

Arguments

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


MichaelHoltonPrice/yada documentation built on Sept. 19, 2021, 11:27 p.m.