The Legacy Learner
Wednesday, November 9, 2016
R: assign function
This will come in handy someday...
x = "y"
assign(x, c(3:6))
The result is a variable x with value "y", and a vector y with values int[1:4] 3 4 5 6
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment