Displaying 3 results from an estimated 3 matches for "ddiff".
Did you mean:
diff
1999 Mar 09
2
summary() of lm() problem (PR#135)
...asch2) is
truncated to just the first 10 rows. I made it so the modified dataset
is called sasch2 so that I could cut and paste the exact same lm() call:
> tmp<-sasch2[1:10,]
> holdsasch2<-sasch2
> sasch2<-tmp
> dump('sasch2','bugs.dump')
> lm(sasch2[, "ddiff"] ~ sasch2[, "td30"] + sasch2[, "td60"] +
sasch2[, "td90"] + sasch2[,
+ "td120"] + +sasch2[, "td180"] + sasch2[, "td240"] + sasch2[,
"td300"] + sasch2[, "td360"] +
+ sasch2[, "td420"] + sasc...
1999 Mar 09
1
lm() using data frames
...planatory variables)
and plenty of memory, specifically
> gc()
free total
Ncells 886738 1000000
Vcells 7912909 8388608
I get a fatal error when attempting summary() on the fit of an lm() on a
large-ish set of dummy variables (stored in a matrix):
Call:
lm(formula = sasch2[, "ddiff"] ~ sasch2[, "td30"] + sasch2[, "td60"]
+ sasch2[, "td90"] + sasch2[, "td120"] + +sasch2[, "td180"] +
sasch2[, "td240"] + sasch2[, "td300"] + sasch2[, "td360"] +
sasch2[, "td420"] + sasch2[,...
2006 Jan 22
23
calculate users age
i know it''s probably really simple, how do i work out someone''s age if i
have their d.o.b. stored as a date in my db.
cheers
--
Posted via http://www.ruby-forum.com/.