[R] Question about bindata lib in high dimensions
er|cjberger @end|ng |rom gm@||@com
Mon Feb 11 11:22:40 CET 2019
It helps if you create a small example that reproduces the problem and then
post the code with your question.
This will help people determine what is causing the problem.
On Mon, Feb 11, 2019 at 11:52 AM إيمان إسماعيل محمد <
emanismail.92 using gmail.com> wrote:
> I need to simulate data for 2000 binary variables given a vector of
> marginal probabilities and a correlation matrix. I used bindata library,
> but it give me
> Not all probabilities are between 0 and 1.
> Error in Element ( i , j ): Admissible values are in [.....].
> Error in commonprob2sigma(commonprob, simulvals) :
> Matrix commonprob not admissible.
> and I tried to get the elements within range but still have the same
> How can I fix the correlation matrix or how to track error ??
> [[alternative HTML version deleted]]
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help