Re: [R] create dataframe using structure ()

2014-05-11 Thread Luigi Marongiu
Dear all, there was indeed a misplaced parenthesis, so the last line runs as: .Names = c(row, stimulation, positivity, group, copy)), row.names = c(NA, -120L), class = data.frame) with two )) at the end of .Names. problem solved, thank you Luigi On Thu, Mar 13, 2014 at 7:29 PM, Rui

[R] How to change the order of the plot?

2014-05-11 Thread meng
boxplot(count ~ spray, data = InsectSprays) The order of the plot is: A,B,C,D,E,F. If I want the order of the plot is: F,B,E,A,D,C, how to do then? Many thanks! My best -- QQ: 1733768559 [[alternative HTML version deleted]] __

Re: [R] How to change the order of the plot?

2014-05-11 Thread Uwe Ligges
On 11.05.2014 10:37, meng wrote: boxplot(count ~ spray, data = InsectSprays) The order of the plot is: A,B,C,D,E,F. If I want the order of the plot is: F,B,E,A,D,C, how to do then? For example, you can change the order of the levels, so that you get a more natural ordering for your task.

Re: [R] How to change the order of the plot?

2014-05-11 Thread Bert Gunter
see also ?reorder.factor -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. H. Gilbert Welch On Sun, May 11, 2014 at 6:42 AM, Uwe Ligges lig...@statistik.tu-dortmund.de

Re: [R] How to change the order of the plot?

2014-05-11 Thread Bert Gunter
... sorry, should be simply ?reorder -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. H. Gilbert Welch On Sun, May 11, 2014 at 8:04 AM, Bert Gunter bgun...@gene.com wrote:

Re: [R] How to change the font size on the title of a xyplot

2014-05-11 Thread Eduardo M. A. M. Mendes
Many thanks. Ed On May 11, 2014, at 1:11 AM, Duncan Mackay dulca...@bigpond.com wrote: Hi Just an addition for the future : If you wanted to have different main title plots to the same device then par.settings can be used for each plot xyplot(1 ~1, par.settings =

[R] x y distances based on great circle

2014-05-11 Thread Trevor Davies
Hello I'm interested in calculating the # of Km north/south and east/west between two sets of geographic points. Sort of like the gcdist() function but rather than just a single distance have the x y broken up. I've found some raw code online but I have been unable to find a package that has

[R] invalid digital signature for R-3.1.0-mavericks

2014-05-11 Thread Paul Cantalupo
Hello, I'm trying to upgrade R from 3.0.3 to 3.1 on MacBookPro Mavericks 10.9.2. After downloading R-3.1.0-mavericks.pkg from http://cran.stat.ucla.edu/ and clicking it, I get the following error message: R-3.1.0-mavericks.pkg can't be installed because its digital signature is invalid. I

[R] clipart - box with rounded corners?

2014-05-11 Thread Spencer Graves
Is there a function for creating a box with rounded corners? I can write one, but I thought I'd ask first. Thanks, Spencer Graves __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] clipart - box with rounded corners?

2014-05-11 Thread Jim Lemon
On Sun, 11 May 2014 06:46:29 PM Spencer Graves wrote: Is there a function for creating a box with rounded corners? I can write one, but I thought I'd ask first. Hi Spencer, The tab.title function in plotrix has most of the code for this. Jim

Re: [R] How to change the order of the plot?

2014-05-11 Thread meng
Thanks! -- QQ: 1733768559 At 2014-05-11 23:08:06,Bert Gunter gunter.ber...@gene.com wrote: ... sorry, should be simply ?reorder -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 Data is not information. Information is not knowledge. And knowledge is certainly not

Re: [R] clipart - box with rounded corners?

2014-05-11 Thread Paul Murrell
Hi There is a grid.roundrect(), in case you are working in that alternative universe. Paul On 05/12/14 13:46, Spencer Graves wrote: Is there a function for creating a box with rounded corners? I can write one, but I thought I'd ask first. Thanks, Spencer

Re: [R] clipart - box with rounded corners?

2014-05-11 Thread Spencer Graves
On 5/11/2014 8:29 PM, Jim Lemon wrote: On Sun, 11 May 2014 06:46:29 PM Spencer Graves wrote: Is there a function for creating a box with rounded corners? I can write one, but I thought I'd ask first. Hi Spencer, The tab.title function in plotrix has most of the code for

Re: [R] clipart - box with rounded corners?

2014-05-11 Thread Duncan Mackay
Hi Spencer I do not know if library(tikzDevice) or such ilk will be of help - it may depend on what you are doing. NB I am not familiar with it Regards Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au