powered by
Find quantiles of the original data.
findQuantile(Y, X, X_bin, probs=c(0.1,0.5,0.9),...)
quantiles of Y using X_bin
A numeric vector whose sample quantiles are wanted.
A numeric vector corresponding to Y.
Binning result from makeCOVbin function.
A numeric vector of probabilities.
Arguments to be passed to methods.
data(origdata) CUT = FindBestCut(origdata$TIME,8)$cutoffs time_bin = makeCOVbin(origdata$TIME,K=8,cutoffs = CUT) findQuantile(origdata$DV,origdata$TIME,X_bin=time_bin)
Run the code above in your browser using DataLab