search for: obs2name

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

Did you mean: obs1name
2004 Jun 09
5
direct data frame entry
hi: I searched the last 2 hours for a way to enter a data frame directly in my program. (I know how to read from a file.) that is, I would like to say something like d <- this.is.a.data.frame( c("obs1name", 0.2, 0.3), c("obs2name", 0.4, 1.0), c("obs3name", 0.6, 2.0) , varnames=c("name", "val1", "val2") ); everything I have tried sofar (usually, building with rbind and then names(d)) has come out with factors for the numbers, which is...