View source: R/samplingCube_start.R
samplingCubeSRV | R Documentation |
Shiny server module for simulation start
samplingCubeSRV(input, output, session, dataset, sampleSize, balancedVariable, target_var, nsample = 1000, seed)
input |
standard shiny input |
output |
standard shiny output |
session |
standard shiny session object |
dataset |
frame dataset used for the stratification |
sampleSize |
sample size |
balancedVariable |
set of variables to balance on |
target_var |
the variable of interest |
nsample |
Number of Simulation runs (recommended is 1000) |
seed |
Set seed for MC with doRNG |
Data frame containing the final sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.