Hi, all. I didn't find something like this in the faq
list:
I wound like build a function to substitute single
backslashes in a string to double:
ChangeSlash<-function(dir) ...
so
ChangeSlash("C:\mydocs\test")
returns
"C:\\mydocs\\test"
Thanks,
C.
Hi, all.
I didn't find something similar to this problem in
past list.
I have a data frame (named restr) where some columns
are factors, like you can see:
> table(restr[,"p1"])
0 1 2 3 4 5
0 26 1 0 1 0
> table(restr[,"p2"])
0 1 2 3 4 5 6
0 13 11 1 2 1 0
When I use appl
Thank you so much, but the commands in par doesn't
affect the pictures generated by postscript.
For example, I put lwd=3, and the postscript file is
the same, using par(lwd=3) or par(lwd=.5)...
--- Uwe Ligges <[EMAIL PROTECTED]>
escreveu:
> Cézar Freitas wrote:
>
> >
I tested in R versions 1.8.1 and 2, but doesn't works.
The attached plots can explain this. And mar isn't a
parameter to postscript command. If I use in par, it
doesn't affect the outpu.
Thanks,
C.
--- Uwe Ligges <[EMAIL PROTECTED]>
escreveu:
> Cézar Freitas wrote
Hi all.
I'm working with a short plot (3x3 inches), but the
results (via postscript command) are not nice. The lwd
command don't affect the lines (that are very large)
and the margins don't change using oma, mai, mar, ...
Below I put an example. Moreover, save the graphics
via postscript command is
x.main=.3, cex.sub=.3,
cex.lab=.3, mgp=c(1.5,.5,0))
boxplot(scores, horizontal=1, add=1, at=-2*yz/3,
boxwex=1.5*yz, bty="n", axes=FALSE)
points(q[4], -2*yz/3, col=1, pch="+", cex=.5)
dev.off()
--- Uwe Ligges <[EMAIL PROTECTED]>
escreveu:
> Cézar Freitas w
Hi, all. I need plot a boxplot under a histogram like
below, but some configs are troubled:
- the boxplot contours the plot, even if I put
bty="n", modifying the histogram plot;
- I changed the configs of axis to do a 3x3 inches
plot, but the result is 2 different axis.
For example, the code belo