How do I assign variables?
Zac H.
answered 05/28/19
A Data Scientist with the world leader in Education Services
In R, you can assign variables in 3 different ways:
my_variable = 100
my_variable -> 100
my_variable <- 100
print(my_variable)
# Returns 100
Take care,
zac
Still looking for help? Get the right answer, fast.
OR
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.