Displaying 20 results from an estimated 6000 matches similar to: "barplots of several variables with different number of categories"
2006 Oct 13
3
Need help with barplots
I`ve read all the manuals and still couln`t find what is the difference
between the stacked and side-by-side barplots ? Could you explain me ?
[[alternative HTML version deleted]]
2012 Mar 02
2
Spacing of text does not match spacing of bars in barplot
I have a very standard barplot. My labels are too long to be printed
horizontally under each bar, so I am using text to put the labels on a 45
degree slant.
However, the labels are spaced more narrowly than the bars, so on an 8
vertical bar plot, the end of the eighth label is lined up with the seventh
bar.
Preferably I don't want to do every text label separately (I'm having this
2012 May 09
1
Barplots inside loop - several data errors, workaround needed
I have a series of data which is managed through a loop. The loop creates
"pivot tables" of my data using the *cast* function in the
*reshape*library. For the most part, the data is all plotted
correctly.
Unfortunately, there are a couple of data sets which create errors and halt
the loop.
One of the tables looks like the following:
dbh Black Walnut
1 8 38.19722
2 10
2007 Dec 04
2
Multiple stacked barplots on the same graph?
Dear R-Users,
I would like to know whether it is possible to draw several
stacked barplots (i.e. side by side on the same sheet)...
my data look like :
Cond1 Cond1' Cond2 Cond2'
Compartment 1 11,81 2,05 12,49 0,70
Compartment 2 10,51 1,98 13,56 0,85
Compartment 3 1,95 0,63 2,81 0,22
Compartment 4 2,08 0,17
2007 Mar 20
2
Ticks on barplots
Dear Gurus,
Using R 2.4.1 on Windows XP
I am generating stacked barplots of age-composition of fish populations
(Y) over time (X). As there are many years, not every bars is labeled.
When looking at the plot, it becomes difficult to associate labels with
their bars.
We have improved this a bit by using axis() to add a tickmark below each
bar. Can anyone suggest a way to draw ticks ONLY
1999 May 28
1
3D-barplots
Dear R users
How can I create 3D barplots in R.
In Splus it is possible to create 3D barplots via graphical menus,
but it would be nice to able to create 3D barplots via the command line in
R.
Any help/hints will be greatly appreciated.
Regin Reinert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2010 Jun 04
1
Shapes in barplots
Hi,
I am making barplots . I am using the default shape of barplots with a pipe
but I wants to build bars in various 3d shapes. I have install rgl using
install.packages('rgl') for this purpose, but when I am doing library(rgl),
it shows
Error in library(rgl) : there is no package called 'rgl'
What are the other ways to build such plots of variuos shapes.
Is that *TeachingDemos
2005 Dec 19
1
help on barplots
Hello, I am a beginner with R and I would need some help with doing barplots.
My problem is that I would like to include both diffrent colors of the bars
and precence/absence of shading lines in the barplots. When reading in the
help file about the "col" command it states:
col: a vector of colors for the bars or bar components. By
default, grey is used if 'height'
2009 Mar 02
3
TinnR & Philips Webcam
Hi All,
I have a Philips Webcam, model SPC110NC. I had to download a diver in order for the webcam to work with Skype from the philips support page (www.philips.com/support).
Now when I start up TinnR to use with R, it opens the webcam. If I manually start up R, Tinn R will no longer synch with it.
Also, when I install the webcam driver there doesn't appear to be anyway to modify the
2005 Jan 21
2
axis placement with stacked barplots and the asp=1 parameter
Hi,
I'm currently using barplot to generate vertically stacked bar charts.
I'd like to be able to use the "asp=1" parameter with barplot(), but
doing this causes the y axis to be placed on the far left as shown in
the attachment demo.pdf.
I could get around this by using the negative values for the line
parameter of the axis() function. I'd rather not do this and imagine
2005 Jul 13
3
texture in barplots?
Dear R list,
For some reason I am unable to access neither search.r-project.org, nor
http://finzi.psych.upenn.edu/ so I cannot search the archives for a possible
answer (I Googled for this but didn't find anything).
Is it possible to draw barplots using a texture instead of colors, for a black
and white printer?
TIA,
Adrian
--
Adrian Dusa
Arhiva Romana de Date Sociale
Bd. Schitu
2006 Oct 13
2
Multiple barplots on the same axis
Hi
R newbie here :)
I need to plot 3 barplots in the same axis, something like
|
| _ _ _
| | | _ | | _ | | _
| _ | || | _ | || | _ | || |
| | || || | | || || | | || || |
-+-----------------------------------------
| v1 v2 v3
Is there any documentation describing how to achieve that, and
1999 Mar 25
1
Y-limits of barplots
Hello everybody,
I frequently have to produce barplots from variables the natural variation
of which is far away from zero. A typical range would be, say from -16 to
-28.
So, the following example should give an "honest" presentation:
x<-c(-20,-22,-21,-28)
barplot(x,beside=T,ylim=c(-18,-30))
But using anything else but "0" for the first element of ylim
leads to strange
2010 Jul 13
1
Barplots
Hi R,
I am examining the mean returns 10 days before and 10 days after a
event. Now I have several events the corresponding pre and post event 10
day mean returns... something like this
Pre_Start Pre_End Pre_Mean Pre_SD
Post_Start Post_End Post_Mean
Post_SD
1 2002-02-22 2002-03-08 0.004968027
2011 Sep 14
2
Color barplots with a conditional?
I've made a barplot that has several bars. I'd like the bars to be colored
according to the type of category they are in. Is there a way to put a
conditional into the color parameter in barplot?
i.e. if data$category[i] == 1, color the bar red
Do I need to generate the coloring sequence before the plot code first?
Thanks!!
--
View this message in context:
2000 Oct 01
1
barplots with standard deviation
Hello!
I'd like to print certain kinds of diagrams with R. They should
look like barplots with besides=TRUE, but also have the variance
or standard deviation on every bar so that one could better
compare the bars. How could I apply this?
thanks for your help
Raoul
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2009 Feb 12
2
barplot() x axes are not updated after removal of categories from the dataframe
Hi all,
I'd be grateful for your help. I am a new user struggling with a barplot
issue.
I am plotting categories (X axis) and their mean count (Y axies) with
barplot().
The first call to barplot works fine.
I remove records from the dataframe using final=[!final$varname == "some
value",]
I echo the dataframe and the records are no longer in the dataframe.
When I call plot again
2010 Sep 30
1
barplots with 2 different scales
Is there a way to create barplots with pairs of bars plotted on 2 different
scales (i.e some bars would be plotted according to the scale on the y-axis
on the left and other bars plotted according to a different scale on the
right axis)?
Thank you,
Jeremy
[[alternative HTML version deleted]]
1999 Apr 21
0
border option working in barplots? (R0.63)
Dear R users,
How do you set the color of the border in barplots?
On my screen
barplot(tN, col='gray', border='yellow')
looks like grey bars -- with black borders (not yellow).
Trying it with a postscript device gives the same result.
Cheers,
Armin
----------------------------------------------------------------------------
Department of Mathematics |
2009 Jan 27
1
3-axis Barplots (plus qplot like staked histogram capability)
Searched my R reference docs*, and the Rseek, but evidently I've overlooked this capabilty.
Is it possible to produce a 3d Barplot using R?
For example would like to have a three axis bar plot - \
x-axis = location(discrete),
y-axis = data value,
z-axis = frequency of value occurance (of location and value)
Would also if could also do something like what "qplot" allows,