search for: zss_wj_mf

Displaying 1 result from an estimated 1 matches for "zss_wj_mf".

Did you mean: zss_wj_ap
2010 Jun 04
2
using string as variable name in model
...9 zCANTAB_PRM_Percent 10 10 zCANTAB_SRM_Percent 11 11 zCANTAB_sqrt_SWM_within 12 12 zCANTAB_sqrt_SWM_Total 13 13 zSS_WJ_PC 14 14 zSS_WJ_CALC 15 15 zSS_WJ_LW 16 16 zSS_WJ_AP 17 17 zSS_WJ_MF What I'm trying to do is varnames[1,2] -> outcome lm(outcome ~ income + covariate1 + coviarate2, data=my.data) -> model I get the following error message: "Error in model.frame.default(formula = outcome ~ Hollings_Enroll + Child_sex + : variable lengths differ (found fo...