## Not run:
# data(NHANES)
# # Example of analyzing NHANES data
# # Example 1: Not adjusted for sampling weights
# nhanesToFit <- NHANES[ which(NHANES$mvpaMinutes!=0), ]
# formula <- aee(ID, Day, mvpaMinutes) ~ Age+raceBi+VO2max+Gender
# fitted1 <- aeefit(formula=formula, data=nhanesToFit)
# summary(fitted1)
# ## End(Not run)
Run the code above in your browser using DataLab