[R] apply --> data.frame

Sam Steingold sds at gnu.org
Thu Aug 30 21:16:38 CEST 2012


> * William Dunlap <jqhaync at gvopb.pbz> [2012-08-30 17:35:08 +0000]:
>
> I don't agree with your analysis of what went wrong with your example
>> a double conversion: from number to string first (by c()) and then back.
I did not make myself quite clear, sorry.
I should have written something like
c(1,2,"a") ==> "1" "2" "a" =[as.numeric]=> 1 2 "a"

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://openvotingconsortium.org http://www.memritv.org
http://ffii.org http://truepeace.org http://palestinefacts.org
Those who can't write, write manuals.




More information about the R-help mailing list