Re: [R] Confidence intervals for PCA scores/eigenvalues

2008-02-01 Thread Charles C. Berry
commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La

Re: [R] rolling sum (like in Rmetrics package)

2008-02-13 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] ipf function in R

2008-03-05 Thread Charles C. Berry
, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego

Re: [R] CROSSOVER TRIALS IN R (Binary Outcomes)

2008-03-05 Thread Charles C. Berry
-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 mailto

Re: [R] switch with a single character

2008-03-06 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:[EMAIL PROTECTED] UC San Diego http

Re: [R] p-adjust using Benjamn and Hochberg

2008-03-09 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

Re: [R] Help on vectorizing

2008-03-09 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] re moving parentheses/square brackets from data frame numbers

2008-03-10 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] [follow-up] Longitudinal with binary covariates and outcome

2008-03-12 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

Re: [R] fast way to compare two matrices of combinations

2008-03-13 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] Rejection sampling to draw from distributions

2008-03-14 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] rgl build warnings and loading error on Linux

2008-03-17 Thread Charles C. Berry
On Mon, 17 Mar 2008, Liviu Andronic wrote: On Mon, Mar 17, 2008 at 1:54 AM, Charles C. Berry [EMAIL PROTECTED] wrote: emerge -pD R to see what would get rebuilt. (This should rebuild out-of-date dependencies.) emerge -tvaD R proposes me to emerge all out-dated packages found

Re: [R] rgl build warnings and loading error on Linux

2008-03-18 Thread Charles C. Berry
-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 mailto

Re: [R] Simple problem in R

2008-03-24 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] Output of order() incorrectly ordered?

2008-03-25 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

Re: [R] generate random numbers subject to constraints

2008-03-26 Thread Charles C. Berry
Ala' Jaouni ajaouni at gmail.com writes: X1,X2,X3,X4 should have independent distributions. They should be between 0 and 1 and all add up to 1. Is this still possible with Robert's method? NO. If they add to 1 they are not independent. As Ted remarked, the constraints define two

Re: [R] generate random numbers subject to constraints

2008-03-27 Thread Charles C. Berry
, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San

Re: [R] Tabulating Sparse Contingency Table

2008-03-28 Thread Charles C. Berry
-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu

Re: [R] matrix problem

2009-07-04 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] Solving quadratic equations with covariance term

2009-07-07 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 perform a Likelihood-ratio test?

2009-07-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/cberry

Re: [R] survSplit with data.frame containing a Surv object

2009-07-13 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] survSplit with data.frame containing a Surv object

2009-07-13 Thread Charles C. Berry
On Mon, 13 Jul 2009, Heinz Tuechler wrote: At 20:18 13.07.2009, Charles C. Berry wrote: On Mon, 13 Jul 2009, Heinz Tuechler wrote: Dear All, since years I am struggling with Surv objects in data.frames. The following seems to have to do with it. See below the modified example from

Re: [R] survSplit with data.frame containing a Surv object

2009-07-13 Thread Charles C. Berry
On Mon, 13 Jul 2009, Charles C. Berry wrote: On Mon, 13 Jul 2009, Heinz Tuechler wrote: At 20:18 13.07.2009, Charles C. Berry wrote: On Mon, 13 Jul 2009, Heinz Tuechler wrote: Dear All, since years I am struggling with Surv objects in data.frames. The following seems to have

Re: [R] hi, how can we avoid maskiing error in R

2009-07-14 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] Simulation functions for underdispered Poisson and binomial distributions

2009-07-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(858) 534-2098

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

2009-07-15 Thread Charles C. Berry
, 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 Diego 92093

Re: [R] spreadsheet-style autoupdating

2009-07-15 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] Help with Conditional Logit

2009-07-17 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] Passing additional arguments through '...'

2009-07-17 Thread Charles C. Berry
what you want it to do. HTH, Chuck Charles C. Berry wrote: I think you'll need to dig into sys.call() and match.call() and put together your own matching scheme to force a function to first match by position and then match all else by name. If match.call() is unfamiliar to you

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

2009-07-17 Thread Charles C. Berry
... in the formals of a function and calls are constructed that rely on position taking precedence over partial matches in ... . HTH, Chuck Charles C. Berry wrote: I did not follow that. But I might guess that you do not grok what mf - eval(mf, parent.frame()) is doing in lm

Re: [R] How to do adjust for sex, age, genotype for a data

2009-07-17 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] Can I use mcnemar.test for 3*3 tables (or is there a bug in the command?)

2009-07-19 Thread Charles C. Berry
[[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/ La Jolla, San Diego 92093

Re: [R] Sampling of non-overlapping intervals of variable length

2009-07-19 Thread Charles C. Berry
-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://famprevmed.ucsd.edu

Re: [R] Can I use mcnemar.test for 3*3 tables (or is there a bug in the command?)

2009-07-19 Thread Charles C. Berry
On Sun, 19 Jul 2009, Peter Dalgaard wrote: Charles C. Berry wrote: The test mcnemar.test() constructs is one of symmetry, which is equivalent to marginal homogenity in hierarchical log-linear models as I recall from Bishop, Fienberg, and Holland's 1975 opus on count data. Umm, er

Re: [R] A Harder Score Test Question

2009-07-25 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

Re: [R] convert for loop into apply()

2008-08-03 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] Index alternative to nasty FOR loop?

2008-08-06 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] Union of columns of two matrices

2008-08-07 Thread Charles C. Berry
, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] operating on arrays of unknown dimensionality

2008-08-08 Thread Charles C. Berry
-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http

Re: [R] RPro

2008-08-09 Thread Charles C. Berry
, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] Between the values

2008-08-12 Thread Charles C. Berry
...{{dropped:10}} __ 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] produce variable on the fly

2008-08-12 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] ignoring zeros or converting to NA

2008-08-12 Thread Charles C. Berry
, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] ignoring zeros or converting to NA

2008-08-12 Thread Charles C. Berry
thanks Stephen Sefick On Tue, Aug 12, 2008 at 6:32 PM, Charles C. Berry [EMAIL PROTECTED] wrote: On Tue, 12 Aug 2008, Mike Prager wrote: rcoder [EMAIL PROTECTED] wrote: I have a matrix that has a combination of zeros and NAs. When I perform certain calculations on the matrix, the zeros generate

Re: [R] Determining cause of error?

2008-08-13 Thread Charles C. Berry
-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] Detecting duplicate values

2008-08-14 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] stopifnot message mutation

2008-08-15 Thread Charles C. Berry
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:[EMAIL

Re: [R] Combination with repetition

2008-08-15 Thread Charles C. Berry
-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu

Re: [R] matrix row product and cumulative product

2008-08-17 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:[EMAIL PROTECTED] UC

Re: [R] A doubt about lm and the meaning of its summary

2008-08-19 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:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry

Re: [R] Reading in a value of .Random.seed in .Rprofile

2008-08-20 Thread Charles C. Berry
On Thu, 21 Aug 2008, Rolf Turner wrote: On 21/08/2008, at 10:21 AM, Charles C. Berry wrote: On Thu, 21 Aug 2008, Rolf Turner wrote: For reasons that are best known to myself [ ;-) ] I have a value of .Random.seed saved (via dput()) in a file ``.Random.seed.save''. In my

Re: [R] vector operation using regexpr?

2008-08-20 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:[EMAIL PROTECTED

Re: [R] [dist]how to analise a large matrix?

2008-08-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:[EMAIL PROTECTED] UC San Diego http

Re: [R] Large Data Set Help

2008-08-25 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:[EMAIL

Re: [R] unexpected symbol error?

2008-08-25 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] sequence with start and stop positions

2008-08-26 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] A manipulation problem for a large data set in R

2008-08-27 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:[EMAIL PROTECTED] UC San Diego http

Re: [R] sample consecutive integers efficiently

2008-08-28 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] lost attrubute:names

2008-08-28 Thread Charles C. Berry
]] Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] more efficient double summation...

2008-08-29 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:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty

Re: [R] Counting character occurrences in data frame

2008-09-23 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

[R] foruntes candidate?? WAS:Re: Bug in is ?

2008-09-25 Thread Charles C. Berry
. [rest dleted] Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] FORTUNES WAS :foruntes candidate?? WAS:Re: Bug in is ?

2008-09-25 Thread Charles C. Berry
Sorry about my clumsy fingers! :-( On Thu, 25 Sep 2008, Charles C. Berry wrote: Douglas Bates [after a tortuous discussion of the behavior of is(7,integer)]: As for the question of the bug in is, ... it depends what your definition of `is' is. [Bill Clinton] --- Good one, Douglas

Re: [R] Using functions that contain sums

2008-09-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:[EMAIL PROTECTED

Re: [R] Dealing With Extremely Large Files

2008-09-26 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:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty

Re: [R] nonlinear fitting on many voxels

2008-06-09 Thread Charles C. Berry
version deleted]] __ 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] nonlinear fitting on many voxels

2008-06-09 Thread Charles C. Berry
for (j in 1:length(t)){ reslt;- function(p) sum(((R1Tn[j]-R10T[j])-f(p))^2)nbsp;nbsp; out lt;-nbsp; ( nlminb(c(0.1,0.25),res) ) cf[j]lt;-out$par[1] # fill the 1st estimated parameter for each voxel into cf } Thank you, Ayman --- On Mon, 6/9/08, Charles C. Berry lt;[EMAIL PROTECTED]gt; wrote: From

Re: [R] Some problem with the OLS

2008-06-11 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] applying a function recursively

2008-06-11 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:[EMAIL PROTECTED

Re: [R] Looping, Control Flow Conditional Statements

2008-06-13 Thread Charles C. Berry
version deleted]] __ 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] How to output glm summary to csv file

2008-06-16 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] keeping original order in factor()

2008-06-18 Thread Charles C. Berry
commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La

Re: [R] R web site-Useability finding varous bits of documentation

2008-06-19 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] Generating groupings of ordered observations

2008-06-21 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] Generating groupings of ordered observations

2008-06-21 Thread Charles C. Berry
to choose(n-1, 0:(n-1)) as the basis to determine the number of possible combinations, allows me to break the result (res[,ord]) down into the chunks I need to work with. Many thanks, Gavin On Sat, 2008-06-21 at 11:30 -0700, Charles C. Berry wrote: On Sat, 21 Jun 2008, Gavin Simpson wrote: Dear List

Re: [R] Generating groupings of ordered observations

2008-06-21 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] One-to-one matching?

2008-06-22 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] Columnwise Alternate Subsetting of a Data Frame

2008-06-22 Thread Charles C. Berry
, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] Data matrix of all possible response patterns

2008-06-26 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] how do I read only specific columns using read.csv or other read function

2008-07-02 Thread Charles C. Berry
-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu

Re: [R] extracting index list when using tapply()

2008-07-08 Thread Charles C. Berry
://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:[EMAIL PROTECTED] UC San Diego

Re: [R] number of effective tests

2008-07-10 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] More compact form of lm object that can be used for prediction?

2008-07-11 Thread Charles C. Berry
. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] how do I read only specific columns using read.csv or other read function

2008-07-13 Thread Charles C. Berry
C 1 HTH, Chuck On Wed, Jul 2, 2008 at 1:13 PM, Charles C. Berry [EMAIL PROTECTED] wrote: On Wed, 2 Jul 2008, Ben Tupper wrote: On Jul 2, 2008, at 6:53 AM, Philip James Smith wrote: Hi R people: I have huge files with as many as 5000 columns. I'd really like to read only certain

Re: [R] Difficultes with grep

2008-07-13 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

Re: [R] Sampling distribution (PDF CDF) of correlation

2008-07-17 Thread Charles C. Berry
. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] avoid loop with three-dimensional array

2008-07-21 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] Compile R code into exe

2008-04-02 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

Re: [R] dots and substitute

2008-04-06 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:[EMAIL PROTECTED

Re: [R] post hoc statistical power

2008-04-08 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:[EMAIL PROTECTED

Re: [R] rgl build warnings and loading error on Linux

2008-04-09 Thread Charles C. Berry
On Wed, 9 Apr 2008, Liviu Andronic wrote: Dear R users, This is a follow-up of a recent discussion on building rgl on Gentoo Linux. Please read bellow. On Tue, Mar 18, 2008 at 7:24 PM, Charles C. Berry [EMAIL PROTECTED] wrote: Below substitute 'nvidia-drivers' or whatever you use

Re: [R] system.time gives error when = is used for assignment (R-2.6.0)

2008-04-10 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:[EMAIL PROTECTED] UC San Diego http

Re: [R] how many records R can display on the screen?

2008-04-12 Thread Charles C. Berry
-guide.html and provide commented, minimal, self-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu

Re: [R] looking for a string

2008-04-14 Thread Charles C. Berry
XEN ICT Team __ 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] glht with a glm using a Gamma distribution

2008-04-15 Thread Charles C. Berry
Jarrett Byrnes Population Biology Graduate Group, UC Davis Bodega Marine Lab 707-875-1969 http://www-eve.ucdavis.edu/stachowicz/byrnes.shtml [[alternative HTML version deleted]] Charles C. Berry(858) 534-2098

Re: [R] looking for a string

2008-04-15 Thread Charles C. Berry
On Tue, 15 Apr 2008, [Ricardo Rodriguez] Your XEN ICT Team wrote: Charles C. Berry wrote: You want ?regexpr Something like regexpr(Jalapa, as.character( unidad ) ) != -1 HTH, Chuck Please, look at this... substringJalapa - regexpr(Jalapa, as.character(conagua$unidad ) ) != -1

Re: [R] efficiently replacing values in a matrix

2008-04-16 Thread Charles C. Berry
-contained, reproducible code. Charles C. Berry(858) 534-2098 Dept of Family/Preventive Medicine E mailto:[EMAIL PROTECTED] UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

Re: [R] eval and parent.frame [was: Error in Design package: dataset not found for options(datadist)]

2008-04-17 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:[EMAIL PROTECTED] UC San Diego http

Re: [R] help me to debug this part of code?

2008-04-18 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

<    1   2   3   4   5   6   >