Man pages for mattmoo/SteppedWedgeAnalysis
Simulation and Analysis of Stepped Wedge Data

apply.sum.effectsApply the sum of effects to each participant.
calculate.iccCalculates intracluster correlation coefficient for...
calculate.icc.dt.of.simulationsGenerates a number of simulated datasets, and assesses the...
calculate.p.from.stat.dtCalculate a p-value from a list of statistics, try and...
calculate.predictor.value.from.regression.modelTakes a linear regression model and provided values of...
calculate.sum.effects.dtSums the effects for each participant.
cols.exceed.level.thresholdDetects what columns in a data.table have more than a certain...
convert.continuous.to.binaryConverts a continuous variable to a binary one. Zero or...
cut.data.dt.into.conditionsAssigns control, transition, and intervention condition...
cut.data.dt.into.periodsMake a period column in a data.table, with each period...
cut.time.into.conditionsCut timepoints from a single cluster into separate...
elapsed.time.messageCalculates and outputs a message of elapsed time.
faceted.line.plotPlots a line and scatter plot faceted by sequence and cluster...
fit.icc.modelCreates a multiple regression model predicting ICC so that...
fit.icc.regression.modelFits a regression model predicting ICC from provided...
fit.regression.modelFits a regression model predicting an outcome variable from...
generate.base.data.dtGenerate a data table populated with participants from...
generate.cluster.dtGenerates a data.table that describes how clusters are...
generate.confound.interventions.parameters.dtGenerates a table of confounding interventions (e.g. those...
generate.cyclical.effectGenerates a cyclical effect based on a cosine function.
generate.data.dtCreates a data.table with participants and simulates data for...
generate.effects.dtCreates a data.table of all effects that will be applied.
generate.flat.effectA difference that is flat, special case of...
generate.hypothetical.data.dtPrecalculate the intervention and control groups for each...
generate.individual.noiseGenerates random normal noise. Doesn't really need a time...
generate.linear.effectGenerate a difference that varies linearly over time....
generate.perm.dtGenerate a table that holds a number of ways in which to...
generate.sequence.dtGenerates a data.table that describes the sequence of...
generate.sim.parameters.dtGenerates parameters for simulating data for the study e.g....
generate.stat.dtConstruct a statistic distribution generated by permuting...
generate.step.effectA difference that is a step, special case of...
icc.model.3D.scatter.plotCreates a 3D scatter plot of ICC vs two other variables, ICC...
icc.simulation.2D.scatter.plotCreates a scatter plot of ICC vs one variable, ICC on y-axis.
icc.simulation.3D.scatter.plotCreates a scatter plot of ICC vs two other variables, ICC on...
icc.simulation.scatter.plotCreates a scatter plot of ICC vs one or two variables, ICC on...
perform.permutation.stepA function to perform a permutation step, so that the process...
permute.clusters.to.sequencePermutes clusters to a sequence, using the permutation in...
remove.rows.with.no.comparisonRemoves rows from periods/clusters that do not have...
test.f.effect.dtDo a difference in means test on a data.table, as outlined in...
test.wilcox.dtDo a wilcox test on a data.table. More efficient that coin...
update.progress.barUpdate a progress bar.
mattmoo/SteppedWedgeAnalysis documentation built on Jan. 14, 2020, 12:25 a.m.