Hi all,
I've had a few years experience with R, which is why this is so frustrating,
my problem seems so simple but I can't find a solution.
I have a data frame in the following form:
data.frame(var1=c(0,0,1,1),var2=c(0,1,0,1),freq=c(11,12,13,14))
How do I create a crosstab with frequencies?
How can I resolve this problem?...
As a general example,
plot (1:4)
polygon(c(0,0,5,5),c(0,5,5,0), border="lavenderblush1", col =
"lavenderblush1")
###see how this overlays the axes lines
#I have tried...
for (k in 1:4) axis(k, lwd.ticks=0, label=F)
#...but this misses the corners
Any suggest
Thanks, this solves the problem
--
View this message in context:
http://n4.nabble.com/graph-shading-is-overlaying-axes-tp989750p989787.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz
Please see this code for a demonstration of my problem...
xlim <- c(-1,5)
plot(1:4, xlim=xlim)
abline(v=xlim[1])
abline(v=xlim[2])
When I refer to xlim, it is not referring to the boundaries of the graphical
region, it refers to the maximum and minimum xticks. My question is how can
I refer to
4 matches
Mail list logo