similar to: substitution list for graphs

Displaying 20 results from an estimated 20000 matches similar to: "substitution list for graphs"

2003 Jan 17
2
barplot plotting problem
Hi, Is there any equivalent of type="n" when constructing barplots which will still construct the axes (plot=F, as it says doesn' plot anything at all). Alternatively I tried setting col="white" and border="white" but the border command does not seem to be operational. True?? Any other ideas? What I'm actually trying to do is construct vertical abline()'s
2009 Feb 24
0
creating bar charts with nested groups
I'm looking for a way to create bar charts with nested groups levels. I have data that is seperated to this factors: 1. Day part - day/night. 2. Season - summer/winter. 3. habitat - Cover/Open I have created in Excel the following chart which I would like to create in R: http://www.nabble.com/file/p22180918/chart.jpg I have seen this nice post:
2012 Apr 25
1
FW: Combined grouped and stacked bargraph
Dear R list, It appears that my request from yesterday got a bit garbled. I have tried to rephrase and retype it - please let me know if you can help me - I am having some trouble drawing a bar-graph with two groups, both of which are stacked. I would like to plot the conservation status according to two classifications (i.e. my groups - IUCN status and national status), and for each of those
2012 Apr 15
1
(no subject)
I am wrestling with the following in creating a barplot in R: I have a data set with 18 entries. It is plotted in a bargraph. The x-axis should have 18 tick marks each with its own label. What happens is, only a few labels are shown; there is not enough space for all labels. The tick marks are concentrated on the left side of the axis. I'd like to have all labels shown, in vertical direction.
2007 May 01
1
sorting in barplot
Hello, I'm trying to sort my bargraph.CI plot (function like barplot in the SCIPLOT package) by the mean of the response variable. Does somebody have a trick for it. Thank you. Romain Mayor, PHD student.
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
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
2003 Dec 06
1
pdf() function, screen command and graphs
Dear [R]-list, I am trying to do a pdf() of the following graphs but don't understand why the pdf() function does produce an empty pdf file. (I use R1.7.0 on MacOS 10.2.8) any idea? Is pdf() incompatible with screen? Thanks a lot, DLC ## create dataset x=rnorm(1000,10,2) y=rpois(1000,5) ## graphs pdf() par(col.main=4,omi=c(0,0,1.25,0)) split.screen(c(1,2))
2012 Apr 24
2
Combined grouped and stacked bargraph
Dear R list, I am having some trouble drawing a bar-graph with two groups, both of which are stacked. A sample of my data (IUCN and national conservation status for marine and terrestrial species) look like this: Status IUCN Terrestrial IUCN Marine National CS Terrestrial National CS Marine NE 168 69 16 69 LC 41 6 148 6 NT 5 4 7 4 VU 4 2 7 2 EN 4 2 4 2 CR 1
2008 Apr 10
6
two graphs in one figure?
Dear all, how can I plot a line graph and a bar graph in one single figure? I tried to combine "barplot" and "plot". Even though they both have the same x-values (1 to 55),  it just doesnt look as if they match in their scale (the barplot is much wider than the "plot"....even though I tried to put limits on the x-axis). Here is an example of what I did:
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
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
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 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 --
2006 May 15
1
pattern instead of colors in bargraph
Hi I am using R 2.2.0 under SuSE 10. I am creating a graph by using the following script: DietF <- read.csv ("DietFem.csv", header = TRUE, as.is=TRUE) attach (DietF) PP <- array(c(bud,flower,shoot,melon,seed.pod,detritus,other), c(16,7)) M <- paste (Month) detach (DietF) png(filename="DietF.png", width=960) barplot (t(PP), ylim=c(0,1), names.arg=M, space=0.3,
2011 Nov 28
1
Superimpose two graphs
Dear R users, I want to superimpose two graphs as well as ensure that they should have same scale with same x & y axis. I am using following command but it does not ensure same scale. *pdf(file = "../RESULTS/RS1.simulated.pdf", width = 10, height =6)* *plot(Reserves.RS, col = 1:2, screen = 1)* *par(new= TRUE)* *barplot(RS.active, axes = FALSE)* *dev.off()* * * Regards Vikram
2002 Dec 13
2
A beginner's problems with plotting
Hi, How would I go about plotting all 8 columns of a data.frame on a simple line graph. i.e. eight lines and sets of points, differentiated by line pattern or colour)? An what further arguments would I need to invoke a log scale on the y-axis of that same plot (normal x-axis)? Cheers, Jeremy
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
2005 Mar 10
1
Transparent colors OR two series on one histogram
Hi, I want to be able to plot a single histogram of a measured trait with trait values from two conditions on the same histogram to allow easy comparison. I have previously done this in excel by plotting the two series on a single bargraph having calculated frequencies in bins. You then get one condition plotted immediately to the right of the other. I hope that makes sense? I don't
2002 Dec 12
1
splitting columns into groups
Hi, I'm trying to split 96 columns into 8 groups and then obtain row totals for each of those groups. But: c.factor <- as.factor(c(rep(1:8,c(18,12,12,12,6,12,12,12))) data.groups <- split(data,c.factor) splits my rows into those groups. Is there anyway I can tell R to apply the split function to columns or am I doing something wrong when creating "c.factor" Cheers, Jeremy