powered by
Extract time since diagnosis (tsd) interval information in strings produced by cut.
getBinInfo(binLab, binS)
The label of the specific bin of interest.
The character vector of bin labels in which binLab exists.
A numeric vector containting the lower limit (LL), upper limit (UL), and position (index) in the parent vector binS.
SEERaBomb-package
# NOT RUN { library(SEERaBomb) brks=c(0,0.25,1,3,5) (binS=levels(cut(brks+0.1,breaks=c(brks,100)))) #make a vector of intervals getBinInfo(binS[4],binS) # test getBinInfo # }
Run the code above in your browser using DataLab