Message-ID: <CAFkuWq41M35h-7mO3RLd4FLb_=LC_vhZBPKA6m9rjW+_YK_Ksg@mail.gmail.com>
Date: 2014-08-15T14:36:40Z
From: Wenlan Tian
Subject: how to avoid change string to number automaticlly in r
I was trying to save some string into a matrix, but it automatically
changed to numbers (levels). How can i avoid it??
Here is the original table:
trt means M1 0 12.16673 a2 111 11.86369 ab3 125 11.74433 ab4
14 11.54073 b
I wanna to save to a matrix like:
J0001 a ab ab b
But, what i get is:
J0001 1 2 2 3
How can i avoid this?
[[alternative HTML version deleted]]