*addPeriods
now includes a new argument periodVec
that allows users to designate
specific measurement time periods using vector.
logisticCoefs
now correctly handles double dot notation.trtAssign
with ratio=NULL
used to produce 0-index values but 1-indexed values if ratio
was set. This was adjusted so now both versions produce 0-indexed values. This is a potentially breaking change for existing scripts that use the generated treatment values while assuming the old behavior (e.g. using hardcoded values to filter).logisticCoefs
determines the intercept and treatment/exposure
parameter for a data generating process (based on a logistic regression model)
that has a specific target population prevalence of a binary outcome, and an
option to target a risk ratio, risk difference, or AUC.defData
and defDataAdd
.survParamPlot
iccRE
under the
Poisson distribution. The current approach is based on the 2013 paper by
Nakagawa & Schielzeth titled "A general and simple method for obtaining $R^2$ from
generalized linear mixed-effects models"blockExchangekMat
and blockDecayMat
. Users can now generate correlation matrices that can accommodate clustered observations over time where the within-cluster correlation in the same time period can be different from the within-cluster correlation across time periods.genCorMat
to allow generation of cluster-specific correlation matrices in case one wants to induce variability in correlation across clusters.addCorGen
to make it more flexible. It can now handle cluster-dependent data, and not just time-dependent data. In addition,
performance has been dramatically improved.genSpline
trtAssign
genFormula
to allow for 'double dot' functionality.genSynthetic
and addSynthetic
. Allows users to sample records with replacement from an existing data table.genMarkov
. Allows user to set probability distribution of start state.survGetParams
and survParamPlot
to aid users in identifying parameters that can be used to generate desired distributions of time to event data.defSurv
and genSurv
. It is now possible to generate survival outcomes with hazard functions that change over time. In addition, competing risk outcomes can be explicitly generated.dist="beta"
. Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.