Description Usage Arguments Value
The images can be images from a real data set. The bootstrap-based simulation conditions on the distribution of the sample by drawing subsets with replacement from the sample.
1 2 3 4 5 6 7 8 9 10 11 |
images |
String vector containing paths to the images used for the simulation. |
data |
A dataframe with number of rows equal to the length of the images variable with corresponding covariates. |
outdir |
A directory to save the output files that are used for the simulations. |
nsim |
Number of simulations to setup for each sample size. |
ns |
Sample sizes to evaluate for each simulation. Should be less than the number of images. |
mask |
If performing simulations under an alternative, signal can be added to the images within the mask. |
rs |
vector of radii for signal spheres. |
betas |
vector of parameters for signal spheres. Signal is constant throughout the sphere. |
ncores |
number of cores for parallel commands. |
Returns a data frame of directories where simulation setup files are stored. The rds file in each directory saves the data frame and the image locations in the variable "images".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.