search for: margindollar

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

Did you mean: margindollars
2018 Jun 01
0
Regroup and create new dataframe
...nnesota <nguy2952 at umn.edu> Sent: Friday, June 1, 2018 2:13 PM To: David L Carlson <dcarlson at tamu.edu> Subject: Re: [R] Regroup and create new dataframe Hi David, your example is perfect! I am still learning so please stay with me. So, I am running a regression model: model1 = lm(MarginDollars ~ Region + Product_Name, group_PrivateLabel) I have an error message:? Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) :? ? contrasts can be applied only to factors with 2 or more levels > str(group_PrivateLabel) 'data.frame': 14802 obs. of? 12 variables: ?$ ACCTG_...