# NOT RUN {
data(PbHeron)
# Default
cenPredInt(PbHeron$Liver,PbHeron$LiverCen)
# User defined confidence coefficient
cenPredInt(PbHeron$Liver,PbHeron$LiverCen, conf=0.5)
# User defined confidence coefficient outside of acceptable range
# the procedure will stop and give an error.
# }
# NOT RUN {
cenPredInt(PbHeron$Liver,PbHeron$LiverCen, conf=1.1)
# }
# NOT RUN {
# User defined prediction interval type
cenPredInt(PbHeron$Liver,PbHeron$LiverCen,pi.type="lower")
cenPredInt(PbHeron$Liver,PbHeron$LiverCen,pi.type="upper")
# }
Run the code above in your browser using DataLab