Displaying 20 results from an estimated 2000 matches similar to: "multiple x factors using the sciplot package"
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
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]] :
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 =
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,
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
2011 May 25
2
barplot groups of different size i.e. height is NOT a matrix
Hello,
I want to use the function barplot do display several group of bars.
A standard example is given at this link
http://onertipaday.blogspot.com/2007/05/make-many-barplot-into-one-plot.html
But in their example the 4 groups of bars are all composed of 8 bars.
I want to be able do display the same kind of graph but where the number
of bars in each group are not the same. For example the
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",
2010 May 09
3
Plotting log-axis with the exponential base to a plot with the default logarithm base 10
Hello!
I have a problem which I have tried to solve for several days now..
I have plottet a lineplot.CI in the library "sciplot", and I am trying to
plot it with a logaritmic y-axis (with exponential base).
The problem is that; when I type "log "y"", the axis transforms into the
logaritmic of base 10.
I wonder if someeone could tell me how to specify that I would
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
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
2011 Jul 21
4
squared "pie chart" - is there such a thing?
Hello!
It's a shoot in the dark, but I'll try. If one has a total of 100
(e.g., %), and three components of the total, e.g.,
mytotal=data.frame(x=50,y=30,z=20), - one could build a pie chart with
3 sectors representing x, y, and z according to their proportions in
the total.
I am wondering if it's possible to build something very similar, but
not on a circle but in a square - such that
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
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.
2010 Oct 29
2
make many barplot into one plot
Dear R users
I would like to group my barplot graph (see example on the R help link). The proposed R code, adding individual bars to the plot, looks really overwhelming. My specific dataset just consists of five groups and three different levels within each groups (the individual bars). The .txt file is read as matrix (horizontal: group, vertical: levels).
The R trellis barchart (function
2009 Nov 06
1
centos 5.3 install ncview X libraries error and netcdf header error
I was trying to install software named ncview on a centos 5.3 box.
./configure command gave this error:
Error, the X libraries and development headers must be installed for ncview
to work!
I was surprised that there were many google hits related to ubuntu, none for
centos. So even though I eventually figured out what to do, I decided to
share this with the list anyhow, so maybe next time I
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
2008 Feb 15
3
lineplot.CI problem
Hi List,
I have a problem plotting data using the lineplot.CI command in the sciplot package.
I want to plot the data of 2 experimental cases using different lines (traces). Time is on the X-axis. The tricky thing is that the data collection in the second case started later than for the first case. This is to say: the first n data points for the second case are missing.
So far so good. However,
2009 May 04
1
mosaic plot with two factors and one continous variable
Hello,
my dataset is already aggregated: I have two categorical variables, say
"continent" and "country" and one non-negative metric variable "population".
Now I would like to produce a mosaic plot which uses "population" to
determine how large each area of the plot is.
In other words, I fail to find out
- how to use the mosaic function of the vcd package
2011 Mar 30
4
fonts in mosaic
I need to change the font(s) used in mosaic from package vcd.
The help file and the vignette do not give very explicit examples for
doing that.
The easiest solution would be changing the font for everything
on the graph: var labels, var names, title, subtitle, and cell labels.
What is the easiest way of accomplishing this?