Displaying 20 results from an estimated 3000 matches similar to: "Announcement: sciplot (includes functions for graphs w/ error bars)"
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
How to plot 2 continous variables on double y-axis with 2 factors: ggplot2, gplot, lattice, sciplot?
2013 Feb 25
3
How to plot 2 continous variables on double y-axis with 2 factors: ggplot2, gplot, lattice, sciplot?
Hi,
I have a data set with two continous variables that I want to plot MEANS (I
am not intrerested in median values) on a double-y graph. I also have 2
factors. I want the factor combinations plotted in different panes.
Dummy dataset:
mydata <- data.frame(factor1 = factor(rep(LETTERS[1:3], each = 40)),
factor2 = factor(rep(c(1:4), each = 10)),
y1 =
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
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
2010 Apr 02
1
lineplot.CI in "sciplot": option "ci.fun" can't be changed?
hi List and Manuel,
I have encounter the following problem with the function "lineplot.CI".? I'm running R 2.10.1, sciplot 1.0-7 on Win XP.? It seems like it's a scoping issue, but I couldn't figure it out.
Thanks!
...Tao
> lineplot.CI(x.factor = dose, response = len, data = ToothGrowth)??? ## fine
> lineplot.CI(x.factor = dose, response = len, data = ToothGrowth,
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]] :
2006 Nov 27
1
x axis on sciplot
Is it possible to format the x axis, so that days are spaced
proportionately?
i.e. a larger space between 50 & 100, than 0 and 5?
Have not had any luck with axis.POSIXct().
Many thanks
Murray
try <-
structure(list(visit = structure(as.integer(c(1, 2, 3, 4, 5,
1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1,
2, 3, 4, 5)), .Label = c("Screening", "0",
2009 May 22
2
sciplot question
Hi,
I would like to have lineplot.CI and barplot.CI to actually plot
confidence intervals , instead of standard error.
I understand I have to use the ci.fun option, but I'm not quite sure
how.
Like this :
> qt(0.975,df=n-1)*s/sqrt(n)
but how can I apply it to visualize the length of the student's T
confidence intervals rather than the stdandard error of the plotted
means
2009 Nov 03
2
Plotting an interaction with error bars
Hello.
I need to plot a two-way interaction (5 levels X 3) with error bars.
The x.factor will be the five-levels var and the trace.factor will be
the three level var.
I was able to find functions 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
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
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
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(Score=rnorm(100), Time=rep(1:10, 10),
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()
2007 Sep 28
2
plot graph with error bars trouble
Hi,
I have a data set like this:
Mutant Rep Time OD
02H02 1 0 0.029
02H02 2 0 0.029
02H02 3 0 0.023
02H02 1 8 0.655
02H02 2 8 0.615
02H02 3 8 0.557
02H02 1 12 1.776
02H02 2 12 1.859
02H02 3 12 1.668
02H02 1 16 3.379
02H02 2 16 3.726
02H02 3 16 3.367
306 1 0 0.033
306 2
2005 Dec 13
0
Updated version of gdata, gtools, gplots and gmodels
Hello,
We have submitted the updated version of gdata, gmodels, gplots and gtools to CRAN.
Summary of the changes is attached at the end.
Best,
Nitin
______________________
Nitin Jain, PhD
<nitin.jain at pfizer.com>
Non Clinical Statistics
Pfizer, Inc. (Groton, CT)
Bldg: 260, # 1451
Ph: (860) 686-2526 (Office)
Fax: (860) 686-6170
Brief description of changes:
CHANGES IN GDATA 2.1.2
2005 Dec 13
0
Updated version of gdata, gtools, gplots and gmodels
Hello,
We have submitted the updated version of gdata, gmodels, gplots and gtools to CRAN.
Summary of the changes is attached at the end.
Best,
Nitin
______________________
Nitin Jain, PhD
<nitin.jain at pfizer.com>
Non Clinical Statistics
Pfizer, Inc. (Groton, CT)
Bldg: 260, # 1451
Ph: (860) 686-2526 (Office)
Fax: (860) 686-6170
Brief description of changes:
CHANGES IN GDATA 2.1.2
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]]
2008 Jul 11
2
Problems with Package Installation.
I am having difficulty installing packages. For example, here I have tried to
install "gplots" but to no avail. I have tried multiple mirrors and
different packages (errbar) but after installation I seem to be unable to
access any of the commands or help pages. I am a little concerned about the
'lib' missing message but this has been present for previous successful
package
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
Basically
2008 Mar 03
1
names of data.frame variables?
Hi there!
I'd like to make many tests and plots, for each variables.
i.E.
i <- 1
repeat {
print (t.test(e[i], f[i]))
i <- i + 1
if (i == 21) break
}
but the output is:
Welch Two Sample t-test
data: e[i] and f[i]
...
so I don't know which data was calculated.
Is there a way to tell the t.test or I'll make the same with plotmeans
(from the gplots library)