mutate_obs
: create new vector/table/list if target
is unknown
#121
Milestone
mutate_obs
: create new vector/table/list if target
is unknown
#121
Curerntly,
mutate_obs
can only add columns to tables. I often want to create a variable for plotting that has per-taxon values, but there is not a per-taxon value table, so I cannot add it withmutate_obs
.If
target
is not present the following could happen:target
. EG:mutate_obs(obj, "my_vector", 1:10)
is the same asobj$data$my_vector <- 1:10
mutate_obs(obj, "my_table", new_col = 1:10)
is the same asobj$data$my_table <- data.frame(new_col = 1:10)
Thoughts @sckott?
The text was updated successfully, but these errors were encountered: