Skip to content
Prev 171618 / 398502 Next

learning R

Hi

r-help-bounces at r-project.org napsal dne 25.02.2009 06:18:04:
#==================================================================================
#===================================================================================
I can not resist to point out difference between matrices and data frames. 
For those who work with R are obvious but for newcomer using rbind or 
especially cbind with matrices or data frames can lead to nasty surprise 
when adding non numeric column to numeric matrix or values to data frame 
which have different type.

See appropriate help page for rbind.

Regards
Petr
http://www.R-project.org/posting-guide.html