Displaying 20 results from an estimated 20000 matches similar to: "Changing strip var.name value on lattice::xyplot"
2005 Dec 20
3
Overlaying lattice plots
Hillary, Richard M wrote:
> Morning chaps, I have a little question for your capable minds... Say
> I have an observed and predicted set of quants (in my case, length
> frequencies by year and age/length), is there a way to use lattice
> plots to plot the observed and predicted data together, panel by panel?
> Obrigado/gracias (thankyou in Galego is?...)
> Rich
Hi Richard,
If
2005 Dec 20
3
Overlaying lattice plots
Hillary, Richard M wrote:
> Morning chaps, I have a little question for your capable minds... Say
> I have an observed and predicted set of quants (in my case, length
> frequencies by year and age/length), is there a way to use lattice
> plots to plot the observed and predicted data together, panel by panel?
> Obrigado/gracias (thankyou in Galego is?...)
> Rich
Hi Richard,
If
2006 Mar 31
2
lattice: problem with cex argument.
Hi,
I'm trying to plot a "bubbles" plot wich I do with the cex argument. The
problem is that it looks like it fails the conditioning and reuses the
first 100 elements of the cex vector. See the code
x <- rep(rep(1:10,10),2)
y <- rep(rep(c(1:10),rep(10,10)),2)
z <- rep(1:2,c(100,100))
w <- rpois(200,l=1)
xyplot(y~x|z, cex=w)
the plot has the same pattern in both sides
2003 Jun 05
1
scales in xyplot doesn't seem to work for x axis
Hi
I'm doing a xyplot and I wand to reduce the number of tick marks in the
x axis. My x axis are month and I want to reduce the 12 tick marks to 4.
I used the scales argument but it doesn't seem to work, althougth it
works on y axis if I use scales=list(tick.number=4).
2007 Oct 11
2
R260 cross-compilation
Hi,
I'm trying to cross compile R260 in a ubuntu 6.06 linux. I downloaded
the Makefile for 251 and simply replaced the R version by 260. However
I'm getting an error about mingw.
ernesto at gandalf:~/ipimar/devel/R/ccompile260$ make R
export
2003 Jan 23
2
Exporting graphics window
Hi
I'm working on a remote computer with R (SuSE 8.1) and I want to do some
ploting. Does anyone knows if it is possible to export the graphics
window in to my display and how I can do it ?
Thanks
EJ
--
Ernesto Jardim <ernesto at ipimar.pt>
Marine Biologist
Research Institute for Agriculture and Fisheries
Lisboa, Portugal
Tel: +351 213 027 000
Fax: +351 213 015 948
2003 Apr 14
6
Charts to M$Word - what's the best format
Hi
I'm exporting some graphs from R to M$Word. I used png, jpeg and bmp and
the quality is poor when comparing with the postscript.
What is the best way to export a chart to be included in a M$Word file ?
Thanks
EJ
2003 Jan 24
4
memory problems
Hi
I'm computing a bca interval using bca.ci from the boot package.
When I try to use this I get an error
> library(boot)
> boot(logglm.data,boot.fishpower,2500,coef.vec=coeflm.vec)->blm8901
> bca.ci(blm8901,index=29)
Error: cannot allocate vector of size 456729 Kb
However my machine has 2GB of memory and without R running I only have
112M of memory used.
Is there something
2005 Oct 14
1
extending lattice to S4 classes
Hi,
I'm writing methods for a package called FLCore (see
http://flr-project.org/) in particular for a class called "FLQuant"
which extends array.
Previously I was able to write methods based on the class of "data" but
now I can not do it due to the single parameter "x". Is there a way to
do this ?
Regards
EJ
2001 Apr 06
2
thin plate splines
Hi
Does someone knows if there's a function/package that can make thin
plate splines ? I've looked in mgcv and splines but I haven't found
anything.
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
2003 Apr 03
3
How to organize/develop an R function
Hi
Maybe this is not an issue about R. It's probably a programming issue
and I am not a developer at all. Anyway my main developing activities
are in R and that's where I have difficulties.
When I develop a function or group of functions I lose eternities with
the objects attributes and classes. I do a lot of object manipulation
(lists to arrays, factors to numeric vectors, etc, etc) so
2003 Jan 16
1
bootstraping lm
Hi
I'm doing a bootstrap of a linear model using:
boot.fishpower <- function(data, i){
data <- data[i,]
fplm <- lm(log(U)~Q+S+P+B+D, data=data)
fp <- coef(fplm)
exp(fp)
}
> boot(logglm.data,boot.fishpower,100)
Error in "[<-"(*tmp*, r, , value = statistic(data, i[r, ], ...)) :
number of items to replace is not a multiple of replacement
length
2004 Mar 12
5
grep
Hi,
I want to use the first digit of the elements of a vector.
I've tried grep but didn't work.
Any help is welcome.
Thanks
EJ
> grep("^[0-9]",as.character(runif(100,0,2)))
[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18
[19] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36
[37] 37 38 39 40 41 42 43 44 45
2009 Aug 20
1
lattice xyplot strip colors and location
Hi all,
I've been trying (unsuccessfully) to modify an xyplot I created using the lattice package. I would like to change default strip colors and locations.
I started with numeric data in 4 columns, which look like this:
0.25 2 1 32
0.25 2 2 30
0.25 2 3 27
0.25 2 4 23
0.25 2 5 17
0.25 3 1 30
0.25
2001 May 07
1
gss package - predict.ssanova
Hi
I'm using the gss package to fit thin plate splines. I've fitted the tps
without problems and got a ssanova object. Then I wanted to do some
prediction using a new set of data (latlon data) and I got an error
message:
> predict.ssanova(recs.spliney,recn.grid,se.fit=FALSE)
Error in array(x, c(length(x), 1), if (!is.null(names(x)))
list(names(x), :
attempt to set an
2007 Oct 09
2
lattice/xyplot: horizontal y-axis labels with scales(relation="free")
I would like to create an xyplot with varying y-axis limits and horizontal labels at the y-axis tickmarks.
The following does not seem to work, although I think it should, going by the documentation for par.
R version 2.5.1, Windows XP Prof.
Thanks for a clue.
Andreas Krause
library(lattice)
# axis labels for y-axis are horizontal
xyplot(Sepal.Length ~ Sepal.Width | Species, data=iris)
#
2007 Apr 30
1
Cross compiling with R250
Hi,
I'm cross compiling win R in a linux Ubuntu Edgy and I'm getting an
error with the utils package. Sys.setenv exists on my R 2.5.0 ...
I'm using the tools provided for R250 in
http://www.stats.ox.ac.uk/pub/Rtools/i586-cross-tools.tar.bz2
Any ideas ?
Regards
EJ
---------- Making package utils ------------
adding build stamp to DESCRIPTION
installing NAMESPACE file and
2000 Oct 02
2
R function for "interp"
Hi
How can I do the same has interp in s+ with R ? I've looked to
"approxfun" but didn't figured out how to do it.
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body",
2000 Aug 21
4
Excluding rows from a matrix
Hi
I have a matrix (4 x 950) and I want to remove 3 rows, where the values
from the first column are 713, 714 and 715. I can select the rows, one
by one, with
mat[mat$first==713,]
mat[mat$first==714,]
...
but I'm unable to (i) select the 3 rows at once, (ii) select the matrix
excluding those rows.
How can I do it ?
Thanks
EJ
2007 Jul 03
1
How to get the names of the classes exported by a specific package.
Hi,
I'm writing some functions to generate Rd files for a S4 package. I want
to have 2 character vectors with the names of the S4 classes and the
methods exported by a package. To get the info about methods I'm using
"getGenerics(where="package:FLCore")" however I can not find a similar
process to get the S4 classes. Are there functions to access this
information