Enable passing in empirical data to bootstrap
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
The issue describes changing the bootstrap function to accept data instead of selecting hard-coded US or UK data by country, but it names no source files or tests. Start by locating the bootstrap function and its callers, then check the related issues #99 and #97 for context. Done means users can supply the empirical data and the US and UK options pass the corresponding data into the bootstrap.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We currently do not allow users to pass in data to be bootstrapped. It could be nice to allow for users to pass in data to the bootstrap (if that data is provided in certain condition). The US and UK options would then select for US or UK data to be passed into the bootstrap function (rather than hard-coded within the bootstrap function.
If this were a user facing package I think this would be worth adding.
So the pattern I'd propose is like:
data <- us_data
bootstrap <- function(data) {
# do the bootstrap
}
Rather than what we do currently which is like:
bootstrap <- function(country) {
if(country == "US") {
data <- us_data
# do the bootstrap
}
# etc. etc.
}
See: #99, #97.
- Lingua principale
- R
- Stelle
- 8
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di petal-code/helios
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
petal-code/helios#174 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
petal-code/helios#173 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
petal-code/helios#166 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
petal-code/helios#161 ·
-
run_simulation() is not reproducible from seed: the leisure draw uses dqrng's own RNGForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
petal-code/helios#157 · 1 commento ·
Tutte le issue di petal-code/helios
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 71/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
OHDSI/PatientLevelPrediction#688 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rfordatascience/tidytuesday#1098 ·