NEWS.md
na.rm to the functions genDataDensity and addDataDensity. If set to FALSE, the generated data will include missing values at the same rate as the distribution data.grouped() and scenario_list() to support the creation of parameter scenarios. grouped() allows multiple variables to be treated as a unit when defining scenarios, and scenario_list() generates lists of parameter combinations while respecting grouped variables.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 hard coded values to filter).defData and defDataAdd.survParamPlot
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.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".