Update a method
update_method(study, id = 1, description = NULL, new_id = NULL)
A study list object with class scivrs_study
The id for this method (index or character)
The text description of the method
A new (character) ID for this method
A study object with class scivrs_study
s <- study() %>% add_method("M1", "My method")
s <- update_method(s, 1, "Better description", "M1a")
s
#> Demo Study
#> ----------
#>
#> * Hypotheses: None
#> * Data: None
#> * Analyses: None
#>