Displaying 1 result from an estimated 1 matches for "tp2077054p2077054".
2010 Apr 30
3
Why do data frame column types vary across apply, lapply?
...uot;
$b
[1] "integer"
>
> # Except -- only one of those integers is numeric:
> lapply (df, is.numeric)
$a
[1] TRUE
$b
[1] FALSE
Many thanks,
Jeff
--
View this message in context: http://r.789695.n4.nabble.com/Why-do-data-frame-column-types-vary-across-apply-lapply-tp2077054p2077054.html
Sent from the R help mailing list archive at Nabble.com.