findSIMQ | R Documentation |
Find quantiles of the simulated data using Rcpp
findSIMQ(SIM, X, Xbin, probs, confLevel, approx)
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 |
quantiles of SIM using xbin
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.