Displaying 20 results from an estimated 9000 matches similar to: "Lattice tick labels not all appearing"
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
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
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())
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.
2005 Mar 15
1
Control of vertical spacing in Lattice key text?
I find the key and legend functions in Lattice very useful. Trouble
is, now I can see what else I'd like to be able to do with them.
If I put a title on a key, it appears too close to the key itself, and
if there's a line break in the title (which often happens), the
leading between the lines is too much.
What I can do is print to a postscript file, then find the lines in
the postscript
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
2005 Jun 14
2
lattice, panel.grid, and scales=list(tick.number=XXX)
I have a Lattice plot in which I want to adjust the number of tick
marks used, and I want to have the drawn grid reflect that change.
Here is what I'm doing:
bwplot(var1 ~ var2, data=df, scales=list(tick.number=10),
panel=function(...) {
panel.grid(h=0,v=-1,...);
panel.stripplot(col="gray40", pch="|", cex=2, ...);
panel.bwplot(...);
})
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
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,
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
2002 Apr 18
2
Background in lattice plots using dotplot()
platform i586-pc-linux-gnu
arch i586
os linux-gnu
system i586, linux-gnu
status
major 1
minor 4.1
year 2002
month 01
day 30
language R
I can't seem to get rid of the slightly green background when I use
dotplot(). It shows on the screen in the
2009 Jul 09
2
Mysteriously vanishing LD_LIBRARY_PATH
Using R-2.8.0 and R-2.8.1, I get behaviour like this:
R version 2.8.0 (2008-10-20)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
[....]
> Sys.getenv("LD_LIBRARY_PATH")
LD_LIBRARY_PATH
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
2004 Sep 15
1
control of font size & colour for title, subtitles, axis, and tick marks in LATTICE graph
Hi,
I very much appreciate any help on this "fine tuning" problem in a lattice
graph (I am new to LATTICE and could not find an example in the help files
that worked for me. My apologies if I missed it there).
I am running the following box plots to compare conditional distributions of
x at different levels of y under two treatment conditions ID=1 (upper
panel ) & ID=0 (lower panel
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 Aug 12
1
Level sets of factors are different (panel.superpose)
I investigated why I was getting this error message...
Error in Ops.factor(groups[subscripts], vals[1]) :
Level sets of factors are different
which led me to putting a browser in panel.superpose:
Called from: panel.superpose(x, y, subscripts, ...)
Browse[1]> vals
vals
[1] 1 2 3
Levels: 1 2 3
Browse[1]> groups[subscripts]
groups[subscripts]
[1] 1 2 3 1 2 1 2 3 1 2 3 1 2 3
Levels: 1 2
2003 Sep 23
1
Omitting blank lines with read.table
Say we have a tab delimited file called bug.txt
Part Rep Cage Hb pupae
1 1 S 32
1 M 34
L 42
2 S 36
M 28
L 36
read.delim("bug.txt")
Part Rep Cage Hb.pupae
1 1 1 S 32
2 NA 1 M 34
3 NA NA L 42
4 NA NA NA
5 NA NA NA
6 NA 2 S 36
7 NA NA M 28
8 NA NA L 36
>
2004 Jan 14
2
Binomial glms with very small numbers
V&R describes binomial GLMs with mortality out of 20 budworms.
Is it appropriate to use the same approach with mortality out of
numbers as low as 3? I feel reticent to do so with data that is not
very continuous. There are one continuous and one categorical
independent variables.
Would it be more appropriate to treat the response as an ordered
factor with four levels? If so, what family