Displaying 2 results from an estimated 2 matches for "testeq".
Did you mean:
tested
2012 May 09
2
Problem with SQLDF - Error in sqliteExecStatement(con, statement, bind.data) : RS-DBI driver: (error in statement: no such table:
...quot;, "V9", "V10", "V11", "V12"), row.names = c(NA,
6L), class = "data.frame")
I run the below command:
> new2 = sqldf("select * from lessliq")
This works fine.
But on many other dataframes it is not working. I have a dataframe
'testeq'. dput given below:
> dput(head(testeq))
structure(list(NAME = c("DLF", "DLF", "DLF", "DLF", "DLF", "DLF"
), TMSTMP = c("09:07:07", "09:15:03", "09:15:03", "09:15:03",
"09:15:03", &...
2007 Jun 28
1
saving objects with embedded environments
...e
some inconsistency on how environments are saved depending on if it is
the global environment or not, though I'm not familiar enough with
environments to know if this was intentional. Comments are appreciated.
Thanks,
Robert
##################################################################
testEq <- function(B) {
x <- lm(y ~ x1+x2+x3, data=B, model=FALSE)
x$residuals <- x$effects <- x$fitted.values <- x$qr$qr <- NULL
x
}
N <- 900000
B <- data.frame(y=rnorm(N)+1:N, x1=rnorm(N)+1:N, x2=rnorm(N)+1:N,
x3=rnorm(N)+1:N)
x1 <- testEq(B)
x2 <- lm(y ~ x1+x2...