How To Create New Variable In R Programming?



How To Create New Variable In R Programming?..

Answer / Chetan Warkari

To create a new variable in R programming, you can assign a value to it using the assignment operator '<-'. For example: x <- 5 creates a new variable called x and assigns the value 5 to it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

What is the table in r?

1 Answers  


What is sapply() in r?

1 Answers  


What is a class in r?

1 Answers  


What is the difference between library() and require() functions in r language?

1 Answers  


How data is aggregated in r?

1 Answers  


What are r data types?

1 Answers  


How to use sapply in r?

1 Answers  


What is the rattle package in r?

1 Answers  


Explain RStudio.

1 Answers  


Explain statistical functions performed by R?

1 Answers  


What are various ways to write la oop in r?

1 Answers  


Explain how R commands are written?

1 Answers  


Categories