On Mon, 2009-03-02 at 11:23 -0600, maxa0...@umn.edu wrote: > 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 misusing the par function?
You need to issue par() before bargraph.CI() E.g. par(family="serif", font=11) bargraph.CI(x.factor = dose, response = len, data = ToothGrowth) Note that you could also use the cex options to change the font size within bargraph.CI() Manuel > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- http://mutualism.williams.edu
signature.asc
Description: This is a digitally signed message part
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.