我想在R中的一行中分配多个变量.是否可以这样做?
values # initialize some vector of values (a, b) = values[c(2,4)] # assign a and b to values at 2 and 4 indices of 'values'
通常我想在一行中分配大约5-6个变量,而不是多行.还有其他选择吗?
variables tuples r variable-assignment assign
assign ×1
r ×1
tuples ×1
variable-assignment ×1
variables ×1