Re: [R] Axes intercept

2010-06-30 Thread Bert Gunter
I nominate the below for a Fortune. -- Bert Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of R. A. Bilonick Sent: Wednesday, June 30, 2010 3:16 PM To: r-help@r-project.org Subject

Re: [R] ROC curve in R

2010-07-01 Thread Bert Gunter
Did you try googling on R ROC function (or something similar) or using the RSiteSearch() function? ?RSiteSearch RSiteSearch(ROC,restr=func) Learn to use R's various search capabilities before posting, please! Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From

Re: [R] Why doesn't my change of Renviron.site work on windows 7 ?

2010-07-02 Thread Bert Gunter
I think you need to enclose the path in quotes. -- Bert Bert Gunter Nonclinical Biostatistics 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Tal Galili Sent

Re: [R] How to plot confidence bands for nls

2010-07-06 Thread Bert Gunter
?predict.nls Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Claudia Penaloza Sent: Tuesday, July 06, 2010 12:55 PM To: r-help@r-project.org Subject: [R] How to plot confidence

Re: [R] How to plot confidence bands for nls

2010-07-06 Thread Bert Gunter
Whoops! Seems that the interval argument for nls objects is not implemented. Maybe your best approach then is to bootstrap. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: bgunter Sent: Tuesday, July 06, 2010 1:09 PM To: Claudia Penaloza; r-help@r

Re: [R] How do I test against a simple null that tworegressions coefficients are equal?

2010-07-08 Thread Bert Gunter
Inline below. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of markle...@verizon.net Sent: Thursday, July 08, 2010 7:52 AM To: chen_1...@fisher.osu.edu Cc: r-help@r-project.org; cbe

Re: [R] Plotting text in existing plot?

2010-07-09 Thread Bert Gunter
Original poster wanted a simple way to do it, but when R has three graphics systems, four OO systems, and a zillion helpful people there's never a simple way :) -- Rather, I'd say it has a zillion simple ways. :) Bert Barry -- blog: http://geospaced.blogspot.com/ web:

Re: [R] how can achive step by step execution of the script

2010-07-09 Thread Bert Gunter
No - devAskNewPage is not what the OP asked for. 1. The following are, but probably only work when R is in interactive mode (?interactive), e.g. in the GUI: 2. ?winDialog ?file.choose ?choose.files ?select.list ?readline and friends and for keyboard: ?getGraphicsEvent Bert Gunter

Re: [R] how to plot two histograms overlapped in the same planecoordinate

2010-07-09 Thread Bert Gunter
Don't do this. The overlapping will confuse. Plot them in a lattice display with one group above the other on the same horizontal scale. See ?histogram. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r

Re: [R] Problem fitting a non-linear regression model with nls

2010-01-13 Thread Bert Gunter
another to give essentially identical fits. That is what the singular gradient message is trying to tell you. Bert Gunter Genentech Nonclinical Statistics __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] paired repeated measurements

2010-01-14 Thread Bert Gunter
is continuous and not a factor, btw; if time is a factor, I think there may be identifiability problems -- but folks on the mixed models list should be able to provide you better guidance. There may well be better ways to model the covariance structure. Bert Gunter Genentech Nonclinical Biostatistics

Re: [R] paired repeated measurements: Correction

2010-01-14 Thread Bert Gunter
Just realized that I got my nesting specification backwards. For fence in site, which is what I wanted, it should have been: co2 ~ treatment + time, rand = ~1|site/fence Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: bgunter Sent: Thursday, January 14

Re: [R] (no subject)

2010-01-15 Thread Bert Gunter
this be in the FAQ in a question like: Why can't R find the function called in my Profile file when R starts up? (I'd be happy to write a first draft if so). Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r

Re: [R] problem of data manipulation

2010-01-18 Thread Bert Gunter
(x) 7)),] (unlist is needed to remove the list structure and concatenate the logical indices to obtain the subscripting vector). Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of rusers.sh

Re: [R] problem of data manipulation

2010-01-18 Thread Bert Gunter
:15 PM To: Bert Gunter; rusers.sh; r-help@r-project.org Subject: Re: [R] problem of data manipulation -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Bert Gunter Sent: Monday, January 18, 2010 11:54 AM To: 'rusers.sh'; r-help@r

