Update a hypothesis
update_hypothesis(study, id = 1, description = NULL, new_id = NULL)
A study list object with class scivrs_study
The id for this hypothesis (index or character)
The text description of the hypothesis
A new (character) ID for this hypothesis
A study object with class scivrs_study
s <- study() %>% add_hypothesis("H1", "My hypothesis")
s <- update_hypothesis(s, 1, "Better description", "H1a")
s
#> Demo Study
#> ----------
#>
#> * Hypotheses: H1a
#> * Data: None
#> * Analyses: None
#>
#> Hypothesis H1a: Better description
#>
#> Conclusion: You may need to run `study_analyse()`
#> * Corroborate (*no criteria*):
#> * Falsify (*no criteria*):