# Prints the F test of the difference between the spline model (output "Model 2")
# and the linear model (output "Model 1") as a test of nonlinearity
# for doses below 1.5 (i.e., all dose levels up to and including 1.49):
nlbcd("dose", "MF_Log", cutoffdose=1.5, data=DRdata)
# This produces an error, as no cutoffdose was specified:
## Not run:
# nlbcd("dose", "MF_Log", data=DRdata)
# ## End(Not run)
Run the code above in your browser using DataLab