[R] Problems with making a complex graphic

2006-09-21 Thread Kjetil Halvorsen
= data.frame) Thanks,Kjetil Halvorsen [[alternative HTML version deleted]] __ 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 and provide

Re: [R] Splitting the list

2006-01-05 Thread Kjetil Halvorsen
On 1/5/06, John Maindonald [EMAIL PROTECTED] wrote: I've changed the heading because this really is another thread. I think it inevitable that there will, in the course of time, be other lists that are devoted, in some shape or form, to the concerns of practitioners (at all levels) who are

Re: [R] GLARMA

2006-01-03 Thread Kjetil Halvorsen
On 12/30/05, Âíµ¤ [EMAIL PROTECTED] wrote: Hello, I am a new R user and I need R code for GLARMA. I will be really thankful if you help me. You should really spell out an acronym like GLARMA. RSiteSearch(GLARMA) does't give anything. ou could have a look at package sspir. Kjetil Yours

Re: [R] An embarrassment of riches

2006-01-02 Thread Kjetil Halvorsen
On 1/2/06, Thomas L Jones [EMAIL PROTECTED] wrote: I have a dataset which I am trying to smooth, using locally weighted regression. The y values are count data, integers with Poisson distribution, and it is important for the regression function to know this, since assuming a Gaussian

Re: [R] ARIMA?

2006-01-02 Thread Kjetil Halvorsen
On 1/2/06, Stephen [EMAIL PROTECTED] wrote: Hi All., Following on from all the help I received earlier .. Just so as you know a well known text book (TF) uses repeated observations - I think perhaps they meant repeated measures in retrospect I am a total beginer to ARIMA, but have read

[R] A comment about R:

2006-01-01 Thread Kjetil Halvorsen
Readers of this list might be interested in the following commenta about R. In a recent report, by Michael N. Mitchell http://www.ats.ucla.edu/stat/technicalreports/ says about R: Perhaps the most notable exception to this discussion is R, a language for statistical computing and graphics. R

Re: [R] smooth.spline

2004-07-31 Thread Kjetil Halvorsen
look at packages splines mgcv and a lot of others. To see how it is implemented, look a the references in the help pages and the source code. Kjetil Halvorsen chuanjun zhang wrote: Dear Friends, Is there anybody know where I can get the code which implement the smooth.spline function in R? I have

Re: [R] elegant matrix creation

2004-07-28 Thread Kjetil Halvorsen
TRUE TRUE TRUE TRUE TRUE [6,] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE [7,] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE [8,] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE [9,] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE Kjetil Halvorsen [ note that jj1-jj3 each have precisely 3 occurrences

Re: [R] fisher.test FEXACT error 7

2004-07-23 Thread Kjetil Halvorsen
It does'nt really answer your question, but you could use chisq.test(mytable, si=TRUE, B=2) Kjetil Halvorsen Ken Edwards wrote: Hello, I have an error message that doesn't seem to make sense in that having read the R documentation I was under the impression that R was able to grab as much

Re: [R] Sort a data frame

2004-07-20 Thread Kjetil Halvorsen
)x) res is now numeric if x was successfully converted and is unchanged if it was not. You can test res using is.numeric and take appropriate action or you can put the action into the body of the warning function such as having it return 0. Also: library(Hmisc) example(all.is.numeric) Kjetil

Re: [R] How to compare X1 = X2 = ... = Xn?

2004-07-19 Thread Kjetil Halvorsen
]) } return(ans) } x1 - c(1,2,3,4,5) x2 - c(1,3,2,4,5) x3 - c(1,6,7,4,5) mapply(function(...) ifelse(midentical(...),1,0),x1,x2,x3) [1] 1 0 0 1 1 Kjetil Halvorsen F Duan wrote: Dear All, I have a data frame with n columns: X1, X2, ., Xn. Now I want to create a new column: if X1 = X2 = . = Xn

Re: [R] table lookup n R

2004-07-15 Thread Kjetil Halvorsen
?match %in% Kjetil Halvorsen Anne wrote: Hello R helpers! I looked but did not find a table-lookup R-utility. I could use a loop to do the job (old FORTRAN/C habits die hard) but if I have a big table in which I have to search for the values corresponding to a vector, I end up logically

Re: [R] Smooth monotone estimation on R

2004-07-13 Thread Kjetil Halvorsen
seem easier to use that. It is not totally automatic, but the example library(mgcv) example(mono.con) has everything necessary to get started. Kjetil Halvorsen Eliyahu-Oron wrote: Kjetil and Andy, Thanks for your helpful answers! The first two (mgcv and fda) seem to be in the direction I'm looking

Re: [R] Smooth monotone estimation on R

2004-07-12 Thread Kjetil Halvorsen
backSpline(splines) Monotone Inverse Spline isoreg(stats) Isotonic / Monotone Regression so you should find something of use in packages mgvc, fda, ftnonpar, splines or stats (.loaded by default) Kjetil Halvorsen Assaf P Oron wrote: Hi all, I'm looking for smooth monotone estimation packages