search for: ofprob

Displaying 3 results from an estimated 3 matches for "ofprob".

Did you mean: ofpro
2008 Mar 11
0
Generating a new matrix using rbinom and a matrix ofprobabilities.
...x also What doesn't work? -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Economics Guy Sent: Wednesday, 12 March 2008 1:16 AM To: r-help at stat.math.ethz.ch Subject: [R] Generating a new matrix using rbinom and a matrix ofprobabilities. I am having a little trouble getting R to do something without writing a couple of very awkward loops. I have a matrix of probabilities and I want to generate a new matrix of ones and zeros where each element in the new matrix is the result of a draw from a binomial distribution where t...
2011 Jun 30
4
aggregating data
...2 0.21 E 3 0.11 A 4 0.21 F 5 0.56 F 6 0.87 . . . (180000 data points) In each case, the probeID is unique. The output I am looking for is something like this: Gene No.ofprobes Mean_expression A 3 0.25 Is there an easy way to do this using "cast" or "melt"? Ideally, I would also like to see the unique probes corresponding to each gene in the wide format. Thanks in advance Max Maxy Mariasegaram| Reserach Fellow | Austr...
2011 Jun 30
0
help with interpreting what nnet() output gives:
...2 0.21 E 3 0.11 A 4 0.21 F 5 0.56 F 6 0.87 . . . (180000 data points) In each case, the probeID is unique. The output I am looking for is something like this: Gene No.ofprobes Mean_expression A 3 0.25 Is there an easy way to do this using "cast" or "melt"? Ideally, I would also like to see the unique probes corresponding to each gene in the wide format. Thanks in advance Max Maxy Mariasegaram| Reserach Fellow | Austr...