Displaying 20 results from an estimated 8000 matches similar to: "Force labelling of x-axis"
2005 Apr 07
2
newline in lattice axis label
Hi,
I have a 3 panel xyplot with different variables in the y axis. I'm trying
to insert a newline after "Width (cm)," in the ylab argument as in the
example below. My goal is to have the y axis label broken into two lines,
split after the string just mentioned.
plotfun <- function() {
fakedf <- data.frame(A = sample(1:100, 50),
B = rnorm(50),
2006 Aug 21
1
Fwd: Re: Finney's fiducial confidence intervals of LD50
thanks a lot Renaud.
but i was interested in Finney's fiducial confidence intervals of LD50 so to obtain comparable results with SPSS.
But your reply leads me to the next question: does anybody know what is the best method (asymptotic, bootstrap etc.) for calculating confidence intervals of LD50?
i could "get rid" of Finney's fiducial confidence intervals but
2002 Jan 01
3
confidence ellipsoid for model parameters
Dear all,
Has anyone written functions to compute (and ideally project / plot onto
a plane) confidence ellipsoids for q linear model parameters, q > 2 ?
Greetings and best wishes,
Renaud
--
Dr Renaud Lancelot, v?t?rinaire
CIRAD, D?partement Elevage et M?decine V?t?rinaire (CIRAD-Emvt)
Programme Productions Animales
http://www.cirad.fr/presentation/programmes/prod-ani.shtml
ISRA-LNERV
2006 Jun 04
2
evaluation of the alternative expression in ifelse
Dear all,
I am trying to avoid the warnings produced by:
> x <- -2:2
> log(x)
[1] NaN NaN -Inf 0.0000000 0.6931472
Warning message:
production de NaN in: log(x)
I thought that using ifelse would be a solution, but it is not the case:
> ifelse(test = x < 0, yes = NaN, no = log(x))
[1] NaN NaN -Inf 0.0000000 0.6931472
Warning message:
production
2002 Nov 08
3
Windows binary for R 1.6.1 FIXED
To Windows R users:
The binary build of R that I uploaded on Tuesday contained errors in
the compiled HTML help files and some of the PDF versions of the
manuals. In particular, the index was missing from the CHM files, and
the table of contents was missing from at least one of the manuals.
I've since found the error in my setup, and have rebuilt the
distribution. I uploaded it to CRAN
2002 Nov 08
3
Windows binary for R 1.6.1 FIXED
To Windows R users:
The binary build of R that I uploaded on Tuesday contained errors in
the compiled HTML help files and some of the PDF versions of the
manuals. In particular, the index was missing from the CHM files, and
the table of contents was missing from at least one of the manuals.
I've since found the error in my setup, and have rebuilt the
distribution. I uploaded it to CRAN
2002 May 07
2
problem with package binaries
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 5.0
year 2002
month 04
day 29
language R
OS Win98
I have problems to install some of the packages dowloaded from CRAN
(whatever the
2009 Feb 20
1
NOT an R problem: cannot install packages from distant repository
I met today a computer crash and our maintenance officer had to reinstall
some components of the OS (MS Windows XP Pro) as well as the Internet
browser (among other things). Now, I cannot install packages from a distant
repository:
> utils:::menuInstallPkgs()
Error in .readRDS(pfile) : unknown input format
> traceback()
5: .readRDS(pfile)
4: .packages(all.available = TRUE)
3:
2003 May 29
1
surfaces and digital terrain model
Dear all,
I have computed a digital terrain model from a set of points (x, y, z)
using the function interp() in package akima. I want to predict flooded
surfaces given target values of z. I can display the flooded surfaces
with contour() or image(), but I don't know how to get the polygons
delimiting the surfaces. Did anyone write a function for this purpose ?
Best regards,
Renaud
--
2002 May 29
1
graphics in help files
Dear all,
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status Patched
major 1
minor 5.0
year 2002
month 05
day 15
language R
Is there a way to include a graph in a help file (Rd file processed with
make pkg-mypkg) ?
Thanks in advance,
Renaud
--
Dr
2003 Mar 04
2
How to extract R{i} from lme object?
Hi, lme() users,
Can some one tell me how to do this.
I model Orthodont with the same G for random
variables, but different R{i}'s for boys and girls, so
that I can get sigma1_square_hat for boys and
sigma2_square_hat for girls.
The model is Y{i}=X{i}beta + Z{i}b + e{i}
b ~ iid N(0,G) and e{i} ~ iid N(0,R{i}) i=1,2
orth.lme <- lme(distance ~ Sex * age, data=Orthodont,
random=~age|Subject,
2003 May 20
1
Extracting elements from an reStruct
Sorry if this is obvious, but my S skills aren't great and I haven't been
able to find it documented anywhere.
I want to write a new function for use with lme objects; the function will
simply calculate an ICC (aka "rho") for each level of a mixed-effects
model. What I need for this is pretty simple:
(c(var1..varn, residual)) / sum(c(var1..varn, residual))
where var1..varn
2003 Apr 25
2
Posix data in Lattice
I have a number of plots that I'm trying to do using the lattice package,
unfortunately, they involve Posix values.
A small sample of the data is as follows:
Time TC.1 <Snipped>
1 2003-04-24 13:29:15 26.61
2 2003-04-24 13:29:30 26.48
3 2003-04-24 13:30:00 26.53
4 2003-04-24 13:30:30 27.85
<Snipped>
where
str(data)
`data.frame': 415 obs. of
2002 Mar 10
1
lattice library: xyplot and polygons
Dear R-Helpers,
Is there a way to draw shaded (filled) polygons in panel graphs produced
by xyplot ? I made different trials (see below) with polygon() and
grid.polygon() but polygons are not drawn (probably for the same reason
that prevents the use of lines, points, etc. in xyplot panels).
Thanks in advance,
Renaud
> Water
id label longitude latitude
515 21 Zone inondable
2002 May 24
5
intersecting polygons and conversion from decimal degree to km
Dear all,
1. How can I compute the intersecting area between 2 polygons ?
2. I have polygons with coordinates in decimal degrees (i.e. 13 deg 30
min = 13.5 decimal degrees). I want to compute their area and get the
results in square meters or square kiometers. Can anyone give me a
conversion coefficient or a pointer where I can find this information
(sorry for this off topic question) ?
Thanks
2005 Apr 25
2
residuals in lmer
Does anyone know how to extract residuals in lmer?
Here's the error I get:
>
crop.lme=lmer(response~variety*irrigation*pesticide+(1|rep)+(1|rep:
pesticide)+(1|rep:pesticide:irrigation), crop.data)
> qqnorm(crop.lme)
Error in qqnorm.default(crop.lme) : y is empty or has only NAs
> resid(crop.lme)
NULL
Thanks!
--Jake
2002 May 27
1
problem while building a package
Please reply to: lancelot at sentoo.sn
because my address: renaud.lancelot at cirad.fr
is broken (should be fixed soon...).
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status Patched
major 1
minor 5.0
year 2002
month 05
day 15
language R
2002 Mar 28
2
color key with xyplot
Dear all,
I'd like to draw a color key beside a graph drawn with xyplot (lattice
library). I am aware of the draw.colorkey function (grid library) but
don't know how to handle it. Any hint would be appreciated.
Renaud
--
Dr Renaud Lancelot, v?t?rinaire
CIRAD, D?partement Elevage et M?decine V?t?rinaire (CIRAD-Emvt)
Programme Productions Animales
2003 Dec 24
4
coding logic and syntax in R
Hello,
I am a beginner in R programming and recently heard about this mailing list.
Currently, I am trapped into a simple problem for which I just can't find a
solution. I have a huge dataset (~81,000 observations) that has been
analyzed and the final result is in the form of 0 and 1(one column).
I need to write a code to process this column in a little complicated way.
These 81,000
2002 Apr 18
1
Help with lme basics
In Baron and Li's "Notes on the use of R for psychology experiments and questionnaires" http://cran.r-project.org/doc/contrib/rpsych.htm they describe a balanced data set for a drug experiment:
"... a test of drug treatment effect by one between-subject factor: group (two groups of 8 subjects each) and two within-subject factors: drug (2 levels) and dose (3 levels). "