Displaying 18 results from an estimated 18 matches similar to: "'levelplot' with an option 'at'"
2003 Mar 05
8
how to find the location of the first TRUE of a logical vector
without having to check the vector element by element? Thanks a lot!
Jason
=====
Jason G. Liao, Ph.D.
Division of Biometrics
University of Medicine and Dentistry of New Jersey
335 George Street, Suite 2200
New Brunswick, NJ 08903-2688
phone (732) 235-8611, fax (732) 235-9777
http://www.geocities.com/jg_liao
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
2003 Nov 08
1
notation for skewness and kurtosis
Hello everybody,
this is a bit off topic, so maybe you can just reply to me personally...
What is the typical notation for 'skewness', 'kurtosis' and maybe 'excess
kurtosis'?
Thank you,
Martina
--------------------------------------------------------------------------
Department of Statistics Office Phone: (614) 292-1567
1958 Neil Avenue, 304E Cockins Hall
2003 Jun 14
2
A sapply() funny.
The sapply function is refusing to return a result for what seem to
me to be mysterious reasons. Here is a toy example:
set.seed(111)
X <- list(x=runif(20),y=runif(20))
rvec <- seq(0.01,0.15,length=42)
foo <- function(x,X,cc) {
mean((X$x)^x + (X$y)^cc)
}
bar <- function(x,a,b){a+b*x}
try.b <- sapply(rvec,bar,a=1,b=2) # This runs without a problem and
2001 Jun 01
1
Installing Rstreams lib
Dear R-helpers,
I am trying to install Rstreams library on the following platform:
----------------------------
platform alphaev67-dec-osf5.0
arch alphaev67
os osf5.0
system alphaev67, osf5.0
status
major 1
minor 2.3
year 2001
month 04
day 26
language R
---------------------------
Unfortunately, I get these error messages:
---------------------------
> [557] R
2003 Apr 04
3
trellis.graphic in for-loop
Hi list,
I am unsuccessfully trying to produce a serious of trellis barcharts from
within a for-loop. The barcharts work outside the loop. What am I missing?
Example attached.
Thanks Herry
#XXXXXXXXXXXXXXXXXXXXXX
trellis.device(bg="white")
trellis.par.get("fontsize")->fontsize
fontsize$default<-16
trellis.par.set("fontsize",fontsize)
2004 Nov 16
1
lme, two random effects, poisson distribution
Hello,
I have a dataset concerning slugs. For each slug, the number of
pumps per one time slot was counted. The number of pumps follows
Bi(30, p) where p is very small, thus could be approximated by
Poisson dist. (# of pumps is very often = 0)
The slugs were observed during 12 time slots which are correlated in
time as AR(1). The time slots are divided into two categories:
Resting time
2008 Nov 03
1
map geographical boundaries
Hello,
I want to crate a blanck geographical map showing continent boundary of
region:
latitude = -5:35
longitude = 35:100
If we create data like:
lat= -5,0,5,10,......
long=35,40,45,50,.........
Then how to map (long,lat) and create a map plot.
Many thanks,
Yogesh
[[alternative HTML version deleted]]
2008 May 14
3
Help to Draw Plot
Hello friends!!
I have two questions, and I would like that you could answer me!!!
I have created a plot as
plot(range(10,-10),range(10,-10),col="blue",col.axis="blue",col.lab="blue",col.main="blue",col.sub="blue");
1?) I want that the square of plot and the lines that indicates the value
-10,-5,0,5,10 have a blue colour too.
2?)It?s
2002 Nov 27
1
problem with attr()
I got this wired behaviour of the attr() function using R-1.6.1 on both
linux redhat 7.3 (i386) and Solaris 8 (Sparc):
> tmp <- list(id=1)
>
> attr(tmp,"n.ch") <- 2
> attr(tmp,"n") <- 1
> tmp
$id
[1] 1
attr(,"n.ch")
[1] 2
attr(,"n")
[1] 1
>
> attributes(tmp)
$names
[1] "id"
$n.ch
[1] 2
$n
[1] 1
>
2001 Dec 20
1
optimizing R-1.4.0 build on Solaris; a show-and-tell storry
This is a little success story about the benefits of changing
the defaults in config.site when I was building R-1.4.0 for Solaris
(on a Sun Sparc that I'm currently using).
For previous versions of R, I had just used the default config.site and
not given it any thought. Since the Sun machine that I'm using
is not getting any faster, I decided I would give config.site a look
when building
2002 Sep 20
0
problem with make on sparc solaris 8 ( R-1.6.0beta_2002-09-18.tar.gz)
This is something that I have not seen in earlier beta versions of 1.6.0:
.
.
.
ts.plot text html latex example
ts.union text html latex example
tsSmooth text html latex
tsdiag text html latex example
R_LIBS= ../../../bin/R CMD INSTALL
ERROR: no packages
2001 Nov 26
2
R not giving memory back to system?
This might be because I didn't get it right, but; I thought R would
release memory back to the system as (big) objects get removed?
Here is my platform (with 1Gb of RAM):
platform sparc-sun-solaris2.8
arch sparc
os solaris2.8
system sparc, solaris2.8
status
major 1
minor 3.1
year 2001
month 08
day 31
language R
A little example:
Start a new section of R, with
2002 Sep 18
1
problem with make fullcheck on Sparc Solaris 8
I have been trying out R-1.6.0 tarballs (2002-9-10 and 2002-9-17) on:
arch sparc
os solaris2.8
system sparc, solaris2.8
status beta
major 1
minor 6.0
year 2002
month 09
day 17
language R
As you see form above, R-1.6.0 compiles fine and works. However, when I
"make fullcheck" I get the following error:
running code in 'tools-Ex.R' ... OK
2010 Jan 06
1
xyplot: adjusting the scale (min, max & tick)
Hi,
I'm terribly sorry but it seems it cannot figure this one out by
myself so, please, if somebody could help I would be very grateful.
So, when I plot with xyplot() I get an y-axis that is very ugly...
starting from a random number and having so many ticks that it becomes
unreadable.
How do I tell xyplot how to draw the axis? E.g., start from 100, end
at 200 with 25 units between
2000 Jun 22
1
'pausing' in R
I have this 'odd' problem; I need to let R pause, for a given time, before
starting next iteration in a loop. I'm using the following to do this
task, but feel a little bit guilty because I'm using as much CPU time as I
can get while pausing:
while(keepGoing) {
t.end <- proc.time()[3] + 5 ## the time this loop should end at
[block of R commands]
while(proc.time()[3]
2000 Jun 22
1
Summary: 'pausing' in R (fwd)
The question was:
> I have this 'odd' problem; I need to let R pause, for a given time, before
> starting next iteration in a loop. I'm using the following to do this
> task, but feel a little bit guilty because I'm using as much CPU time as I
> can get while pausing:
>
> while(keepGoing) {
> t.end <- proc.time()[3] + 5 ## the time this loop should end
2002 Sep 10
9
R 1.6.0 beta
R 1.6.0 has gone into final feature freeze as of today.
As a new feature, we'll make interim beta versions available via
ftp://cran.us.r-project.org/pub/R/src/base
alias
http://cran.us.r-project.org/src/base
(filename R-1.6.0beta_*.tar.gz, where * is the creation date).
If you want to help ensure that the final 1.6.0 works satisfactorily
on *your* platform, it might be a good idea to