Re: [R] Different x-axis scales using c() in latticeExtra

2013-07-20 Thread Felix Andrews
= FALSE), list(y = list(log = T, > equispaced.log = FALSE)))) > $`'x' is NULL so the result will be NULL` > rep(scales[[nm]], length.out = 2) > > The first one is telling you why the results should be different than you > expect. I'm not entirely sure wha

Re: [R] [lattice] display a projected map on a layerplot

2013-02-14 Thread Felix Andrews
ojection x-coord (km)", ylab="Projection y-coord (km)") > > ## Put date-time string and chemical name (O3) into a format I can use > ## to label the actual figure. > date.str <- format(o3$datetime[1], "%Y-%m-%d") > title(main=bquote(paste(O[3], " o

Re: [R] Help: stemming and stem completion with package tm in R

2011-11-07 Thread Felix Andrews
din:   http://group2.rdatamining.com >        [[alternative HTML 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/posti

Re: [R] Coloring Dirichlet Tiles

2011-09-06 Thread Felix Andrews
___ >> 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. >> > > __________

Re: [R] Constructing an additional key inside of a lattice panel

2011-08-18 Thread Felix Andrews
() is not a very complicated function, so >> you can take inspiration from it and write your own version that >> replaces the line >> >>    key <- simpleKey(text, ...) >> >> with >> >>    key <- >> >> where describe

Re: [R] Passing on "groups" argument to xyplot within a plotting function

2011-08-13 Thread Felix Andrews
roups, x = c(2280L, 2400L,  : >  object 'groups' not found >> TESTFUN3(F1 ~ F2,data=pb,groups=Type) > Error in eval(expr, envir, enclos) : object 'groups' not found > > Please help me understand what I am doing wrong. > > /Fredrik > > -- > "Life is like a

Re: [R] Any alternatives to draw.colorkey from lattice package?

2011-08-13 Thread Felix Andrews
t color.legend in the plotrix package will do what you are > asking, but it is in base graphics, and may not work with lattice. > > Jim > > __ > R-help@r-project.org mailing list > https://stat

Re: [R] panel.loess confidence interval

2011-06-05 Thread Felix Andrews
ence interval >> around a loess line using lattice? The only thing I've found is ggplot, but >> I prefer to stick with lattice out of preference. >> > > See segplot in latticeExtra panel.smoother() in latticeExtra is probably what you are after, it is based

Re: [R] ylab spacing in resizePanels in latticeExtra

2011-06-02 Thread Felix Andrews
;        [[alternative HTML 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,

Re: [R] how to enclose two xyplot

2011-04-15 Thread Felix Andrews
> 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. >> &g

Re: [R] recursive do.call

2011-03-14 Thread Felix Andrews
ble.com/recursive-do-call-tp3353074p3353074.html > Sent from the R help mailing list archive at Nabble.com. > > __ > 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.o

Re: [R] still a problem remainingRE: Data lebals xylattice plot: RE: displaying label meeting condition (i.e. significant, i..e p value less than 005) in plot function

2011-03-11 Thread Felix Andrews
ipts, which(dataf$p < 0.05)) > with(dataf[ok,], panel.text(p, xvar, name)) >  }, as.table=T, subscripts=T) > > > Best Regards > > Umesh R > > > > > > From: foolish.andr...@gmail.com [mailto:foolish.andr...@gmail.com] On Behalf &

Re: [R] still a problem remainingRE: Data lebals xylattice plot: RE: displaying label meeting condition (i.e. significant, i..e p value less than 005) in plot function

2011-03-10 Thread Felix Andrews
; values with e.g. NA's elsewhere >> panel = function(x,y, pvals,...) { >>     panel.xyplot(...) >>     panel.text((x,y, pvals,...) >> }  ) >> >> This is obviously just a sketch and will not work as written. So >> please read the Help page on xyplot

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

2010-12-11 Thread Felix Andrews
e this? >>  > >>  > x <- rep(1:10, 2) >>  > y1 <- rnorm(10); y2 <- rnorm(10) + 2 >>  > y <- c(y1, y2) >>  > g <- gl(2, 10) >>  > xyplot( y ~ x, groups = g, type = 'b') >>  > >>  > Peter Ehlers >>  >

