Aparna,

Something is very strange here.  I think it is time to go back to the
original data source and find
out why the file you thought contained numbers was read as factors.  Is
there an unanticipated
comma in a field? Did you forget to say header=TRUE?
Rich
On Mon, Jun 13, 2011 at 5:30 PM, Joshua Wiley <jwiley.ps...@gmail.com>wrote:

> On Mon, Jun 13, 2011 at 2:11 PM, Patrizio Frederic
> <frederic.patri...@gmail.com> wrote:
> > On Mon, Jun 13, 2011 at 6:47 PM, Aparna <aparna.sampat...@gmail.com>
> wrote:
> >> Hi Joshua
> >>
> >> While looking at the data, all the values seem to be in numeric. As i
> mentioned,
> >> the dataset is already in data.frame.
> >>
> >> As suggested, I used str(mydata) and got the following result:
> >>
> >>
> >> str(leu_cluster1)
> >> 'data.frame':   984 obs. of  100 variables:
> >>  $ V2  : Factor w/ 986 levels "-0.00257361",..: 543 116 252 54 520 ...
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to