Displaying 4 results from an estimated 4 matches for "philnotfil".
2008 Oct 30
2
bizarre axes with xyplot, problem in data?
Good Morning,
I am using xyplot to show two variables for each of several subjects as
follows:
xyplot(y~x|as.factor(ID), type="b", layout=c(7,9),
scales=list(x=list(tick.number=3), y=list(tick.number=5)))
This is almost exactly the code I used for an earlier project, the only
change is the number of ticks, but I'm getting all kinds of craziness on my
Y axis. I played around with
2008 Nov 28
1
side by side boxplots
Good Morning,
I am trying to get side by side boxplots of two groups on the
same variable. The last item under ?boxplot led me to some useful
code.
I use "boxwex" to make the boxes narrower, "at" to shift them
over and "add" to draw them both on the same graph. Something along
the lines of:
attach(group1)
boxplot(Y~X, col="blue", boxwex=.4,
2010 Jun 09
1
barplot of a table
Good morning,
I've been dabbling in R, so my knowledge has quite a few holes in it. I'm
hoping that this has a simple answer and just falls into one of those holes.
I have a table of percentages that I want to display as a barchart. Groups
1-4 in columns and Variables 1-5 in rows, with the percentage of each group
expressing interest in each variable in the cells. In Excel I just