Re: [R] Creating unique code

2020-10-28 Thread Jim Lemon
Hi Hannah, Yes, that does give me more insight. The polygyny only doesn't matter, for even if there was polyandry it could be coded in the same way. If I understand this correctly you have one variable (SPRULE) that must contain information about the household of the individual and the identities o

Re: [R] Exporting SPSS Dataset to STATA format

2020-10-28 Thread John Kane
What have you tried so far? The method shown here https://www.statmethods.net/input/exportingdata.html should work. On Wed, 28 Oct 2020 at 11:06, nelgyn tennyson wrote: > *Dear Sir/Madam,* > > * Subject : Exporting SPSS Dataset to STATA format* > > I have a SPSS file which i am ab

Re: [R] Reference to cite stats package

2020-10-28 Thread Enrico Schumann
On Wed, 28 Oct 2020, Iriel Joerin writes: > Hi, > I´m using the R package stats for some analysis, I would like to know if > there is any special reference paper to cite this package or just the R > paper itself. > Thank you very much for your answer, > Iriel Joerin > citation(package = "stats")

Re: [R] Reference to cite stats package

2020-10-28 Thread John Kane
citation("packagename") citation("lubridate") == To cite lubridate in publications use: Garrett Grolemund, Hadley Wickham (2011). Dates and Times Made Easy with lubridate. Journal of Statistical Software, 40(3), 1-25. URL http://www.jstatsoft.org/v40/i03/. A B

[R] Reference to cite stats package

2020-10-28 Thread Iriel Joerin
Hi, I´m using the R package stats for some analysis, I would like to know if there is any special reference paper to cite this package or just the R paper itself. Thank you very much for your answer, Iriel Joerin [[alternative HTML version deleted]] ___

[R] Exporting SPSS Dataset to STATA format

2020-10-28 Thread nelgyn tennyson
*Dear Sir/Madam,* * Subject : Exporting SPSS Dataset to STATA format* I have a SPSS file which i am able to import into R via Rcmdr or Rstudio. But i am unable to export the same file into STATA format. It would be kind of you to kindly help me achieve the same and send me a sample

Re: [R] Dear R experts, I have a question about meta-analysis

2020-10-28 Thread Michael Dewey
Dear Zhang There is a mailing list dedicated to meta-analysis in R where your question may get more attention. Before posting it would be a good idea to look at the archives as this issue comes up there repeatedly. https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis// For a link to the

Re: [R] R for-loop to add layer to lattice plot

2020-10-28 Thread Luigi Marongiu
Awesome, thanks! On Wed, Oct 28, 2020 at 7:00 AM Deepayan Sarkar wrote: > > On Tue, Oct 27, 2020 at 6:04 PM Luigi Marongiu > wrote: > > > > Hello, > > I am using e1071 to run support vector machine. I would like to plot > > the data with lattice and specifically show the hyperplanes created by