findSIMQ function

Find quantiles of the simulated data using Rcpp

Find quantiles of the simulated data using Rcpp

findSIMQ(SIM, X, Xbin, probs, confLevel, approx)

Arguments

  • SIM: A matrix of simulated data with only Y values collected.
  • X: A numeric vector corresponding to Y
  • Xbin: Binning result from makeCOVbin function
  • probs: A numeric vector of probabilities
  • confLevel: Confidence level of the interval.
  • approx: Arguments to be passed to methods

Returns

quantiles of SIM using xbin

Examples

data(origdata) data(simdata) CUT = FindBestCut(origdata$TIME,8)$cutoffs time_bin = makeCOVbin(origdata$TIME,K=8,cutoffs = CUT) findSIMQ(simdata,origdata$TIME,Xbin=time_bin,probs=c(0.1,0.5,0.9), confLevel=0.95,approx=FALSE)
  • Maintainer: Eun-Kyung Lee
  • License: MIT + file LICENSE
  • Last published: 2022-12-22

Useful links