data(PbHeron)
# Default
cenTolInt(PbHeron$Liver,PbHeron$LiverCen)
# User defined conficence interval
cenTolInt(PbHeron$Liver,PbHeron$LiverCen,conf=0.75)
# User defined percentile
cenTolInt(PbHeron$Liver,PbHeron$LiverCen,cover=0.5)
# inputs outside acceptable ranges
# Will result in errors/warnings
# cenTolInt(PbHeron$Liver,PbHeron$LiverCen,cover=1.25)
# cenTolInt(PbHeron$Liver,PbHeron$LiverCen,conf=1.1)
# cenTolInt(PbHeron$Liver,PbHeron$LiverCen,method.fit="ROS")
Run the code above in your browser using DataLab