search for: eqlength

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

Did you mean: qlength
2011 Mar 10
2
R beginner - Error in as.vector(x, mode)
...erything went fine. The major structural difference I can see between the codes is they use data() where as I do not. Any advice would be truly appreciated. library(systemfit) library(foreign) auto74 <- read.dta("auto74.dta") eqWeight <- weight ~ a0 + a1*mpg + a2*price + a3*trunk eqLength <- length ~ b0 + b1*mpg + b2*price + b3*trunk model <- list(eqWeight, eqLength) start.values <- c(a0=0, a1=0, a2=0, a3=0, b0=0, b1=0, b2=0, b3=0) nlsystemfit("OLS", model, start.values, data = auto) Error in as.vector(x, mode) : cannot coerce type 'builtin' to vector o...