Displaying 20 results from an estimated 500 matches similar to: "Problem with bargraph.CI in Sciplot package"
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 Feb 27
1
testing two-factor anova effects using model comparison approach with lm() and anova()
I wonder if someone could explain the behavior of the anova() and lm()
functions in the following situation:
I have a standard 3x2 factorial design, factorA has 3 levels, factorB has 2
levels, they are fully crossed. I have a dependent variable DV.
Of course I can do the following to get the usual anova table:
> anova(lm(DV~factorA+factorB+factorA:factorB))
Analysis of Variance Table
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
2008 Nov 04
1
How to generate a new factor variable by two other factor variables
How to generate a new factor variable by two other factor variables?
For example, if I have two factor variables, factorA and factorB,
factorA factorB
0 0
0 0
1 0
0 1
1 1
Is there a simple way to generate a new 4-levels factor variable as
factorC factorA factorB
0 0 0
0 0 0
1 1 0
2 0 1
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
2008 Nov 30
2
Randomization of a two-way ANOVA?
Hello list,
I wish to perform a randomization test on the F-statistics of a 2 way ANOVA
but have not been able to find out how to do so - is there a package /
function that can perform this that I am unaware of?
FactorA has 6 levels (0,1,2,3,4,5) whereas FactorB has 3 (1,2,3). A sample:
Resp. FactorA FactorB
2 0 2
3 1 2
1 2 2
0 3 2
0 4 2
0 5 2
4 0 1
6 1 1
1 2 1
0 3 1
1 4 1
0 5 1
2 0 2
3 1 2
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
--
2004 Aug 06
1
Lattice: how to index in a custom panel function?
Hi,
I have a lattice xyplot that contains panels according to FactorA, and
curves for the 2 levels of Factor B within a panel.
I try to add text in the panels of a lattice graph. I suppose I have to
write a custom function (panel.txt).
What I really would like is to adapt the text in the panel according to
the levels of FactorA.
In the manuals, I find examples for the strips using which.given
2008 Mar 25
0
Behaviour of interactions in glm
Dear All,
I'm struggling a little with the behaviour of R with GLM interactions. In
particular, I have a dataset with two factors - call them factor A and
factor B, where I would like to fit a GLM that is factor A + (grouped
factor A):factor B.
To try to isolate this, I've ignored the original "factor A" part, as that
I have this as a separate column in my data. So, it
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.
2005 Dec 26
3
factorial anova
Hello every body, I am trying to do a factorial anova analysis
following this model:
model<-anova(lm(responsevariable~factorA*factorB))
model<-anova(lm(luz$dosel~luz$estado*luz$Bosque))
Df Sum Sq Mean Sq F value Pr(>F)
estado 1 6931.1 6931.1 41.6455 7.974e-06 ***
Bosque 1 36.6 36.6 0.2197 0.6456
estado:Bosque 1 36.6 36.6 0.2197 0.6456
Residuals
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
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
2011 Jan 21
1
TRADUCING lmer() syntax into lme()
---------- Forwarded message ----------
From: Freddy Gamma <freddy.gamma@gmail.com>
Date: 2011/1/21
Subject: TRADUCING lmer() syntax into lme()
To: r-sig-mixed-models@r-project.org
Dear Rsociety,
I'd like to kingly ask to anyone is willing to answer me how to implement a
NON NESTED random effects structure in lme()
In particular I've tried the following translation from lmer to
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 =
2007 Mar 20
2
Problem adjusting x-labels with bargraphCI
Hello:
I'm having quite a bit of difficulty adjusting the x-labels using bargraphCI. I've tried using text and srt=45 to rotate the labels or mtext for 2 lines to break up the labels. However, using either method, I cannot line up the labels with the midpoints of the bars (they line up with some sort of tick mark that is off the midpoint of the bars). Any suggestions would be greatly
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,
2001 Aug 02
4
pictex driver and bargraph shading
I'm trying to use the pictex driver for bargraphs, and the shading isn't
showing up. Is there any way to get some sort of shading in the plots? A
hatch or stipple would be fine, too; just some way to differentiate the
bars.
The postscript driver won't do, since I'm trying to embed this in a LaTeX
document which I'll use pdflatex on and \includegraphics for pdftex doesn't
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
2006 Nov 10
0
Announcement: sciplot (includes functions for graphs w/ error bars)
The package "sciplot" is now available for download from CRAN. This
package includes a collection of functions that create graphs with error
bars for data collected from one-way or higher factorial designs, as
well as a function to plot bifurcation diagrams resulting from analysis
with XPPAUTO. The functions in this package replicate some of the
functionality of plotmeans() from the