Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to drop a variable in R?

$
0
0

@sid100158 wrote:

I am currently working on data set in which I have created an additional variable name as a year .

str(mtcars)
mtcars$year <- 1974

I want to know If I want to delete this variable from the data set how I can perform this on R.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles