Hi, can someone tell me what does this error message mean? I am using the survey package to apply the svydesign function.
Code:
ihisDesign1 <- svydesign(id=~PSU, strata=~STRATA, weights=~SAMPWEIGHT, nest=TRUE, data= ihisFinal)
Error Message after selecting 'Knit HTML' in R Studio:
Error in eval(expr, envir, enclos) : could not find function "svydesign"
Calls: <Anonymous> ... handle -> withCallingHandlers -> withVisible -> eval -> eval
Execution halted