similar to: ggplot2: two y-axis - any change?

Displaying 20 results from an estimated 400 matches similar to: "ggplot2: two y-axis - any change?"

2013 Sep 18
1
ggplot2: changing strip text in facet_grid and a legend text problem
Hi, Dummy data script and scripts are attached below. I would like to change the plot to look like this:
2013 Feb 25
3
How to plot 2 continous variables on double y-axis with 2 factors: ggplot2, gplot, lattice, sciplot?
Hi, I have a data set with two continous variables that I want to plot MEANS (I am not intrerested in median values) on a double-y graph. I also have 2 factors. I want the factor combinations plotted in different panes. Dummy dataset: mydata <- data.frame(factor1 = factor(rep(LETTERS[1:3], each = 40)), factor2 = factor(rep(c(1:4), each = 10)), y1 =
2014 Jul 28
0
lattice, latticeExtra: Adding moving averages to double y plot
Hi lattice users, I would like to add 5-year moving averages to my double y-plot. I have three factors needs to be plotted with moving averages in the same plot. One of these reads off y-axis 1 and two from y-axis 2. I have tried to use the rollmean function from the zoo-packages, but I fail in insering this into lattice (I am not an experienced lattice user). I want to keep the data points in
2013 Mar 07
3
ggpliot2: reordering of factors in facets facet.grid(). Reordering of factor on x-axis no problem.
Hi everyone (again), before you all start screaming that the reordering of factors has been discusse on several threads and is not particular to ggplot2, hear me out. I can easily reorder my x-axis factor in facet.grid() in ggplot2. What I cannot reorder are the factors represented on the strips. I can see that the graphs are changing, so I am afraid of what it is I am doing. Why is ggplot2
2013 Feb 19
2
introducing jitter in overlapping graphs using ggplots (plotmeans). Also sciplot.
Hi, I want to plot means with standard deviations of Total Nitrogen (TN) across 4 stations (S1-S4) and over 3 years (2007-2009). I want this plot in one panel. I do not want medians (bwplot, boxplot). I have tried a few different packages and it seems that ggplots with plotmeans was the fastest (I am not extremely skilled in writing my own scripts). Unfortunately, there is no grouping
2013 Sep 19
3
lattice: double y - problem changing axis color after doubleYScale
Hi, I have had some troubles using doubleYScale. No matter what I try, I cant manage to change the color of the y-axis in the end. I have to produce a black and white plot. There is also something I do not understand regarding fontfamilyj="serif" when using it in: strip=strip.custom() Maybe someone has a better idea for defining which line and dots belong to which y-axis when not using
2013 Mar 06
6
Ggplot2: Moving legend, change fill and removal of space between plots when using grid.arrange() possible use of facet_grid?
Hi, # For publications, I am not allowed to repeat the axes. I have tried to remove the axes using: # yaxt="n", but it did not work. I have not understood how to do this in ggplot2. Can you help me? # I also do not want loads of space between the graphs (see below script with Dummy Data). # If I could make it look like the examples on the (nice) examples page: #
2012 Sep 11
1
plotting smoother function on raw data
Hi, I have used the mgcv library to generate a simple additive model. I want to know how to plot the function on the raw data with confidence intervals whan I have TWO variables in the model. I get it to work with one variable but not with two. I am on the limit for what I understand in R, so be gentle. I have read the help file on predict.gam, but did not get any help out of it. #My model:
2011 Nov 29
0
Labels in xy-plots
Hi, I am new to R. How can I get labels/different colours on the lines in my xy-plots. I plot "het" against "temp" conditional on "year" and "station". library(lattice) MyLines <- function(xi, yi, ...){ #Draws line in the panels while avoiding spaghetti-plots I <- order(xi) panel.lines(xi[I], yi[I], col = 1)} xyplot(het ~ temp | fstation,
2011 Dec 15
0
corCompSymm in gamm()?
Hi, I have confirmed temporal correlation problems in my data. Is there a possibility to use corCompSymm for a gamm()? I am an R-beginner. I have very short time series. There are three years and within each year, there are 10 weeks. he 10 weeks are the same every year and have not unique values, I seem not to be able to use AR-1 (I assume that I have too little data for autoregression
2012 Jan 09
1
Autocorrelation values? How to extract?
Hi, I am attempting to correct my models p-values due to temporal autocorrelations. It is not possible to model the correlation, so I have to make do with the p-value correction. I am feeling a bit thick here....I cannot get the autocorrelation values. What is the argument? My aim is to multiply the dependent variable autocorrelation with the independent variable autocorrelation and then
2010 Nov 13
1
Define a glm object with user-defined coefficients (logistic regression, family="binomial")
Hi there, I just don't find the solution on the following problem. :( Suppose I have a dataframe with two predictor variables (x1,x2) and one depend binary variable (y). How is it possible to define a glm object (family="binomial") with a user defined logistic function like p(y) = exp(a + c1*x1 + c2*x2) where c1,c2 are the coefficents which I define. So I would like to do no
2011 Apr 12
0
cross-validation complex model AUC Nagelkerke R squared code
Hi there, I really tried hard to understand and find my own solution, but now I think I have to ask for your help. I already developed some script code for my problem but I doubt that it is correct. I have the following problem: Image you develop a logistic regression model with a binary outcome Y (0/1) with possible preditors (X1,X2,X3......). The development of the final model would be
2016 Oct 27
2
enhancement to R CMD check: do imported objects from multiple packages mask each other?
Dear R-Developement Team, I want to suggest an additiol check to the R CMD check functionality. Consider the situation where the objects of more than one package are imported to the NAMESPACE of a third package, e.g. via import(foo, bar) in the NAMESPACE file. There might be situations where exported objects in the packages `foo` and `bar` have the same name, let?s say there is an object
2002 Jun 29
0
电脑配件惊爆抢购价 samba
̨ʤÏòÄãÎʺÃ! ÎÒ¹«Ë¾³¤ÆÚ´Óʹú¼ÊóÒ×,ΪÍÚ¾òÊг¡Ç±Á¦¡¢À©´ó¾­Óª¹æÄ£,ÒâÔÚ¹óµØ Ñ°ÕÒÁôÒ×´°¿Ú,Ìؽ«´Ë¼Ûͬ±í³Ê¹óµ¥Î»²Î¿¼.ÎÒ˾ÌṩһÁ÷Æ·ÖÊ,Ò»Á÷·þÎñ,ËÍ»õÉÏÃÅ, »õµ½¸¶¿î, ÅúÁí¾ù¿É.»¶Ó­¸÷½çÅóÓÑÀ´µç´¹Ñ¯¼°Ö§³Ö.¶àл!!! ̨ʤ¹«Ë¾ ÖйúITóÒײ¿ :ÇØ Áú ͼ ÇëÎðÖ±½Ó»Ø¸´£¬ÓÐÒâÕßÇëÀ´µç ------0139-59726696 Ò»:±Ê¼Ç±¾µçÄÔ(È«ÇòÁª±£µ¥,ÈýÄê) ±Ê¼Ç±¾µçÄÔÊÖ»úÉÏÍøרÓÃPC¿¨----------1450Ôª A . Ë÷Äá SONY SR/27K(4500Ôª)
2002 Jul 23
0
电脑配件惊爆价 samba
̨ÕýÏòÄãÎʺÃ! ÎÒ¹«Ë¾³¤ÆÚ´Óʹú¼ÊóÒ×,ΪÍÚ¾òÊг¡Ç±Á¦¡¢À©´ó¾­Óª¹æÄ£,ÒâÔÚ¹óµØ Ñ°ÕÒÁôÒ×´°¿Ú,Ìؽ«´Ë¼Ûͬ±í³Ê¹óµ¥Î»²Î¿¼.ÎÒ˾ÌṩһÁ÷Æ·ÖÊ,Ò»Á÷·þÎñ,ËÍ»õÉÏÃÅ, »õµ½¸¶¿î, ÅúÁí¾ù¿É.»¶Ó­¸÷½çÅóÓÑÀ´µç´¹Ñ¯¼°Ö§³Ö.¶àл!!! ̨ÍåÕýÈÙ¹ú¼ÊóÒ×¹«Ë¾ ÖйúITóÒײ¿ :Áø½ðÃú ÇëÎðÖ±½Ó»Ø¸´£¬ÓÐÒâÕßÇëÀ´µç ------0138-50738839 Ò».µçÄÔÅä¼þ(RMB.Ôª): A:Ö÷°å: ΢ÐÇ 845Pro2-LE(Socket,i845,SDRAM,AC97Éù¿¨)---530 845Pro
2008 Sep 01
0
Plotting significance level
I am a new user of R package and I needed a help regarding plotting confidence limits for FFT ( chisquare based) and spectrum using the monte carlo simulations of background red noise . How do I do it in R can any one help in this issue? sudheer º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤º¤ø,¸¸,ø¤º Sudheer Joseph Scientist Indian National Centre for Ocean Information Services
2004 Aug 06
0
Öйú±±¾©¹ú¼Ê¿Æ¼¼²©ÀÀ»áôßÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ
µÚÎå½ì±±¾©¡°¹ú¼ÊÖÜ¡±³ÏÑûÄúµÄ(¹«Ë¾¡¢ÆóÒµ)²Î¼Ó -- Öйú±±¾©¹ú¼Ê¿Æ¼¼²©ÀÀ»áôßÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ ¡°ÊÀ½ç500Ç¿CEOÓëÖйú¶¥¼¶ÆóÒµÊ×ÄÔÂÛ̳¡± »áÒé˵Ã÷£º ¾­ÖлªÈËÃñ¹²ºÍ¹ú¹úÎñÔºÅú×¼£¬ ÖлªÈËÃñ¹²ºÍ¹ú¿Æѧ¼¼Êõ²¿¡¢Í⾭󲿡¢½ÌÓý²¿¡¢ÐÅÏ¢²úÒµ²¿¡¢Öйú¹ú¼ÊóÒ×´Ù½øίԱ»á¡¢¹ú¼Ò֪ʶ²úȨ¾ÖºÍ±±¾©ÊÐÈËÃñÕþ¸®¹²Í¬Ö÷°ì£¬ ±±¾©ÊÐó´Ù»á³Ð°ìµÄ¡ª¡ªµÚÎå½ìÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ(ÒÔϼò³Æ¿Æ²©»á(¹ú¼ÊÖÜ)£¬
2004 Aug 06
0
Öйú±±¾©¹ú¼Ê¿Æ¼¼²©ÀÀ»áôßÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ
µÚÎå½ì±±¾©¡°¹ú¼ÊÖÜ¡±³ÏÑûÄúµÄ(¹«Ë¾¡¢ÆóÒµ)²Î¼Ó -- Öйú±±¾©¹ú¼Ê¿Æ¼¼²©ÀÀ»áôßÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ ¡°ÊÀ½ç500Ç¿CEOÓëÖйú¶¥¼¶ÆóÒµÊ×ÄÔÂÛ̳¡± »áÒé˵Ã÷£º ¾­ÖлªÈËÃñ¹²ºÍ¹ú¹úÎñÔºÅú×¼£¬ ÖлªÈËÃñ¹²ºÍ¹ú¿Æѧ¼¼Êõ²¿¡¢Í⾭󲿡¢½ÌÓý²¿¡¢ÐÅÏ¢²úÒµ²¿¡¢Öйú¹ú¼ÊóÒ×´Ù½øίԱ»á¡¢¹ú¼Ò֪ʶ²úȨ¾ÖºÍ±±¾©ÊÐÈËÃñÕþ¸®¹²Í¬Ö÷°ì£¬ ±±¾©ÊÐó´Ù»á³Ð°ìµÄ¡ª¡ªµÚÎå½ìÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ(ÒÔϼò³Æ¿Æ²©»á(¹ú¼ÊÖÜ)£¬
2002 Jan 13
0
vorbis-dev´Ô ¾È³çÇϼ¼¿ä? *^^*((¿µ¾î & ÀϾî mailing service È«º¸))*^^*
:::Happy mail::: Happymail ¹× ±âŸ ¹®ÀÇ 02-588-0510 2002³â 1¿ù ¢Ã Ä£±¸ÀÇ Ãæ°í ¢Ñ [¿µ¾î·Î ¿ô¾î¿ä] ¿ø¹®º¸±â A man and his friend were travelling on a train. They decided they were hungry and each took out a banana. Just as the first man took a bite of his, the train entered a tunnel and everything went dark. The man said to