Re: [R] Ternary plot and filled contour

2013-12-19 Thread Francesco Nutini
Nice job Nicholas!thanks for the e-mail. Regards, Francesco --- Francesco Nutini CNR-IREA Institute for Electromagnetic Sensing of the Environment Via Bassini 15, 20133 Milano (Italy) Tel: +39-02 23699 297 www.irea.cnr.it nutin

Re: [R] vectors comparison

2012-10-22 Thread Francesco Nutini
AM, Francesco Nutini nutini.france...@gmail.com wrote: Dear R-Users, I'd like to have your help on this problem: I have two vectors:x- c(0,1,0,0,0,0,0,0,0,0,0,1,0)y- c(0,0,-10,0,0,-10,0,-10,0,0,0,0,0) And I want to know where the value -500 in y have a correspondence value 1

Re: [R] vectors comparison

2012-10-17 Thread Francesco Nutini
sense - there is no value of -500 in Y (did you mean -10?). Anyway, I think this might work: which(y==-10 (x==1 | c(0, x[-length(x)]) == 1 | c(x[-1], 0) == 1)) ... though one would think there is a more elegant way On Wed, Oct 17, 2012 at 10:07 AM, Francesco Nutini nutini.france

[R] vectors comparison

2012-10-16 Thread Francesco Nutini
Dear R-Users, I'd like to have your help on this problem: I have two vectors:x- c(0,1,0,0,0,0,0,0,0,0,0,1,0)y- c(0,0,-10,0,0,-10,0,-10,0,0,0,0,0) And I want to know where the value -500 in y have a correspondence value 1 in x.Considering a buffer of one position before and after in x.i.e. in

Re: [R] [r] par and complex graph

2012-06-07 Thread Francesco Nutini
(x = .6, y = .7, corner = c(0, 0))) Regards, Carlos Ortegawww.qualityexcellence.es 2012/6/6 Francesco Nutini nutini.france...@gmail.com Thank you Brian! So, that's why sometimes I can't use the par() Now I'm using the ternaryplot in [vcd]. Then, I have to read the vcd help to looking

Re: [R] [r] par and complex graph

2012-06-06 Thread Francesco Nutini
To: nutini.france...@gmail.com CC: r-help@r-project.org Subject: Re: [R] [r] par and complex graph On 05/06/2012 11:17, Francesco Nutini wrote: Dear R-Users, I'd like to have some tips about printing graph. I use the command par to print more graphs in one window:par(mfrow=c(6,1)); par(oma=c(2.5, 2.5

[R] [r] par and complex graph

2012-06-05 Thread Francesco Nutini
Dear R-Users, I'd like to have some tips about printing graph. I use the command par to print more graphs in one window:par(mfrow=c(6,1)); par(oma=c(2.5, 2.5, 2.5, 2.5)); par(mar=c(0.5,4, 0.5, 0.5)) But this command doesn't run with complex graphic command (i.e. xyplot, ternaryplot).How can

[R] Ternary plot and filled contour

2012-06-04 Thread Francesco Nutini
Dear R-Users, I'd like to have some tips for a ternaryplot (vcd). I have this dataframe: a- c (0.1, 0.5, 0.5, 0.6, 0.2, 0, 0, 0.00417, 0.45) b- c (0.75,0.5,0,0.1,0.2,0.951612903,0.918103448,0.7875,0.45)c- c (0.15,0,0.5,0.3,0.6,0.048387097,0.081896552,0.20833,0.1) d-

[R] [r] histogram with mean for every break

2011-08-23 Thread Francesco Nutini
--- Francesco Nutini CNR-IREA Ist. per il Rilevamento Elettromagnetico dell'Ambiente Via Bassini 15, 20133 Milano (Italy) Tel: +39-02 23699 297 http://www.irea.cnr.it nutin...@irea.cnr.it Skype: ui...@hotmail.it Univ. mail: francesco.nut...@unimi.it

