R/yyy.R
exposure.response.sample.binary.RdSample simulated data for exposure-response for binary endpoint
exposure.response.sample.binaryA data frame with columns:
Simulated exposure
Simulated logit(p)
Simulated p
Simulated event (1 or 0)
Simulated logit(p) for model with covariate
Simulated p for model with covariate
Simulated event (1 or 0) for model with covariate
1 or 0
female or male
exposure.response.sample
#> # A tibble: 60 × 3
#> dose exposure response
#> <dbl> <dbl> <dbl>
#> 1 0 0 17.2
#> 2 0 0 9.78
#> 3 0 0 -8.81
#> 4 0 0 7.68
#> 5 0 0 -6.30
#> 6 0 0 14.8
#> 7 0 0 -18.5
#> 8 0 0 17.3
#> 9 0 0 15.0
#> 10 0 0 11.3
#> # ℹ 50 more rows