ylim(0%,100%) is not valild. It should be ylim(0,100).
Jeff Newmiller
Sent by: "R-help"
03/25/2015 11:14 AM
To
"BenedettaB24 ." , "r-help@r-project.org"
,
cc
Subject
Re: [R] Graph with ggplot2.
It is difficult to read your code because the HTML for
You need to define limits as defined in the data. ylim(0, 1) instead of
ylim(0%, 100%)
ylim(0%, 100%) is incorrect R syntax.
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
> i used this command three times,
clearly not exactly this, if it's stopped working ...
> but now is not working, the error reported is:
> Error: unexpected ')' in "ggplot(percent, aes(x=factor(Cell.lines),
> y=Percentage,
> vjust=-0.5, fill=Prostate )) + geom_bar(colour="black", stat="identity
It is difficult to read your code because the HTML format messes it up, but I
think your ggplot function call is missing a parenthesis between fill=Prostate
and the + sign.
---
Jeff NewmillerThe ..
Dear all,
I want to run ggplot2 in one of my file.
I do this:
mergefile<- read.csv("path of my file/name.csv")
library(ggplot2) to import my library
ggplot(percent, aes(x=factor(Cell.lines), y=Percentage, vjust=-0.5,
fill=Prostate )) + geom_bar(colour="black", stat="identity",
position=positi
5 matches
Mail list logo