Re: [R] Wolfram Engine for Developers

2019-07-05 Thread Anarcocapitalista Socialdemocrata
I think the Wolfram license is for non-profit, i.e. users and NGOs. Companies making a profit should buy a license. IMHO, the strategy is to increase Wolfram user base. For R and RStudio, it would make sense to add Wolfram to become a comprehensive solution to do science. R is of course mostly sta

Re: [R] R 3.6.1 is released

2019-07-05 Thread Hasan Diwan
Congrats to the lot of you/us! -- H -- OpenPGP: https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1 If you wish to request my time, please do so using *bit.ly/hd1AppointmentRequest *. Si vous voudrais faire connnaisance, allez a *bit.ly/hd1Ap

Re: [R] R 3.6.1 is released

2019-07-05 Thread Michael Friendly
On a nice summer day in the Fitou region of France, I feel like asking all R-help folks to raise a glass of their favorite beverage in a toast to the R / CRAN maintainers. Thanks for your efforts! -Michael -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. & C

Re: [R] Wolfram Engine for Developers

2019-07-05 Thread peter dalgaard
Even from a cursory glance, it is clear that this product is not Free Software, not even Free as in Beer. It cannot be used by end users of open source projects unless you apply for a special license from Wolfram, which I strongly suspect would render the whole project in violation of the GPL li

Re: [R] How to create Pivot table in r?

2019-07-05 Thread Marna Wagley
Hi Rui and Richard, Thank you very much for the help. You are very smart and your code saved my time tremendously. I added one line and got the results what I was looking for it. After "agg", I added dcast function agg <- aggregate(as.character(ID) ~ site2 + site1, daT1, paste, sep = ", ") name

[R] [R-pkgs] Update for R package KScorrect for K-S goodness-of-fit tests

2019-07-05 Thread Phil Novack-Gottshall
Greetings, We wanted to announce v. 1.4.0 of the R package 'KScorrect', which carries out the Lilliefors correction to the Kolmogorov-Smirnoff (K-S) test for use in (one-sample) goodness-of-fit tests. Aside from several minor changes, the biggest change is that the Monte Carlo algorithm now

[R] Wolfram Engine for Developers

2019-07-05 Thread Jordi Molins
Wolfram Engine for Developers is now free (under some circumstances). Is it possible to call Wolfram from R, especially from RStudio? Being able to do this would significantly increase the potential of R, I believe. [[alternative HTML version deleted]] ___

Re: [R] How to create Pivot table in r?

2019-07-05 Thread Richard M. Heiberger
daT1 <- structure(list(ID = structure(c(13L, 11L, 18L, 8L, 12L, 7L, 15L, 2L, 1L, 17L, 16L, 14L, 10L, 9L, 6L, 3L, 5L, 4L), .Label = c("1B82", "7A1D", "848A8", "8737SP", "87E6E", "941FD", "942C", "9C39", "9D10B", "A1271", "A253", "A451", "C27A", "C767D", "CBA8", "CDF10", "D5DB", "FB3E"), class = "fac

Re: [R] How to create Pivot table in r?

2019-07-05 Thread ruipbarradas
Hello, Would the following do it? agg <- aggregate(as.character(ID) ~ site2 + site1, daT1, paste, sep = ", ") names(agg)[3] <- "ID" agg #   site2  site1    ID #1 2015-03-09 2015-03-03  A451 #2 2015-04-17 2015-03-03  A253 #3 2015-03-09 2015-03-30  CBA8 #4 20

[R] How to set scale of color scatterplot points relative to a third variable?

2019-07-05 Thread Flaherty, Sarah (NIH/NCI) [F] via R-help
Hello Kind and Generous Volunteers, I'm trying to use a scatter plot to visualize three variables: time, radius, and intensity. I would like each point on the scatterplot to be colored according to a gradient, in which red indicates an intensity less than 1, white indicates an intensity of 1, a

Re: [R] How to create Pivot table in r?

2019-07-05 Thread Marna Wagley
Hi Rui, Thank you very much for the code. It is great as it gave the number of individuals encountered in each cell but- is it possible to see which individuals were in that cell? for example - site2 (2015-05-02) and site2(2015-03-31) has value 2, is it possible to show these two "941FD","8737SP"

Re: [R] Help on MFAmix to Reduce Dimensions for a Genetic Dataset

2019-07-05 Thread Jeff Newmiller
Please read the Posting Guide (again?). 1) Most attachments are stripped by the mailing list. Yours was. It is far more practical to embed a small subset of data in the email as the output of dput() than to attach files. 2) This is the R-help mailing list, but your question has no R code in it.

Re: [R] Sample size required to estimate population variance

2019-07-05 Thread Stephen Ellison
> Thanks for the suggestion but I'm not sure that it answers my original > question.I need to know how many samples I need to collect to collect in > order to estimate the sample size needed to achieve a specific margin of > error for confidence intervals for the population variance. I'm not sure

Re: [R] How to create Pivot table in r?

2019-07-05 Thread ruipbarradas
Hello, Maybe you want to take a look at function xtabs. xtabs(~ site2 + site1, daT1) Note that the results are different if you convert to class "Date" first. daT1$site1 <- as.Date(daT1$site1, format = "%d-%b-%Y") daT1$site2 <- as.Date(daT1$site2, format = "%d-%b-%Y") xtabs(~ site2 + site1, da

[R] Help on MFAmix to Reduce Dimensions for a Genetic Dataset

2019-07-05 Thread Xu, Bingze
Dear R Help Members, I am a student from Washington University in St. Louis and I am working on a genetic project in R. In this dataset, there are 497 rows and 11,226 columns. Every row is a genetic marker series for a particular hybrid, and every column is a genetic marker with value 1, 0, -1

[R] How to create Pivot table in r?

2019-07-05 Thread Marna Wagley
Hi R users, I was trying to create a pivot table (cross tabulated) by Site1date (rows) and Site2 date (columns), and spent substantial time but no luck to create it. Is there any possibility to create it? I would be very grateful to your help. "daT1" is row data, in which three columns (speciesID

[R] R 3.6.1 is released

2019-07-05 Thread Peter Dalgaard via R-help
The build system rolled up R-3.6.1.tar.gz (codename "Action of the Toes") this morning. The list below details the changes in this release. You can get the source code from http://cran.r-project.org/src/base/R-3/R-3.6.1.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binari