Re: [R] [lattice xyplot] Help needed in help in customizing the panel.abline() function

2010-12-10 Thread Felix Andrews
> doubleYScale(disc, sales, style1 = 0, style2 = 2, add.ylab2 = TRUE,text = > c("# stores with gt 50pct disc", "% Unsold")) > -- > View this message in context: > http://r.789695.n4.nabble.com/lattice-xyplot-Help-needed-in-help-in-customizing-the-panel-abline-function-tp3079656p3079656.html > Sent f

Re: [R] L-shaped boxes with lattice graphs?

2010-11-16 Thread Felix Andrews
fax : +61 2(6125)5549 > Centre for Mathematics & Its Applications, Room 1194, > John Dedman Mathematical Sciences Building (Building 27) > Australian National University, Canberra ACT 0200. > http://www.maths.anu.edu.au/~johnm > > On 15/11/2010, at 5:45 PM, Felix Andrews wro

Re: [R] L-shaped boxes with lattice graphs?

2010-11-14 Thread Felix Andrews
s, Room 1194, > John Dedman Mathematical Sciences Building (Building 27) > Australian National University, Canberra ACT 0200. > http://www.maths.anu.edu.au/~johnm > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/lis

Re: [R] lattice help required

2010-08-31 Thread Felix Andrews
~ facs$Treatment|facs$Sites, >>>             scales = list(x = list(rot = 90, tck=c(1,0 >>> >>> print(pl1, split=c(1,2,1,2), more=TRUE) >>> print(pl2, split=c(1,1,1,2)) >>> # >>

Re: [R] lattice help required

2010-08-25 Thread Felix Andrews
niv. of Innsbruck > > > -- > View this message in context: > http://r.789695.n4.nabble.com/lattice-help-required-tp2338382p2338707.html > Sent from the R help mailing list archive at Nabble.com. > > __ >

Re: [R] Polygon Graph in lattice/ lattice extra

2010-08-13 Thread Felix Andrews
> -- > View this message in context: > http://r.789695.n4.nabble.com/Polygon-Graph-in-lattice-lattice-extra-tp2324156p2324156.html > Sent from the R help mailing list archive at Nabble.com. > > __ > R-help@r-project.org mailing list > https://stat

Re: [R] lattice: option to sort x when type = l

2010-07-26 Thread Felix Andrews
://www.stat.osu.edu/~pkapat/miscl/panel.xyplot.sort.R') >> >> lattice.options (default.args = list (sort.type.l = TRUE)) >> xyp3 <- update (xyp1, main  = 'Using hacked panel.xyplot', panel = function >> (...) panel.xyplot (...)) # using the hacked panel.xyplot (

Re: [R] xyplot with all columns of a data.frame on a single plot

2010-07-26 Thread Felix Andrews
#x27;t) > > Thanks, > > -- > Rajarshi Guha > NIH Chemical Genomics Center > > __ > 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 commente

Re: [R] print.trellis draw.in - plaintext (gmail mishap)

2010-07-12 Thread Felix Andrews
gt; grid.newpage() > pushViewport(viewport(layout=grid.layout(2,2))) > p = xyplot(y~x,fred) > print(  p,newpage=FALSE,draw.in=vplayout(2,2)$name) > > > On Mon, Jul 12, 2010 at 8:58 AM, Felix Andrews wrote: >>> PLEASE do read the posting guide http://www.R-proje

Re: [R] table() of a factor

2010-06-29 Thread Felix Andrews
Silver Street > Cambridge CB3 9EP > 01223-764877 > > __ > 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

Re: [R] Label Values in levelplot

2010-06-27 Thread Felix Andrews
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. > -- Felix Andrews / 安福立 Integrated Catchment Assessment and Management (iCAM) Centre Fenner Sch

Re: [R] Lattice plotting question

2010-06-27 Thread Felix Andrews
ren wrote: > That achieves the desired alignment, but squishes all of the data in the top > xyplot, which has a maximum y-value of around 50.  Any thoughts on a means > of moving the axis without changing the range?  Thanks! > > On Fri, Jun 25, 2010 at 6:42 PM, Felix Andrews wrote: &

Re: [R] Lattice plotting question

2010-06-25 Thread Felix Andrews
R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Felix Andrews / 安福立 Integrated Catchment Assessment and Management (iCAM) Centre Fenner School of Environment and Society [Bldg 48a] The Australian National University Canberra ACT 0200 Austr

Re: [R] Lattice legend

2010-06-22 Thread Felix Andrews
Bigelow >> Biologist, USDA-FS Pacific Southwest Research Station >> 1731 Research Park Drive, Davis California >> __ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE d

Re: [R] Unspecified [upper] xlim/ylim?

2010-06-15 Thread Felix Andrews
gt; > __ > 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. >

Re: [R] Overlay of barchart and xyplot

2010-06-11 Thread Felix Andrews
8$District, >             data=NTLST_Dispersal_VAR_00_08, >             layout=c(5,5), >             type="b", >             ylab="Square roots of number of infested cells/Landscape > aggregation index", >             #par.settings = simpleTheme(col = c("bl

Re: [R] duplicated() and unique() problems

2010-06-08 Thread Felix Andrews
a namespace (and not attached): > [1] cluster_1.12.3 grid_2.11.1    tools_2.11.1 > >        [[alternative HTML version deleted]] > > __ > r-h...@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do

Re: [R] Overlay of barchart and xyplot

2010-06-03 Thread Felix Andrews
5 0.3125  202     65.8192 > DCK     2003    0.649122807     0.052631579     0.298245614     0.350877193   >   332     61.6667 > DCK     2004    1       0       0       0       315     67.156 > DCK     2005    0.541353383     0.157894737     0.30075188      0.458646617   >   603

Re: [R] segplot (latticeExtra)

2010-05-25 Thread Felix Andrews
z, subscripts = TRUE, ...) }) > > > Cheers, > > -- > Seb > > __ > 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.

