Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to rename a variable?



How to rename a variable?..

Answer / Mayank Shekhar

To rename a variable in R, you can use the assignment operator (<-). Simply assign the value of the existing variable to a new name.nn```rnold_name <- 5 # original variablennew_name <- old_name # assigns the value of old_name to new_name

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

What is a dataframe in r?

1 Answers  


What is polynomial in r?

1 Answers  


How r handles missing values?

1 Answers  


Name the functions which help in importing data from other applications in R?

1 Answers  


Explain disadvantages of density-based clustering in R?

1 Answers  


What does the term 'dreaded for loop' means?

1 Answers  


I have a string “contact@dataflair.com”. Which string function can be used to split the string into two different strings “contact@dataflair” and “com”?

1 Answers  


What is oop in r?

1 Answers  


How many types of data types are provided by R?

1 Answers  


Give a brief introduction to an array in R?

1 Answers  


What are the data types in r on which binary operators can be applied?

1 Answers  


What is SAS and SPSS in R?

1 Answers  


Categories