Hello,
There is no attached file, R-help is doesn't allow many file types.
Try reposting with the extension .txt or post the output of
dput(head(dataset, 20))
directly in your e-mail.
Hope this helps,
Rui Barradas
Às 10:58 de 07/09/19, farshad goudarzian escreveu:
Hello.
Here I attach a m
Hello.
Here I attach a microsoft excel data base file and plot image to illustrate
my question.
my code:
ggplot(concretedata, aes(Company, Concrete, fill=
Type))+geom_bar(stat="identity")
As per the attachment plot, the bar chart for different parameters
(Concrete, Company and Type) is present
On 10/25/2011 09:27 PM, Florian Weiler wrote:
Dear all,
I have a problem with my stacked bar charts. I have one very long bar, hence
I would like to break the x-axis at a certain point so that the shorter bars
can be seen better.
Here is a cooked up example:
library(lattice)
group<- rep(1:3,10)
Dear all,
I have a problem with my stacked bar charts. I have one very long bar, hence
I would like to break the x-axis at a certain point so that the shorter bars
can be seen better.
Here is a cooked up example:
library(lattice)
group <- rep(1:3,10)
x <- runif(30, 0, 100)
y <- runif(30, 0, 100)
On 07/20/2011 01:56 PM, Stratford, Jeffrey wrote:
Hi everyone,
I determined the presence of three types parasites in a passerine bird
over two years. I would like to create a bar chart that shows the
proportion infected on the y and year/parasite on the x such that each
type of parasite is gro
Hi Jeff,
One way to graph the differences between the two years for the first set of
data is via barchart(), a function equivalent to barplot in the lattice
package.
Please check if with this portion of code (and with your data) the graph you
get is quite self-explanatory.
##
Hi everyone,
I determined the presence of three types parasites in a passerine bird
over two years. I would like to create a bar chart that shows the
proportion infected on the y and year/parasite on the x such that each
type of parasite is grouped together (single label) and a bar for each
yea
The question is how to plot a bar chart in which bars are sorted in
ascending order for each level of X. I would appreciate receiving your
advice and help.
This toy example might help:
barlab <- sample(LETTERS,10)
values <- sample(1:100, 10)
op <- par(mfrow= c(4,1))
barplot(values, names.arg
Hello List,
The question is how to plot a bar chart in which bars are sorted in ascending
order for each level of X. I would appreciate receiving your advice and help.
Thanks,
Pradip Muhuri
**
The following codes work when producing the chart in which bars are NOT sorted.
Please see
On 03/24/2011 03:26 AM, blutack wrote:
How do you do a bar chart of 2 vectors?
I have one vector which has 10 numbers, and another which has 10 names.
The numbers are the frequency of the corresponding name, but when I do a bar
chart it says that there is no height. Thanks.
Hi blutack (any rela
> How do you do a bar chart of 2 vectors?
> I have one vector which has 10 numbers, and another which has 10 names.
> The numbers are the frequency of the corresponding name, but when I do a bar
> chart it says that there is no height. Thanks.
The first thing we'd need to know is HOW you tried to
Hi,
It's difficult to know what is going wrong from what you say below (please
include some reproducible code in the future as indicated in the posting
guide). If you want to produce a bar chart of the numbers with the
corresponding names as labels for these numbers, you can do something like
thi
On Mar 23, 2011, at 12:26 PM, blutack wrote:
How do you do a bar chart of 2 vectors?
I have one vector which has 10 numbers, and another which has 10
names.
The numbers are the frequency of the corresponding name, but when I do
How did you "do" a barchart? Code please.
a bar
chart it sa
How do you do a bar chart of 2 vectors?
I have one vector which has 10 numbers, and another which has 10 names.
The numbers are the frequency of the corresponding name, but when I do a bar
chart it says that there is no height. Thanks.
--
View this message in context:
http://r.789695.n4.nabble.c
I would recommend not representing means by bars at all.
Bars are for counts, stacking from zero. Means are point estimates.
ggplot has a lot of routines for displaying means with errors bars:
geom_linerange, geom_pointrange. To hone your ggplot skills I
recommend looking into these geoms.
Like this?
# example using qplot
library(ggplot2)
meanprice <- tapply(diamonds$price, diamonds$cut, mean);meanprice
cut <- factor(levels(diamonds$cut), levels = levels(diamonds$cut))
qplot(cut, meanprice, geom="bar", stat="identity", fill = I("grey50"))
dev.new() # create a new graph to compare wi
Hi there,
Im working with a bar chart. I want to create a bar chart using the
followinf file:
gender relationship
Male Manage
Male Manager
Male Manager
Male Manager
Male Clerical
Male Manager
Male Manager
Male Manager
Male Manager
Im trying to represe
> I have a table like below outside R environment
>
> Varible_Name
> Labels
> Bad_Percent
> Good_Percent
> Var1_Postal_Code_Availibility
> 1
> 0,149367931
> 0,850632069
>
> 0
> 0,19709687
> 0,80290313
>
> Variable_Name column contains a single entry, the variable name, this
is
>
Hi,
I have a table like below outside R environment
Varible_Name
Labels
Bad_Percent
Good_Percent
Var1_Postal_Code_Availibility
1
0,149367931
0,850632069
0
0,19709687
0,80290313
Variable_Name column contains a single entry, the variable name, this is
the title of the graphic
I w
19 matches
Mail list logo