Re: [R] Question on passing the subset argument to an lm wrapper

2010-10-25 Thread Charles C. Berry
__ 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. Charles C. Berry(858) 534-2098

Re: [R] Merging nested lists

2010-10-27 Thread Charles C. Berry
, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San

Re: [R] Merging nested lists

2010-10-28 Thread Charles C. Berry
On Wed, 27 Oct 2010, Charles C. Berry wrote: On Wed, 27 Oct 2010, Alex P. wrote: Hello All, I have multiple list of lists in the form of Mylist1[[N]][[K]]$Name_i, with N=1..6, K=1..3, and i=1..7. Each Name_i is a matrix. I have 30 of these objects Mylist1, Mylist2, ... I would like

Re: [R] count occurrence and distance of characters in string

2010-11-04 Thread Charles C. Berry
-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. Charles C. BerryDept of Family/Preventive Medicine cbe

Re: [R] count occurrence and distance of characters in string

2010-11-04 Thread Charles C. Berry
) $d [1] 0 0 $j numeric(0) $k [1] 2 3 0 $l [1] 0 $o [1] 3 2 4 Chuck On 11/05/2010 12:28 AM, Charles C. Berry wrote: On Thu, 4 Nov 2010, Immanuel wrote: Hello all, I want to know how often one character occurs in a given string and the distance from between every two occurences

Re: [R] as.matrix behaves weird

2010-11-14 Thread Charles C. Berry
and provide commented, minimal, self-contained, reproducible code. Charles C. BerryDept of Family/Preventive Medicine cbe...@tajo.ucsd.eduUC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] efficient conversion of matrix column rows to list elements

2010-11-17 Thread Charles C. Berry
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. BerryDept of Family/Preventive Medicine cbe...@tajo.ucsd.eduUC San Diego http://famprevmed.ucsd.edu

Re: [R] the first. from SAS in R

2010-11-23 Thread Charles C. Berry
. __ 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. Charles C. Berry

Re: [R] the first. from SAS in R

2010-11-23 Thread Charles C. Berry
commented, minimal, self-contained, reproducible code. Charles C. BerryDept of Family/Preventive Medicine cbe...@tajo.ucsd.eduUC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] Slow update(insert) on Data.frame

2010-11-23 Thread Charles C. Berry
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. BerryDept of Family/Preventive Medicine cbe...@tajo.ucsd.eduUC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San

Re: [R] the first. from SAS in R

2010-11-23 Thread Charles C. Berry
On Tue, 23 Nov 2010, David Winsemius wrote: On Nov 23, 2010, at 11:04 AM, Charles C. Berry wrote: On Tue, 23 Nov 2010, Dennis Murphy wrote: Interesting. Check this out: u - sample(c(TRUE, FALSE), 10, replace = TRUE) u [1] FALSE FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE

Re: [R] the first. from SAS in R

2010-11-23 Thread Charles C. Berry
, minimal, self-contained, reproducible code. Charles C. BerryDept of Family/Preventive Medicine cbe...@tajo.ucsd.eduUC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] more flexible ave

2010-11-30 Thread Charles C. Berry
://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. Charles C. BerryDept of Family/Preventive Medicine cbe...@tajo.ucsd.edu

Re: [R] Survival analysis MLE gives NA or enormous standard errors

2010-07-23 Thread Charles C. Berry
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe

Re: [R] Survival analysis MLE gives NA or enormous standard errors

2010-07-23 Thread Charles C. Berry
0 MAJOR 48 20.054760 MAJOR 49 14.787130 MAJOR 50 19.868580 MAJOR On Fri, 2010-07-23 at 11:52 -0700, Charles C. Berry wrote: On Fri, 23 Jul 2010, Christopher David Desjardins wrote: Hi, I am trying to fit the following model: sr.reg.s4.nore - survreg(Surv(age_sym4,sym4

Re: [R] , Updating Table

2010-07-24 Thread Charles C. Berry
Thanks. liu [[alternative HTML version deleted]] Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry

Re: [R] Loading Rdata files in a Package

2010-07-25 Thread Charles C. Berry
/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. Charles C. Berry(858) 534-2098 Dept of Family/Preventive

Re: [R] Survival analysis MLE gives NA or enormous standard errors

2010-07-27 Thread Charles C. Berry
On Tue, 27 Jul 2010, Christopher David Desjardins wrote: Hi Charles, On Fri, 2010-07-23 at 14:40 -0700, Charles C. Berry wrote: On Fri, 23 Jul 2010, Christopher David Desjardins wrote: Sorry. I should have included some data. I've attached a subset of my data (50/192) cases in a Rdata file

Re: [R] Fwd: Questions about templates for R

2010-07-27 Thread Charles C. Berry
and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry

Re: [R] Sweave and scan()

2010-07-27 Thread Charles C. Berry
, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] help splitting a data frame

2010-07-29 Thread Charles C. Berry
://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. Charles C. Berry(858) 534-2098 Dept of Family

Re: [R] Lognormal distribution - Range Factor

2010-08-01 Thread Charles C. Berry
. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] problem with indicators for switch

2010-08-02 Thread Charles C. Berry
__ 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. Charles C. Berry

Re: [R] discrete ECDF

2010-08-04 Thread Charles C. Berry
, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San

Re: [R] package for measurement error models

2010-08-07 Thread Charles C. Berry
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San

Re: [R] a question regarding updating formulas with coefficients

2010-08-11 Thread Charles C. Berry
commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La

Re: [R] a question regarding updating formulas with coefficients

2010-08-11 Thread Charles C. Berry
On Wed, 11 Aug 2010, David Winsemius wrote: On Aug 11, 2010, at 6:45 PM, Charles C. Berry wrote: On Wed, 11 Aug 2010, David Winsemius wrote: On Aug 11, 2010, at 6:03 PM, Jarrett Byrnes wrote: I have formulae with coefficents that I would like to update. However, I get some

Re: [R] reading fixed width format data with 2 types of lines

2010-08-12 Thread Charles C. Berry
Chemie Tammannstr. 4 D-37077 Goettingen GPG Key ID = A46BEE1A Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry

Re: [R] merge function in R?

2010-08-13 Thread Charles C. Berry
-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. Charles C. Berry(858) 534-2098

Re: [R] Plot in cartesian plane

2010-08-17 Thread Charles C. Berry
]] __ 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. Charles C. Berry(858) 534-2098

Re: [R] functions and multiple levels

2010-08-18 Thread Charles C. Berry
-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. Charles C. Berry(858) 534-2098

Re: [R] U value from wilcox.test

2010-08-20 Thread Charles C. Berry
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http

Re: [R] Making a series of similar, but modified .r files - suggested method(s)?

2010-08-21 Thread Charles C. Berry
]] __ 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. Charles C. Berry(858) 534-2098

Re: [R] on abort error, always show call stack?

2010-08-22 Thread Charles C. Berry
of South Carolina __ 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. Charles C

Re: [R] spare matrix replacing values efficiently

2010-08-22 Thread Charles C. Berry
. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] break the long R code lines automatically

2010-08-24 Thread Charles C. Berry
such to save the lines. HTH, Chuck Heyi [[alternative HTML version deleted]] Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http

Re: [R] OT: Is randomization for targeted cancer therapies ethical?

2010-09-20 Thread Charles C. Berry
__ 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. Charles C. Berry(858) 534-2098

Re: [R] drawing samples based on a matching variable

2010-09-29 Thread Charles C. Berry
-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. Charles C. Berry(858) 534-2098

Re: [R] sample from very large distribution

2010-09-29 Thread Charles C. Berry
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe

Re: [R] Sweave and LaTeX beamer class

2010-09-30 Thread Charles C. Berry
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http

Re: [R] Question about Reduce

2010-10-01 Thread Charles C. Berry
. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] How to apply vector value function to a multidimensional array indexed by the remaining dimensions?

2010-10-01 Thread Charles C. Berry
://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. Charles C. Berry(858) 534-2098 Dept

Re: [R] How to convert a list to a ... argument for a function

2010-10-05 Thread Charles C. Berry
commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La

Re: [R] [OT] (slightly) - OpenOffice Calc and text files

2010-10-13 Thread Charles C. Berry
and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty

Re: [R] Poisson Regression

2010-10-13 Thread Charles C. Berry
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. Charles C. Berry(858) 534-2098 Dept

Re: [R] Putting the same array into a matrix

2010-10-14 Thread Charles C. Berry
C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] How can I avoid a for-loop through sapply or lapply ?

2009-09-29 Thread Charles C. Berry
, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] Using optimize with array variables

2009-10-01 Thread Charles C. Berry
/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. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E

Re: [R] Using optimize with array variables

2009-10-01 Thread Charles C. Berry
variables instead of only one? Thanks again. Once again, the _posting guide_ rides to the rescue. Following the advice there, RSiteSearch(optimization,restric=functions) would have answered your question. :-) On Thu, Oct 1, 2009 at 1:06 PM, Charles C. Berry cbe...@tajo.ucsd.eduwrote

Re: [R] Tabulation

