Skip to content

cbind() and factors.

1 message · Stéphane Dray

#
cat is a data.frame,
so cbind is use for a data.frame

and
?data.frame tell us that:

  Character variables passed to 'data.frame' are converted
      to factor columns unless protected by 'I'.

PS : it is not good ides to call your data.frame cat as there is a cat 
function.
At 09:19 10/12/2004, michael watson (IAH-C) wrote:
St??phane DRAY
-------------------------------------------------------------------------------------------------- 

D??partement des Sciences Biologiques
Universit?? de Montr??al, C.P. 6128, succursale centre-ville
Montr??al, Qu??bec H3C 3J7, Canada

Tel : (514) 343-6111 poste 1233         Fax : (514) 343-2293
E-mail : stephane.dray at umontreal.ca
-------------------------------------------------------------------------------------------------- 

Web                                          http://www.steph280.freesurf.fr/