Re: [R] problem of data manipulation

2010-01-18 Thread Bert Gunter
in the columns were derived and what you mean by the same. Remember, on a computer, sqrt(2)^2 != 2 . -- Bert Gunter Genentech Nonclinical Statistics From: rusers.sh [mailto:rusers...@gmail.com] Sent: Monday, January 18, 2010 2:29 PM To: William Dunlap Cc: Bert

Re: [R] Predict polynomial problem

2010-01-18 Thread Bert Gunter
. Other than that, no clue, but maybe it helps. -- Bert Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Barry Rowlingson Sent: Monday, January 18, 2010 3:31 PM To: r-help@r-project.org

Re: [R] Two == expressions in bquote

2010-01-25 Thread Bert Gunter
I think that careful examination will show that Henrique's solution is not quite right: the text '=' character is slightly different than the symbol font character. This is admittedly nitpicking, but ... try instead: text(2,8,bquote(paste(delta==mu^2,phantom()==.(mu^2 Cheers, Bert Gunter

Re: [R] Two == expressions in bquote

2010-01-25 Thread Bert Gunter
Peter's way is better than mine. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Peter Dalgaard Sent: Monday, January 25, 2010 12:57 PM To: Larry Hotchkiss Cc: r-help@r

Re: [R] Min hash

2010-01-25 Thread Bert Gunter
Did you perchance try RSiteSearch(hash,restr=func) or check the hash package on CRAN (or BioConductor or ...) ?? No clue whether any of this is relevant, but it seems like a sensible first place to look. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r

Re: [R] Apply a function on an array with the parameter as an array

2010-01-26 Thread Bert Gunter
with the same length as X but with values that I don't even understand...Can someone please help me? -- Probably not. You haven't read and followed the posting guide and provided a small reproducible example so we know exactly what you tried to do. Bert Gunter Genentech Nonclinical Statistics

Re: [R] Apply a function on an array with the parameter as an array

2010-01-26 Thread Bert Gunter
I perhaps should have added that the etiquette of this list is to supply your correct name in your signature. This does not necessarily mean that you will be ignored if you fail to do so, but it does increase the likelihood that you will be. Bert Gunter Genentech Nonclinical Biostatistics

Re: [R] Apply a function on an array with the parameter as an array

2010-01-26 Thread Bert Gunter
Speaking **only for myself**, if you don't have the time to read and follow the posting guide, I don't have the time to try to help you. Bert Gunter Genentech Nonclinical Biostatistics __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] selecting significant predictors from ANOVA result

2010-01-27 Thread Bert Gunter
from this list is wholly inadequate. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of ram basnet Sent: Wednesday, January 27, 2010 2:52 AM To: R help Subject: [R] selecting significant

Re: [R] returning a list of functions

2010-01-27 Thread Bert Gunter
funlist[[2]](2) [1] 4 funlist[[3]](2) [1] 8 ?bquote See Bill Venables's Programmer's Niche Column on Mind Your Language in the Vol 2/2, June 2002 R News for a fuller explanation. Note that bquote() is just a kind of macro-like version of substitute(). Bert Gunter Genentech Nonclinical Statistics

Re: [R] weighted least squares vs linear regression

2010-01-28 Thread Bert Gunter
You'll probably need to consult a suitable text on linear models/applied regression, as this is a statistics, not an R question -- or look for a suitable tutorial on the web. You might also try one of the statistics mailing lists or Google on some suitable phrase. Bert Gunter Genentech

Re: [R] Large integers in R

2010-01-28 Thread Bert Gunter
No it isn't strange. Please read: ?options digits ?print.default and then print the results with more digits. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Len Vir Sent

Re: [R] evaluating expressions with sub expressions

2010-01-29 Thread Bert Gunter
(because identical() tells me so). Could someone perhaps elaborate on this a bit more? And is there a yet simpler and more straightforward way to do the above than what I proposed? Cheers, Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org

Re: [R] evaluating expressions with sub expressions

2010-01-29 Thread Bert Gunter
Inline below... -Original Message- From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com] Sent: Friday, January 29, 2010 2:12 PM To: Bert Gunter Cc: Jennifer Young; r-help@r-project.org Subject: Re: [R] evaluating expressions with sub expressions If its good enough to have one level

