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

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -