similar to: sorting in barplot

Displaying 20 results from an estimated 7000 matches similar to: "sorting in barplot"

2009 Apr 10
2
Problem with bargraph.CI in Sciplot package
Hi there, I wonder if anyone can help me. I'm trying to use bargraph.CI in the Sciplot package when there is a missing combination of the factor levels. Unfortunately the standard errors on the plot do not appear to be correct. Consider an analysis consisting of two factors A and B. When all factor level combinations are present all appears fine: library(sciplot) #all data
2011 Mar 25
2
error in bargraph.CI {sciplot}
Hi to all, Does anybody knows why this is giving an error? data(ToothGrowth) # Two-way design with options bargraph.CI(dose, len, group = supp, data = ToothGrowth, xlab = "Dose", ylab = "Growth", cex.lab = 1.5, x.leg = 1, col = "black", angle = 45, cex.names = 1.25, density = c(0,20), legend = TRUE) Error in dn.call[[1]] :
2009 Nov 03
2
bargraph.ci - CI and color question.
Hello, When using bargraph.CI in package sciplot can the bars for each group be different colors? How do I select the color for each group? When I use this instead of the default (SD vs SE): bargraph.CI(x.factor = dose, response = len, data = ToothGrowth, ci.fun= function(x) c(mean(x)-sd(x), mean(x) + sd(x)) ) Am I getting 95% CI bars? Thank you kindly, Michael Just
2009 Mar 02
1
using par funtions in bargraph.CI()
I'm trying to create a bargraph of means with standard error bars using the function bargraph.CI (in the sciplot package). Like this: bargraph.CI(x.factor, response,data,xlab, ylab, par(family="serif"),font=11) However, an error message comes up when I try to use the par funtion. Does the character font/style need to be changed in a different way for this kind of plot? Or am I
2009 Mar 21
1
bargraph.CI change se for sd
Hi there, I am a beginner. I would like to change the error bars in the bargraph.CI function from the default (se) to (sd). The help file says ci.fun= function(x) c(fun(x)-se(x), fun(x)+se(x)) Is there a simple way of telling the function what (x) precisely is - I already define in in the of the bargraph.CI function and assume that is should be able to use that information. cheers, Herwig --
2007 Mar 20
2
Problem adjusting x-labels with bargraphCI
Hello: I'm having quite a bit of difficulty adjusting the x-labels using bargraphCI. I've tried using text and srt=45 to rotate the labels or mtext for 2 lines to break up the labels. However, using either method, I cannot line up the labels with the midpoints of the bars (they line up with some sort of tick mark that is off the midpoint of the bars). Any suggestions would be greatly
2007 Feb 13
1
Hierarchical ANOVA
Hello, Does somebody could help me in the computation(formulation) of a hierarchical ANOVA using linear model in R? I'm working in a population biology study of an endangered species. My aim is to see if I have effects of "Density of individuals/m2" on several measured plants fitness traits. As independent variables I have: Humidity (continuous) Nutritive substance (continuous)
2011 Jun 15
1
Error bars
Hi, Can anyone help with plotting vertical error bars on a bar graph. I have tried following examples online and in the big R book and writing my own function but I have been unsuccessful and don’t really have an understanding of what it is I am doing. I have calculated my standard errors so basically just need to draw the bars on the graph but just don’t have a clue!!! I don’t even know what
2013 Feb 19
2
introducing jitter in overlapping graphs using ggplots (plotmeans). Also sciplot.
Hi, I want to plot means with standard deviations of Total Nitrogen (TN) across 4 stations (S1-S4) and over 3 years (2007-2009). I want this plot in one panel. I do not want medians (bwplot, boxplot). I have tried a few different packages and it seems that ggplots with plotmeans was the fastest (I am not extremely skilled in writing my own scripts). Unfortunately, there is no grouping
2010 Aug 25
1
multiple x factors using the sciplot package
Dear R community, I am a beginner using the sciplot package to graph barplots. I would like to be able to graph two x factors (Sampling.year and Period). Sampling.year: 2006, 2007, 2008, 2009 Period: First, Second, Total The parameter "group" is the different species I looked at. They can be seen in the legend. The parameter "response" is the Average percentage
2008 Oct 08
5
Plot means with error bars - A novice needs help
Hello, I'd appreciate a suggestion on how to construct plots (barplots?) that use means on the Y axis instead of density/count. I'd also like to use groups and plot error or confidence interval bars on these graphs. I know this is a read the manual situation. I'd appreciate help with what to read, or your benevolence with some sample code. I've looked at lattice and gplots2, but
2001 Jul 04
3
by/ NA/ barplot
Colleagues ---------------------------------- System info: Version 1.3.0 (2001-06-22) on NT ESS v. 5.1.18 using emacs ver. 20.4 ---------------------------------- I have generated an object (class = by) with NA values and want to plot the output as a bargraph: x2 <- by(scl.nos, species, sum) These data are summed counts of fish by species > x2 INDICES: AGI [1] 0.729927
2006 Mar 24
1
Multiple error bar plots
Dear R-lister I have a question about how to create multiple error bar plots. I found that I can use an "errbar" function from Hmisc package to create one error bar plot in which there are multiple data points (x, y) with the error bars. Thus, I know that I can get "one" error bar plot which consists of many data points. However, I did not find a way to put
2015 Mar 09
2
Calculos matrices diferentes tamaños
Buen Día Jorge, Es algo parecido a lo que necesito, pero no debo tener en cuenta la suma de la columna sino por ejemplo: Tengo el elemento [1,2] en la matriz A que contiene el número 5 y por otra parte tengo la columna [,2] de la Matriz B con valores por ejemplo (1,2,3,4,5,6,7,8,9,10,11,12). El resultado debería ser un vector que en la posición uno debe indicar que existen 7 valores mayores a 5
2008 Jun 19
2
Draw curve for histogram
Hi all, What parameter should I feed to the hist function to draw a line, not bar graph for a histogram? Smoothed line would be great too. I've looked at curve() for normal distribution but it's not what I need. I need some curve on top of the histogram (fit to the actual data). Just as a way to illustrate, rather than bargraph. Thanks -- Regards, Anh Tran UCLA NeuroOncology Lab
2010 Apr 26
1
mvpart : Printing response values at terminal nodes
I have created a multivariate regression tree using mvpart, with 3-4 responses. Though the plot shows bargraphs for each response, I would like to have the VALUES of the responses printed or indicated (via a scale or something) alongside the bargraph. Is this possible ?? Thanks, Manjunath [[alternative HTML version deleted]]
2010 May 09
3
Plotting log-axis with the exponential base to a plot with the default logarithm base 10
Hello! I have a problem which I have tried to solve for several days now.. I have plottet a lineplot.CI in the library "sciplot", and I am trying to plot it with a logaritmic y-axis (with exponential base). The problem is that; when I type "log "y"", the axis transforms into the logaritmic of base 10. I wonder if someeone could tell me how to specify that I would
2011 Feb 17
2
A very basic line-plot question
Hi All I have data like this tom randy mike dan doug height 150 152 155 134 141 I am trying to create a line plot, with names on X-axis and height measure on Y. how can i get it through R. I could get several versions which are close (dotchart, bargraph), but not quite the same thing. I am looking for something like
2011 Aug 02
3
3D Bar Graphs in ggplot2?
Does anyone know how to create a 3D Bargraph using ggplot2/qplot. I don't mean 3D as in x,y,z coordinates. Just a 2D bar graph with a 3D shaped bard. See attached excel file for an example. Before anyone asks I know that 3D looking bars don't add anything except "prettiness". http://r.789695.n4.nabble.com/file/n3713305/Example.xlsx Example.xlsx -- View this message in
2015 Mar 09
2
Calculos matrices diferentes tamaños
Buen día amigos, Antes que nada, reitero mis agradecimientos por sus respuestas tan precisas y oportunas, sigo en mi trabajo de grado y tengo dificultad con un proceso: Tengo dos matrices A y B, A es de dimensión 5x4 y B es de dimensión 274x3. Requiero de un proceso en el que tome el primer elemento de la Matriz A columna 2 y lo compare con todos los elementos de la Matriz B columna 1 y me diga