Displaying 20 results from an estimated 10000 matches similar to: "Change page in postscript()"
2002 Oct 31
7
Symbols for male/female
Dear all,
I would like to use the biological symbols for male and female as plotting
symbols in a scatterplot (ideally filled and non-filled). R does not seem
to have these symbols using pch= in plot() nor are they implemented via
expression() or at least I did not find them. I found that the symbols are
e.g. available in the wasysym and the marvosym package in LaTeX.
I have coded two very rough
2002 Oct 31
7
Symbols for male/female
Dear all,
I would like to use the biological symbols for male and female as plotting
symbols in a scatterplot (ideally filled and non-filled). R does not seem
to have these symbols using pch= in plot() nor are they implemented via
expression() or at least I did not find them. I found that the symbols are
e.g. available in the wasysym and the marvosym package in LaTeX.
I have coded two very rough
1999 Jan 25
2
graphical paramters to boxplot
Dear all,
is this a bug or do a miss something (this concerns version 0.63.1 on
Linux)?
> boxplot (c (1, 2, 3, 4, 5), ylim= c (-5, 5))
Warning: parameter "ylim" couldn't be set in high-level plot() function
> boxplot (c (1, 2, 3, 4, 5), pars= list (ylim= c (-5, 5)))
Warning: parameter "ylim" couldn't be set in high-level plot() function
>
and actually in
1998 Dec 03
1
image ()
Dear all,
I am working with R Version 0.62.2 (July 10, 1998) on a SuSE Linux 5.2.
I have troubles in understanding the function image (). Can someone
enlighten me?
I'd like to draw a square image-plot (with every little part of the image
a square as well) and add some (straight) lines to it. Also, I create an
empty z matrix which I need to fill step by step. Thus I tried to find out
how
1999 Jan 08
1
avoiding (another) error
Dear all,
Many thanks to all who always so quickly respond with helpful hints!
Currently I am working with R 0.63.1 on SuSE 5.2 which I installed this
morning within about half an hour: my deepest compliments to the
developpers! (I had still 0.62.2 before.)
This time I am trying the following:
> xy <- list (a= c (1, 2, NA), b= c (2, 3))
> list.name <- "xy"
> get
1999 Jan 08
1
character vectors in data.frames
Dear all,
well, today I just seem to run into these problems ... (I am still working
on R 0.63.1 on a SuSE 5.2). I would like to have a data.frame that also
contains character (and NOT factor) vectors. Two things that I tried (the
second worked in R 0.62.2):
> test.df <- data.frame (X= character (4))
> test.df$X [1] <- "a"
Warning: invalid factor level, NAs generated
or:
1999 Jan 04
1
Error messages
Dear all,
The following works with a simple result of lm but gives the error with a
more complicated one (could this be due to singularities that occurr in
the model?).
> cooks.distance (X)
Error: NAs in foreign function call (arg 6)
> class (X)
[1] "lm"
But, actually, I would like to ask a more general question: Is there a
place (I searched in the CRAN site) where I find
2002 Nov 15
1
postscript()
Hi,
I've been trying out postscript() when onefile is set to FALSE. However
I'm having trouble understanding the documentation for postscript().
Suppose I want to do:
plot(1:10)
plot(1:10, type = "l")
and store them in foo.ps and goo.ps. Furthermore, I'd like to do then
with one postscript() command -- because this is just a simplified version
of what I really need
1998 Jul 16
1
R-beta: which Linux - again
Dear all,
I think this question has been raised very recently but I think I didn't
see repsonses on the list nor did I find the thread in the archives. (If
it is there I'd appreciate directions ...)
I am about to install Linux on a Compaq notebook. One important thing I
want to do is being able to run R. I have fiddled with different
distributions of Linux (LST, SuSE, Debian) and can
2002 Apr 15
1
Re: Writting R Function
Hi,
I think I found the problem. It lies in my Fortran program. Is there a
way, after a DO loop, to make sure it does NOT return anything?
Cheers,
Kevin
On Mon, 15 Apr 2002, Ko-Kang Kevin Wang wrote:
> Date: Mon, 15 Apr 2002 17:27:20 +1200 (NZST)
> From: Ko-Kang Kevin Wang <kwan022 at stat1.stat.auckland.ac.nz>
> To: R Help <r-help at stat.math.ethz.ch>
> Subject:
2005 Jan 31
3
Special paper for postscript
Hi, All;
When I generate a "special" paper postscript image larger than "a4" or
"letter" using R, I can only see one-page portion of all image, of course.
What will be the simple solution for this? Is there any way I can set the
bounding box information on the image? Or any other suggestions?
Thanks in advance;
Tae-Hoon Chung
1999 Feb 15
1
.Rdata questions
Dear all,
in a current project I have a pretty huge .Rdata. Thus I was working with
R --vsize 100 --nsize 1000000. Today when I tried to restart R I get the
following error message:
Error: a read error occured
Fatal error: unable to restore saved data
(remove .RData or increase memory)
I increased memory up to --vsize 180 and --nsize 2000000, but the error
reoccurrs. Is there a way to know
2004 Oct 22
2
grouping for lme with nested repeated measurements
I am using lme to handle repeated measurements.
So far i can follow the examples from the book from pinheiro and bates.
Now i get the problem , that i have "nested" repeated measuremnts, and i cant find out how to do the grouping part of the lme formula.
1.The simple problem ist that i have different Samples , from which i make repeated measurements (each sample is measured 6 times) and
2002 May 10
1
barplot()
Hi,
Is it possible to draw barplot with x-axis being shown? I looked up the
help file and I couldn't seem to find it.
For example, I tried to do
x <- 1:9
p <- log10(1 + 1/x)
barplot(p, xlab = "Digit d", ylab = "Probability",
ylim = c(0, 0.35), axes = F,
main = "Benford's Law Probability")
axis(1, 1:9)
axis(2, seq(0, 0.35, by = 0.05),
2002 May 06
4
Subtitle?
Hi,
Is it possible to add a subtitle that appears directly below the main
title?
I tried the "sub" parameter, but it adds sub-title to the bottom of the
plot.
Cheers,
Kevin
------------------------------------------------------------------------------
Ko-Kang Kevin Wang
Postgraduate PGDipSci Student
Department of Statistics
University of Auckland
New Zealand
Homepage:
2007 Aug 22
4
within-subject factors in lme
I don't think, this has been answered:
> I'm trying to run a 3-way within-subject anova in lme with 3
> fixed factors (Trust, Sex, and Freq), but get stuck with handling
> the random effects. As I want to include all the possible random
> effects in the model, it would be something more or less
> equivalent to using aov
>
> > fit.aov <- aov(Beta ~
>
2002 Sep 18
2
More on list to data frame (was: Re: List to Data Frame
Hi,
Now suppose I have just one list called FOO, which has 25 objects, e.g.:
[[1]]
1 2 3 4 5
[[2]]
6 7 8 9 10
.
.
.
And I want to do something like:
FRED <- data.frame(cbind(unlist(FOO[[1]]),
unlist(FOO[[2]]),
# ... for all 25 subsets
))
Is it possible to do this, without doing unlist(FOO[[i]]) 25
2002 May 06
3
Using Object's Name in Function
Hi,
Suppose I have a function:
myfunc <- function(x, y) {
...
}
And within the function I want to print out the name of the x, y
vectors. For example, if I do:
> myfunc(foo, goo)
[1] "foo" "goo"
It shall return "foo", "goo" (with or without quotes is fine), where foo
and goo are two vectors with numbers.
I know this sounds strange, but I'd
2002 Jun 08
2
More on for() Loop...
Hi,
Say I want to do something like fitting 10 different sized trees with
rpart() function. The only modification I need to do is to set 10
different cp's, which I have in a vector called foo.
Can I do something like:
for(i in 1:10) {
rpart(y ~ ., cp = foo[i], data = mydata)
}
My problem is, I wish to save the 10 rpart objects into 10 different
names, my.rpart1 ~ my.rpart10, for
2002 Apr 09
1
Fortran (77) in R
Hi,
I'm learning Fortran and trying to load a Fortran subroutine into R.
I've done:
R SHLIB Fibonacci.f
and it compiled fine.
Then I went into R and done:
> dyn.load("Fibonacci.so")
> Fib <- function(n) {
+ .Fortran("Fibonacci",
+ as.integer(n))[[1]]
+ }
> Fib(5)
Error in .Fortran("Fibonacci", as.integer(n)) :