Hi R!
I have a 3 dimensional array, which is 21 x 3 x 3
I want to use apply to sum on each 21x3 matrix, which is fine.
Is there a way that I can do this in 1 step instead of a loop (3), please?
thanks,
Laura Holt
mailto: [EMAIL PROTECTED]
__
R-help
Dear R :
Sorry for the off topic question, but does anyone know the reference for
the -2 Ln Lambda following a Chi Square distribution, please?
Possibly one of Bartlett's?
Thanks in advance!
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
__
R
Hi R People:
Sorry about the off topic question. Does anyone know the reference
for "-2 Log Lambda is approx dist. Chi square", please?
It may be Bartlett, but I'm not sure
thanks in advance!
Sincerely,
Laura Holt
mailto: [
How would this be done, please?
Thanks in advance!
Laura Holt
mailto: [EMAIL PROTECTED]
_
Dont just search. Find. Check out the new MSN Search!
__
R-help@stat.math.ethz.ch mailing list
https:/
There are several packages within rmetrics such as fSeries, fBasics,
fExtremes, and so on.
You can download those in the usual way.
>From: Spencer Graves <[EMAIL PROTECTED]>
>To: ronggui <[EMAIL PROTECTED]>
>CC: R <[EMAIL PROTECTED]>
>Subject: Re: [R] where can i download the metrics package?
>
Hi R people:
I have created a new class for a project that I am working on. It works
fine.
Just one question, please: When I access the slots, is there any way that I
could use
x$Name instead on [EMAIL PROTECTED], please? Or is it that way by design,
please?
Thanks.
Laura Holt
,
Laura Holt
mailto: [EMAIL PROTECTED]
R Version 2.1.0 Windows
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
as it
should be, please?
thanks again,
Shamefacedly,
Laura Holt
R Version 2.1.0 Windows
mailto: [EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Dear R People:
Is there any way to have the background of lattice plots be white instead of
grey, please?
This is not a criticism by any means...the lattice stuff is UNbelievable!
Thanks,
Laura Holt
mailto: [EMAIL PROTECTED]
R Version 2.1.0 Windows
Dear R and S people:
Yet another dorky question (YADQ), please:
Where can I find the data sets from Chambers' green book, please?
I've tried
http://cm.bell-labs.com/stat/Sbook
(web site, no data or even pointersfunctions and articles...good ones)
http://cm.bell-labs.com/stat/project/icmanuf
no
Hi R people:
I would like to learn about classes, methods, S3 and S4.
Which book would be the most helpful for this info, please: the green one
or the white(and blue) one?
Or is there something that would be even better, please?
Thanks in advance.
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED
Dear R:
First of all, nothing is wrong!
I just had a question about the following"
"Natural language support but running in an English locale"
What does than mean, please?
Thanks in Advance
R 2.1.0 Windows
Laura Holt
mailto: [EMAIL PROTECTED]
__
Does anyone know how to plot a time series in Excel, please?
Sorry for the Bad off topic.
thanks,
Laura Holt
mailto: [EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
.
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
R Version 2.0.1 Windows
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Hi R!
I am reading in a text file which has one column of alpha data and 5 columns
of numeric data.
There is a header row.
I would like the alpha data column to just be character rather than factor.
Is there a way to do this, please? I'm thinking that it might be I() but
can't figure out exactl
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
+ 6.2)
Thanks so much!
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Hi R People!
Has anyone installed the Gnu Scientific Library on a Windows system, please?
I'm having a dreadful time with that.
Any advance would be much appreciated.
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
3.df$CITIZEN along with another value to
generate a table.
However, I'm stuck here. I know this is incredibly stupid.
Thanks in advance.
Sincerely
Laura Holt
mailto: [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/lis
lobal" way to do this, please? I was thinking about use the
results from "str" but am not sure.
R Version 2.0.0 Windows.
Thanks in advance.
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
Security. http://clinic.mcafee.com/clinic/ibuy/c
Thanks,
Laura Holt
mailto: [EMAIL PROTECTED]
__
[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
erations
[1] 8
I get the appropriate answer.
What can I put into my code to improve the estimates, please?
Thanks
Sincerely,
Laura Holt
R Version 2.0.0
Windows
mailto: [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listi
sorry for the previous message
an attack of the stupids.
Thanks,
Laura
__
[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
1),a=c(0.8,0.5,1))
Error in nlm(mfun1, c(1, 1), a = c(0.8, 0.5, 1)) :
invalid function value in 'nlm' optimizer
I am stumped. I'm sure that it's something really small that I'm
overlooking.
Thanks in advance for any help.
Since
Hi again!
"pmax" works instead of max.
outer(x,y,function(x,y)12 - pmax(x,y))
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11]
[1,] 11 109876543 2 1
[2,] 10 109876543 2 1
[3,]999876
Hi again!
"pmax" works instead of max.
outer(x,y,function(x,y)12 - pmax(x,y))
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11]
[1,] 11 109876543 2 1
[2,] 10 109876543 2 1
[3,]999876
ror in outer(x, y, function(x, y) 12 - max(x, y)) :
dim<- : dims [product 121] do not match the length of object [1]
Is there a better way to do this, please? I would like to avoid loops if
possible.
Thanks in advance.
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
R version 1.9.
ave same length
Any ideas of what I'm doing wrong, please?
Thanks,
Laura Holt
mailto: [EMAIL PROTECTED]
R Version 1.9.1
Windows
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R
Whoops!
Just found it:
by(iris[,1:4],Species,mean)
Sorry for the inconvenience.
Laura.
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the p
. 5.006 5.936 6.588
Sepal W. 3.428 2.770 2.974
Petal L. 1.462 4.260 5.552
Petal W. 0.246 1.326 2.026
Is there is similar way to obtain those values from the iris data frame,
please?
thanks in advance
R Version 1.9.1 Windows.
Sincerely,
Laura Holt
mailto: [EMAIL
side of the plot itself,
perhaps in the lower
left hand corner.
I've been messing with mtext, but to no avail.
Any help would be much appreciated.
R Version 1.9.1 Windows
Thanks,
Laura Holt
mailto: [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
ht
Hi there!
Is ROracle available for Windows, please?
I found a download site, but it's really for UNIX/Linux.
Here is a "thought question", please: Why do the vector elements start at
location 1 rather than zero, as C does?
Thanks in advance!
R Version 1.9.1 Windows
Sincerely,
La
Dear R People:
Just in case anyone is interested, here is a particular solution to the
months on the horizontal axis question:
mon1
[1] "J" "F" "M" "A" "M" "J" "J" "A" "S" "O" "N" "D"
mon2 <- rep(mon1,2)
mon2
[1] "J" "F" "M" "A" "M" "J" "J" "A" "S" "O" "N" "D" "J" "F" "M" "A" "M" "J"
"J"
[20] "A
, the ticks on the horizontal (time) axis are
2001.0, 2001.5, and so on.
Is there a way to set up ticks such as J,F,M,A,M..by months, please?
Thank you!
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
https
g?
Thanks in advance.
R Version 1.9.1 Windows
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
Hi R People:
I have a data set and I want to use the hist command and produce a
histogram.
Then I want to superimpose a normal curve over the histogram.
Is there a simple way to do this, please?
R version 1.9.1 Windows.
thanks in advance,
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
hthttp
maybe "apply" would be the answer but can't figure out how to
break out by factor.
Any suggestions would be most appreciated.
Thanks yet again.
R Version 1.9.1 for windows
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
your life. http://lifeevents.msn.com
__
ght GMT and converting to Central Standard Time.
Is the best solution to:
as.POSIXlt(xt, "CST")
[1] "2004-01-01 CST" "2004-01-02 CST" "2004-01-03 CST" "2004-01-04 CST"
[5] "2004-01-05 CST"
Thanks in advance!
Sincerely,
Laura Holt
Hello R People:
What precision is R, please? 64 bit?
Where would I find that out typically, please?
Thanks in advance!
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED]
FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/
__
[EMAIL PROTECTED
,
Laura Holt
mailto: [EMAIL PROTECTED]
download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org
Hi R People:
Is there a way to put an abline line for its objects on a plot, please?
I have an its object, ibm2, which runs from the January 2 through May 28.
ibm2
ibm
2004-01-02 91.55
2004-01-05 93.05
2004-01-06 93.06
2004-01-07 92.78
2004-01-08 93.04
2004-01-09 91.21
2004-01-12
Hi again!
I have the following its object:
class(x1)
[1] "its"
attr(,"package")
[1] "its"
x1
FTSE DAX
2004-06-07 4491.6 4017.81
2004-06-08 4504.8 4018.95
2004-06-09 4489.5 3997.76
2004-06-10 4486.1 4021.64
2004-06-11 4484.0 4014.56
2004-06-14 4433.2 3948.65
2004-06-15 4458.6 3987.30
Dear R People:
I have an its object. The original its is the Dow Jones Industrial average
from March 23, 1990 to March 23, 2000. I did the following;
dj1 = original series
dj2 <- log(dj1)
ddj2 <- diff(dj2)
Ok so far.
Now I would like to plot this series with a certain y limit:
min(ddj2)
[1] -0.
Dear R People:
Is there a way to forecast with GARCH modeling as found in tseries, please?
When I use the predict command, I get an output of length 100, regardless of
what I put in the n.ahead steps.
R Version 1.9.0
Thanks in advance.
Sincerely,
Laura
mailto: [EMAIL PROTECTED]
download! http://t
hanks,
Laura Holt
mailto: [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
(2001,3)) <- 10
Error: couldn't find function "window<-"
#Doesn't work
Is there a good way to insert the value into the March 2001 location,
please?
other than:
x.ts[15] <- 10
Thanks in advance!
R Version 1.9.0 for Windows
Sincerely,
Laura
Hi R People:
I got the following error from using the "latex" command from Hmisc;
latex(bbm)
'latex' is not recognized as an internal or external command,
operable program or batch file.
Warning message:
cmd execution failed with error code 1 in: shell(cmd, wait = TRUE, intern =
output)
I was pri
Hi R People:
I have a monthly time series x.ts which runs from 1/1995 through 12/2003.
x.ts <- ts(x,start=1995,freq=12)
str(x.ts)
Time-Series [1:108] from 1995 to 2004: -1.638 -0.236 0.830 -0.548 0.363
...
My question: is there a way to print the observations from 1/1999 to 6/1999,
please?
(ot
Dear R People:
I'm trying to use the Rcmd SHLIB to produce a dll.
Rcmd SHLIB -o test2.dll test2.f
make[1]: *** [libR.a] Error 255
make: *** [libR] Error 2
Where do I go to find out about the "make" errors, please?
I suspect that I might be missing something. I have the tools for creating
new pack
Dear R People:
Is it possible to fit an AR model such as:
y_t = fee_1 y_t-1 + fee_2 y_t-9 + a_t,
please?
I know that we can fit an AR(9) model, but I was wondering if we could do a
partial as described.
Thank you for your help.
Sincerely,
Laura Holt
mailto: [EMAIL PROTECTED
In case you're wondering, here it is:
Rcmd build --binary --use-zip packname
Sorry that I didn't read the Writing R Extensions first.
Sincerely,
Laura
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read t
Dear R People:
I have finally created a little R package.
Do I need to do anything special to create a zip file for that package, or
just use Winzip, please?
thanks so much
R Windows Version 1.9.0
Thanks,
Laura
mailto: [EMAIL PROTECTED]
__
[EMAIL PROTEC
Hi!
Are there any simple examples for SJAVA please?
Thanks,
Laura
R Version 1.9.0 Windows
_
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Hello yet again!
I'm trying to build a package.
The Rcmd build works fine.
But the Rcmd check produces an error because I don't have latex on my
laptop.
Any suggestions, please?
R Windows 1.9.0
thanks again,
Laura
_
Learn to simplify
Dear R People:
Is there a binary version for rorca, please?
Thanks,
Laura
mailto: [EMAIL PROTECTED]
R Windows 1.9.0
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-proj
Hi R People:
I am looking for some objects:
objects(pat="f")
[1] "dufus" "f" "f1" "fake.df" "ff" "fm1" "one.df"
"one1.df" "x.df""xf"
mode(objects(pat="f"))
[1] "character"
I would like to determine the mode of these objects. For instance, dufus
and f are functions, wh
Dear R People:
I have tried the following code:
con <- socketConnection(port=13, host="tick.usno.navy.mil")
readLines(con)
The socketConnection function works, but the readLines command just sits.
This has happened on R for Windows 1.8.1 and 1.9.0 and R on LINUX 1.8.1
Any suggestions, please
Thank
Hi again!
I'm trying to download SJava from the http://www.omegahat.org/RSJava/
website.
I'm trying to get the binary.
I download the version from BDR's website.
When I unzip the file via unzip.exe, the new folder appears as SJAVA (upper
case).
library(SJava)
Error in library(SJava) : There is
If I use this:
rep(1:2,c(5,5))
I'll get
1 1 1 1 1 2 2 2 2 2
Is there a way to do this more efficiently, please?
Maybe via do.call?
Thanks,
Laura
mailto: [EMAIL PROTECTED]
_
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
60 matches
Mail list logo