kgoldfeld / simstudy

simstudy: Illuminating research methods through data generation
https://kgoldfeld.github.io/simstudy/
GNU General Public License v3.0
81 stars 7 forks source link

Add flexibility to function logisticCoefs #211

Open kgoldfeld opened 1 year ago

kgoldfeld commented 1 year ago

A user contacted us about generating coefficients for a data set that has correlated data. Right now that is not possible because logisticCoefs only takes a data definition (created with defData) to generate the data - so correlated data is not possible. An obvious solution is to allow the user to pass along a data set directly, and that data set can have whatever structure the user wants.