Displaying 20 results from an estimated 9000 matches similar to: "trellis plot"
2003 Sep 09
1
lattice plot - portrait / landscape
Hi,
How can I use portrait/landscape option in lattice
bwplot? Is there any option in trellis.device where I
can define this?
Thanks in advance,
Mahbub.
2003 Sep 04
1
lattice question--- different ylim
Hi there,
I have four panels in a lattice bwplot. I want to have
two different ylim for the panels, for example panels
[1,1] and [1,2] with ylim=c(0,200) and panels [2,1]
and [2,2] with ylim=c(0,100).
Thanks for help in advance.
Mahbub.
2003 Aug 25
2
lattice question
Hi,
I want to use (similar to) las options in lattice
(bwplot) plot. Actually I want to have x-axis labels
as vertical instead of default horizontal.
Thanks in advance for your help.
Mahbub
2003 Jun 09
1
installing XML in linux
Hi,
I was trying to install XML package in a linux
(dabian) machine and got the following error message.
I am not sure whether there is any error in my linux
installion. I appreciate suggestions to install XML
properly in this machine.
Thanks in advance.
Mahbub.
######Errors####
$ R CMD INSTALL -l /usr/local/lib/R/library/
XML_0.93-4.tar.gz
* Installing *source* package 'XML' ...
2009 Jun 24
1
gnls : Rho
Hello list:
How to extract the value of "Rho" from a gnls() object. I am using gnls()
function similar to
res <- gnls(y~SSmicmen(),correlation=corCompSymm(form~1|b),data=dat)
Thanks in advance,
Mahbub.
--
Mahbub Latif
School of Mathematical Sciences
Queen Mary, University of London
United Kingdom
[[alternative HTML version deleted]]
2003 May 17
2
max/summary
Hi,
What is the reason for getting two different max of a
vector from two functions max() and summary()? Here is
an example,
> set.seed(2222)
> x <- sample(x=1:100000, size=10000, replace=T)
> max(x)
[1] 99992
> summary(x)
Min. 1st Qu. Median Mean 3rd Qu. Max.
6 24510 49950 50020 75040 99990
Which value is the correct one? I had this problem
while I
2003 Aug 21
4
anova(lme object)
Hi,
I use lme to fit models like
R> res1 <- lme(y~A+B, data=mydata, random=~1|subject)
R> res2 <- lme(y~B+A, data=mydata, random=~1|subject)
(only difference between these two models are the
sequence in which the indep variables are written in
formula)
where y is continuous and A, B, and subject are
factors. To get ANOVA table I used
R> anova(res1)
R> anova(res2)
and found
2004 Apr 22
4
RODBC installation in debian
Hello List,
I am trying to install RODBC package in a debian linux
box but getting the following message. Can anyone help
me to find what I am doing wrong here:
$ R CMD INSTALL RODBC_1.0-4.tar.gz
###
* Installing *source* package 'RODBC' ...
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross
2004 Jun 16
1
off topic: C/C++ codes for pseudo inverse
Hi,
I am looking for C/C++ codes for computing generalized
inverse of a matrix. Can anyone help me in this
regard?
Thanks,
Mahbub.
2008 Oct 15
3
request: How can we ignore a component of list having no element
Dear friends
There is a list of arrays comprising different no of rows and columns even sometimes NULL, such as [[2]] given below. How can we ignore [[2]] or others like this in the complete list. Any help in this regard is needed. Thanks
[[1]]
[,1] [,2]
[1,] 3 1
[2,] 3 1
[3,] 3 1
[[2]]
NULL
[[3]]
[,1] [,2] [,3] [,4] [,5] [,6] [,7]
[1,] 3 1
2006 Apr 13
1
panel.abline() and trellis.focus() on multipage plots
Hi,
I'm recently working on a multipage bwplot() using the lattice package. In
this context I was trying to use the panel.abline() function individually on
certain panels but not all. After some research I found the trellis.focus()
and trellis.unfocus() functions which enabled me to do something like:
trellis.focus("panel", 1, 3)
do.call("panel.abline", list
2005 Feb 01
2
How to write a new "top-level" Trellis/lattice function?
Hello,
I am trying to write a new "top level" Trellis/lattice function.
By "top-level", I mean a function like 'xyplot', 'histogram',
'bwplot', etc.
These functions all call 'trellis.skeleton', which I am unable to
call;
an attempt to invoke the function that does so yields the error
message:
-----
Error in do.call("trellis.skeleton",
2003 Aug 05
2
bwplot colours
Dear All,
is any way I can change the colours of the box and umbrella of a bwplot
without having to go to the length of:
box.rectangle<-trellis.par.get("box.rectangle")
box.rectangle$col<-"black"
trellis.par.set("box.rectangle", box.rectangle)
etc...
but straight from the call:
bwplot(y ~ x | z, mydata) ?
Regards,
Federico Calboli
2006 Feb 06
2
turn off selected axes in bwplot
I want to turn off selected axes in bwplot. I would like to only have the bottom axis drawn, with the others off.
I have a series of bwplots that I want on one device, like this:
p1<-bwplot(x1,box.ratio=.1)
p2<-bwplot(x2,box.ratio=.1)
...
print(p1,position=c(0,.8,1,1),more=T)
print(p2,position=c(0,.6,1,.8),more=T)
...
I know about the panel functions panel.bwplot() and panel.axis(), but
2004 Feb 16
1
2 bwplots - different colors
Hi all,
I would like to draw one picture which would show two different types of
boxplots using the same axes (kind of on top of each other). However, I
would like to plot each boxplot using a different color or different
shading inside the box, so they could be better distinquished from each
other... Could you help me?
Here is an example of the plot I have so far. I was only able to change
the
2004 Jan 02
1
bwplot and panel.bwplot
Hello,
I am trying to use "bwplot" to display whisker boxes according to some conditioning factors ("age" has two values 1/2). I get the following messages:
> library(trellis)
> bwplot(dvk95~age|site*season,panel=function(x,y){panel.bwplot(x,y)})
Error in tapply(1:0, structure(list(INDICES = numeric(0)), .Names = "INDICES"), :
arguments must have
2003 Apr 15
5
making a dataframe out of lapply() result
Dear R-helpers,
i have a question on how to vectorize this problem:
i have a dataframe:
tester <- data.frame(groups=c("A","A","B","B","C","C"), one=c(1,1,2,2,3,3), two=c(6,6,7,7,8,8))
# i split it into a list
tester.L <- split(tester, tester$groups)
# And want to keep only the first item in each:
lapply(tester.L, function(x) x
2007 Jun 22
2
multiple return
Dear User,
what's the correct way to obtain a multiple return from a function?
for example creating the simple function:
somma <- function (a, b) {
c <- a+b
return (a, b, c)
}
when I call it, it runs but returns the following output:
> somma(5, 7)
$a
[1] 5
$b
[1] 7
$c
[1] 12
Warning message:
return multi-argomento sono deprecati in: return(a, b, c)
i.e. multi-return is
2013 Feb 11
2
how to make a median line thicker in bwplot (lattice)
Hello,
I am drawing a boxplot using bwplot in lattice.
I would like to learn how to draw a thicker median line instead of the
default setting.
Thank you.
Code
bwplot(........,
pch=rep("|",2))
Elaine
[[alternative HTML version deleted]]
2001 Aug 13
2
printing lattice plots
Hi
I'm trying to print several plots to a multi-page postscript file.
Some plots are output of basic commands, some are produced by "trellis"
commands (from the package lattice).
Right now I'm not able to get a straightforward black and white color
scheme for the latter kind: when I open the postscript file the "trellis"
plots are invisible, or parts of them are