Re: [R] x y plot with z coordinate scaling to a color value

2010-05-19 Thread Felix Andrews
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/list

Re: [R] help color coding map in R

2010-05-17 Thread Felix Andrews
he proper color are > you suggesting I do a reorder on  this section of the code > "core.states=map("state", > regions=NatSTSummaryHigh.abi$JurisdtnStateName[subscripts], >  plot=FALSE, fill=TRUE)" ? > > > > > Chris Anderson > Data Analyst > Medical Aff

Re: [R] help color coding map in R

2010-05-15 Thread Felix Andrews
> you are not the intended recipient or the employee or agent responsible > for delivering the message to the intended recipient, you are hereby > notified that any disclosure, copying, distribution or use of the > contents of this information is strictly prohibited.  If you have > r

Re: [R] Boxplot position on X-axis relative to it's value

2010-05-12 Thread Felix Andrews
8650 >> 33  29 2.65820 >> 34  29 2.47670 >> 35  47 2.23770 >> 36  29 2.40080 >> 37  47 2.12650 >> 38  29 2.35950 >> >> I really apreciate your help >> >> Sincerly... >> >> MJMaechler (Zurich, Switzerland) >> ______ >

Re: [R] lattice: customising panel.segments using groups

2010-05-10 Thread Felix Andrews
y2 = 0) and be dashed, black > and of width 0.75 > > Segment3 has co-ordinates (0,0, x2=0.8, y2 = 0.75) and be dotted, blue > and of width 1.25 > > > > Any help is much appreciated. > > > > Thanks and regards, > > Ky Mathews > > > > >    

Re: [R] trellis/lattice: How to plot 4 panels with the same x-scale but different y-scales?

