Re: [R] Bubble Plot with Pie Charts

2005-02-13 Thread Werner Wernersen
OK, I used the paper Integrating grid Graphics Output with Base Graphics Output by Paul Murrell (R News) which has an example of implementing pie maps and made up a function from that. It looks actually very nice! One thing I couldn't figure out is if I can make pie charts transparent, so that

[R] Transparent Pie Charts

2005-02-13 Thread Werner Wernersen
Hi again! I put this question in another topics post before but I fear it might drown there. Is it possible to have transparent / alpha blended colors for pie charts? I am using the pies in a map of pies and those pies are sometimes overlapping so it would be great to see if another pie lies

Re: [R] Paste script in R stops before end of file

2005-02-13 Thread Uwe Ligges
Tomas Willebrand wrote: Hi! I can only paste a limited amount of text into R (which is started in KDEs Konsole). The script I have problem with stops pasting after 4224 characters, and 78 lines. Although I can get Rs' attention at that point by just pressing Return. The script mainly consists

Re: [R] Bubble Plot with Pie Charts

2005-02-13 Thread Uwe Ligges
Werner Wernersen wrote: OK, I used the paper Integrating grid Graphics Output with Base Graphics Output by Paul Murrell (R News) which has an example of implementing pie maps and made up a function from that. It looks actually very nice! One thing I couldn't figure out is if I can make pie

[R] Multi-item Scale Development Training

2005-02-13 Thread Taleb Elm
I apologize for cross-posting. Could you recommend any courses on multi-item scale development in UK or Europe? Also, could you recommend any resources on building multi-item scales for management research? __ R-help@stat.math.ethz.ch mailing list

Re: [R] question on indexing of a matrix

2005-02-13 Thread Roger Levy
Peter Dalgaard [EMAIL PROTECTED] writes: Roger Bivand [EMAIL PROTECTED] writes: On 12 Feb 2005, Roger Levy wrote: Hi, I have a k-level factor F of length n that I would like to use to extract from an n-by-k matrix M a vector V such that V[i] = M[i,as.numeric(F)[i]]

[R] Re: comparing predicted sequence A'(t) to observed sequence A(t)

2005-02-13 Thread Christian Jost
From: Suresh Krishna [EMAIL PROTECTED] Subject: [R] comparing predicted sequence A'(t) to observed sequence A(t) To: r-help@stat.math.ethz.ch Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, I have a question that I have not been succesful in

RE: [R] data.frame into list by columns; merge and row.names

2005-02-13 Thread Tiago R Magalhaes
thanks to Andy Liaw and james holtman that replied to my posting this is very basic stuff, but for people strugling with these concepts - as I am... - here goes a more detailed explanation # what I wanted was to create a list where every element would be a column of a given data.frame the

Re: [R] Re: comparing predicted sequence A'(t) to observed sequence A(t)

2005-02-13 Thread Spencer Graves
Regarding applying repeated measures to time series, the lme software in packages nlme and lme4 provide many options for doing that. The best discussion I know of this is Pinheiro and Bates (2000) Mixed-Effects Models in S and S-PLUS (Springer). hope this helps. spencer graves

[R] row equality.

2005-02-13 Thread James Bullard
I think that this is an easy one... I have a matrix where each row is an (x,y,z) triplet. Given a potential (xnew,ynew,znew) triplet I want to know if the matrix already contains a row with the new values (the space already has that point). I can do it using a for loop, but I would like to know

RE: [R] row equality.

2005-02-13 Thread Liaw, Andy
Try something like: x1 - matrix(sample(1:5, 30, replace=TRUE), ncol=3) x2 - x1[4,] which(colSums(abs(t(x1) - x2)) == 0) [1] 4 Note: If the data are not all integers, you probably should test whether the absolute sum differences is less than some very small number, rather than == 0. This

[R] 64 Bit R Background Question

2005-02-13 Thread Thomas Colson
Hi, I've collected quite a bit of elevation data (LIDAR elevation points) and am looking for a suitable platform to do analysis and modeling on it. The data is sitting in an Oracle database, one table, 200 million rows of x,y, and z. I'm trying to figure out what hardware resources we need to

[R] Update error in Fedora Core 3

2005-02-13 Thread Thomas W Volscho
Dear List, I am new to Linux and I just installed Fedora Core 3 (workstation installation) on my PC--software came from a book called Red Hate Linux Fedora 3 Unleashed. Installing R was relatively easy. I ran into a problem, however. After typing Update.Packages() I am able to download them,

[R] graphics - current filename

2005-02-13 Thread Paul Sorenson
I would like to query R for the current (or last used) filename for a graphics device. Eg after png(filename=plot%02d.png) I would like something like the output of dev.cur() but with the %02d expanded to the current name. Can anyone point me at where I can find this please?

RE: [R] combinations without repetition

2005-02-13 Thread Adaikalavan Ramasamy
This can be simplified slightly by unique( t( sapply( permn( c(1,1,0) ), c ) ) ) Here is another possibility : a - expand.grid( 0:1, 0:1, 0:1 ) a[ which( rowSums(a) == 2 ), ] which gives Var1 Var2 Var3 4110 6101 7011 Regards, Adai On Sun,

[R] how can i make my program faster

2005-02-13 Thread Cuichang Zhao
Hello, right now, i have a program to collect data into a table. right now, my table is table1 - data.frame(trial = NA, x = NA, y = NA) for each time when i want to add data into my data, i have to copy data of table into an array for each column, and then i add new data into my array, then i

[R] Sub with and without perl=TRUE

2005-02-13 Thread Denham Robert
I have a problem doing substitution using sub and perl=TRUE when the elements of x have fewer characters than the replacement string. Let me show you what I mean: sub(m,billy,m) [1] billy But using perl=TRUE, I can only return a result as long as my x: sub(m,billy,m,perl=TRUE) [1] b

Re: [R] graphics - current filename

2005-02-13 Thread Uwe Ligges
Paul Sorenson wrote: I would like to query R for the current (or last used) filename for a graphics device. Eg after png(filename=plot%02d.png) I would like something like the output of dev.cur() but with the %02d expanded to the current name. You cannot, it is handled internally and the name is