search for: formula12

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

Did you mean: formula1
2011 Oct 31
1
Error in dim(data) <- dim : attempt to set an attribute on NULL.
...calculating the linear regression. some time i'm getting the error Error in dim(data) <- dim : attempt to set an attribute on NULL. But when i restart my R studio, then it runs. Please help to resolve this problem. My code looks like dataset <- read.csv("C:/data/data1.csv") formula12= "Y~X1+X2" LinearRegression <- lm(formula=formula12,data=dataset, singular.ok=TRUE) vif(LinearRegression) Please help me to solve this issue -- View this message in context: http://r.789695.n4.nabble.com/Error-in-dim-data-dim-attempt-to-set-an-attribute-on-NULL-tp3954811p3954811.htm...