Last updated on 2025-12-06 17:48:44 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.0 | 8.03 | 73.22 | 81.25 | NOTE | |
| r-devel-linux-x86_64-debian-gcc | 0.1.0 | 5.57 | 50.50 | 56.07 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.1.0 | 17.00 | 106.34 | 123.34 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 16.00 | 99.41 | 115.41 | OK | |
| r-devel-windows-x86_64 | 0.1.0 | 9.00 | 88.00 | 97.00 | OK | |
| r-patched-linux-x86_64 | 0.1.0 | 6.72 | 65.49 | 72.21 | OK | |
| r-release-linux-x86_64 | 0.1.0 | 7.47 | 68.04 | 75.51 | OK | |
| r-release-macos-arm64 | 0.1.0 | OK | ||||
| r-release-macos-x86_64 | 0.1.0 | 6.00 | 59.00 | 65.00 | OK | |
| r-release-windows-x86_64 | 0.1.0 | 9.00 | 91.00 | 100.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.0 | OK | ||||
| r-oldrel-macos-x86_64 | 0.1.0 | 5.00 | 48.00 | 53.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.0 | 13.00 | 117.00 | 130.00 | OK |
Version: 0.1.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Phuc H. Nguyen <phuc.nguyen.rcran@gmail.com>’
The Description field contains
Nguyen et al. (2022) <arXiv:2209.08036>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in ‘mpower-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: sim_curve
> ### Title: Power curve using Monte Carlo simulation
> ### Aliases: sim_curve
>
> ### ** Examples
>
> data("nhanes1518")
> chems <- c("URXCNP", "URXCOP", "URXECP", "URXHIBP", "URXMBP", "URXMC1",
+ "URXMCOH", "URXMEP","URXMHBP", "URXMHH", "URXMHNC", "URXMHP", "URXMIB",
+ "URXMNP", "URXMOH", "URXMZP")
> chems_mod <- mpower::MixtureModel(nhanes1518[, chems], method = "resampling")
> bmi_mod <- mpower::OutcomeModel(f = "0.2*URXCNP + 0.15*URXECP +
+ 0.1*URXCOP*URXECP", family = "binomial")
> logit_mod <- mpower::InferenceModel(model = "glm", family = "binomial")
Estimating the power of conditional t-test on each regression coefficient.
> logit_out <- mpower::sim_curve(xmod=chems_mod, ymod=bmi_mod, imod=logit_mod,
+ s=20, n=c(500, 1000), cores=2, snr_iter=1000)
Simulation for n = 500 and the 1 th outcome model
|
| | 0%
|
|==== | 5%
|
|======= | 10%
|
|========== | 15%
|
|============== | 20%
|
|================== | 25%
|
|===================== | 30%
|
|======================== | 35%
|
|============================ | 40%
|
|================================ | 45%
|
|=================================== | 50%
|
|====================================== | 55%
|
|========================================== | 60%
|
|============================================== | 65%
|
|================================================= | 70%
|
|==================================================== | 75%
|
|======================================================== | 80%
|
|============================================================ | 85%
|
|=============================================================== | 90%
|
|================================================================== | 95%
|
|======================================================================| 100%
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Simulation for n = 1000 and the 1 th outcome model
|
| | 0%
|
|==== | 5%
|
|======= | 10%
|
|========== | 15%
|
|============== | 20%
|
|================== | 25%
|
|===================== | 30%
|
|======================== | 35%
|
|============================ | 40%
|
|================================ | 45%
|
|=================================== | 50%
|
|====================================== | 55%
|
|========================================== | 60%
|
|============================================== | 65%
|
|================================================= | 70%
|
|==================================================== | 75%
|
|======================================================== | 80%
|
|============================================================ | 85%
|
|=============================================================== | 90%
|
|================================================================== | 95%
|
|======================================================================| 100%
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
Warning in stats::rbinom(length(mu[idx]), size = 1, prob = mu[idx]) :
NAs produced
> logit_df <- summary(logit_out, crit="pval", thres=0.05, how="lesser")
*** POWER CURVE ANALYSIS SUMMARY ***
Number of Monte Carlo simulations: 20
Number of observations in each simulation: 500 1000
Data generating process estimated SNR (for each outcome model): -1
Inference model: glm
Significance criterion: pval
Significance threshold: 0.05Error in loadNamespace(x) : there is no package called ‘knitr’
Calls: summary ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc