Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

33 results for “from:Jim Brennan”

Order of messgaes/ missing messages
Jim Brennan · Aug 3, 2004 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20040803/c060440e/attachment.pl

Tutorials on R
Jim Brennan · Aug 13, 2004 · r-help

There are quite a few helpful free contributions--under contributed go figure-- on the R site. "Using R for Data Analysis and Graphics" by John Maindonald (PDF [702kB], data sets and scripts are available at JM's homepage). I found...

how to plot density distribution with a arrow pointer?
Jim Brennan · Jun 15, 2005 · r-help

This is one way not so good R>X<-rnorm(1000000) R>X0<-.899 R>plot(density(X)) R>abline(v=X0) A better way R>x<-seq(-5,5,.01) R>plot(x,dnorm(x)) R>plot(x,dnorm...

vectorized lines
Jim Brennan · Aug 8, 2004 · r-help

abline(h=q) might be useful Jim ----- Original Message ----- From: "Mikkel Grum" <mi2kelgrum at yahoo.com> To: "RHelp" <r-help at stat.math.ethz.ch> Sent: Sunday, August 08, 2004 1:26 PM Subject: [R] vectorized lines > Hi, > > I thought...

match multiple records
Jim Brennan · Jun 20, 2005 · r-help

R>a<-c(1,2,3) R> b<-c(1,1,2,4) R>1*b%in%a*b [1] 1 1 2 0 R> b<-c(1,1,2,4,5,1,2,3,4) R>1*b%in...

ticks on the Time Axis
Jim Brennan · Aug 16, 2004 · r-help

? par ? axis basically you turn off the default labels and give your vector of character labels ----- Original Message ----- From: "Laura Holt" <lauraholt_983 at hotmail.com> To: <r-help at stat.math.ethz.ch> Sent: Monday, August 16, 2004 10...

Make matrix from SQL query result
Jim Brennan · Jun 24, 2005 · r-help

You can use reshape which seems popular this week! > rr equity_id date returns 1 1 20050619 0.12 2 2 20050619 0.03 3 1 20050620 -0.01 4 2 20050620 0.01 > reshape(rr,timevar="equity_id",direction...

Generating correlated data from uniform distribution
Jim Brennan · Jul 1, 2005 · r-help

> dat<-matrix(runif(2000),2,1000) > rho<-.77 > R<-matrix(c(1,rho,rho,1),2,2) > dat2<-t(ch)%*%dat > cor(dat2[1,],dat2[2,]) [1] 0.7513892 > dat<-matrix(runif(20000),2,10000) > rho<-.28 > R<-matrix(c...

R demos
Jim Brennan · Jun 24, 2005 · r-help

?demo may give you some ideas. -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Federico Calboli Sent: June 24, 2005 10:39 AM To: r...

Histogram of multiple series on one histogram
Jim Brennan · Jun 3, 2005 · r-help

I think you can use barplot for what you want. -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Depire Alexandre Sent: June 3, 2005 12...

Bucketting data
Jim Brennan · Jun 20, 2005 · r-help

?table maybe is what you want -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Uzuner, Tolga Sent: June 20, 2005 8:50 AM To: 'r...

tapply
Jim Brennan · Jun 20, 2005 · r-help

This may help R>wei V1 V2 V3 1 5540 389100307391 2600 2 5541 389100307391 2600 3 5542 389100307391 2600 4 5543 389100307391 2600 5 5544 389100307391 2600 6 5546 381300302513 NA 7 5547 387000307470 NA 8 5548 387000307470 NA...

R demos
Jim Brennan · Jun 24, 2005 · r-help

I have noticed that some data sets seem not to be available to me when I am running some of the examples or demos since I have changed versions. For example: demo(persp) demo(persp) ---- ~~~~~ Type <Return> to start : R...

Generating correlated data from uniform distribution
Jim Brennan · Jul 1, 2005 · r-help

OK now I am skeptical especially when you say in a weird way:-) This may be OK but look at plot(x,y) and I am suspicious. Is it still alright with this kind of relationship? For large N it...

Histogram of multiple series on one histogram
Jim Brennan · Jun 3, 2005 · r-help

Something like this!?!? R>new a [1,] 10 1 [2,] 20 1 [3,] 10 1 [4,] 20 1 [5,] 30 1 [6,] 10 2 [7,] 20 2 [8,] 20 2 [9,] 30 2 [10,] 30 2 [11,] 20 3 [12...

Question on Differentiating Two Populations in R
Jim Brennan · Aug 8, 2004 · r-help

If I am understanding correctly you can have a look at ? t.test and ? wilcox.test depending on assumptions. Jim ----- Original Message ----- From: "James R. Graham" <jamesrgraham at mac.com> To: <r-help at stat.math.ethz.ch> Sent: Saturday...

How to compare X1 = X2 = ... = Xn?
Jim Brennan · Jul 19, 2004 · r-help

This similar method may be quicker x1$new <- 1*(rowSums(x1)/ncol(x1)==x1[,1]) Learning lots from these type questions! Jim ----- Original Message ----- From: "Gabor Grothendieck" <ggrothendieck at myway.com> To: <r-help at stat.math.ethz.ch> Sent...

transform large matrix into list
Jim Brennan · Jun 7, 2005 · r-help

First it looks like in L you need a 3 in row 3 col 2. Anyway I think this is a non elegant way to do it without a loop that you can easily improve I imagine and should be...

return NA
Jim Brennan · Jun 29, 2005 · r-help

Here is a way to do it without a loop that could save some time for a big dataset. > df1 A B C D [1,] 1 3 6 8 [2,] 2 4 5 7 [3,] NA 1 6 4 [4...

Beginners Question: Make nlm work
Jim Brennan · Aug 25, 2004 · r-help

----- Original Message ----- From: "Johannes Graumann" <johannes_graumann at web.de> To: <r-help at stat.math.ethz.ch> Sent: Wednesday, August 25, 2004 7:07 PM Subject: [R] Beginners Question: Make nlm work > Hello, > > I'm new to this and...

Can't find what you're looking for? Try searching with Google .