2010-05-08 Thread Felix Andrews
All plots have the same x-scale, but different y-scales. The example >>>>>>> below shows >>>>>>> pretty much what I would like to have, except that for the two plots in >>>>>>> the >>>>>>> "second column" (of

Re: [R] trellis/lattice: How to plot 4 panels with the same x-scale but different y-scales?

2010-05-07 Thread Felix Andrews
>>>>> Ps: I guess the "scales=..." should somehow go inside the panel function, >>>>> so that >>>>> the panel number tells the "alternating"-argument where it has to print >>>>> the ticks. >>>>> &

Re: [R] control span in panel.loess in xyplot

2010-04-30 Thread Felix Andrews
osh wrote: > I could not make group.number work either..how do I get that? > ...panel.superpose(panel.groups=group.number(),panel.bwplot,...) ? > > On Thu, Apr 29, 2010 at 4:26 PM, Felix Andrews wrote: > Within panel.superpose, the current group number is passed as > "group.nu

Re: [R] control span in panel.loess in xyplot

2010-04-29 Thread Felix Andrews
hz.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. > -- Felix Andrews / 安福立 Postdoctoral Fellow Integrated Catchment Assessment and Management (iCAM) Centre Fenner Schoo

Re: [R] Multiple cex sizes in main for xyplot?

2010-04-28 Thread Felix Andrews
ows > > > Bert Gunter > Genentech Nonclinical Biostatistics > > > > __ > 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/p

Re: [R] barchart in lattice 0.18-5

2010-04-24 Thread Felix Andrews
_0.18-5. Is this a bug? Yes, and it is my fault. I am testing a fix. -- Felix Andrews / 安福立 Postdoctoral Fellow Integrated Catchment Assessment and Management (iCAM) Centre Fenner School of Environment and Society [Bldg 48a] The Australian National University Canberra ACT 0200 Australia M: +

Re: [R] overlaying a levelplot on a map plot

2010-04-22 Thread Felix Andrews
___ > 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. > -- Felix Andrews / 安福立 Postdoctoral Fellow

Re: [R] overlaying a levelplot on a map plot

2010-04-22 Thread Felix Andrews
and grid graphics. >> >>>> but this doesn't work - a new plot is >>>> generated for the level plot despite the 'add' option. If I try to add >>>> the >>>> map on top of the level plot, they are not to the same scale. >>

Re: [R] Overlay of barchart and xyplot

2010-04-19 Thread Felix Andrews
; > > > > > > = > Huapeng Chen > Landscape Modeling Biologist > Research Branch > Ministry of Forests and Range > Phone: 250-387-2710 > Fax:     250-387-0046 > Email: huapeng.c...@gov.bc.ca > 5th Floor -727 Fisgard Street > Victoria, B

Re: [R] how to draw multiple vertical bands

2010-04-14 Thread Felix Andrews
   [[alternative HTML 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, reproducibl

Re: [R] lattice background grid

2010-04-08 Thread Felix Andrews
o read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Felix Andrews / 安福立 Postdoctoral Fellow Integrated Catchment Assessment and Management (iCAM) Centre Fenner School of Environment and Society [Bldg

Re: [R] 3-D response surface using wireframe()

2010-04-08 Thread Felix Andrews
>>>>>>>>    \ >>> >>>   | >>>>>>>> >>>>>>>>     \ >>> >>> | >>>>>>>> >>> \   | >>>>>>>> >>>>>>>>       \ >>> >>> | >>&

Re: [R] Placing the ≥ symbol in the Trellis custom strip

2010-04-08 Thread Felix Andrews
in advance, > MNS > >        [[alternative HTML 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, se

Re: [R] Error Bars in lattice- barcharts

2010-04-07 Thread Felix Andrews
out=c(1,3), >         horizontal=FALSE, >         scales=list(x=list(rot=45)), >         ly=lower.se, >         uy=upper.se, >         prepanel=prepanel.ci, >         panel=panel.superpose, >         panel.groups=panel.ci >         )) > -- Felix Andrews / 安福立 Postdoctoral Fellow I

Re: [R] Error Bars in lattice- barcharts

2010-04-07 Thread Felix Andrews
table(someProperty), data=A) (the method for objects of class "table") > I want to produce that graph but with VERTICAL bars. > > clearly, horizontal=FALSE does not work. and you will find that horizontal = FALSE does work. -- Felix Andrews / 安福立 Postdoctoral Fellow

Re: [R] Palette color order in bwplot (lattice violin plot) vs. boxplot

2010-04-07 Thread Felix Andrews
nsectSprays, groups = spray, panel = panel.superpose, panel.groups = function(..., box.ratio, col) { panel.violin(..., col = col, varwidth = FALSE, box.ratio = box.ratio, cut = 0) panel.bwplot(..., col = "black", box

Re: [R] Palette color order in bwplot (lattice violin plot) vs. boxplot

2010-04-06 Thread Felix Andrews
lin plots extend beyond the data range: is > this the default behavior? In ?panel.violin and ?density, I read that > default parameters should allow "the estimated density to drop to > approximately zero at the extremes". For example, the minimum value of > the "count"

Re: [R] xyplot second y-xis and legend

2010-03-29 Thread Felix Andrews
eps: foo <- xyplot(val~GF,groups= group, data=inp3,type="o", ylab="CD", xlab="GF", scales=list(y=list(relation="free", rot=0)), yscale.component=myyscale.component, par.settings=list(grid.pars=list(fontfamily="serif",cex=1),

Re: [R] lattice grob

2010-03-21 Thread Felix Andrews
ges: > [1] ggplot2_0.8.7   digest_0.4.1    reshape_0.8.3   plyr_0.1.9 > proto_0.3-8     gridExtra_0.5   lattice_0.17-26 gtools_2.6.1 > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the po

Re: [R] calling map() in xyplot()

2010-03-09 Thread Felix Andrews
elp > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Felix Andrews / 安福立 Postdoctoral Fellow Integrated Catchment Assessment and Management (iCAM) Centre Fenner School of Environment a

Re: [R] Obtaining the true aspect ratio for a lattice plot

2010-03-09 Thread Felix Andrews
ideas? > > __ > 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.

Re: [R] conditioning variable in panel.xyplot?

2010-03-08 Thread Felix Andrews
USDA-FS Pacific Southwest Research Station >        [[alternative HTML 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.or

Re: [R] ellipsis-related error: used in an incorrect context, no ... to look in

2010-02-19 Thread Felix Andrews
___ > 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. > --

Re: [R] Interactively editing point labels in a graph

2010-02-07 Thread Felix Andrews
sy to use, and has all > the basic capabilities that I need. > Best regards, > Hug > > --- On Wed, 2/3/10, Felix Andrews wrote: > >> From: Felix Andrews >> Subject: Re: [R] Interactively editing point labels in a graph >> To: "trece por ciento" >&

Re: [R] Interactively editing point labels in a graph

2010-02-03 Thread Felix Andrews
gt;http://www.R-project.org/posting-guide.html >> >  and provide commented, minimal, self-contained, >> reproducible code. >> > >> >> >> -- >> Do you know how to read? >> http://www.alienetworks.com/srtest.cfm >> http://goodies.xfce.org/projects/

Re: [R] Using tcltk or other graphical widgets to view zoo time series objects

2010-02-01 Thread Felix Andrews
pages. Can you direct me to it please? > > Thanks + > > Best regards, > Costas > > Felix Andrews wrote: > > The playwith package might help, though if I understand the problem > correctly, the help(xyplot.zoo) example is not so relevant. If you > want to switch between

Re: [R] Using tcltk or other graphical widgets to view zoo time series objects

2010-01-28 Thread Felix Andrews
de http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read t

Re: [R] xyplot: problems with column names & legend

2010-01-05 Thread Felix Andrews
-guide.html >> > and provide commented, minimal, self-contained, reproducible code. >> >> ______ >> r-h...@r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guidehttp://www.R-project.org

Re: [R] xyplot - help with multiple Y's vs. X of a member data in multiple panels

2010-01-05 Thread Felix Andrews
__ >>> >>>> >>> >>>> R-help@r-project.org mailing list >>> >>>> https://stat.ethz.ch/mailman/listinfo/r-help >>> >>>> PLEASE do read the posting guide >>> >>>>

Re: [R] StructTS standard errors

2009-12-22 Thread Felix Andrews
am >>>> Subject: [R] StructTS standard errors >>>> >>>>> >>>>> Hello, >>>>> >>>>> Does anybody know if (and how) it is possible to obtain standard >>>>> errors of estimated variances from StructTS

Re: [R] as.Date question

2009-12-21 Thread Felix Andrews
[1] "1999-03-18 CET" > > Maybe someone here can explain the behavior of as.Date(). > > Cheers, > ~Jason > > > -- > Jason W. Morgan > Graduate Student > Department of Political Science > *The Ohio State University* > 154 North Oval Mall > Columb

Re: [R] ggplot2 / lattice

2009-12-19 Thread Felix Andrews
=TRUE) > dta <- data.frame(val = sample(t,1000), g = gl(4, 250, labels=c("A", "B", > "C", "D")) , G2 = gl(2,1, labels=c("XX", "YY"))) > library(lattice) > bwplot(val ~ g | G2, dta, >  panel = function(x,y,...) >

Re: [R] ggplot2 / lattice

2009-12-17 Thread Felix Andrews
ary >> > >> >        [[alternative HTML version deleted]] >> > >> > __ >> > R-help@r-project.org mailing list >> > https://stat.ethz.ch/mailman/listinfo/r-help >> > PLEASE do read the posting guide

Re: [R] shared axes in multipanel plot

2009-12-14 Thread Felix Andrews
screens = screens , layout = c(2, 2), col = "black", lty = >>> 2, scales = list(y = list(relation = "same")), panel = pnl) >>> >>> >>>> >>>>> >>>>> 2. The screens are correctly labeled, but in the wrong orde

Re: [R] plot merging/compression with R

2009-12-13 Thread Felix Andrews
pages right away? > > cheers > > Alex > > __ > 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,

Re: [R] Label individual points in lattice by and ID

2009-12-07 Thread Felix Andrews
groups[subscripts]) >     }) > > Pat > > On Mon, Dec 7, 2009 at 3:18 AM, Felix Andrews wrote: >> >> If you want to plot each point as the text of its ID, use a panel >> function: >> panel = function(x, y, groups, subscripts, ...) panel.text(x, y, >> g

Re: [R] Label individual points in lattice by and ID

2009-12-07 Thread Felix Andrews
t >> Plant Biology >> 1206 West Gregory Drive >> RM 1500 >> > > > > -- > Patrick Schmitz > Graduate Student > Plant Biology > 1206 West Gregory Drive > RM 1500 > >        [[alternative HTML version deleted]] > > ___

Re: [R] Lattice: multiple data sets on same plot

2009-12-03 Thread Felix Andrews
), var2=runif(2000, 0, 360)) > > Thanks > Joel > > 2009/12/3 Felix Andrews : >> library(reshape)  ## the easy way >> xx <- melt(x) >> head(xx) >> >> densityplot(~ value | cat1 * cat2, xx, groups = paste(variable, which), >>            plot.points=F

Re: [R] how to use different ylim scales on a lattice bwplot?

2009-12-03 Thread Felix Andrews
> > __ > 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 co

Re: [R] Help: barchart() {Lattice}

2009-12-02 Thread Felix Andrews
> I'm trying: > > scales = list(relation="free", rot=90, y = list(at = yScale)) > > Thanks, > Peng > > On Wed, Dec 2, 2009 at 6:17 PM, Peng Cai wrote: >> >> Got it thanks, (relation="free" worked), more specifically >> &g

Re: [R] Help: barchart() {Lattice}

2009-12-02 Thread Felix Andrews
gt;   border=NA, >     scales = list(y = list(at = yScale)) > ) > > Thanks, > Peng > > On Wed, Dec 2, 2009 at 5:44 PM, Felix Andrews wrote: >> >> 2009/12/3 Peng Cai : >> > Hi R Users, >> > >> > I'm using following data/code (data i

Re: [R] Lattice: multiple data sets on same plot

2009-12-02 Thread Felix Andrews
t; I've read "The panel function demystified" section of the book many > times and still find the panel function mystifying. Could someone > please explain how to do this and also how it works. Thankyou > > __ > R-help@r-project.org mail

Re: [R] Help: barchart() {Lattice}

2009-12-02 Thread Felix Andrews
our when the row names column is blank. > > Any help would be appreciated, > > Thanks, > Peng > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guid

Re: [R] lattice: adding information on number of observations

2009-12-02 Thread Felix Andrews
ed; > kind regards > Heinrich. > > __ > 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, sel

Re: [R] Implementation of the "Shuffled Complex Evolution" (SCE-UA) Algorithm

2009-11-11 Thread Felix Andrews
t; optimization theorie and applications. Vol 76, 3, 501-521 >> > > __ > 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.

Re: [R] using xyplot to plot frequencies

2009-11-07 Thread Felix Andrews
has also > turned disasterous. > > Thanks in advance! > > -- > Lanna Jin > > lanna...@gmail.com > 510-898-8525 > >        [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list > https://s

Re: [R] xyplot help - colors and break in plot

2009-09-28 Thread Felix Andrews
> Department of Zoology > University of Hawaii > > __ > 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 commen

Re: [R] panel.text question

2009-09-27 Thread Felix Andrews
da >> > >> >        [[alternative HTML version deleted]] >> > >> > ______ >> > R-help@r-project.org mailing list >> > https://stat.ethz.ch/mailman/listinfo/r-help >> > PLEASE do read the posting gu

Re: [R] Lattice, stripplot (xyplot), plotting data with median line, numeric x-axis

2009-09-27 Thread Felix Andrews
27;t work since the intervals are not equally spaced. > > Thanks! > David > > __ > 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-g

Re: [R] multiple lattice, xyplot & levelplot on same page

2009-09-27 Thread Felix Andrews
> Dr Ky L. Mathews > Co-ordinator, CIMMYT ICARDA Communications Project > Research Fellow, > Plant Breeding Institute, The University of Sydney, Australia > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/li

Re: [R] superimposing xyplots on same scale

2009-09-24 Thread Felix Andrews
But again, I would definitely recommend you do this with the standard lattice interface in xyplot: use the 'groups' argument, or (equivalently) specify two series in the formula. -Felix 2009/9/25 Felix Andrews : > Um, no, please use doubleYScale() in latticeExtra, rather than as.l

Re: [R] superimposing xyplots on same scale

2009-09-24 Thread Felix Andrews
gt;> 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. >> > > __

Re: [R] Zoomable graphs with multiple plots

2009-09-03 Thread Felix Andrews
> 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. > -- F

Re: [R] Two lines, two scales, one graph

2009-08-24 Thread Felix Andrews
2009/8/25 David Winsemius : > On Aug 24, 2009, at 7:01 PM, Felix Andrews wrote: > >> 2009/8/25 David Winsemius >>> >>> On Aug 24, 2009, at 11:00 AM, Rick wrote: >>> >>>> I would like to plot two variables against the same abscissa values. >

Re: [R] Two lines, two scales, one graph

2009-08-24 Thread Felix Andrews
ot two lines at different scales. > > After using R site search I would ask: have you looked at as.layer in > {latticeExtra}? Don't use as.layer(). For this purpose it has been replaced by doubleYScale(), also in the latticeExtra package. -- Felix Andrews / 安福立 Postdoctoral Fellow

Re: [R] Problem with RGtk2 & Rattle

2009-08-01 Thread Felix Andrews
directory' > > Sorry but nothing seems to work > > Regards > > Wayne > > > > Felix Andrews wrote: >> >> This error comes from using an old version of the GTK+ libraries. >> >> Download the latest version for Windows from >> http://gladewin32.

Re: [R] Problem with RGtk2 & Rattle

2009-07-31 Thread Felix Andrews
help mailing list archive at Nabble.com. >> >> __ >> 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

Re: [R] How to read a specific dataset, not the entire data, from HDF5?

2009-06-26 Thread Felix Andrews
hint for the solution? Thanks. > > -- > DH > > __ > 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, m

Re: [R] Lattice question.

2009-03-29 Thread Felix Andrews
ssage is privileged and confid...{{dropped:9}} > > __ > 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 commente

Re: [R] Where to find the source codes for the internal function in stats package

2009-01-17 Thread Felix Andrews
roject.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. > -- Felix Andrews / 安福立 http://www.neurofractal.org/felix/ 33

Re: [R] misalignment of x-axis when overlaying two plots using latticeExtra

2009-01-15 Thread Felix Andrews
enter of its correspoding bar. > > How can I fix this? > > Your help will be highly appreciated. Many thanks in advance. > > -Sean > >[[alternative HTML version deleted]] > > __ > R-help@r-project.org m

Re: [R] Lattice xyplot help please.

2009-01-04 Thread Felix Andrews
, > y,...){panel.xyplot(x,y,...); panel.abline(h = 51.95); }) > > __________ > 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 pr

  1   2   >