Re: [R] [r] histogram with mean for every break

2011-08-23 Thread Francesco Nutini
if this really makes the most sense, rather than just doing the breaks in some way yourself directly. There may well be a more elegant way but I think this gets the job done. Hope it helps, Michael On Tue, Aug 23, 2011 at 9:46 AM, Francesco Nutini nutini.france...@gmail.com wrote: Dear

Re: [R] [r] regression coefficient for different factors

2011-05-23 Thread Francesco Nutini
: Re: [R] [r] regression coefficient for different factors From: dimitri.liakhovit...@gmail.com To: nutini.france...@gmail.com CC: rb...@atsu.edu; r-help@r-project.org I think you don't need to write temp.data$a ~ temp.data$b just a ~ b On Fri, May 20, 2011 at 11:45 AM, Francesco Nutini

[R] [r] regression coefficient for different factors

2011-05-20 Thread Francesco Nutini
this information with excel, but the factor have 68 levels...maybe [r] have a useful command. Thanks, Francesco Nutini [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] [r] regression coefficient for different factors

2011-05-20 Thread Francesco Nutini
to know the r2 for a~b for every factors levels. Off course I can made the regression separately for every factors, but my dataset have 68 factors... -- Francesco Nutini PhD student CNR-IREA (Institute for Electromagnetic Sensing of the Environment) Milano, Italy From: rb...@atsu.edu

Re: [R] regression coefficient for different factors

2011-05-20 Thread Francesco Nutini
formula } On Fri, May 20, 2011 at 9:39 AM, Francesco Nutini nutini.france...@gmail.com wrote: Thanks for your reply, ?summary produce a multiple r2. My dataset il similar to this one: a b c 1 -1.4805676 0.9729927 x 2 1.5771695 0.2172974 x 3 -0.9567445

Re: [R] [r] regression coefficient for different factors

2011-05-20 Thread Francesco Nutini
)){ select your data here and write a regression formula } On Fri, May 20, 2011 at 9:39 AM, Francesco Nutini nutini.france...@gmail.com wrote: Thanks for your reply, ?summary produce a multiple r2. My dataset il similar to this one: a b c 1

Re: [R] how to enclose two xyplot

2011-04-15 Thread Francesco Nutini
you tried ?c.trellis in the latticeExtra package? HTH, baptiste On 13 April 2011 23:36, Francesco Nutini nutini.france...@gmail.com wrote: Dear R-users, I have to plot two xyplot, and I wish to enclose this two graphs with just one headline, the same x scale, the same grid etc

Re: [R] FW: [r] how to enclose two xyplot

2011-04-14 Thread Francesco Nutini
] FW: [r] how to enclose two xyplot From: baptiste.aug...@googlemail.com To: nutini.france...@gmail.com CC: r-help@r-project.org Hi, Have you tried ?c.trellis in the latticeExtra package? HTH, baptiste On 13 April 2011 23:36, Francesco Nutini nutini.france...@gmail.com wrote

Re: [R] how to enclose two xyplot

2011-04-14 Thread Francesco Nutini
...@googlemail.com To: nutini.france...@gmail.com CC: r-help@r-project.org Hi, Have you tried ?c.trellis in the latticeExtra package? HTH, baptiste On 13 April 2011 23:36, Francesco Nutini nutini.france...@gmail.com wrote: Dear R-users, I have to plot two xyplot, and I wish to enclose

[R] FW: [r] how to enclose two xyplot

2011-04-13 Thread Francesco Nutini
: |_|_|_| what i want: | | | | |_|_|_| I tried to use the command par, but it's doesn't work with xyplot. The two plot have, by default, the same x-axis scale. I know it's just a visual solution, but it could be nice for a paper! Thanks a lot, Francesco Nutini PhD

Re: [R] [r] align xyplot