2009-10-10 Thread Charles C. Berry
commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla

Re: [R] many weighted means: is there a simpler way?

2009-10-11 Thread Charles C. Berry
-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093

Re: [R] lapply / mapply and assignments

2009-10-12 Thread Charles C. Berry
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http

Re: [R] lapply / mapply and assignments

2009-10-12 Thread Charles C. Berry
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. Charles C. Berry(858) 534-2098

Re: [R] lapply() reccursively

2009-10-13 Thread Charles C. Berry
and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty

Re: [R] populating an array

2009-10-15 Thread Charles C. Berry
. __ 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. Charles C. Berry

Re: [R] 2x2 Contingency table with much sampling zeroes

2009-10-20 Thread Charles C. Berry
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. Charles C. Berry(858) 534-2098

Re: [R] formula and model.frame

2009-10-21 Thread Charles C. Berry
tools_2.9.0 __ 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. Charles C

Re: [R] Bayesian regression stepwise function?

2009-10-22 Thread Charles C. Berry
code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] matrix^(-1/2)

2009-11-01 Thread Charles C. Berry
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu

Re: [R] avoiding loop

2009-11-01 Thread Charles C. Berry
]] __ 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. Charles C. Berry(858) 534-2098

Re: [R] matrix^(-1/2)

2009-11-01 Thread Charles C. Berry
-- David. Best Wishes, Spencer Graves Charles C. Berry wrote: On Sun, 1 Nov 2009, spencerg wrote: A question, a comment, and an alternative answer to matrix^(-1/2): QUESTION: What's the status of the expm package, mentioned in the email you cited from Martin

Re: [R] Issue with %in% - not matching identical rows in data frames

2009-11-03 Thread Charles C. Berry
://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. Charles C. Berry(858) 534-2098 Dept of Family

Re: [R] multiple tests: t-statistic for vectors in 4-dimensional array

2009-11-09 Thread Charles C. Berry
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC

Re: [R] A combinatorial optimization problem: finding the best permutation of a complex vector

2009-11-12 Thread Charles C. Berry
://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. Charles C. Berry(858) 534-2098 Dept of Family

Re: [R] Cluster analysis: hclust manipulation possible?

2009-11-16 Thread Charles C. Berry
and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty

Re: [R] non homogeneous poisson process

2009-11-17 Thread Charles C. Berry
-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. Charles C. Berry(858) 534-2098

Re: [R] hclust too slow?

2009-11-17 Thread Charles C. Berry
, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San

Re: [R] Sig differences in Loglinear Models for Three-Way Tables

2010-04-14 Thread Charles C. Berry
() provide. HTH, Chuck I'd really appreciate if someone can answer this question! Thank you, Sachi [[alternative HTML version deleted]] Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E

Re: [R] Efficient algorithm to get a solution path for ridge regression?

2010-04-15 Thread Charles C. Berry
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC

Re: [R] Bootstrapping a repeated measures ANOVA

2010-04-16 Thread Charles C. Berry
- 450 553575 Email: felix.fisc...@charite.demailto:felix.fisc...@charite.de [[alternative HTML version deleted]] Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu

Re: [R] GSL in C code for R

2010-04-16 Thread Charles C. Berry
that before committing to GSL. HTH, Chuck Sebastian J. Sebasti?n Tello Department of Biological Sciences 285 Life Sciences Building Louisiana State University Baton Rouge, LA, 70803 (225) 578-4284 (office and lab.) [[alternative HTML version deleted]] Charles C. Berry

Re: [R] efficient rolling rank

2010-04-16 Thread Charles C. Berry
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http

Re: [R] Question regarding R plot

2010-04-17 Thread Charles C. Berry
! __ 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. Charles C. Berry(858) 534-2098

Re: [R] update of a function

2010-04-18 Thread Charles C. Berry
, Carol __ 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. Charles C. Berry

Re: [R] efficient rolling rank

2010-04-18 Thread Charles C. Berry
. __ 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. Charles C. Berry(858) 534-2098

Re: [R] Results from clogit out of range?

2010-04-21 Thread Charles C. Berry
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http

Re: [R] Why does 'apply(.., 1, .., ..)' transpose result

2010-04-23 Thread Charles C. Berry
://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. Charles C. Berry(858) 534-2098 Dept of Family

Re: [R] Confusing concept of vector and matrix in R

2010-04-26 Thread Charles C. Berry
code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] Confusing concept of vector and matrix in R

2010-04-26 Thread Charles C. Berry
- rnorm(3) x - 1:3 lm(y~x,data=list(blah)) which arguably reveals a mistake by the user of the kind that having the unneeded 'drop=FALSE' suggested. HTH, Chuck Cheers, - Stu On Apr 26, 2010, at 9:40 PM, Charles C. Berry wrote: On Mon, 26 Apr 2010, Stu wrote: Hi all, One subtlety

Re: [R] How to work out 3-way probabilities

2010-04-27 Thread Charles C. Berry
commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La

Re: [R] Split a vector by NA's - is there a better solution then a loop ?

2010-04-29 Thread Charles C. Berry
useful rle() helps y - rle(!is.na(x)) split(x, rep( cumsum(y$val)*y$val, y$len ) )[-1] $`1` [1] 1 2 3 $`2` [1] 4 5 6 Chuck Barry Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe

Re: [R] Text dependent on a variable in a R function

2010-05-01 Thread Charles C. Berry
. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] Cochran's Theorem

2009-11-18 Thread Charles C. Berry
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. Charles C. Berry(858) 534-2098

Re: [R] help me avoid nested for() loops!

2009-11-20 Thread Charles C. Berry
-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. Charles C. Berry(858) 534-2098

Re: [R] How to make a cartesian pairlist from a vector?

2009-11-20 Thread Charles C. Berry
-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

[R] chol( neg.def.matrix ) WAS: Re: Choleski and Choleski with pivoting of matrix fails

2009-11-21 Thread Charles C. Berry
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC

Re: [R] Moving quantile()?

2009-11-26 Thread Charles C. Berry
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu

Re: [R] How to compute contrast where there are interaction terms in the linear model?

2009-12-01 Thread Charles C. Berry
, df ) matplot(row( inter ) , inter, type='b') Chuck Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La

Re: [R] Acumulate assign on lapply list

2009-12-03 Thread Charles C. Berry
. Kenneth [[alternative HTML version deleted]] Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry

Re: [R] dataset index

2009-12-03 Thread Charles C. Berry
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe

Re: [R] How to compute contrast where there are interaction terms in the linear model?

2009-12-04 Thread Charles C. Berry
On Fri, 4 Dec 2009, Peng Yu wrote: On Tue, Dec 1, 2009 at 4:04 PM, Charles C. Berry cbe...@tajo.ucsd.edu wrote: On Tue, 1 Dec 2009, Peng Yu wrote: Could somebody recommend some textbook how to compute contrast when there are interactions terms? Applied Linear Regression Models (book

Re: [R] How to compute contrast where there are interaction terms in the linear model?

2009-12-04 Thread Charles C. Berry
On Fri, 4 Dec 2009, Peng Yu wrote: On Fri, Dec 4, 2009 at 12:18 PM, Charles C. Berry cbe...@tajo.ucsd.edu wrote: On Fri, 4 Dec 2009, Peng Yu wrote: On Tue, Dec 1, 2009 at 4:04 PM, Charles C. Berry cbe...@tajo.ucsd.edu wrote: On Tue, 1 Dec 2009, Peng Yu wrote: Could somebody recommend

Re: [R] grep() exclude certain patterns?

2009-12-04 Thread Charles C. Berry
://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. Charles C. Berry(858) 534-2098 Dept of Family

Re: [R] Error when running Conditional Logit Model

2009-12-04 Thread Charles C. Berry
__ 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. Charles C. Berry

Re: [R] Partial correlations and p-values

2009-12-05 Thread Charles C. Berry
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu

Re: [R] problem with split eating giga-bytes of memory

2009-12-08 Thread Charles C. Berry
]] __ 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. Charles C. Berry

Re: [R] Significant performance difference between split of a data.frame and split of vectors

2009-12-09 Thread Charles C. Berry
commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La

Re: [R] Significant performance difference between split of a data.frame and split of vectors

2009-12-09 Thread Charles C. Berry
On Wed, 9 Dec 2009, Peng Yu wrote: On Wed, Dec 9, 2009 at 11:20 AM, Charles C. Berry cbe...@tajo.ucsd.edu wrote: On Wed, 9 Dec 2009, Peng Yu wrote: On Tue, Dec 8, 2009 at 11:06 PM, David Winsemius dwinsem...@comcast.net wrote: On Dec 9, 2009, at 12:00 AM, Peng Yu wrote: On Tue, Dec 8

Re: [R] Fwd: Evaluating a function within a pre-defined environment?

2009-12-09 Thread Charles C. Berry
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. Charles C. Berry(858) 534-2098 Dept

Re: [R] mutlidimensional in.convex.hull (was multidimensional point.in.polygon??)

2009-12-10 Thread Charles C. Berry
-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:cbe...@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

  1   2   3   4   5   6   >