similar to: Moving averages shading / two colours / polygon

Displaying 20 results from an estimated 500 matches similar to: "Moving averages shading / two colours / polygon"

2020 Mar 29
2
Tareas interactivas en R
Hola miembros de la lista, Estoy buscando una manera de elaborar tareas o examenes interactivos para mis clases de estadística con R. He visto 2 paquetes muy interesantes que son, learnr y gradethis, pero todavía no logro entender completamente su dinámica. Por lo que entiendo, en gradethis si el estudiante se equivoca tiene la posibilidad de reintentar hasta dar con la solución, lo cual no lo
2020 Mar 29
2
Tareas interactivas en R
Muchas gracias Emilio. Sí, yo cometí un error, veo exams puede usar Rmarkdown también. Manuel El dom., 29 mar. 2020 a las 9:11, Emilio L. Cano (<emilopezcano en gmail.com>) escribió: > Manuel, > > No conozco learnr ni gradethis, pero simplemente como apunte decirte que > con exams puedes utilizar Rmarkdown. > > Un saludo, > > Emilio L. Cano >
2012 Feb 15
7
ggplot rank stack bar automatically.
Hi, all, I am currently trying to learn this example. http://learnr.wordpress.com/2009/03/17/ggplot2-barplots/ I created the stack bar easily. If I would like to rank the stack bar from the highest on the right, shortest on the left and eventually I could show the data "1991-00" on the left and "1823-30" on the right, how could I do that? Apart from this, I find
2016 Apr 24
0
Using read.csv() to import data
On 24/04/2016 4:30 PM, Jason Hernandez via R-help wrote: > I am just beginning to learn R, using _R for Dummies_ by Andrie de Vries and Joris Meys. I am using Windows 7, and RGui (64-bit) version 3.0.2. I have reached the chapter on "Getting Data Into and Out of R." But the code they use for importing data doesn't seem to be working for me. > > Their example is:> elements
2016 Apr 24
4
Using read.csv() to import data
I am just beginning to learn R, using _R for Dummies_ by Andrie de Vries and Joris Meys. I am using Windows 7, and RGui (64-bit) version 3.0.2. I have reached the chapter on "Getting Data Into and Out of R." But the code they use for importing data doesn't seem to be working for me. Their example is:> elements <- read.csv(file.path("f:", "elements.csv"))
2011 Oct 18
3
Ordering of stack in ggplot (package ggplot2)
I'm trying to reproduce the 3rd graph on the page of this site: http://learnr.wordpress.com/2009/03/17/ggplot2-barplots/ . However, the data below produces a ggplot with the stacks sorted in alphabetical order from the bottom up. I'd like the stacks to be in the order "Europe", "Asia", "Americas, "Africa", "Oceania". Is there an easy way to
2010 Oct 28
1
Heatmap construction problems
I am very new to R and don't have any computer program experience whatsoever. I am trying to generate a heatmap of the following data: Phylum,AI,AJT,BY,GA,Grt,Sm Acidobacteria,0.5,0.7,2.7,0.1,2.6,1.0 Actinobacteria,33.7,65.1,9.7,2.0,3.9,2.1 Bacteroidetes,9.7,5.6,0.7,13.2,41.1,21.6 CCM11b,0.0,0.0,0.0,0.0,0.0,0.1 Chlamydiae,0.1,0.1,0.0,0.0,1.0,0.2
2016 Jan 05
14
[Bug 2521] New: subtract buffer size from computed rekey limit to avoid exceeding it
https://bugzilla.mindrot.org/show_bug.cgi?id=2521 Bug ID: 2521 Summary: subtract buffer size from computed rekey limit to avoid exceeding it Product: Portable OpenSSH Version: 6.8p1 Hardware: amd64 OS: Linux Status: NEW Severity: minor Priority: P5 Component: sshd
2010 Aug 23
7
"easiest" way to write an R dataframe to excel?
I am using R 2.11.1 in a Microsoft Windows 7 environment.   I tried using WriteXLS, but get the message " In system(cmd) : perl not found"   What is the "easiest" way to write an R dataframe to Excel?  (I am familiar with WriteXLS, but I do not have PERL installed, and if not needed, do not wish to install it.)   I am also familiar with write.table, but if possible, wish to
2013 Jan 15
5
Duda gráficos - paper="a4"
Buenos días: A ver si alguien me puede iluminar, porque ya he sobrepasado los límites de mi paciencia y de mi imaginación con este asunto: Dado un gráfico creado con un plot (y funciones auxiliares como polygon, etc.) y una tabla creada debajo de ese gráfico (creada con addtable2plot), y dados unos text situados a modo de título encima del plot y otros encima de la tabla, ¿por qué cuando trato
2012 Feb 01
1
ggplot2(0.9.0): could not find function "=="
Hi, I have a question related to the newest version of ggplot2 (0.9.0). I just updated this morning and from CRAN it looks like the Mac version is the only one at 0.9.0 as of right now. http://cran.r-project.org/web/packages/ggplot2/index.html Anyway, I was in the midst of a project where I was trying to replicate "Back-to-back Bar Charts" in this blog post.
2007 Oct 30
1
Polygon shading line colors
Hi there, I'm having trouble working out how to change the colors of polygon shading lines. If I plot a polygon with polygon(poly,density=30,borders=gray(0.5)) I get gray borders but black shading lines; I have tried adding col=gray(0.5), bg=gray(0.5) and fg=gray(0.5), but no luck. How can I change the colors of the shading? The help file doesn't seem to detail this, so any
2007 Oct 29
1
shading of curves with polygon
Hello again With the poylgon function it's possible to plot shaded areas under a curve. But somehow it connects the start and the endpoint of a line and fills whats between them. I would actually like to set the boarders of the shading by two min and max curves, but I failed. i tried stl like: polygon(min, max, border=0), where min and max are my curves plotet by plot(max) lines(min)
2012 Jan 30
1
Reg : Hello all.. help needed regarding heatmaps
Hello all , I am beginner and new to this -R world. I have heard much about R and started working on it. I have some data of 20 business applications( y -axis) and Months( x-axis) and values as their score for every month . I tried to generate a heatmap with this data and got some good results. Can some one help me on how to generate the legend next to heatmap please... can some one send me
2010 Mar 24
1
GGPLOT2: Reverse order of legend to match order of x-axis
How do I reverse the order of the legend in a bar plot to match order of the x-axis? In other words, I want the stacked colors of the legend to match the stacked colors of the bar plot. I tried this, but it didn't work. colors <- c("5" = "red","4" = "blue","3" = "darkgreen") p <- qplot(factor(cyl), data=mtcars,
2009 Jun 01
1
ggplot2: How to export several plots with same width?
I have three plots and I want the *plot area* to be of the same width on each plot. Since the three plots have different legends, the text width of the legend affects the width of the plot area (longer legend text = narrower plot area). Exporting the three figures to postscript device of same size gives thus unequal plot areas. How can I calculate the correct width of postscript device for each
2009 Sep 05
1
how do I draw this surface -- hand drawn in the attachemtn
Basially I have the observation for x, y, and z for each fixed z, the value of y moves from 0 to y0 as x moves from 0 to x0. I then move the curve for z from 0 to z0 and form a continuous surface. want to know if there is a way that R can replace my handdrawing. -------------- next part -------------- A non-text attachment was scrubbed... Name: draw0001.pdf Type: application/pdf Size: 292083
2009 Sep 30
3
AsciiDoc and R
I would like to learn AsciiDoc. Is there any good examples how to use AsciiDoc with R? I know that there is packages called ascii to do this, but it would be nice to see some examples how AsciiDoc works with R. Is there an AsciiDoc distribution for Max OS X? -Johannes
2010 May 06
1
Polygon Shading Based on Relative Line Position
Forum, I have two time series that I plot up using the data/code below. The x-axis shows weekly time step starting on 6/3/1999 (SP=10) and ending on 10/25/2007 (SP=448). I'm trying to shade between the two lines in a similar fashion as the graph found here: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=122 Can the polygon function be used to do this? There are lots of
2012 Feb 17
1
basic help: graph multivariate analysis.
Hey guys, I'd really appreciate any help. I have a multivariate analysis done, the output of which is: > GraphData <-read.table("eigen.coa") > GraphData V1 V2 V3 V4 1 1 0.371970 0.8552 0.8552 2 2 0.061785 0.1420 0.9972 3 3 0.001211 0.0028 1.0000 4 4 0.000000 0.0000 1.0000 > summary(GraphData) V1 V2 V3