Message-ID: <4033E649.80601@pdf.com>
Date: 2004-02-18T22:25:13Z
From: Sundar Dorai-Raj
Subject: NAs introduced by coercion warning?
In-Reply-To: <BC58F172.19A70%greenberg@ucdavis.edu>
Jonathan Greenberg wrote:
> I'm running a decision tree on a large dataset, and I'm getting multiple
> instances of "NAs introduced by coercion" (> 50). What does this mean?
>
> --j
>
My guess would be you're trying to convert from character to numeric and
are unable to do so. As in,
> as.numeric("A")
[1] NA
Warning message:
NAs introduced by coercion
> as.numeric("1")
[1] 1
>
But without more information from you it's impossible to tell.
See the posting guide at
http://www.R-project.org/posting-guide.html
Regards,
Sundar