Displaying 20 results from an estimated 4000 matches similar to: "Matrix efficiency in 1.9.0 vs 1.8.1"
2004 Jul 06
2
lme: extract variance estimate
For a Monte Carlo study I need to extract from an lme model
the estimated standard deviation of a random effect
and store it in a vector. If I do a print() or summary()
on the model, the number I need is displayed in the Console
[it's the 0.1590195 in the output below]
>print(fit)
>Linear mixed-effects model fit by maximum likelihood
> Data: datag2
> Log-likelihood:
2007 Sep 05
1
Monotone splines
Hello, i have a little problem with R and i hope you can help me.
I want to use splines to estimate a function but i want to force the interpolation to be monotone. Is this possible with R ?
Thank you,
Rémi.
---------------------------------
[[alternative HTML version deleted]]
2004 Apr 22
1
Lyapunov exponent?
Hello,
Does anybody know if there is somewhere in R a function to calculate the
Lyapunov exponent in a time series?
Thanks,
Philippe Grosjean
.......................................................<??}))><....
) ) ) ) )
( ( ( ( ( Prof. Philippe Grosjean
\ ___ )
\/ECO\ ( Numerical Ecology of Aquatic Systems
/\___/ ) Mons-Hainaut University, Pentagone
/ ___ /( 8, Av. du
2004 Mar 05
3
Lyapunov exponent code for time series
Dear all,
Has anyone worked on coding for calculating Lyapunov Exponent for a time
series data? or any package is available for computing Lyapunov?
Please advice and many thanks in advance.
Catherine X Wang
2001 May 16
2
bivariate function in gam model
R-users --
I would be interested in tools in R to fit the following gam model:
logit(p) = a + f(x1) + f(x2) + f(x1,x2),
where f(x1,x2) defines a surface.
I have looked into the mgcv library, but it seems only to fit models of
the form:
logit(p) = a + f(x1) + f(x2)
Any ideas?
Cheers,
Dan
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dan Powers
Associate Professor,
2003 Nov 05
3
using LSODA in R
R help list subscribers,
I am a new user of R. I am attempting to use R to explore a set of
equations specifying the dynamics of a three trophic level food chain. I
have put together this code for the function that is to be evaluted by
LSODA. My equations Rprime, Cprime, and Pprime are meant to describe the
actual equation of the derivative. When I run LSODA, I do not get the
output that
2004 Apr 20
10
Error with 1.9.0 - Invalid HOMEDRIVE
I installed R project 1.9.0 on Windows XP. The installation went well.
Then, I rebooted. Next, I clicked the icon under Programs in the Start
menu and received this error, "Fatal Error: Invalid HOMEDRIVE". I
clicked OK to the error message. The program does not start. I went to
a DOS prompt and did "echo %HOMEDRIVE%" and it returned "C:". This
letter is a valid
2004 Apr 27
3
R hang-up using lm
Dear R-helpers,
I have found a slightly annoying problem when trying to
plot lines on graphs. I first created my data using
tapply, thus:-
y1=as.vector(fit1$coef$random$id)
x1=tapply(o1,id,median,na.rm=T)
x2=tapply(o2,id,median,na.rm=T)
#then I plot the data, thus:-
plot(x1[x2==0],y[x2==0])
#if I now try to fit the linear regression, R 'hangs up'
2004 Apr 16
1
Pb on startup with R1.9.0
I'm using Rprofile file on R1.9.0 startup and inside I'm loading a personal Library which uses winMenuAdd() and I've got this error :
Error in eval(expr, envir, enclos) : couldn't find function "winMenuAdd"
I hadn't this problem with others R versions.
What Can I do now to avoid that?
I'm using R1.9.0 under Win98.
[[alternative HTML version deleted]]
2004 Oct 04
2
call step inside a function
I am wondering why my function works fine in R1.7.1 and R1.8.1 but not in
R1.9.0. I thought it's an environment related problem but I can't solve it.
>data
weta jd
1 1 4
2 2 13
3 2 13
4 6 4
5 1 3
6 1 7
7 2 10
8 3 10
9 1 8
10 1 8
11 3 6
12 1 9
13 1 5
14 1 1
15 3 13
16 1 2
17 2 2
18 7 11
19 1 3
20 5 4
2004 Apr 29
5
Problems in plot
Hello,
I have R1.9.0 under Windows XP. My program plots several plots using
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
Sometimes, one of them generates a small frame only with title area "R graphics: Device X (ACTIVE)". The message in the console window is
Error in plot.new() : Figure margins too large
2004 May 12
1
Problem with plot (PR#6875)
Hi!
Pinned the problem with plot down a bit. I can reproduce it with only 2 lines of R on my Windows XP machine.
(today reinstalled R1.9.0) and Bioconductor packages updated.
Can anyone reproduce this behaviour?
(I am surely reproducing this error only if library(ROC) is loaded at the beginning of the session.)
z:\devel\Paper2004\patrick3>Rterm
R : Copyright 2004, The R Foundation for
2004 Apr 21
2
segfault in approx() (PR#6809)
This is R1.9.0, windows XP
I run across the following:
It is admittedly silly, but it shouldn't segfault:
test <- list(y=1:100, x=rep(NaN, 100))
approx(test, xout=rep(NaN, 10))
Bombs!
Kjetil Halvorsen
2004 Jun 05
2
'invalid HOMEDRIVE'
Dear all,
One of my students have installed R1.9.0 on windows, and gets the fatal error
'invalid HOMEDRIVE'
Can anyone help her/me out on that one?
Thanks in advance
Søren Højsgaard
[[alternative HTML version deleted]]
2004 Nov 18
1
ROracle connection problem
Hi,
I found the same question in the mailing list already a few months ago -
but there was no answer to it - so I'll try it again
Could somebody help me to solve this following problem? I just begin to
learn how to connect my Oracle database with R.
> library(DBI)
> library(ROracle)
Warning message:
DLL attempted to change FPU control word from 8001f to 9001f
>
2004 Jul 04
2
how to use a script file for all the codes?
Hi there,
I am using the windows version R1.9.0.
I used to be a Splus user. When I used Splus to try some computation, I like
to put all my codes in a script file and check them line by line. This way I
can keep track of all my thinking and it's very easy to make correction at
some earlier steps.
Now I can not find this script-file style in R. The software itself doesn't
seem to have
2004 Apr 07
0
.First and base reorganization in R 1.9.0
I noticed that, in R1.9.0 beta where the old 'base' package has been split into 4, '.First' gets executed with just the new 'base' loaded, before 'stats' 'utils' and 'graphics' are available. The NEWS file does warn that this will be the case for .Rprofile, but doesn't mention .First.
Is this actually the intended behaviour where .First is
2004 May 20
1
R 1.8.1 - 1.9.0 incompatability: Underscore in syntactically valid names
Dear R-gang,
I have a question about handling underscores in names in R 1.8.1
and 1.9.0. I recently installed 1.9.0 on a machine and found
that many codes no longer work as a result of the changed
behavior in make.names.
I have numerous data files that have dashes, periods and
underscores in the header row. I've got numerous R codes that
read those files with read.table and read.csv and
2004 May 25
4
Object "silhouette.default" not found. But I knew that it is there.
Hi!
>library(cluster)
In this lib a function called silhoutte.default is defined
than on the R prompt it type
>silhouette.default
Error: Object "silhouette.default" not found
R1.9.0
The same error are at R1.8.1
And I knew that a function silhoutte.default are present.
But the same piece of code works in R1.6.2
???
Eryk
Dipl. bio-chem. Eryk Witold Wolski @
2004 Sep 14
3
memory allocation questions
Dear R-devel
This one seems a bit arcane for R-help. I very often use R to call routines written in Delphi (son of Pascal), doing "persistent" memory allocation within Delphi. That is, I start R and load the Delphi DLL; then I use .C to call a Delphi routine which allocates a piece of memory X and returns to R a pointer to X; then I do some more stuff in R; then I call another Delphi