Hi, I'm trying to create number of vectors, part of them are binary and part are continuous. Is there a way in R to generate them with specific correlation between each pair? Thank you in advance. Ariel -- *I like to pretend I'm alone*. *Completely alone*. *Maybe post-apocalypse or plague*... *Whatever*. *No-one left to act normal for. No need to hide who I really am. It would be... freeing*. *...* [[alternative HTML version deleted]]
Yes.> On Mar 31, 2017, at 11:53 PM, Art U <art.tem.us at gmail.com> wrote: > > Hi, > I'm trying to create number of vectors, part of them are binary and part > are continuous. Is there a way in R to generate them with specific > correlation between each pair? > Thank you in advance. > Ariel > -- > *I like to pretend I'm alone*. *Completely alone*. *Maybe post-apocalypse > or plague*... *Whatever*. *No-one left to act normal for. No need to hide > who I really am. It would be... freeing*. *...* > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
David Winsemius
2017-Apr-01 20:42 UTC
[R] Correlation between continuous and binary vectors.
I suspect this has been discussed in the past in rhelp. My favorite search engine is Markmail Sent from my iPhone> On Mar 31, 2017, at 8:53 PM, Art U <art.tem.us at gmail.com> wrote: > > Hi, > I'm trying to create number of vectors, part of them are binary and part > are continuous. Is there a way in R to generate them with specific > correlation between each pair? > Thank you in advance. > Ariel > -- > *I like to pretend I'm alone*. *Completely alone*. *Maybe post-apocalypse > or plague*... *Whatever*. *No-one left to act normal for. No need to hide > who I really am. It would be... freeing*. *...* > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.