When selecting an item in a datra frame, I obtain the item and the Levels R -


i have data frame , when select item, obtain next result, levels available in column.

is there command desactivate this? or how should call element?

this doing @ moment:

a<-data$column[1] 

and obtain:

[1] 1 1256 levels: 1 10 100 1000 ... 1000000 

if want a number use:

a <- as.numeric(paste(data$column[1])) [1] 1 

if want a string use:

a <- as.character(data$column[1]) [1] "1" 

Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -