# 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
# across all doses:
nlaad("dose", "MF_Log", data=DRdata)
Run the code above in your browser using DataLab