Default values for impute's references
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by locating the impute entry point and its references argument, then inspect existing tests or documentation for reference handling. Done means defining the default behavior when references is omitted and adding coverage for inference from the group labels.
Written by the indexing model from the issue text.
Description
I was wondering whether we should provide default values for references in impute ? As in I imagine in 90% of cases people are just going to do c("placebo" = "placebo", "treatment" = "placebo") so I'm wondering if we should just automatically infer this based upon the labels of the group variable if nothing is passed to the arguement (just makes it slightly easier for users I am thinking)
i.e. (pseudo code)
if references is null:
labels = levels(groups)
references = c(
labels[1] = labels[1],
labels[2] = labels[1]
)
- Dominant language
- R
- Stars
- 21
- Forks
- 13
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openpharma/rbmi
-
Release rbmi 1.7.1Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
openpharma/rbmi#606 ·
Maintainers usually reply within 1 day
-
To be evaluated
Difficulty 5/5 Over a week Newbie friendliness 35/100
openpharma/rbmi#595 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
openpharma/rbmi#591 · 3 reactions ·
Maintainers usually reply within 1 day
-
Feature request: Add `analyse_mi_data()`.Possibly taken @danielinteractive claimed this 48 days ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 42/100
openpharma/rbmi#589 · 8 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
openpharma/rbmi#563 · 6 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hubverse-org/hubAdmin#190 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
tidyverse/ellmer#1226 · 1 comment ·
Maintainers usually reply within 3 days
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
tylermorganwall/rayshader#352 ·