Change column type in Data in R Studio

Asked

Viewed 1,011 times

-1

I would like to know where I can get a material about data modeling in R Studio... I need to modify some columns, changing from text to value, for example, but I don’t know which command to use.

Could someone point me some material? or support site?

1 answer

0

I found the answer... just insert the procedure colnames..

colnames(dataset)[corresponding column number in dataset] <- "New column name"

So I can change the name of the column, as long as I know the position of the column..

Browser other questions tagged

You are not signed in. Login or sign up in order to post.