Re: [R] [FORGED] Recreate for loop without using for loop

2019-02-10 Thread Rolf Turner
This list has a "no homework" policy. On 2/11/19 5:59 AM, Rima El-zein wrote: Hi. Can someone please help me recreate this code without using a for loop? Idk if I'm supposed to use a map function or something else. Supposed by whom? What do you mean by "map function"? qprob <- functio

Re: [R] Recreate for loop without using for loop

2019-02-10 Thread Jeff Newmiller
There is a no-homework policy stated in the Posting Guide. On February 10, 2019 8:59:41 AM PST, Rima El-zein wrote: >Hi. > > > >Can someone please help me recreate this code without using a for loop? >Idk if I'm supposed to use a map function or something else. > > > >qprob <- function(pp) { > >

[R] Merge multiple google xls files

2019-02-10 Thread Ross Molden
I am trying to merge a list of .xls files in google drive. I have now managed to create a list of all the files I need, but for some reason I still can't manage to merge them, this is the code I have so far: library(googledrive) inputfiles <- drive_ls(path = "Email It In", pattern = "*PDOL_da

Re: [R] How to rum Multiple ANOVA and Multiple T-test between the same groups?

2019-02-10 Thread Boris Steipe
You need to spend more time getting clear on the fundamentals, what the Bioconductor project is and why its packages are useful in our domain. Bioconductor packages are not installed with the install.packages() function; that is for packages on CRAN. Instead, you use ... install.packages("Bio

Re: [R] How to rum Multiple ANOVA and Multiple T-test between the same groups?

2019-02-10 Thread AbouEl-Makarim Aboueissa
Dear Prof Kohl: I am trying to install the "genefilter" package, but I got the following error message(s). I am not sure which R version should be used for this package. *For R.3.5.2:* > install.packages("genefilter") Installing package into ‘C:/Users/aaboueissa/Documents/R/win-library/3.5’ (a

[R] (no subject)

2019-02-10 Thread Adrian Johnson
Dear group, I have two large matrices. Matrix one: is 24776 x 76 (example toy1 dput object given below) Matrix two: is 12913 x 76 (example toy2 dput object given below) Column names of both matrices are identical. My aim is: a. Take each row of toy2 and transform vector into UP (>0) and DN (

Re: [R] (no subject)

2019-02-10 Thread Hasan Diwan
This is spam, right? -- H On Sun, 10 Feb 2019 at 12:36, Diego Miro wrote: > 4 xxx ff > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-h

[R] (no subject)

2019-02-10 Thread Diego Miro
4 xxx ff [[alternative HTML version deleted]] __ R-help@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 prov

[R] Unexpected errors in sparse Matrix arithmetic with zero-length dimensions

2019-02-10 Thread Aaron Lun
Dear list, The Matrix package exhibits some unexpected behaviour in its arithmetic methods for the edge case of a sparse matrix with a dimension of zero length. The example below is the most illustrative, where changing the contents of the vector causes the subtraction to fail for a sparse matrix

Re: [R] How to rum Multiple ANOVA and Multiple T-test between the same groups?

2019-02-10 Thread Prof. Dr. Matthias Kohl
Have a look at Bioconductor package genefilter, especially functions colttests and colFtests. Best Matthias Am 10.02.19 um 10:35 schrieb AbouEl-Makarim Aboueissa: Dear All: good morning *Re:* How to rum Multiple ANOVA and Multiple T-test between the same groups. Your help will be highly

Re: [R] Randomization Test

2019-02-10 Thread Ogbos Okike
Dear Michael, This is great! Thank you. I have not really got any response other than yours. I have long before now included what I have in a paper submitted to a journal. I am awaiting the feedback of the reviewer. I will compare the comments with your input here and determine the corrections t

[R] How to rum Multiple ANOVA and Multiple T-test between the same groups?

2019-02-10 Thread AbouEl-Makarim Aboueissa
Dear All: good morning *Re:* How to rum Multiple ANOVA and Multiple T-test between the same groups. Your help will be highly appreciated. *1.* is there a way to run multiple t-tests on different variables between the same two groups. *Data for t-tests:* The data frame “dataTte