Re: [R] How to use escape characters in a string

2010-01-29 Thread Bert Gunter
Please read R FAQ 7.37. You need to escape the backslash: z- as.character(`X^`R\\`S) z [1] `X^`R\\`S cat(z) `X^`R\`S Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of mary guo Sent

[R] (With trepidation): Evaluating expressions with sub expressions again

2010-01-31 Thread Bert Gunter
(y)^2 + 3)^2) I would appreciate being told (on list) if/how this scheme can be broken or a reference to other approaches (besides that which Gabor provided, of course). Clever improvements are also always welcome. Cheers to all, Bert Gunter Genentech Nonclinical Statistics

Re: [R] (With trepidation): Evaluating expressions with sub expressions again

2010-01-31 Thread Bert Gunter
Thankyou Thomas. Yes, I was motivated by bquote(). It is so slick (to some extent, still too slick for me). I wanted to do it nonrecursively because it's both clearer (I think) and maybe even more efficient (though I doubt this is detectable in any case). Bert Gunter Genentech Nonclinical

Re: [R] tapply for function taking of 1 argument?

2010-02-02 Thread Bert Gunter
?by Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of sjaffe Sent: Tuesday, February 02, 2010 1:16 PM To: r-help@r-project.org Subject: Re: [R] tapply for function taking of 1 argument

Re: [R] tapply for function taking of 1 argument?

2010-02-03 Thread Bert Gunter
this. The software implementation differences thereafter will rarely be important. In other words, pick your poison. Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf

Re: [R] population variance and sample variance

2010-02-04 Thread Bert Gunter
for reproducibility's sake. In other words, why waste any time or energy on such a pointless discussion? Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Greg Snow Sent: Thursday, February 04

Re: [R] How do I use tapply in this case ?

2010-02-04 Thread Bert Gunter
, but still) loops of apply functions. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of RICHARD M. HEIBERGER Sent: Thursday, February 04, 2010 9:10 PM To: Carrie Li Cc: r-help Subject

Re: [R] Missing interaction effect in binomial GLMM with lmer

2010-02-09 Thread Bert Gunter
You might do better posting this on the R-sig-mixed-models list. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ista Zahn Sent: Tuesday, February 09, 2010 9:19 AM To: Weber, Sam Cc: r

Re: [R] Using seq_len() vs 1:n

2010-02-11 Thread Bert Gunter
I like to use 1:n when I'm teaching debugging, because it looks so safe but isn't. Duncan Murdoch ... operator precedence providing lots of examples, e.g. 1: 2*3 [1] 3 6 ## vs seq_len(2*3) [1] 1 2 3 4 5 6 Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics

Re: [R] Code working but too slow, any idea for how to speed it up ?(no loop in it)

2010-02-12 Thread Bert Gunter
?profile Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of anna Sent: Friday, February 12, 2010 10:29 AM To: r-help@r-project.org Subject: [R] Code working but too slow, any idea for how

Re: [R] How to source files from a search path?

2010-02-12 Thread Bert Gunter
1. Etiquette on this list is to sign posts with your real name. 2. Please use R's Help facilities (beyond RSiteSearch()) first before posting: ?help.search help.search(environment variable) Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r

Re: [R] Plot different regression models on one graph

2010-02-13 Thread Bert Gunter
Brian Joiner, my teacher and insightful guide to the world of applied statistics when I was a student, succinctly summarized this discussion by: Even the data aren't sufficient. (This is an inside joke for statisticians). Cheers, Bert Bert Gunter Genentech Nonclinical Statistics

Re: [R] lm function in R

2010-02-13 Thread Bert Gunter
?formula Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Something Something Sent: Saturday, February 13, 2010 1:24 PM To: Daniel Nordlund Cc: r-help@r-project.org Subject: Re: [R] lm

Re: [R] Does the R statistical language includes modules/packagesto carry out nonlinear optimization similar to the SAS NLINand NLP procedures?

2010-02-16 Thread Bert Gunter
Randall: Are you familiar with R's Search facilities? If not, don't you think you should be? If so, why don't you try using them BEFORE posting on this list. ?help ?help.search help.search(optimization) ##gives several alternatives Bert Gunter Genentech Nonclinical Biostatistics

Re: [R] Use of R in clinical trials

2010-02-18 Thread Bert Gunter
the last word. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Frank E Harrell Jr Sent: Thursday, February 18, 2010 6:01 AM To: bill.venab...@csiro.au Cc: r-help@r-project.org; p.dalga

Re: [R] Use of R in clinical trials

2010-02-18 Thread Bert Gunter
there was Fortran and COBOL; there was no statistical software. So, as you can see, there essentially was **no** before SAS. (Corrections/additional information welcome!) Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r

Re: [R] Procedure not working for actual data

2010-02-18 Thread Bert Gunter
?traceback may be useful. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of jim holtman Sent: Thursday, February 18, 2010 10:17 AM To: ROLL Josh F Cc: r-help@r-project.org Subject

Re: [R] Use of R in clinical trials

2010-02-18 Thread Bert Gunter
Yes, Doug is correct and I'm wrong. In fact, his comment jogged MY memory -- I actually used BMDP a bit in the late 70's(I think it was). Thanks to Doug for corrected chronology. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org

Re: [R] Appending Data to A n Existing List...

2010-02-18 Thread Bert Gunter
?c but you have to make sure z is a list: c(pts,z) ## probably is not what you want c(pts,list(z)) ## probably is, but z will be unnamed c(pts,list(z=z) ## names z z Cheers, Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org

Re: [R] Use of R in clinical trials

2010-02-19 Thread Bert Gunter
and adding further insight. Cheers to all, Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of John Sorkin Sent: Friday, February 19, 2010 4:56 AM To: Dieter Menne; r-help@r-project.org Subject: Re

Re: [R] What is the difference between expression and quote when usedwith eval()?

2010-02-19 Thread Bert Gunter
as.list(expression( 2*3)) [[1]] 2 * 3 as.list(quote( 2*3)) [[1]] `*` [[2]] [1] 2 [[3]] [1] 3 identical(as.list(expression( 2*3))[[1]],quote(2*3)) [1] TRUE expression() wraps the call into an expression object (as pointed out to me by Gabor Grothendieck). Bert Gunter Genentech Nonclinical

Re: [R] gsub patterns from vector elements w/out loop?

2010-02-22 Thread Bert Gunter
elements of x in the wrong order. I leave it as an exercise to figure out why not. Note also that this is almost certainly less efficient than your kludgy loop, too. Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r

Re: [R] how to assess the significance of regression between a set of response and predictor variables

2010-02-23 Thread Bert Gunter
?? z - manova(y~x) summary(z) ?summary.manova Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Manabu Sakamoto Sent: Tuesday, February 23, 2010 4:39 AM To: r-help@r-project.org Subject

Re: [R] Inverse function

2010-02-24 Thread Bert Gunter
) = a == g(y) = 0 where g(y) == f(y,r) - a (for numerical solutions). Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of li li Sent: Wednesday, February 24, 2010 12:46 PM To: r-help

Re: [R] lattice package: Changing colors in graphs

2010-02-24 Thread Bert Gunter
?trellis.par.get ?panel.histogram ... and in general panel.whatever for whatever() lattice functions. Typically graphical parameters are passed though the ... arguments. You need to **carefully** read the docs. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: r

Re: [R] Missing data

2007-09-11 Thread Bert Gunter
Please use R's existing search tools before posting: RsiteSearch(imputation) RsiteSearch(missing data imputation) etc. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Kaplan Sent: Tuesday, September

Re: [R] help for high-quality plot (wmf) in files

2007-09-17 Thread Bert Gunter
? NOTE: AFAICS Sweave doesn't work, as it produces only pdf graphs. Feel free to reply off list, as this is not really an R question. Cheers, Bert Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabor

Re: [R] continuous boxplot?

2007-10-02 Thread Bert Gunter
probably want to shingle or bin on quantiles of y). The canonical reference is Bill Cleveland's VISUALIZING DATA (see coplots). Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Porzak Sent: Tuesday, October

Re: [R] Matrix bar plot

2007-10-04 Thread Bert Gunter
(perhaps even relatively!) judgments of magnitude. I echo Hadley's sentiment: such 3-D bar plots are an abomination. Just because Excel can do them doesn't mean you should. (Dismount pulpit). -- Bert Gunter Genentech __ R-help@r-project.org mailing list

[R] lme (or lmer) question

2007-10-05 Thread Bert Gunter
lme complain? x - 1:50 y - rnorm(50) m1 - lme( y ~ 1, rand = ~1|x) Many thanks, Bert Gunter Genentech Nonclinical Statistics __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] How do I obtain the design matrix of an lm()?

2007-10-10 Thread Bert Gunter
If all you're doing is fitting different responses to the same X data, then you don't need model.matrix. See ?update, ?update.formula. Bert Gunter Genentech Nonclinical Statistic -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ajay Shah Sent: Tuesday

Re: [R] Deleting the White Space in an R graph

2007-10-10 Thread Bert Gunter
. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nalluri pratap Sent: Wednesday, October 10, 2007 11:58 AM To: [EMAIL PROTECTED] Subject: [R] Deleting the White Space in an R graph Hi All, Is there a way

Re: [R] How to speed up multiple for loop over list of data frames

2007-10-17 Thread Bert Gunter
... which is tip 2 in Section 7.7, Tips, of VR's S PROGRAMMING. Although this is now somewhat dated, it is still worthwhile if you do any serious S language programming (IMO, of course). Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [R] Multi-objective optimization

2007-10-18 Thread Bert Gunter
(R) software package from SAS has an implementation of this. Anyway, you can search on this and see if it's relevant or not. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Smith Sent: Thursday, October

Re: [R] controlling plot range

2007-10-19 Thread Bert Gunter
coordinates can be found in Paul Murrell's R GRAPHICS book, pp. 99 -105. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Sent: Friday, October 19, 2007 10:01 AM To: John Sorkin Cc: r-help@r-project.org Subject

Re: [R] Deparsing part of a list argument

2007-10-26 Thread Bert Gunter
See also the nameargs function on p. 46 of VR's S PROGRAMMING . As previous posts indicated, further fiddling would be necessary to get exactly what you want, and there's probably no universal clean solution. Bert Gunter Nonclinical Statistics 7-7374 -Original Message- From: [EMAIL

Re: [R] R routines vs. MATLAB/SPSS Routines

2007-10-26 Thread Bert Gunter
algorithms are probably among the best in the business (because R's core developers are a pretty outstanding bunch of folks and have done extensive testing); but beyond that, caveat emptor! Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [R] linking Tinn-R to a new R version

2007-10-26 Thread Bert Gunter
bar if you don't want to type it in). Bert Gunter Genentcah Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Silvia Lomascolo Sent: Friday, October 26, 2007 11:31 AM To: r-help@r-project.org Subject: [R] linking Tinn-R to a new R

Re: [R] Converting a string

2007-10-29 Thread Bert Gunter
) holds: if you have to use eval(parse(...)) rethink -- there's a better way. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Calkins Sent: Monday, October 29, 2007 3:16 PM To: Gang Chen Cc: [EMAIL PROTECTED

Re: [R] lme model with replicates within a random factor

2007-11-02 Thread Bert Gunter
want to include it as a fixed effect, too, something like: Model1-lme(shannon ~ log(chla+1)*toc*hyd_cycle + time,random=~time|basin). This postulates some overall time trend with random slope and intercept offsets from the overall trend in each basin. Bert Gunter Genentech Nonclinical

Re: [R] partially sum variable of a dataframe

2007-11-07 Thread Bert Gunter
Or even simpler (when cc is a data frame), instead of sum(cc[cc[,a] = 5.25 cc[,a] = 3, b]) ## with(cc, sum(b[a = 5.25 a = 3])) Bert Gunter Genentech Nonclinical Statistics __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] creating a dynamic output vector

2007-11-07 Thread Bert Gunter
?match I think is what you're after. e.g. x - letters[1:10] y - c(b,f) x[match(x,y)] Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Alspach Sent: Wednesday, November 07, 2007 2:41 PM To: Steve

Re: [R] Confidence Intervals for Random Effect BLUP's

2007-11-09 Thread Bert Gunter
, as this is clearly not an R question. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Bilonick Sent: Friday, November 09, 2007 9:47 AM To: R Help Subject: [R] Confidence Intervals for Random Effect BLUP's I want

Re: [R] Tick mark puzzle.

2007-11-12 Thread Bert Gunter
Well, let me have a crack at it ... (inline below) Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rolf Turner Sent: Monday, November 12, 2007 2:16 PM To: r-help@r-project.org Subject: [R] Tick mark puzzle

Re: [R] How to get row numbers of a subset of rows

2007-11-14 Thread Bert Gunter
something that makes this obvious solution impossible? (Wouldn't be the first time.) Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jim holtman Sent: Wednesday, November 14, 2007 8:39 AM To: affy snp Cc: r-help@r

[R] Using plotmath expressions in lattice key text

2007-11-15 Thread Bert Gunter
= list(text = list(lab = list(10 %+-% 1, 10 %+-% 2 : first component of text has to be vector of labels So how should I do this?? I suspect it's simple, but I just can't figure it out. Note: I'd be happy to supply reproducible code if needed. Just complain and I'll do so. Thanks. Bert

Re: [R] Remove rows with NA across all columns

2008-02-14 Thread Bert Gunter
, Bert Gunter Genentech -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joseph Sent: Thursday, February 14, 2008 8:53 PM To: r-help@r-project.org Cc: r-help@r-project.org Subject: [R] Remove rows with NA across all columns Hi I have a data frame df with 3

Re: [R] How to get names of a list into df:s?

2008-02-21 Thread Bert Gunter
mapply(data.frame,value=g,nm=lapply(names(g),rep,length(g)),SIMPLIFY=FALSE) Cheers, Bert Gunter Genentech -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Kane Sent: Thursday, February 21, 2008 2:05 PM To: Lauri Nikkinen; [EMAIL PROTECTED] Subject

Re: [R] How to get names of a list into df:s?

2008-02-21 Thread Bert Gunter
Jim's solution showed me that mine should be simplified to: mapply(data.frame,value=g,nm=names(g),SIMPLIFY=FALSE) This has the slight advantage of automatically naming the list. Cheers, Bert Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jim

Re: [R] using eval-parse-paste in a loop

2008-02-26 Thread Bert Gunter
that this would automatically create your list for you. Cheers, Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Iverson Sent: Tuesday, February 26, 2008 9:29 AM To: Michael Anyadike-Danes Cc: r-help@r

Re: [R] Splitting a set of vectors in a list (Solved )

2008-03-14 Thread Bert Gunter
this is explicitly discussed within R's documentation, but you can find info on it in VR's S Programming, esp. p.24 and 4.3, Extracting or replacing coefficients. No doubt, other S/R books explain it also. Cheers, Bert Gunter Genentech Nonclinical Statistics 47374 -Original Message- From: [EMAIL

Re: [R] How to reverse colors in filled.contour?

2008-03-18 Thread Bert Gunter
from the Help file: color.palette: a color palette function to be used to assign colors in the plot. so color = function(x)rev(heat.colors(x)) should do it. -- Bert Gunter Genentech -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravi Varadhan Sent

Re: [R] Smoothing z-values according to their x, y positions

2008-03-19 Thread Bert Gunter
likelihood (in locfit package) etc. are also available for spatial smoothing. Perhaps the most basic place to look is the ?loess function in the base distribution, which will do exactly what you requested. Bert Gunter Genentech Nonclinical Statistics -Original Message- From: [EMAIL PROTECTED

Re: [R] Inverse t-distribution

2008-03-23 Thread Bert Gunter
Yes. And, amazingly, one can find out about it by typing help.search(t distribution) . Why don't you try it for yourself? -- Bert Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felipe Carrillo Sent: Sunday, March 23, 2008 6:18 PM To: [EMAIL

Re: [R] How to avoid ifelse statement converting factor to character

2009-06-24 Thread Bert Gunter
desirable behavior to me. It's then up to the user to recreate the factor as appropriate. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Mark Na Sent: Wednesday, June 24, 2009 9:34 AM To: r

Re: [R] distinguish regression lines in grouped, black and white lattice xyplot

2009-06-24 Thread Bert Gunter
meaningful display to provide viewers interpretable information. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Katharina May Sent: Wednesday, June 24, 2009 12:28 PM To: r-help@r-project.org

Re: [R] Clearing out or reclaiming memory

2009-06-30 Thread Bert Gunter
It is usually better (and easier) to use the data argument that comes with many modelling functions -- Yes. And for functions without a data argument, see ?with. Bert Gunter Genentech Nonclinical Biostatistics __ R-help@r-project.org mailing

Re: [R] productivity tools in R?

2009-07-02 Thread Bert Gunter
-- (The Windows GUI does have syntax completion using TAB, but not the hints.) I never knew that! Where is this documented? -- i.e. where are all the features of the Windows GUI documented (as there may well be others I don't know about). -- Bert Gunter Genentech Nonclinical Statistics

Re: [R] Remove all spaces from a string so it can be used by assign() -- A Fortune?

2009-07-06 Thread Bert Gunter
The below seems like a Fortunes candidate to me. -- Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Greg Snow Sent: Friday, July 03, 2009 7:00 PM To: Kurt Smith; r-help@r-project.org

Re: [R] vectorizing a function

2009-07-07 Thread Bert Gunter
?ifelse Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Steve Jaffe Sent: Tuesday, July 07, 2009 12:42 PM To: r-help@r-project.org Subject: [R] vectorizing a function I'm sure I'm

Re: [R] math symbols in R

2009-07-09 Thread Bert Gunter
?plotmath Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Mary A. Marion Sent: Thursday, July 09, 2009 12:04 PM To: r-help@r-project.org Subject: [R] math symbols in R Hello, I

Re: [R] IF STATEMENTS

2009-07-10 Thread Bert Gunter
See also ?switch (where quotes are _not_ required). Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Dimitris Rizopoulos Sent: Friday, July 10, 2009 1:15 PM To: Mary A. Marion Cc: r

Re: [R] Help me get this function to work...

2009-07-13 Thread Bert Gunter
to this and your other numerous basic questions. That's what they're there for. -- Bert Gunter Genentech, Inc. __ 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] nls, reach limit bounds

2009-07-15 Thread Bert Gunter
: the model can't be adequately fit by the data. Either get more data or choose a more appropriate model. Cheers, Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ravi Varadhan Sent: Tuesday

Re: [R] Passing additional arguments through '...'

2009-07-15 Thread Bert Gunter
not partially match abc [1] 0 Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of escher2079 Sent: Wednesday, July 15, 2009 9:06 AM To: r-help@r-project.org Subject: [R] Passing additional

Re: [R] Nested ANOVA residuals error

2009-07-16 Thread Bert Gunter
Hint: You have 27 observations fit by 27 fixed effects (including the mean). You need to consult a statistician, as you seem not to have the basic statistical understanding required. Person should be a random effect. Was this a homework problem, perchance? Bert Gunter Genentech Nonclinical

Re: [R] Naming Conventions

2009-07-20 Thread Bert Gunter
partial answer: ?make.names Also ?UseMethod for S3 related names. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of escher2079 Sent: Monday, July 20, 2009 8:40 AM To: r-help@r

Re: [R] Normalize data

2009-07-20 Thread Bert Gunter
Start by using the Help docs and functionality, not this list. ?help.search help.search(scale) ?scale Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Noah Silverman Sent: Monday

[R] IDE's/Editors for R-- Was: Multi-line comments?

2009-07-22 Thread Bert Gunter
You can find a list of IDE's/R code editors for R here: http://www.sciviews.org/_rgui/projects/Editors.html However, this is somewhat dated, and you may find others not here just by googling on R Editor, R IDE, etc. Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From

Re: [R] computing the radius of an arc

2009-07-23 Thread Bert Gunter
of being answered. Bert Gunter Genentech Nonclinical Statistics On Thu, Jul 23, 2009 at 10:13 PM, Nair, Murlidharan Tmn...@iusb.edu wrote: Hi!! I am interesting in computing the radius of an arc that best approximates a curve. Is there an R function that I can use to draw an arc? Nothing

Re: [R] How to deal with this random variable?

2009-07-27 Thread Bert Gunter
because they should probably have a deep understanding of how your experiment was conducted, data gathered, measurements made, etc. to be able to give you worthwhile advice. Long distance consulting based on incomplete understanding is very risky. Caveat emptor! Bert Gunter Genentech Nonclinical

<    1   2   3   4   5   6   7   8   9   10   >