-0.7^1.22
[1] -0.6471718
(-0.7)^1.22
NaN
Arithmetically this makes perfect sense, syntactically I'm not sure it does.
z-c(-0.7)
z == -0.7
[1] TRUE
z^1.22
[1] NaN
I remember a programming homily: if you are unsure of the operator
precedence then you shouldn't assume the person who has to
are unable to do this I would suggest that you build GCC from
sources, and rather than use the Sun Software companion disk download the
most recent versions of the various libraries and utilities from
www.sunfreeware.com.
HTH
Phineas Campbell
Birkbeck College
University of London
cumsum(rnorm(100)+c)
HTH
phineas
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of oliver wee
Sent: Wednesday, February 15, 2006 12:41 PM
To: r-help@stat.math.ethz.ch
Subject: [R] Generating random walks
Hello, here is another question, how do I generate
In retrospect
x-cumsum(rnorm(n=100, mean=c))
will probably work quicker
Phineas
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Phineas Campbell
Sent: Wednesday, February 15, 2006 1:01 PM
To: 'R-Help
Subject: Re: [R] Generating random walks
Typing the function name at the prompt prints that body of the function. By
working thrugh the steps in the boot function, helped me both understand the
way the bootstrap works and write better R code.
Phineas
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
the literature has drifted back toward less
satisfactory GARCH and EGARCH models?
This question is somewhat moot as if I choose to pursue this I will
implement a model myself.
Phineas Campbell
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
I'm working through the examples in Venables and Ripley in the 'New-style
Classes' chapter.
On a call to representation, in the lda example, it is unable to find the
class named.
Is the class named defined anywhere? I've loaded the library methods but
this hasn't helped.
Phineas Campbell
or paper.
Hamilton, see Time Series Analysis, uses the EM algorithm to estimate such
models so it should be possible to do in R.
HTH
Phineas Campbell
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of noomen ajmi
Sent: Tuesday, June 28, 2005 8:44 AM
To: r-help
solaris2.9
system sparc, solaris2.9
status
major2
minor0.1
year 2004
month11
day 15
language R
Phineas Campbell
[EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
This might solve your problem without helping. Having spent I bit of time
trying to build R with the pkgadd version of GCC from Sunfreeware and not
getting anywhere I downloaded the source for GCC 3.4.2 and built this, then
used this to build R.
Everything worked fine.
HTH
Phineas
to loose by logging the data.
Phineas Campbell
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vito Ricci
Sent: Thursday, December 02, 2004 10:08 AM
To: [EMAIL PROTECTED]
Subject: [R] Re: A somewhat off the line question to a log normal
distribution
Dear
month06
day 21
language R
Phineas Campbell
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
that
the use of we for single author papers is not universal.
HTH
Phineas Campbell
http://www.phineas.pwp.blueyonder.co.uk/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Erin Hodgess
Sent: Tuesday, June 08, 2004 6:11 PM
To: [EMAIL PROTECTED]
Subject: [R] off
It may be possible to do this without a loop but I haven't found a way
###Generate an array of 100 N(0,1) RVs
z-rnorm(100)
###Build the array to store output
x-vector(length=100)
###Create initial value
x[1]-z[1]
###Loop though building series
for(i in 2:100){
14 matches
Mail list logo