findSIMQ {nlmeVPC}R Documentation

Find quantiles of the simulated data using Rcpp

Description

Find quantiles of the simulated data using Rcpp

Usage

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

Value

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)

[Package nlmeVPC version 2.6 Index]