2011-02-22 Thread Francesco Nutini
= c(2,4), aspect = 1, xlab = Height (inches)) The '2' voices are lower than the '1' voices, so the ordering is correct. HTH, Dennis On Mon, Jan 31, 2011 at 2:44 AM, Francesco Nutini nutini.france...@gmail.com wrote: Dear R users, I'm using xyplot to obtain a graph about

Re: [R] [r] align xyplot

2011-02-22 Thread Francesco Nutini
On Mon, Jan 31, 2011 at 2:44 AM, Francesco Nutini nutini.france...@gmail.com wrote: Dear R users, I'm using xyplot to obtain a graph about a correlation x~y for different years (a categoric variable). The program dispose automatically the graphs in this way: 2010 2007 2008 2009 2004

Re: [R] [r] align xyplot

2011-02-22 Thread Francesco Nutini
might need: ?trellis.par.set -- David. On Feb 22, 2011, at 7:23 AM, Francesco Nutini wrote: Hi Dennis and [R]users! as I said last week, I need more info about xyplot. Is it possible to change the color of the intestation of xyplot? By default is pale-pink, but light

Re: [R] [r] align xyplot

2011-02-03 Thread Francesco Nutini
than the '1' voices, so the ordering is correct. HTH, Dennis On Mon, Jan 31, 2011 at 2:44 AM, Francesco Nutini nutini.france...@gmail.com wrote: Dear R users, I'm using xyplot to obtain a graph about a correlation x~y for different years (a categoric variable). The program dispose

[R] [r] align xyplot

2011-01-31 Thread Francesco Nutini
of graphs? 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 I have tried with par code but it's doesn't work. Thanks for help, Francesco Nutini [[alternative HTML version deleted

Re: [R] overlap different line in a xyplot (lattice)

2010-12-13 Thread Francesco Nutini
, Francesco Nutini wrote: mmmh, yes this method works... but I have to overlap this two graphs: xyplot(a ~b |sites, data=dataset, col=red) xyplot(c ~b |sites, data=dataset, col=blue) a, b and c are columns in the same dataset. Sites is also a column in the dataset, but it's

[R] post-hoc test for ANCOVA method

2010-12-13 Thread Francesco Nutini
the correlation? Any suggestions how to perform post-hoc comparions? Thanks a lot! Francesco Nutini P.S. numbers have no significance, it's just an example [[alternative HTML version deleted]] __ R-help@r

Re: [R] [r] overlap different line in a xyplot (lattice)

2010-12-11 Thread Francesco Nutini
. How can I use your method? sorry for my ignorance! Francesco Nutini Date: Fri, 10 Dec 2010 10:13:00 -0800 From: ehl...@ucalgary.ca To: nutini.france...@gmail.com CC: r-help@r-project.org Subject: Re: [R] [r] overlap different line in a xyplot (lattice) On 2010-12-10 07:04, Francesco

[R] [r] overlap different line in a xyplot (lattice)

2010-12-10 Thread Francesco Nutini
dear [R] users, is there a way to plot different data (but with the same x-variables) in the same xyplot window? There are already a similar question, but the answer is not enought explanatory... Thanks a lot, Francesco [[alternative HTML

[R] difference between linear model scatterplot matrix

2010-12-03 Thread Francesco Nutini
Dear R-users, I'm studing a DB, structured like this (just a little part of my dataset): _ Site Latitude Longitude Year Tot-Prod Total_Density dmp Dendoudi-1

[R] [r] ANCOVA method

2010-12-03 Thread Francesco Nutini
--- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 If I read the line var_indipendent:factor can I understand if the factor influence significatvly the regression between dependent-indipendent variable? Thanks a lot! Francesco Nutini P.S. numbers have no significance

[R] summary() of a linear model

2010-12-03 Thread Francesco Nutini
Dear R-users, Why variables that appear correlated with dependent variable in a scatterplot, results not correlated in the summary of linear model, and vice versa? I mean, variable Longitude (see the example below) is correlated (***) with dependent variable in the linear model. But