Getting this error when attempting to run my code: Error in model.frame.default(data = list(an = c(0, 0), gn = c(0, 0), pkd = c(0, : variable lengths differ (found for
Error in model.frame.default(data = list(an = c(0, 0), gn = c(0, 0), pkd = c(0, : variable lengths differ (found for