Displaying 20 results from an estimated 10000 matches similar to: "why this postscript didn't work?"
2004 Jul 16
3
rpart and TREE, can be the same?
Hi, all,
I am wondering if it is possible to set parameters of 'rpart' and 'tree'
such that they will produce the exact same tree? Thanks.
Auston Wei
Statistical Analyst
Department of Biostatistics and Applied Mathematics
The University of Texas MD Anderson Cancer Center
Tel: 713-563-4281
Email: wwei@mdanderson.org
[[alternative HTML version deleted]]
2006 Oct 02
2
Help with lrm function in package Design
Hi, there,
I am having trouble using 'lrm' function in package 'Design'. Basically,
the ' . ' after ' ~ ' wouldn't work. Here are some sample codes:
> temp <-
data.frame(a=c(rep(0,3),rep(1,3)),b=rnorm(6),c=c('a','b','c','a','b','c'))
> lrm(a~.,data=temp)
Error in terms.formula(formula, specials =
2006 Mar 10
1
error message in cph
Hi, List,
I am using function 'cph' in package 'Design'. I have run into this error
message but could not find documentation after looking for a long time.
Could someone help me out? What kind of problem it is in my data set and
how to fix it?
Thanks a lot!
Auston
Error in fitter(X, Y, strata = Strata, offset = offset, weights = weights,
:NA/NaN/Inf in foreign function
2004 Oct 04
2
how to change data type in data frame?
Hi, list,
suppose i have such a data frame:
trash <-
data.frame(cbind(seq(1:5),c('a','a','b','a','b'),c('b','a','b','b','a')))
names(trash) <- c('age','typeI','typeII')
and I want to change all 'a's to be 0 and 'b's to be 1.
temp <- as.matrix(trash)
2009 May 08
2
Help to extract results from lme.object
Hi list,
Would someone please give me a hint how to extract the between and within
subject StdDev from "lme" fit? Below is the output from the fit, but I couldn't
find the number 0.3927714 anywhere in the fitted object. Thanks in advance for
your help!
Random effects:
Formula: ~1 | group
(Intercept) Residual
StdDev: 0.3927714 0.7857085
Best,
Auston
2005 Apr 26
2
postscript (eps) / latex / par(mfg=...) / problem!
The same problem I am having has been reported here
http://tolstoy.newcastle.edu.au/R/devel/04a/0344.html
Namely that using par(mfg=...) with a postscript (eps) for inclusion with
latex makes the figure appear upside down and back to front (flipped)!
Converting the dvi to ps makes matters worse (the eps seems to be broken),
however, it appears fine with gv.
Here is (basically) the code I am
2005 Apr 26
2
postscript (eps) / latex / par(mfg=...) / problem!
The same problem I am having has been reported here
http://tolstoy.newcastle.edu.au/R/devel/04a/0344.html
Namely that using par(mfg=...) with a postscript (eps) for inclusion with
latex makes the figure appear upside down and back to front (flipped)!
Converting the dvi to ps makes matters worse (the eps seems to be broken),
however, it appears fine with gv.
Here is (basically) the code I am
2003 Sep 26
1
empty postscript output of figures
Hi,
I have a puzzeling problem. I want to export graphics from R to TeX via
postscript(). This works fine for some graphs, but for others, the eps
remain empty when viewed with GSView. When such an empty eps is imported
to TeX, the figure appears upside down and very small, irrespective of
TeX width and height commands. If I transform the eps to pdf, the
graphic shows up, but turned aqround 90°.
2005 Feb 17
1
short plots: lwd, margin and postscript behavior
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 isn't working well (see the
attached ps).
Thanks by the help,
Cezar Freitas.
1999 Sep 08
1
PostScript output error
Hello,
I'm currently using R-0.65.0 with --gnome option in
configure on IRIX64 and Debian GNU/Linux.
I found a problem in generated postscript file which
has following sequence:
x <- 1:30
postscript("output.ps")
par(mfg=c(1,1,2,2))
plot(x,sin(x))
plot(x,sin(x))
plot(x,sin(x))
plot(x,sin(x))
dev.off()
The generated postscript file "output.ps" can't
2004 Aug 13
3
Question from Newbie on PostScript and Multiple Plots
Hi,
As I'm pretty new to R I hope this question isn't too basic.
I am currently looping through my dataset and for each iteration am
producing three separate plots. When I output these plots to the screen
they are nicely grouped as three plots per page, however, when I try to send
it to a PostScript file I get one page for each plot. I have adjusted my
postscript options so that my
2009 Aug 18
2
ENC: postscript, options
I'm not shure but I guess that you miss a " and putted it in the wrong
place!
Try this: postscript("/pathto/filename.eps",horizontal=FALSE,onefile=FALSE)
Hope It helps.
-----Mensagem original-----
De: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Em
nome de e-letter
Enviada em: segunda-feira, 17 de agosto de 2009 10:11
Para: r-help at r-project.org
2006 Jan 20
1
par(mfg=) and postscript and pdf
This is related to the incorrect bug report PR#7820. Marc Schwartz
pointed out in
https://stat.ethz.ch/pipermail/r-devel/2005-April/033016.html
an example of a real problem. If you call par(mfg=) after par(mfrow) (or
mfcol) and before you have done any plotting, NewPage is not called on the
device at the start of the first page. That causes the DSC comments to be
incorrect on postscript()
2012 Oct 07
1
Problem with national characters in main, xlab, ylab with pdf{grDevices} / postscript {grDevices}
Hello.
I'm trying to make some graphics with nationalized labels (pdf for use
in LaTeX document).
On console (displayed on screen) using all looks ok:
----------------------------------------\/
data<-rnorm(100)
hist(data,main='Rozk?ad g?sto?ci punkt?w', xlab='Warto?? na osi y',
ylab='Cz?sto?? wyst?powania')
-------------------------------------------/\
But
2006 May 23
2
multiple plots with par mfg
Hi,
I'm trying to add points to 2 plots on the fly using par(mfg=vector)
so switch between them. However, the appropriate scales aren't
switched when changing from one plot to another, e.g.
par(mfcol=c(2,1))
plot(1,1, col="blue") # blue plot
plot(1.2,1.2, col="red") # red plot
points(1.1,1.1) # appears to bottom left of red point
par(mfg=c(1,1)) #
2004 Feb 20
1
unexpected postscript output with par(mfg)
Hi, a colleague of mine encountered some unexpected behavior regarding
the postscript output from R. It's difficult for me to tell whether
or not this is an R problem or a ghostview/gv/interpreter problem.
Just to note, I think it's exactly the same situation reported here:
http://finzi.psych.upenn.edu/R/Rhelp02/archive/25436.html
The following code produces a working plot (no
2006 Nov 11
1
postscript and histogram plots
Hi All
The following code plots a little histogram perfectly well under X on the screen but when I use the postscript command (also shown) to send this to a file I get an incomplete histogram. It seems to print only the first half of the bins. All headings and axes are OK.
hist(d[,2],25,xlab="Calls",main="Customer Weekly Profile")
# d[,2] is a data vector
2002 Jul 22
3
Vector Manipulation
Greetings,
I wonder if someone could point me towards a more elegent solution than
what I"ve kluged together. I have a vector "samp1" of 296 integers.
They are sorted in ascending order and the numbers range from 177 to
228,953. I'd like to specify N non-overlapping intervals covering the
range from 0 to 229,354 and then for each range, count the number of
integers from samp1
2006 Jan 25
1
imbalanced classes
Hi Andy,
I know this topic has been discussed before on the R-help, but I was
wondering if you could offer some advice specific to my application.
I'm using the R random forest package to compare two classes of data,
the number of cases in each class relatively low, 28 in class 1 and 9
in class 2. I'd really like to use R environment to analyze this data,
however I'm finding it
2003 Nov 21
3
speeding up a pairwise correlation calculation
Hi,
I have a data.frame with 294 columns and 211 rows. I am calculating
correlations between all pairs of columns (excluding column 1) and based
on these correlation values I delete one column from any pair that shows
a R^2 greater than a cuttoff value. (Rather than directly delete the
column all I do is store the column number, and do the deletion later)
The code I am using is:
ndesc