Re: [R] Faster process for creating a matrix based on matrix element comparison

2011-10-28 Thread Bert Gunter
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http

Re: [R] How to show classes with 0 count in table()?

2011-10-31 Thread Bert Gunter
and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML

Re: [R] assignment operator - does not work in a function...

2011-10-31 Thread Bert Gunter
, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted

Re: [R] Function input for regression analysis

2011-10-31 Thread Bert Gunter
mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467

Re: [R] Function input for regression analysis

2011-10-31 Thread Bert Gunter
-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted

Re: [R] Linear Regression with Linear Equality Constraint

2011-10-31 Thread Bert Gunter
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter

Re: [R] round up a number to 10^4

2011-11-01 Thread Bert Gunter
, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted

Re: [R] Proper Syntax for Logical Subset in Subset()

2011-11-02 Thread Bert Gunter
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/** posting-guide.html http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal

Re: [R] Proper Syntax for Logical Subset in Subset()

2011-11-02 Thread Bert Gunter
Of course I left out the data argument: boxplot(Result ~ Chemical, data= yourdat,subset=yourdat$Chemical %in% c(Ca,Cl, Cond,Mg,Na,SO2,TDS)) -- Bert On Wed, Nov 2, 2011 at 10:08 AM, Bert Gunter bgun...@gene.com wrote: To make such a plot, I would have thought your want your data structure

Re: [R] Multiple comparison test about whole population, not about mean

2011-11-02 Thread Bert Gunter
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http

Re: [R] Error: serialization is too large to store in a raw vector

2011-11-02 Thread Bert Gunter
/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http

Re: [R] Lattice plots and missing x-axis labels on second page

2011-11-03 Thread Bert Gunter
: using -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted

Re: [R] Lattice plots and missing x-axis labels on second page

2011-11-03 Thread Bert Gunter
A follow-up to my reply below. My explanation below is correct AFAICS, but my proposed remedy using alternating is not. Instead(again, AFAICS), one must use even finer control with the at and labels components of scales.This worked for me. -- Bert On Thu, Nov 3, 2011 at 6:40 AM, Bert Gunter

Re: [R] variable transformation for lm

2011-11-03 Thread Bert Gunter
. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted]] __ R

Re: [R] Create design matrix

2011-11-03 Thread Bert Gunter
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb

Re: [R] nested for loops

2011-11-05 Thread Bert Gunter
operations in base R, plyr , and other packages are (generally) _not_vectorized; they are disguised loops. Explicit for() loops are often just as fast or even a bit faster, though many of us prefer what we consider the more transparent functional style code of the __ply's. Cheers, Bert Bert Gunter

Re: [R] function that load variables

2011-11-07 Thread Bert Gunter
1. Full disclosure. I have not followed this thread closely. My comment concerns only: On Mon, Nov 7, 2011 at 8:35 AM, Jeff Newmiller jdnew...@dcn.davis.ca.uswrote: A much better solution is to make separate functions for each object you import, and return an object from the function to be

Re: [R] Stack trace?

2011-11-09 Thread Bert Gunter
, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted

Re: [R] Title for a group of plots?

2011-11-10 Thread Bert Gunter
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http

Re: [R] Upgrade R?

2011-11-10 Thread Bert Gunter
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical

Re: [R] optim seems to be finding a local minimum

2011-11-10 Thread Bert Gunter
marketfusionanalytics.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert

Re: [R] Named components in a list

2011-11-10 Thread Bert Gunter
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb

Re: [R] lme4:glmer with nested data

2011-11-14 Thread Bert Gunter
. -- __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter

Re: [R] Fit continuous distribution to truncated empirical values

2011-11-14 Thread Bert Gunter
, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted

Re: [R] string to list()

2011-11-14 Thread Bert Gunter
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional

Re: [R] Power analysis and sample size calculation for nonlinear regression

2011-11-14 Thread Bert Gunter
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com

Re: [R] Upgrade R?

2011-11-14 Thread Bert Gunter
PLEASE do read the posting guide http://www.R-project.org/** posting-guide.html http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website

Re: [R] Models with ordered and unordered factors

2011-11-15 Thread Bert Gunter
. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted

Re: [R] Models with ordered and unordered factors

2011-11-15 Thread Bert Gunter
day 3 0 1 Cheers, Bert On Tue, Nov 15, 2011 at 8:32 AM, Bert Gunter bgun...@gene.com wrote: Ordered factors use orthogonal polynomial contrasts by default. The .L and .Q stand for the linear and quadratic terms. Unordered factors use treatment contrasts although (they're actually

Re: [R] using tapply() with the quantile function?

2011-11-15 Thread Bert Gunter
. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal

Re: [R] Convert back to lower triangular matrix

2011-11-15 Thread Bert Gunter
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com

Re: [R] calculating time interval distributions

2011-11-16 Thread Bert Gunter
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb

Re: [R] activate console

2011-11-16 Thread Bert Gunter
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

Re: [R] activate console

2011-11-16 Thread Bert Gunter
: fun = function(x){   plot(x)   bringToTop(-1)    #bring console to top (activate console or give console control) thanks Bert!   dims = curConsoleDims()   on.exit(dims)   resize.console(width=100,height=100) } fun(1:4) Thanks! Ben On Wed, Nov 16, 2011 at 10:37 AM, Bert Gunter

Re: [R] multiplying columns in matrix

2011-11-16 Thread Bert Gunter
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb

Re: [R] List of lists to data frame?

2011-11-17 Thread Bert Gunter
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

Re: [R] how to include a factor or class Variable

2011-11-17 Thread Bert Gunter
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467

Re: [R] Combining data

2011-11-17 Thread Bert Gunter
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb

Re: [R] Reading a file w/ two delimiters

2011-11-18 Thread Bert Gunter
-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact

Re: [R] Reading a file w/ two delimiters

2011-11-18 Thread Bert Gunter
... I failed to correctly paste the first line of an example: On Fri, Nov 18, 2011 at 10:44 AM, Bert Gunter bgun...@gene.com wrote: David: As you now realize \t etc. is a perfectly legal single tab character. Now consider: - left this out -- gsub

Re: [R] Reading a file w/ two delimiters

2011-11-18 Thread Bert Gunter
... and yet another line I left out below! I apologize for this baloney! On Fri, Nov 18, 2011 at 10:48 AM, Bert Gunter bgun...@gene.com wrote: ... I failed to correctly paste the first line of an example: On Fri, Nov 18, 2011 at 10:44 AM, Bert Gunter bgun...@gene.com wrote: David: As you

Re: [R] Permutation matrix

2011-11-18 Thread Bert Gunter
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical

Re: [R] extract positions from matrix

2011-11-19 Thread Bert Gunter
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com

Re: [R] extract positions from matrix

2011-11-19 Thread Bert Gunter
Inline below. -- Bert On Sat, Nov 19, 2011 at 1:06 PM, David Winsemius dwinsem...@comcast.net wrote: On Nov 19, 2011, at 1:15 PM, Bert Gunter wrote: Folks: David: I believe your approach needs to be modified to accommodate hundreds of matrices per the OP's specification. I suggested

Re: [R] [OT] 1 vs 2-way anova technical question

2011-11-21 Thread Bert Gunter
list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374

Re: [R] [OT] 1 vs 2-way anova technical question

2011-11-21 Thread Bert Gunter
, Giovanni On Nov 21, 2011, at 3:55 PM, Bert Gunter wrote: Giovanni: 1. Please read ?formula and/or An Introduction to R for how to specify linear models in R. 2. Correct specification of what you want (if I understand correctly) is log(R) ~ A*B + C + D 3. ... which presumably

Re: [R] Binned line plot

2011-11-21 Thread Bert Gunter
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb

Re: [R] SPSS F-test on change in R square between hierarchical models

2011-11-23 Thread Bert Gunter
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech

Re: [R] Looping and paste

2011-11-23 Thread Bert Gunter
at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert

Re: [R] Looping and paste

2011-11-23 Thread Bert Gunter
... and you can of course do the assignment: Bndy - paste (BndY,to,50+seq_len(BndY), mN, sep = ) An Introduction to R tells you about such fundamentals and should be a first read for anyone learning R. --- Bert On Wed, Nov 23, 2011 at 4:10 PM, Bert Gunter bgun...@gene.com wrote: Don't do

Re: [R] First read (was: Re: Looping and paste)

2011-11-24 Thread Bert Gunter
' is imperfect and incomplete but it suffers slightly less from the curse of knowledge than a lot of other R documentation. Pat On 24/11/2011 00:15, Bert Gunter wrote: ... and you can of course do the assignment: Bndy-  paste (BndY,to,50+seq_len(BndY), mN, sep = ) An Introduction to R tells you

Re: [R] errors with lme4

2011-11-24 Thread Bert Gunter
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

Re: [R] how to add waiting for page change to my script

2011-11-24 Thread Bert Gunter
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb

[R] Thank you

2011-11-24 Thread Bert Gunter
without R. Kind regards and best wishes to all, -- Bert -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

Re: [R] Error: invalid type(list) for variable when using lm()

2011-11-25 Thread Bert Gunter
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb

Re: [R] Handling Packages

2011-11-25 Thread Bert Gunter
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com

Re: [R] Error: invalid type(list) for variable when using lm()

2011-11-25 Thread Bert Gunter
] - grade2_t4 But what are these various grade-named objects? Are you sure you didn't coerce the matrix to character mode? What is str(mymatrix) after this? -- David. I can do this plot(mymatrix[1,1,1:3],mymatrix[1,2,1:3]) On Fri, Nov 25, 2011 at 6:06 AM, Bert Gunter [via R] ml-node

Re: [R] Constrained linear regression

2011-11-26 Thread Bert Gunter
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb

Re: [R] fitting a distribution to a ecdf plot

2011-11-28 Thread Bert Gunter
-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r-project.org

Re: [R] Fitting a linear model with lmer in the lme4 package

2011-11-28 Thread Bert Gunter
. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal

Re: [R] heat map - how to import a graphic?

2011-11-28 Thread Bert Gunter
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http

Re: [R] fill binary matrices with random 1s

2011-11-29 Thread Bert Gunter
, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r-project.org mailing

Re: [R] format numbers without leading or trailing 0s

2011-11-29 Thread Bert Gunter
-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r

Re: [R] Problem in log

2011-11-29 Thread Bert Gunter
, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

Re: [R] Replacing a value in a dataframe

2011-11-30 Thread Bert Gunter
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info

Re: [R] how to call a function for each row

2011-11-30 Thread Bert Gunter
. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal

Re: [R] round to specific intervals

2011-12-01 Thread Bert Gunter
, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r

Re: [R] Counting the occurences of a charater within a string

2011-12-01 Thread Bert Gunter
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http

Re: [R] Counting the occurences of a charater within a string

2011-12-01 Thread Bert Gunter
   2 On Thu, Dec 1, 2011 at 1:05 PM, Bert Gunter gunter.ber...@gene.com wrote: ## It's not a data frame -- it's just a vector. x [1] abc/def     ghi/jkl/mno gsub([^/],,x) [1] /  // nchar(gsub([^/],,x)) [1] 1 2 ?gsub ?nchar -- Bert On Thu, Dec 1, 2011 at 8:32 AM, Douglas Esneault

Re: [R] Unexplained behavior of level names when using ordered factors in lm?

2011-12-02 Thread Bert Gunter
mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374

Re: [R] Unexplained behavior of level names when using ordered factors in lm?

2011-12-02 Thread Bert Gunter
Maybe should have explicitly said: C(ordered(1:5)) [1] 1 2 3 4 5 attr(,contrasts) ordered contr.poly Levels: 1 2 3 4 5 -- Bert On Fri, Dec 2, 2011 at 7:06 AM, Bert Gunter bgun...@gene.com wrote: ?ordered ?C ?contr.poly If you don't know what polynomial contrasts are, consult any

Re: [R] breaking up n object into random groups

2011-12-02 Thread Bert Gunter
code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r-project.org mailing list https

Re: [R] Vectorization instead of loops problem

2011-12-04 Thread Bert Gunter
code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r-project.org mailing list

Re: [R] Complex multiple t tests in a data frame with several id factors

2011-12-04 Thread Bert Gunter
-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r

Re: [R] Vectorization instead of loops problem

2011-12-04 Thread Bert Gunter
a few among many. It is impossible for me to be more specific than that. -- Bert Apologies again and best regards, Costas On 4 December 2011 17:45, Bert Gunter gunter.ber...@gene.com wrote: Costas: (and thanks for giving us your name) which(x == 1) gives you the indices where x is 1 (up

Re: [R] a weird question about gdata:::

2011-12-04 Thread Bert Gunter
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb

Re: [R] Group several variables and apply a function to the group

2011-12-04 Thread Bert Gunter
-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact

Re: [R] how to view/edit large matrix/array in R?

2011-12-05 Thread Bert Gunter
, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r-project.org mailing

Re: [R] Argument validation within functions

2011-12-06 Thread Bert Gunter
. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Find x value of density plots

2011-12-06 Thread Bert Gunter
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter

Re: [R] making changes to global variables in functions

2011-12-07 Thread Bert Gunter
-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r

Re: [R] How to plot multiple graphs in one go?

2011-12-08 Thread Bert Gunter
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb

Re: [R] Relationship between covariance and inverse covariance matrices

2011-12-08 Thread Bert Gunter
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech

Re: [R] gam, what is the function(s)

2011-12-09 Thread Bert Gunter
mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374

Re: [R] Fixed! Thanks all:RE: scatterplot to boxplot translation?

2011-12-09 Thread Bert Gunter
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter

Re: [R] Question about comparison of nested models and F-statistics

2011-12-10 Thread Bert Gunter
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics

Re: [R] PCA on high dimentional data

2011-12-10 Thread Bert Gunter
-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r

Re: [R] multiple comparison of interaction of ANCOVA

2011-12-11 Thread Bert Gunter
. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r-project.org mailing list https

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Bert Gunter
Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Bert Gunter
was referring to doing something with the data before it gets into R. I understand that one should not need to write out data and then re-read it in some way. As I said, those more experienced with R will probably offer better ideas. Tom On Mon, Dec 12, 2011 at 5:05 PM, Bert Gunter gunter.ber

Re: [R] nls start values

2011-12-13 Thread Bert Gunter
list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website

Re: [R] Keep sourcing when there is an error

2011-12-13 Thread Bert Gunter
, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-help@r

Re: [R] Storing graphics

2011-12-14 Thread Bert Gunter
. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical

Re: [R] Reordering a numeric variable

2011-12-15 Thread Bert Gunter
, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

[R] Fortune? -- was Re: optim with simulated annealing SANN ...

2011-12-16 Thread Bert Gunter
in this domain, for effective use they require more knowledge than many of their users possess, and can be dangerous because they seem to work. JN -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb

Re: [R] simulation

2011-12-16 Thread Bert Gunter
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb

Re: [R] Automating Plot and Model Generation

2011-12-21 Thread Bert Gunter
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http

Re: [R] qqnorm huge datasets

2011-12-22 Thread Bert Gunter
92093-0901 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert

Re: [R] Nested model - singularities not defined

2011-12-24 Thread Bert Gunter
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics

Re: [R] Other ways to lm() regression? (non-loop?)

2011-12-26 Thread Bert Gunter
do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb

<    5   6   7   8   9   10   11   12   13   14   >