Last updated on 2025-12-07 07:50:41 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| bws | 5 | 8 | |
| mpower | 1 | 1 | 11 |
Current CRAN status: NOTE: 5, OK: 8
Version: 0.1.0
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘RcppParallel’ ‘rstantools’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.0
Check: installed package size
Result: NOTE
installed size is 56.6Mb
sub-directories of 1Mb or more:
libs 56.2Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 0.1.0
Check: for GNU extensions in Makefiles
Result: NOTE
GNU make is a SystemRequirements.
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 1, NOTE: 1, OK: 11
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