Skip to content
Prev 307578 / 398506 Next

Numeric "Label" of Factor value?

Hi Brigid,

as.numeric() extracts the index of the factor level, which is the way
R handles the likelihood that a factor is not actually numeric. Try:
[1] 2

and see also ?factor particularly the section on the interpretation of a factor.

Sarah
On Wed, Oct 10, 2012 at 2:39 PM, Brigid Mooney <bkmooney at gmail.com> wrote: