Re: [R] How to test the statistical significance of the difference of two univariate Linear Regression betas?

2012-03-14 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] Generation of correlated variables

2012-03-15 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

Re: [R] Timer on a function

2012-03-15 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-ncb

Re: [R] Timer on a function

2012-03-15 Thread Bert Gunter
...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Bert Gunter Sent: Thursday, March 15, 2012 3:05 PM To: Ramiro Barrantes Cc: r-help@r-project.org Subject: Re: [R] Timer on a function On Thu, Mar 15, 2012 at 2:24 PM, Ramiro Barrantes ram...@precisionbioassay.com wrote

Re: [R] Linear regression

2012-03-19 Thread Bert Gunter
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] where this Error comes from?

2012-03-19 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] Linear regression

2012-03-19 Thread Bert Gunter
as y. Can you suggest where I can find some information about your suggestion #4...that is exactly what I was hoping to do. Thanks, Diviya On Mon, Mar 19, 2012 at 3:02 PM, Bert Gunter gunter.ber...@gene.com wrote: 1. Homework assignment? We don't do homework here. 2. If not, a mixture

Re: [R] Filling matrices

2012-03-19 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] SE from nleqslv

2012-03-20 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] Not colour but symbols

2012-03-20 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] anova.lm F test confusion

2012-03-21 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] Doubts about mixed effect models

2012-03-21 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] sqrt(-x) vs. -x^0.5

2012-03-21 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

Re: [R] Plotting patient drug timelines using ggplot2 (or some other means) -- Help!!!

2012-03-22 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] Plotting patient drug timelines using ggplot2 (or some other means) -- Help!!!

2012-03-22 Thread Bert Gunter
/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] Accessing more than two coefficients in a plot

2012-03-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

Re: [R] copy the columns based on the code

2012-03-26 Thread Bert Gunter
Fortunes candidate?! -- Bert On Mon, Mar 26, 2012 at 10:24 AM, Sarah Goslee sarah.gos...@gmail.com wrote: The OP wrote The problem is that it gives the result that I want. Sarah's reply: That's a new sort of problem. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact

[R] Completely Off Topic:Link to IOM report on use of -omics tests in clinical trials

2012-03-26 Thread Bert Gunter
on so-called Personalized Health Care (which I guess affects all of us), and open source analytical (statistical) methodology is a central issue. For those interested, try the summary first. Best to all, Bert -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467

Re: [R] lasso constraint

2012-03-27 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] Help on predict.lm

2012-03-27 Thread Bert Gunter
. predict a man's age from the temperature in Barcelona. ... 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] Urgent - I really need some help lme4 model avg Estimates

2012-03-27 Thread Bert Gunter
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-groups

Re: [R] Data extraction

2012-03-27 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] Urgent - I really need some help lme4 model avg Estimates

2012-03-27 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

Re: [R] Connect lines in a dot plot on a subject-by-subject basis

2012-03-28 Thread Bert Gunter
Trivial with xyplot. Convert the data frame to long form (perhaps using reshape() or functions in the reshape2 package) to get ( in data frame dat) 3 columns: SubjectID Time Value (results do not have to be in time order or grouped by subject) Then: xyplot( Value ~ Time, Group = SubjectID,

Re: [R] Connect lines in a dot plot on a subject-by-subject basis

2012-03-28 Thread Bert Gunter
Oh ... you may need to specify a single color to avoid a rainbow: xyplot( Value ~ Time, Group = SubjectID, data = dat, type = b, col = black) -- Bert On Wed, Mar 28, 2012 at 2:39 PM, John Sorkin jsor...@grecc.umaryland.edu wrote: I am trying to plot where data points from a give subject are

Re: [R] How to access value of the conditioning variable in my panel

2012-03-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

Re: [R] Data handling/optimum glm method.

2012-03-29 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] split list

2012-03-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 __ R

Re: [R] abline with xyplot does not work

2012-03-29 Thread Bert Gunter
?panel.abline You need grid/lattice functions for xyplot ! -- Bert On Thu, Mar 29, 2012 at 9:38 AM, John Sorkin jsor...@grecc.umaryland.edu wrote: I am trying to plot the results of a random effects model where each subject is allowed to have his, or her, own intercept. I use xyplot to plot

Re: [R] split list

2012-03-29 Thread Bert Gunter
Sorry -- that 2nd line should of course be: yourlist - split( gl[!omit], ,cumsum(omit)[!omit]) -- Bert On Thu, Mar 29, 2012 at 10:07 AM, Bert Gunter bgun...@gene.com wrote: Here's a more minimalist and perhaps faster approach (asit uses indexing) Let gl be the the vector with the gene list

Re: [R] avoiding expression evaluation when calling a function

2012-03-30 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] list assignment syntax?

2012-03-30 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] clear console

2012-03-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 Genentech

Re: [R] sampling rows from a list

2012-04-02 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] Default parameter values in R functions?

2012-04-02 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] Finding Instances of a Pattern Throughout Data Set

2012-04-02 Thread Bert Gunter
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-groups/pdb

[R] Off Topic: Re: Calculating NOEL using R and logistic regression - Toxicology

2012-04-03 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] Nlme not working on very similar initial values

2012-04-03 Thread Bert Gunter
Welcome to the wonderful world Of nonlinear model fitting in ill-conditioned problems. See also chaos theory. Bert Sent from my iPhone -- please excuse typos. On Apr 3, 2012, at 3:03 PM, Ramiro Barrantes ram...@precisionbioassay.com wrote: Hello, I am using CentOS Linux 6.0, R 2.14.1

Re: [R] logistic regression

2012-04-03 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] list assignment syntax?

2012-04-03 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] how to load functions from file

2012-04-04 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 list

Re: [R] convert a list to a data frame

2012-04-04 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] convert a list to a data frame

2012-04-04 Thread Bert Gunter
There are two ways to write error-free programs; only the third one works. -- 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] A kind of set operation in R

2012-04-05 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] pause code in R code?

2012-04-07 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] How to produce serveral plots with pairs of vectors

2012-04-08 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] filling the matrix row by row in the order from lower to larger elements

2012-04-08 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] return one vector that is the sum of a list of vectors

2012-04-08 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] Overall model significance for poisson GLM

2012-04-09 Thread Bert Gunter
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-groups/pdb

Re: [R] Difference between spec.pgram spec.ar

2012-04-09 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] default arguments and '...' in a function

2010-12-01 Thread Bert Gunter
in '...'  # set c - 1 if c is not included in '...'  somefunction(a,b,c,...) } Bert Gunter Genentech __ 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

Re: [R] [r] ANCOVA method

2010-12-03 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] What is the SAS equivalent of this R glm() code?

2010-12-03 Thread Bert Gunter
. -- Bert Gunter Genentech Nonclinical Biostatistics __ 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

Re: [R] increase or decrease variable by 1

2010-12-07 Thread Bert Gunter
, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics __ 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

Re: [R] fast subsetting of lists in lists

2010-12-07 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 __ R-help@r

Re: [R] Summing up Non-numeric column

2010-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 Nonclinical Biostatistics

Re: [R] Confidence Intervals for Odds Ratios in multivariate logistic regression

2010-12-08 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 __ R-help@r-project.org mailing list https

Re: [R] Why do we have to turn factors into characters for various functions?

2010-12-12 Thread Bert Gunter
. -- Bert Gunter Genentech Nonclinical Biostatistics 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml __ 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

Re: [R] How to ignore data

2010-12-13 Thread Bert Gunter
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] How to ignore data

2010-12-13 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

[R] OFFTOPIC: BAD SCIENCE by Ben Goldacre

2010-12-13 Thread Bert Gunter
in evaluating scientific claims. His website and columns may also be of interest: http://www.badscience.net/ Cheers, Bert -- Bert Gunter Genentech Nonclinical Biostatistics __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Question

2010-12-14 Thread Bert Gunter
prefer to ignore it and teach hogwash. [dismount soapbox] Thoughtful nasty rejoinders welcome. Please send your thought-less nasty ones to me privately to spare our colleagues. Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics __ R-help@r

Re: [R] Question

2010-12-16 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 467-7374 http://devo.gene.com/groups/devo

Re: [R] Passing parameter to a function

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

Re: [R] Complicated nls formula giving singular gradient message

2010-12-20 Thread Bert Gunter
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Keeping Leading Zeros, Treating numbers as text

2010-12-21 Thread Bert Gunter
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml __ R-help@r-project.org

Re: [R] matrix indexing in 'for' loop?

2010-12-22 Thread Bert Gunter
Have you consulted R's extensive documentation? -- in particular, An Introduction to R, which would seem like an obvious place for R newbies to start. If you had done so, you would have found your question answered there in section 6.1 on lists. -- Bert Gunter On Wed, Dec 22, 2010 at 9:39 AM

Re: [R] What is the best way to lag a time series?

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

Re: [R] A question on Statistics

2010-12-26 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 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml

Re: [R] access a column of a dataframe without qualifying the name of the column

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

Re: [R] Page eject and clearing the console

2011-01-04 Thread Bert Gunter
, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics __ 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

Re: [R] Adding lines in ggplot2

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

[R] Waaaayy off topic...Statistical methods, pub bias, scientific validity

2011-01-06 Thread Bert Gunter
regards to all, Bert -- Bert Gunter Genentech Nonclinical Biostatistics __ 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

Re: [R] Normal Distribution Quantiles

2011-01-08 Thread Bert Gunter
, CT __ 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] memory location of object?

2011-01-10 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 __ R

Re: [R] list concatenation

2011-01-11 Thread Bert Gunter
commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics __ 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

Re: [R] A question on dummy variable

2011-01-11 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 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml

Re: [R] 2d plot with modification of plotting symbol to indicate third dimension.

2011-01-12 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 467-7374 http://devo.gene.com

Re: [R] Don´t know what test i have to use

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

Re: [R] 2d plot with modification of plotting symbol to indicate third dimension.

2011-01-13 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] piecewise regression

2011-01-14 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

Re: [R] t-test calculation correct?

2011-01-17 Thread Bert Gunter
As this is apparently a post hoc test, this is wrong. The results are biased. You have provided a nice example of how to do irreproducible science. Consult a local statistician for what this means if you do not know. -- Bert Gunter On Mon, Jan 17, 2011 at 4:35 AM, Sascha Vieweg saschav

Re: [R] median by geometric mean -- are we missing what's important?

2011-01-17 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] substituting level for NA in factor column

2011-01-18 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 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] count id by id

2011-01-18 Thread Bert Gunter
, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics __ 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

Re: [R] lm(y ~ x1) vs. lm(y ~ x0 + x1 - 1) with x0 - rep(1, length(y))

2011-01-21 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 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml

Re: [R] effect size measure for dependent samples

2011-01-22 Thread Bert Gunter
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml __ R-help@r-project.org mailing

Re: [R] Implementing step-wise linear regression

2011-01-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] crazy loop error.

2011-01-25 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 __ R-help@r

Re: [R] Learn Vectorization (Vectorize)

2011-01-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 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml __ R-help@r

Re: [R] applying a set of rules to each row

2011-01-26 Thread Bert Gunter
If I understand you correctly, you want ?ifelse, which works on the full logical vectors of rules applied to the variables, not ifelse, which works on only a single logical. -- Bert Gunter On Wed, Jan 26, 2011 at 12:18 PM, KATSCHKE, ADRIAN CIV DFAS adrian.katsc...@dfas.mil wrote: All, I

Re: [R] applying a set of rules to each row

2011-01-26 Thread Bert Gunter
, not ifelse, which works on only a single logical. -- Bert Gunter On Wed, Jan 26, 2011 at 12:18 PM, KATSCHKE, ADRIAN CIV DFAS adrian.katsc...@dfas.mil wrote: All, I would like to apply a set of rules to each row of the sample data set below. The rule sets are the guidelines for determining

Re: [R] Trouble variable scoping a function writing with get()

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

Re: [R] How to it a loess curve and obtain the equation in R?

2011-10-22 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] OFFTOPIC: Outliers?!

2011-10-22 Thread Bert Gunter
, as this is waaay off topic. And my apologies to all for the distraction, but I hope you will not condemn me too harshly for taking arms against this evil dragon (in joke for those who read the article). Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374

Re: [R] A problem with chol() function

2011-10-23 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] How to create a new variable based on parts of another character variable: A generalization

2011-10-24 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] Syntax Help for xyplot()

2011-10-24 Thread Bert Gunter
/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 Contact Info: Phone: 467

Re: [R] Glmnet Logistic Variable Questions

2011-10-25 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] Logistic Regression - Variable Selection Methods With Prediction

2011-10-26 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-ncb

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