Skip to content
Prev 312409 / 398506 Next

Read in alphanumeric column without decimals

Your problem is the the data read in from the spreadsheet is probably
a 'factor' since it has a non-numeric in the column.  To change it to
number you have to do the following

as.numeric(as.character(yourdata$TeamLeaderID))

What you as seeing with just the call to as.numeric is the value of
the 'factor', not the value of the number.
On Thu, Nov 29, 2012 at 2:53 PM, Steven Ranney <steven.ranney at gmail.com> wrote: