Displaying 20 results from an estimated 20000 matches similar to: "Control of vertical spacing in Lattice key text?"
2000 Aug 14
0
Postscript device bug when more than one page is needed?
It would appear to me that there is a bug in the postscript device
when multiple pages are required. Line widths can be only 1 after the
first page. I have not seen reference to this as a problem before.
test.device <-
function()
{
# looks like the problem is in the postscript device
postscript(file = paste("Test.ps"), horizontal = F)
on.exit(dev.off())
2003 May 07
1
Tick labels on y axis in lattice plots
I seem to remember this was discussed a year or two ago, but I can't
find it in the archives.
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 7.0
year 2003
month 04
day 16
language R
2005 Feb 17
1
Lattice tick labels not all appearing
Recently I've encountered a phenomenon that can be illustrated thus:
> bwplot(runif(45)*100)
Depending on the random seed, one or other or both of the outer tick
labels are not labelled, even though there'd be heaps of space to do
so. The same happens with the postscript device.
I can get them both to appear if I add an excessive xlim parameter
like so:
> bwplot(runif(25)*100,
2003 Feb 21
1
more mulitpage postscript problems
Hi,
I posted a while ago about 'overlap' problems using png/jpeg. If what
Patrick Connolly suggests is truly happening, I think the following may be
related.
My new problem is with the following code (the overlap is still there if I
use png() instead of postscript(), compounded by the difficulty described
below):
tmp <- matrix(runif(16000), nrow=16)
2005 Sep 07
1
Lattice key seems to ignore the key list
I've never had this problem before and can't see what could be
different from other times I've used keys with lattice.
It appears that auto.key is being taken as TRUE when I specify a key
list. The list I specify seems to be ignored.
Where can I place a browser to figure out what is going on?
Having made a list key.symbol from trellis.par.get, and specified a
scales list and a
2002 Sep 24
1
Vanishing tick marks using bwplot (lattice)
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 5.1
year 2002
month 06
day 17
language R
I've been using bwplot to plot a dataframe that has a structure like
this:
str(plot.df)
`data.frame': 5952
2002 Dec 03
1
Common keys on separate lattice plots
In 'normal' plotting, by using text(.... outer = TRUE), I can set a
title that can refer to multiple plots.
I'm trying to achieve a similar effect with several trellis objects
with which I wish to use a common key. I can only think of
complicated ways of achieving such an end by using a separate grid
graphic which didn't have any plot, but text only.
Is there something more
2002 Dec 05
2
Two different yaxes with lattice plots
In "normal" plots, I can do an axis at side = 2 and a different one at
side = 4. I've not been able to figure out how to do the same thing
with lattice plots. The scales list can have only one sublist named
y. I had thought of using a separate viewport alongside with the text
for the axis label, but I can't see how I could get the ticks to work.
Ideas appreciated.
Thanks.
2003 May 05
1
Matrix manipulation
I have a square matrix wherein a '*' indicates an HSD between the
levels indicated by row name and column name. The '.' is simply
marking the diagonal. A blank indicates the same group
A B C D E F G H I J K L M N
A .
B .
C * * .
D * * .
E * * * .
F * * * .
2005 Nov 06
1
kinship package example data
I've been looking at the kinship package which looks as though it
might be appropriate for my purposes. What I can't find is any
reference to the data that is used in the example code. A dataframe
called d10 with column names, upn, dadid, momid, sex and affect is
required. One can get an idea of what sort of values should be in
most columns from the description in the pedigree function,
2000 Aug 03
1
PNG files and the png function
I can use a postscript device to produce a file which I can open with
the Gimp, then save quite a good png file.
If I try to use the png() function directly, I get something rather
like a graphics screen dump. The help file doesn't tell me whether it
should be like that or not.
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system
2002 Sep 11
1
one question about title
Dear,
Thanks for your help. My question is the title can not completely show in the drawing area when the title is too long.
So, I need to change the value of cex.main each time. Could you help me to control the title display area?
Regrad,
ken
-----Original Message-----
From: Patrick Connolly [mailto:p.connolly at hortresearch.co.nz]
Sent: Wednesday, September 11, 2002 4:41 AM
To: Ken
2002 Dec 11
1
Adding a title to a postscript file
I create lots of postscript files which I view with ghostview. The
beginning of the files all begin something like
%!PS-Adobe-3.0
%%DocumentNeededResources: font Helvetica
%%+ font Helvetica-Bold
%%+ font Helvetica-Oblique
%%+ font Helvetica-BoldOblique
%%+ font Symbol
%%DocumentMedia: a4 595 841 0 () ()
%%Title: R Graphics Output
%%Creator: R Software
The consequence is that in ghostview,
2004 May 18
1
Using pointsize with postscript trellis.device
I've been accustomed to specifying a postscript file and pointsize
like so:
trellis.device(postscript, file = "something.ps", pointsize = 8)
Using version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 9.0
year 2004
2003 Apr 22
2
How do I get 10^4 to become 10000?
Of course, that's as trivial as it gets on the command line, but I
can't work out how to get a column of numbers that are entered as
"10^5" from its 'character' format into a numeric one?
I feel a bit embarrassed asking such a simple question. Too much
Easter....
Thanks
--
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand
Ph: +64-9 815 4200 x 7188
2004 Dec 21
4
Removing trailing spaces
Some years ago when I used S-PLUS, I seem to remember, there was a
discussion about a simple method of removing trailing spaces from
vector elements. I'd be fairly sure the same would work in R, but I
can't find any mention of anything like it in the R archives or with
help.search().
There are ways I could do it with substring(), but I seem to remember
there was something more elegant.
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
2006 Jan 18
1
Canonical Variance Analysis by any other name?
I've been asked about "Canonical Variance Analysis" (CVA). I don't
see any reference to it searching the R site. Does it go by other
names?
Genstat describes it thus:
Canonical variates analysis operates on a within-group sums of squares
and products matrix, calculated from a set of variates and factor that
specifies the grouping of units. It finds linear combinations of the
2000 Aug 09
0
Postscript device
It would appear to me that there is a bug in the postscript device
when multiple pages are required. Line widths can be only 1 after the
first page. I have not seen reference to this as a problem before.
test.device <-
function()
{
# looks like the problem is in the postscript device
postscript(file = paste("Test.ps"), horizontal = F)
on.exit(dev.off())
2003 Apr 17
2
make check failure with R-1.7.0
I'm baffled. When I run make check after installing from source, I
get a Error 2. From my understanding of how these things work, it
would appear to be coming from this (as at the end of base-Ex.Rout.fail:
> has.VR <- require(MASS, quietly = TRUE)
Attaching package 'MASS':
The following object(s) are masked from package:base :
confint confint.lm nclass.FD nclass.scott