How do I assign variables?
Inactive Tutor
answered 05/28/19
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.