|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
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 is the only one I see so fat to plot what I need. Could anyone provide any suggestions or advice? Thank you. Sergey (UNL, Behavioral Psychopharmacology Lab) |
|
|
|
|
|
Re: Adjusting Yaxis (ylim) limits on a plotMeans(DV, IV1, IV2, error.bars="se")Thank you very much Steven,
This works like a charm. Thank you, Thank you. Sincerely, Sergios Charntikov (Sergey), MA Behavioral Neuropharmacology Lab Department of Psychology University of Nebraska-Lincoln Lincoln, NE 68588-0308 USA On Thu, Nov 5, 2009 at 11:27 PM, Steven McKinney <smckinney@...> wrote: > Hi Sergey > > I've attached a script with a ylim argument added to plotMeans. > > If you are using Rcmdr, you can load this script via the Rcmdr File menu > item > File > Open Script File > > so save this plotMeans.R script somewhere, > and load it and run it in Rcmdr, then > do your plot command > plotMeans(DV, IV1, IV2, error.bars="se", ylim = c(27, 99)) > or whatever your desired ylim values are. > > HTH > > > Steven McKinney, Ph.D. > > Statistician > Molecular Oncology and Breast Cancer Program > British Columbia Cancer Research Centre > > email: smckinney +at+ bccrc +dot+ ca > > tel: 604-675-8000 x7561 > > BCCRC > Molecular Oncology > 675 West 10th Ave, Floor 4 > Vancouver B.C. > V5Z 1L3 > Canada > > ________________________________________ > From: r-help-bounces@... [r-help-bounces@...] On > Behalf Of Sergios (Sergey) Charntikov [sergioschr@...] > Sent: November 5, 2009 7:51 PM > To: r-help@... > Subject: [R] 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 > is > the only one I see so fat to plot what I need. Could anyone provide any > suggestions or advice? > > Thank you. > > Sergey (UNL, Behavioral Psychopharmacology Lab) > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@... 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. > [[alternative HTML version deleted]] ______________________________________________ R-help@... 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. |
| Free embeddable forum powered by Nabble | Forum Help |