kgoldfeld

Results 57 comments of kgoldfeld

I would want it to default to copying to a new data.table, but I am not totally convinced that anyone would ever _want_ to turn it off (and allow changes...

I think an option would be fine for those folks.

Thanks for your note - it would be helpful if you shared the code that you are currently using.

`simstudy` can accommodate generating correlated data from different distributions using the function `genCorFlex` (see [here](https://kgoldfeld.github.io/simstudy/reference/genCorFlex.html)). However, the distributions are currently limited to "binary", "poisson", "gamma", "normal", and "uniform" distributions. There...

This has been implemented in function `logisticCoefs` and is available as of the development version `0.7.0.9000`.

This has sort of been addressed with the new *custom* distribution option. I'll keep it open in case the solution does not fully address all the issues here.

@gabgilling I know this is about two years too late, but I recently added functionality allow for [customized](https://kgoldfeld.github.io/simstudy/articles/customdist.html) functions. I wasn't thinking of your use case when I created it,...

Here is some code that will allow users to specify the shape of a function (by inputting data), and then sampling from the density estimated from those data: ```{r} data

I've created `genDataDensity` and `addDataDensity` so that it is now possible to generate data from an arbitrary distribution specified by a vector of integers: ```r base_data

That's super helpful - and it worked perfectly. Thanks. ________________________________ From: Julian Alarcon Sent: Saturday, April 18, 2020 2:06:06 PM To: halogenica/beautifulhugo Cc: Goldfeld, Keith; Author Subject: Re: [halogenica/beautifulhugo] Changing...