Re: [R] Rewriting the Biplot Function

2015-01-20 Thread Scott Robinson
Boris, Thanks very much, this looks just like what I need! All the best, Scott From: Boris Steipe [boris.ste...@utoronto.ca] Sent: 20 January 2015 20:21 To: Scott Robinson Cc: r-help@r-project.org Subject: Re: [R] Rewriting the Biplot Function Scott

[R] Rewriting the Biplot Function

2015-01-20 Thread Scott Robinson
Dear R-Help, I have been trying to rewrite the base biplot.prcomp function but am coming across some errors I don't understand. It seems like R is still 'expecting' the same values despite me rewriting and renaming the methods. My aim is simply to have an additional biplot function which could

Re: [R] BH correction with p.adjust

2013-07-21 Thread Scott Robinson
)/1 [1] 0.991 Any help with this would be very much appreciated. It seems like it ought to be such a simple and commonly used method and yet I am struggling and not sure what to do about it. Thanks, Scott From: David Winsemius [dwinsem...@comcast.net]

[R] BH correction with p.adjust

2013-07-20 Thread Scott Robinson
Dear List, I have been trying to use p.adjust() to do BH multiple test correction and have gotten some unexpected results. I thought that the equation for this was: pBH = p*n/i where p is the original p value, n is the number of tests and i is the rank of the p value. However when I try and re

[R] Iterating through slots of an S4 object

2013-02-15 Thread Scott Robinson
I want to loop through slots of an S4 object and am unsure how to do so since the only way I can find to access them is individually in the form 'object@slotName'. I have guessed at a few possibilities which did not work and I have read some S4 object tutorials and things but still unsuccessful. I

[R] WriteXLS: 'object not found' error within function

2013-02-13 Thread Scott Robinson
Dear All, I am using WriteXLS to write tables with multiple sheets with the command: WriteXLS("tables", ExcelFileName = fileName, SheetNames = tableList, perl = "perl", verbose = FALSE, Encoding = c("UTF-8", "latin1"), row.names = TRUE, col.names = TRUE, AdjWidth