search for: plotmean

Displaying 20 results from an estimated 67 matches for "plotmean".

Did you mean: plotmeans
2009 Nov 06
2
Adjusting Yaxis (ylim) limits on a plotMeans(DV, IV1, IV2, error.bars="se")
Hello everyone, I have tried to look for this everywhere and so far have no luck. I have a plotMeans(DV, IV1, IV2, error.bars="se") graph that plots my data (DV-continuous, IVs are factors, IV1 - two levels, IV2-four levels). I am trying to increase a scale of my y-axis (to be consistent with my other graphs), but unfortunately nothing works with "plotMeans" function, which i...
2011 Nov 09
2
plot separate groups with plotmeans()
Hi, I often use plotmeans() from the gplots package to quickly visualize a pattern of change. I would like to be able to plot separate lines for different groups, but the function gives an error when a grouping variable is included in the formula argument. For instance, > require(gplots) > x <- data.frame(S...
2009 Sep 18
1
Why don't formulas that work for lm() work for plotmeans?
I know that simple line plots showing a point representing the mean + an error bar are difficult in R, but I am clearly missing something. I simply want to show how a the mean and 95% CI of a chemical concentration (y) vary over space (x) under four temperature regimes (T; a categorical factor). plotmeans, in the gplots library, should allow for such a figure, right? After all, it invokes lm() in the help file for the formula, so any formula that works in lm() (e.g., y~x | T) should work in plotmeans. Obviously this is not so - can anyone suggest an alternative command or help me understand how...
2010 May 14
0
Help with using plotmeans - how do I have two or more sets of data on one plot?
Hello I'm having trouble being able to plot more than one set of data using the plotmeans function. Plotmeans is where you can plot means and standard errors easily. Here is part of my code plotmeans(Mmeans ~ Month, data=BW.hydat.05HG001, n.label=FALSE)#one set of data par(new=TRUE) plotmeans(Mmeans ~ Month, data=Mouth.hydat.05HH001, col="red")#the second set of data Bas...
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 argument in plotmeans(). Therefore, I have overlaid three plots (plotting all stations witin year). However, as the graphs are exctly overlaid, it is not possible to distinguish the conf...
2010 Jun 28
2
plotmeans
Hello, I am using library(gplots) to do something like data(state) x1 <- state.area/10000 x2 <- x1+round((rnorm(length(state.area),3,3))) plotmeans(x1 ~ state.region) Is it possible to plot x2 to x1 in the same graph, something like: linesmeans(x2 ~ state.region) Best wishes, Cheba [[alternative HTML version deleted]]
2002 Dec 27
2
RSvgDevice & sapply(plotmeans)
...i didn't found a better solution ? library(RSvgDevice) library(gregmisc) devSVG(file = "AllbusMeanPlots.svg", width = 10, height = 8, bg = "lightblue", fg = "white", onefile=T, xmlHeader=TRUE) #par(bg="lightblue",ann=T) plt <- function(x) { plotmeans(h2[,x] ~ h2$V174,ylab=names(h2)[x],xlab="InglehartIndex",mean.labels=T, connect=list(1:2,3:4,4:5),ccol="red",pch=7,barwidth=1,barcol="black") title("Mittelwert-Plots Allbus 1998") } sapply((2:ncol(h2)),plt) dev.off() Thanks for advance christian
2008 Jun 10
1
plotMeans() is there a ylim argument? Please Help.
I can not seem to get a ylim argument into plotMeans() is there anyway to do this. thanks in advance Stephen -- Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems...
2008 Oct 24
1
How to embed residual dot plots of BHH2::anovaPlot(...) into plotMeans(...)?
Dear R fans, I am preparing a lecture discussing the paper of Wilkinson and APA Task Force on Statistical Inference (1999, American Psychologist, 54, 594-604.) I'd like to demo their Figure 3B (p. 602) with R. That is to add plotMeans(...) with dots of BHH2::dotPlot(...) . Is there any elegant script to do the job? Thanks --------------- LI, Xiaoxu
2008 Feb 18
2
Custom Plot - means, SD & 5th-95th% (Plotmeans or Boxplot)?
...nd 5th and 95th percentiles visually, using something resembling a boxplot. Is it possible to completely customize a boxplot so that it shows means as the bar (instead of, not as well as medians), standard deviations at the hinges (instead of IQR) and 5th & 95th percentiles at the brackets? The plotmeans function (ggplots) allows means to be plotted, but it seems only with confidence intervals, not 5th and 95th percentiles, and also without hinges (for standard deviations). I've searched the forums and various books and have drawn a blank on this. Thanks. Steve ~~~~~~~~~~~~~~~~ Steve Worthin...
2005 Dec 01
8
Impaired boxplot functionality - mean instead of median
Hello to all users and wizards. I am regulary using 'boxplot' function or its analogue - 'bwplot' from the 'lattice' library. But they are, as far as I understand, totally flawed in functionality: they miss ability to select what they would draw 'in the middle' - median, mean. What the box means - standard error, 90% or something else. What the whiskers mean -
2006 Mar 06
0
font plotMeans
Hello, I want to create a plot whit plotMeans. How can I change the font? Thanks in advance. Teresa Boca __________________________________________________ [[alternative HTML version deleted]]
2012 Jul 24
1
Function for ddply
...re my issue is mundane. But here goes. I'm analyzing the American National Election Study (nes), looking at mean values of a numeric dep_var (environ.therm) across values of a factor (partyid3). I use ddply from plyr and wtd.mean from Hmisc. The nes requires a weight var (wt). I use Rcmdr's plotMeans to obtain a line chart. The following code works: attach(nes) obj1 = ddply(nes, .(partyid3), summarise, var = wtd.mean(environ.therm, wt)) print(obj1) plotMeans(obj1$var, obj1$partyid3, error.bars="none") Here is what happens when I write and run the function, meanN: meanN=function(...
2005 May 04
1
Plotting means and confidence intervals by group factor using lattice graphics?
...t error bars", col.sub = mybarcol, cex.names = 1.5, plot.ci = TRUE, ci.l = ci.l, ci.u = ci.u, plot.grid = TRUE) mtext(side = 1, at = colMeans(mp), line = -2, text = paste("Mean", formatC(colMeans(hh))), col = "red") box() Or like this: data(state) plotmeans(state.area ~ state.region) Both plotmeans and barplot2 give interesting options such as printing of nobs, among other things. In case of a barplot, there should be an option to plot the confidence intervals in one direction only (up) as to avoid interference with any black and white shading. T...
2006 Jan 16
1
gplots
Hi I am sure that this question has been asked before ... appologies in advance This - which comes out very nicely - better than the commercial stuff. plotmeans (cdpy~Dodefordpy, Data = Dataset, connect = False, minbar = 1, mean.labels = FALSE, col = "blue", barwidth = 1.5, barcol = "red", ci.label = FALSE, xlab="Onset", pch = 15, par(las =2)). Only one snag I want to order the X axis by the way it is sorted in the data not...
2012 Apr 02
6
como hacer grafico de medias con barra de desviacion estandar ??
estimados no he encontrado el modo de hacer en R el tipico grafico de medias con la desviacion estandar asociada ... me explico, tengo 2 variables numericas, para la variable independiente se elijen 3 niveles y en cada uno de ellos se mide 15 veces la variable respuesta, para este data.frame se quiere mostrar en un grafico en el eje X los 3 niveles escogidos y en el Y la vbla respuesta, pero no e
2010 Jun 16
1
Mean variance plot of a data frame
Hello, I have a data frame that looks like Position, Relevance 0, 0.151531117072265 0, 0.245532564696541 0, 0.285207130323724 0, 0.302718099889669 0, 0.308213700400889 0, 0.341562706518953 0.0151515151515152, 0.368991215730364 0.0263157894736842, 0.256406702156839 0.0263157894736842, 0.344003157058329 0.0303030303030303, 0.200307950418176 0.0303030303030303, 0.558093143666938 0.04,
2009 Nov 03
2
Plotting an interaction with error bars
...ns that draw error bars, but still couldn't find a way to draw an interaction plot that looks like what is common in psychological (and related) journals: the lines (three in my need) are plotted in parallel and to avoid overlapping of the error bars a small jitter is added. I was able to make plotmeans() {from gplots} draw the interaction but with the lines plotted side by side (not parallel), resulting in three panes of one line each. When I tried manually super-imposing (looping a draw of one line for each level in the trace.factor) I got the overall look, but the error bars overlap and are ha...
2007 Dec 19
2
Question about which kind of plot to use
...of my data is shown below. Score 1 Mean SD B M T B M T V 86.9 13.0 88.8 16.9 2.0 10.5 W 16.1 96.1 17.7 2.2 4.6 1.7 X 50.7 61.1 74.7 4.7 3.7 7.6 Y 68.5 99.7 37.6 6.0 8.0 2.3 Z 92.7 22.3 69.4 6.5 1.2 2.2 What I did before was a standard mean plot: plotMeans(w$score1, w$Factor, error.bars="sd",xlab="Factor",ylab="Score",main="Group W Score 1 Plot") However, with 15 groups and 5 scores this turns into 75 individual graphs. Is there a way to layer mean plots? Or show several mean plots in the Same graph? Any...
2003 Jun 07
1
beginner's question: Graphical presentation of t test
Hi, Is there any way to use R to present t test results for three groups of experiments, each of which involves several parallel experiment series with groups of control vs treated. I would like to present the average fold change of the experimental parameter (concentration of enzymes) as bars with standard error and the p value above the bar. So, there should be two groups (control vs