Assuming that's qplot from ggplot2, it's trying to pass span to the
Point Geom which doesn't recognize it. I highly suggest moving away
from using qplot and working with the stat_s and geom_s directly with
ggplot().
On Sat, Jan 23, 2016 at 8:46 AM, Jeff Reichman wrote:
> R-Users
>
>
>
> Anyone se
R-Users
Anyone see what maybe wrong with the following command, other than R doesn't
seem to recognize the "span" parameter - it should must be my syntax.
> qplot(seq, count,geom=c("point","smooth"), span=0.8)
Error: Unknown parameters: span
Jeff
[[alternative HTML version de
> To: r-help@r-project.org
> Subject: Re: [R] qplot error -
>
> Thanks a lot - here is win 64 bits too
> > library(ggplot2)
> pakke 'ggplot2' blev bygget under R version 2.15.2
> > qplot(mpg, wt, data=mtcars)
> Error in rename(x, .base_to_ggplot, warn_mis
Please ask the ggplot2 maintainer: this looks like ggplot2 depends on
some other package/version that you have not updated yet and ggplot2
does not declare it correctly.
So you should
1. update R
2. run update.packages()
3. report to the ggplot2 maintainer about your findings and the probably
Thanks a lot - here is win 64 bits too
> library(ggplot2)
pakke ‘ggplot2’ blev bygget under R version 2.15.2
> qplot(mpg, wt, data=mtcars)
Error in rename(x, .base_to_ggplot, warn_missing = FALSE) :
could not find function "revalue"
sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-p
Hello,
I couldn't reproduce your error.
> library(ggplot2)
Warning message:
package ‘ggplot2’ was built under R version 2.15.2
> qplot(mpg, wt, data=mtcars, colour=cyl) # directly from the qplot help
> #(no error message and the graph shows up)
> sessionInfo()
R version 2.15.1 (2012-06-22)
Platf
Dear friends, I'm on windows, R 2.15.1 -
library(ggplot2)
#compiled under 2.15.2
qplot(mpg, wt, data=mtcars, colour=cyl) # directly from the qplot help
Error in rename(x, .base_to_ggplot, warn_missing = FALSE) :
could not find function "revalue"
Is that due to a .1 lack in R
All the best
Troels
=
> "data.frame")
>
> ggplot(mydata) +
> geom_rect(aes(xmin = start, xmax = end, ymin = 0, ymax = peak))
>
> unique(mydata$start)
> unique(mydata$end)
>
> levels <- sort(unique(c(mydata$start, mydata$end)))
> mydata$start <- factor(mydata$start, leve
s = levels)
mydata$end <- factor(mydata$end, levels = levels)
ggplot(mydata, aes(x = start)) +
geom_rect(aes(xmin = start, xmax = end, ymin = 0, ymax = peak)) +
xlim(as.character(levels))
On Sun, Sep 16, 2012 at 11:11 AM, Rui Barradas wrote:
> Maybe a bug in ggplot2::geom_rec
Maybe a bug in ggplot2::geom_rect?
I'm Cceing this to Hadley Wickham, maybe he has an answer.
Rui Barradas
Em 16-09-2012 17:04, John Kane escreveu:
-Original Message-
From: ruipbarra...@sapo.pt
Sent: Sun, 16 Sep 2012 13:13:47 +0100
To: jrkrid...@inbox.com
Subject: Re: [R]
> -Original Message-
> From: ruipbarra...@sapo.pt
> Sent: Sun, 16 Sep 2012 13:13:47 +0100
> To: jrkrid...@inbox.com
> Subject: Re: [R] qplot: plotting precipitation data
>
> Hello,
>
> Relative to the op's "request" for rectangls, I'm not u
peak )) + geom_bar(stat=
"identity", )
p
John Kane
Kingston ON Canada
-Original Message-
From: hnorp...@googlemail.com
Sent: Sat, 15 Sep 2012 18:39:54 +0200
To: r-help@r-project.org
Subject: [R] qplot: plotting precipitation data
Dear list,
I wish to plot chromatin precipit
there.
p <- ggplot(mydata , aes(as.factor(start), peak )) + geom_bar(stat=
"identity", )
p
John Kane
Kingston ON Canada
> -Original Message-
> From: hnorp...@googlemail.com
> Sent: Sat, 15 Sep 2012 18:39:54 +0200
> To: r-help@r-project.org
> Subject: [R] q
Dear list,
I wish to plot chromatin precipitation data: I would like to have a
rectangles (x:end-start, y:peak) but I do not have an idea how to define x
(in terms of qplot syntax) and to choose the correct geom.
mydata is a subset of a larger file.
> mydata
chromstart end peak
Jonas Stein jonasstein.de> writes:
>
> Hi,
>
> i would like to plot a few hundred .csv files.
> Each file contains one curve with x,y values to plot.
>
> I have been searching for "gnu r read many files qplot"
> and similar words. I found for loops that use assign to generate
> one variable
Hi,
i would like to plot a few hundred .csv files.
Each file contains one curve with x,y values to plot.
I have been searching for "gnu r read many files qplot"
and similar words. I found for loops that use assign to generate
one variable containing a dataframe.
When i uesed the classic "plot
#ggplot
library(ggplot2)
dat3mlt<-melt(dat3,id.vars="index")
#1
ggplot(dat3mlt, aes(x=index, y=value,
colour=variable))+stat_smooth(method="lm")+geom_point()
#2
ggplot(dat3mlt, aes(x=index, y=value,
colour=variable))+stat_smooth(method="lm",formula=y~ns(x,3))+g
gmail.com
> Sent: Fri, 20 Jul 2012 12:57:14 +0200
> To: r-help@r-project.org
> Subject: [R] qplot/ggplot
>
> Hello,
> I have a file like this (just a snapshot) where I have numerical
> values for various genes, I want a line plot with shading (may be
> using smooth ?) using
Hello,
I have a file like this (just a snapshot) where I have numerical
values for various genes, I want a line plot with shading (may be
using smooth ?) using qplot or ggplot :
Gene1 10 14 12 23 11 11 33 1 ..(multiple columns)
Gene2 4 2 1 1 3 4 1 2 .
Gene3 2 5 7 5 6 89 7 3 ..
Gene4 1
="x
value", ylab="Density", main="AAPL")
.
.
.
labels, lwd=2, lty=c(1, 1, 1, 1, 2), col=colors)
}
It looks like qplot uses
colour=colors
to pickup colors.
At the R console type
colors()
For a list of color names and numbers.
Hope this helps.
Fran
PDT)
> To: r-help@r-project.org
> Subject: [R] qplot and colors (Please Help)
>
>
>
> Please help:
>
>
> I am using qplot as below and want to specify a different color scheme
> for race but dont know how, can someone show me.
>
>
> Thanks
Hi David,
I believe you left out saying what color scheme you would prefer, so
it's hard to help, but you might be a start by looking at the
appropriate parts of Hadley's website here: http://had.co.nz/ggplot2/,
particularly the "scales" section.
Best,
Michael
On Wed, Jun 27, 2012 at 11:07 AM, D
Please help:
I am using qplot as below and want to specify a different color scheme for race
but dont know how, can someone show me.
Thanks in advance
Code and input file below:
library(ggplot2)
library(gridExtra)
d<-read.table("results", header=TRUE, fill=TRUE)
plot2<-qplot(X,Y,data=d
problem solved
?fortify -> examples
thanks
Michael
--
View this message in context:
http://r.789695.n4.nabble.com/qplot-model-tp3815060p3815113.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https:/
hi R Community
Is it possible to plot a model using the ggplot2 package.
Something like:
x<-rnorm(100)
y<-rnorm(100)
fit<-lm(y~x)
plot(fit)
but with ggplot2
qplot(fit)?
thanks
michael
--
View this message in context:
http://r.789695.n4.nabble.com/qplot-model-tp3815060p3815060.html
Sent from t
I just wanted the post the results of the emails I been sending/getting. The
following command will create the graphs and save them to the location of
your choice. The names are graph1.png, graph2.png etc.
for(i in 1:4) {
png( file=paste("C:/Insert file location/graph",i,".png", sep="") )
On Tue, Jul 12, 2011 at 2:01 PM, Reith, William [USA]
wrote:
> Do I need to define x in any way before I do the loop?
No, you should not need to define x explicitly. Just pass the data
frame you want to qplot. David was absolutely right though that
inside a loop, you should wrap the call to qpl
On Jul 12, 2011, at 3:21 PM, wwreith wrote:
I have 4 columns and 56 rows of made up data that I want to plot as
a series
of bar graphs. The idea is to create one bar graph for each of the 4
columns
using a for loop. I tried the following command in RStudio and when
I type x
in the console
Hi,
You actually did the loop correctly. The problem is that the graphs
were created very quickly so you only see the last one. One way
around this is to make R wait for user input. You can turn this on
and off for a particular device using:
par(ask = TRUE)
See ?par for details on this.
To c
I have 4 columns and 56 rows of made up data that I want to plot as a series
of bar graphs. The idea is to create one bar graph for each of the 4 columns
using a for loop. I tried the following command in RStudio and when I type x
in the console I get just the 4th graph instead of all four graphs.
Hi:
On Tue, Jun 21, 2011 at 10:03 AM, wwreith wrote:
> I took some data from an online poll about which R GUI people used most and I
> am messing around with it to learn how to use qplot. Specifically I am
> making a horizontal bar graph and I have two questions.
>
>
> 1. The categories are order
On Jun 21, 2011, at 1:03 PM, wwreith wrote:
I took some data from an online poll about which R GUI people used
most and I
am messing around with it to learn how to use qplot. Specifically I am
making a horizontal bar graph and I have two questions.
1. The categories are ordered in rather st
I took some data from an online poll about which R GUI people used most and I
am messing around with it to learn how to use qplot. Specifically I am
making a horizontal bar graph and I have two questions.
1. The categories are ordered in rather strange way at least to me. It is
not alphabetical o
One difference between colour and fill can be demonstrated by
specifying both with different values. In cases where a polygon is
filled, colour specifies border line color.
On Mon, Jun 6, 2011 at 9:49 AM, wwreith wrote:
> I am just learning to use qplot and can't get the fill/colour to work. Belo
Hi,
On Mon, Jun 6, 2011 at 9:49 AM, wwreith wrote:
> I am just learning to use qplot and can't get the fill/colour to work. Below
> is the R code for a scatter plot and bar graph.
>
> library(ggplot2)
> x<-c(1,2,3,4,5,6,7)
> y<-c(1,2,3,2,5,6,3)
> qplot(x,y, main="Scatter Plot Test", xlab="X Label
I am just learning to use qplot and can't get the fill/colour to work. Below
is the R code for a scatter plot and bar graph.
library(ggplot2)
x<-c(1,2,3,4,5,6,7)
y<-c(1,2,3,2,5,6,3)
qplot(x,y, main="Scatter Plot Test", xlab="X Label Test", ylab="Y Label
Test", colour="blue")z<-c("van", "van", "van
For a quick fix, you probably need to reinstall plyr.
Hadley
On Wed, Jul 14, 2010 at 11:03 PM, stephen sefick wrote:
> This is the first time that I have tried to update packages with a
> tinkered around with .Rprofile. I start R with R --vanilla and it
> does not load my .Rprofile, but when I i
The problem is that install.packages() and friends forks R and there is
no way to specify general options to that process (you can do the
configure.{args,vars} but nothing else).
One work-around could be to download the package and install it with R
--vanilla CMD INSTALL from the command line.
This is the first time that I have tried to update packages with a
tinkered around with .Rprofile. I start R with R --vanilla and it
does not load my .Rprofile, but when I issue the command
update.packages() R downloads the packages as expected, but then seems
to load .Rprofile before compiling th
hn Tukey
> -Oorspronkelijk bericht-
> Van: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] Namens Line Andersen
> Verzonden: woensdag 16 juni 2010 22:08
> Aan: r-help@r-project.org
> Onderwerp: [R] qplot
>
> Hello,
> I am a new r-user, and after a great e
Can you make this a reproducible example?
On Wed, Jun 16, 2010 at 3:08 PM, Line Andersen wrote:
> Hello,
> I am a new r-user, and after a great effort I have made this fantastic
> figure with qplot:
>
> qplot(ROI, CBF, fill=factor(Carrier), data=combinedboxplot_dataset_se_1_CBF,
> geom="boxplot",
Hello,
I am a new r-user, and after a great effort I have made this fantastic
figure with qplot:
qplot(ROI, CBF, fill=factor(Carrier), data=combinedboxplot_dataset_se_1_CBF,
geom="boxplot", position="dodge",xlab=NULL,ylab=("CBF,white
matter-normalized"),main=("Differences between carriers and non-
http://had.co.nz/stat405/lectures/21-themes.pdf
On Wed, Mar 24, 2010 at 1:22 AM, milton ruser wrote:
> Dear all,
>
> How can I change the size and the color of axis?
> I would like that the xlab to be larger, xvalues to be
> larger, and xvalues in black instead of grey.
>
> x=runif(10)
> y=runif(
Dear all,
How can I change the size and the color of axis?
I would like that the xlab to be larger, xvalues to be
larger, and xvalues in black instead of grey.
x=runif(10)
y=runif(10)
require(ggplo2)
qplot(x,y)
cheers
milton
[[alternative HTML version deleted]]
___
Hi,
I'm having trouble editing the qplot layout. I'm using the geom="tile"
option and I want to do a few things:
1. move the vertical and horizontal gridlines so that they appear on the
edge of each tile (right now they're in the middle)
2. bring the gridlines to the foreground and change thei
When I invoke qplot, I get the following error:
Error in rename.default(x, .base_to_ggplot) : object '.data' not found
I would appreciate any advice.
sessionInfo:
R version 2.10.0 (2009-10-26)
i386-pc-mingw32
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States
hadley wickham schrieb:
On Wed, Sep 24, 2008 at 8:39 AM, Albin Blaschka
<[EMAIL PROTECTED]> wrote:
[snip]
As I have those categories (cover grasses, cover herbs...) I would like to
assign special colours to each (for example "cover grasses" => dark green,
"cover open soil" => brown ...), but I
On Wed, Sep 24, 2008 at 8:39 AM, Albin Blaschka
<[EMAIL PROTECTED]> wrote:
>
> Dear list,
>
> I would like to apply my own colours to a stacked area plot, done with
> qplot, but I have not succeeded...
>
> What do I have so far (I am dealing with the development of cover of
> specific groups of pla
Dear list,
I would like to apply my own colours to a stacked area plot, done with
qplot, but I have not succeeded...
What do I have so far (I am dealing with the development of cover of
specific groups of plants):
library(ggplot2)
library(RODBC)
channel <- odbcConnect("myusername", ca
Hi Ista,
That's a bug, and will be fixed in the next version (hopefully to be
released in the next couple of days)
Hadley
On Mon, Mar 3, 2008 at 7:10 PM, Ista Zahn <[EMAIL PROTECTED]> wrote:
> Hi,
> I've run into a difficulty with qplot function (in the ggplot2
> package). I can facet histogra
Hi,
I've run into a difficulty with qplot function (in the ggplot2
package). I can facet histograms even when the faceting variable
contains missing values, but only so long as the faceting variable is
not a factor.
Example:
y1 <- rnorm(10)
x1 <- c(rep(1,5), rep(2,4), NA)
x2 <- factor(c(rep
> Format your dataframe into a long format. Then use a grouping variable
> to distinguish both lines.
>
> library(ggplot2)
> DF <- data.frame(X = rep(0:20, 2), Y = c(rnorm(21), runif(21)), Z =
> gl(2, 21))
> ggplot(data = DF, aes(x = X, y = Y, colour = Z)) + geom_line()
You can also use ggplot a
is a delicate dissection of
uncertainties, a surgery of suppositions. ~M.J.Moroney
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Namens sigalit mangut-leiba
Verzonden: dinsdag 19 februari 2008 13:16
Aan: r-help
Onderwerp: [R] qplot
Hello,
I have a question ab
Hello,
I have a question about "qplot": How can I add another line to the same
plot ?
(like function "lines" in "plot").
Thank You,
Sigalit.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/l
54 matches
Mail list logo