drawn_cdf_sim: Simulate from a drawn CDF

Description Usage Arguments

Description

After using the shiny app, dprocsim::run_shiny(), take the downloaded data and simulate from the resulting mean CDF value.

Usage

1
2
drawn_cdf_sim(shinydat, xgrid, ubnd = "bound 1", lbnd = "bound 2",
  meth)

Arguments

shinydat

Data frame. Output from the shiny app containing information on the two sets of clicked bounds, the two smoothed functions, and the resulting mean function.

xgrid

Vector. Sequence of domain values at which to evaluate the CDF.

ubnd

Character. Name of upper bound. Either "bound 1" or "bound 2".

lbnd

Character. Name of lower bound. Either "bound 1" or "bound 2".

meth

Character. Approximation method. either "splines" for smooth.spline() or "linear" for approxfun()


sctyner/dprocsim documentation built on June 30, 2019, 11:51 a.m.