It works! Thanks a lot for your explanations, Michael.
Good luck,
Mario
Von: R. Michael Weylandt michael.weyla...@gmail.com
Cc: r-help@r-project.org r-help@r-project.org
Gesendet: 5:22 Montag, 30.Januar 2012
Betreff: Re: [R] ColorBrewer question
I believe
Hello, R friends,
I've got this graph:
p - ggplot(diamonds, aes(x = color)) + scale_fill_brewer(type=seq, pal =
Blues)
+ scale_y_continuous(,formatter=percent) + coord_flip()
p+geom_bar(aes(fill=cut),colour='black',position='fill')
Is it possible to place percentages within each field of
Hello, R friends,
I'm trying to change colors of my horizontal bars so that they show a sequence.
I chose the ColorBrewer palette Blues. However the resulting plot doesn't
show any changes to the default.
I tried several places of + scale_colour_brewer(type=seq, pal = Blues)
with no effect.
Thanks, Carlos,
your solution looks nice, however, there are 4 bars instead of 2 i.e. bars are
not stacked.
Meanwhile I got a solution for that task.
So thanks for sharing your version of it!
Good luck,
Mario
Von: Carlos Ortega c...@qualityexcellence.es
Hello, R friends,
I'm trying to crack this nut:
Example Data.
pet gender
dog male
dog female
dog male
cat female
cat female
cat male
Plot Task.
Horizontal 100% bars where
y axis shows gender factor (male vs. female)
and x axis shows percentage of kind of pets (dog vs.
Hello, R-List,
I'm getting error messages when adding geom_density2d() [package ggplot2]:
Fehler in pretty(range(data$z), 10) :
NA/NaN/Inf in externem Funktionsaufruf (arg 1)
Zusätzlich: Warnmeldungen:
1: Removed 1
more sense. Forgive me if I'm over
simplifying your problem!
Justin
On Thu, Jan 5, 2012 at 7:46 AM, Mario Giesel rr.gie...@yahoo.de wrote:
Hello, R friends,
I've been struggling quite a bit with ggplot2.
Having worked through Hadleys book twice I still wonder how to solve this task.
1. Short
Hello, R friends,
I've been struggling quite a bit with ggplot2.
Having worked through Hadleys book twice I still wonder how to solve this task.
1. Short example Dataframe:
id city Likeability Uniqueness
1 Berlin 5 3
2 Munich 4 4
3 Berlin 6 4
4 Munich
Hello, list,
I've been struggling with this task for a while looking for an efficient way to
solve it:
There are two variables 'price' and 'mentioned'.
I want to 'enlarge' data so that missing price points within the price range
are added to variable price.
Also variable 'mentioned' is to
.
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 11/16/11 6:35 AM, David Winsemius dwinsem...@comcast.net wrote:
On Nov 16, 2011, at 7:41 AM, Mario Giesel wrote:
Hello, list,
I'm new to R and I'm trying to produce a chart
Hello, list,
I'm new to R and I'm trying to produce a chart with currency values on the y
axis.
Values should be e.g. 1,00, 1,50, 2,00, etc.
In fact they are 1,0, 1,5, 2,0, etc.
How do I get R to show two digits after the comma on that axis?
Thanks for any help,
Mario
[[alternative
11 matches
Mail list logo