samplingCubeSRV: Shiny server module for simulation start

View source: R/samplingCube_start.R

samplingCubeSRVR Documentation

Shiny server module for simulation start

Description

Shiny server module for simulation start

Usage

samplingCubeSRV(input, output, session, dataset, sampleSize,
  balancedVariable, target_var, nsample = 1000, seed)

Arguments

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

Value

Data frame containing the final sample


michael-cw/SurveySolutionsCOVID19tools documentation built on Oct. 4, 2022, 10:34 a.m.