Re: [R] Spline

2009-10-19 Thread Simon Bonner
Hey Ashta, Simply typo, it's splines... library(splines). Cheers... - Simon Bonner Post-Doctoral Fellow Department of Statistics, UBC www.simon.bonners.ca On Mon, 2009-10-19 at 12:59 -0400, Ashta wrote: > Hi All, > > I am using R version 2.9.2 (2009-08-24) window version >

Re: [R] help with the use of mtext to create main title over multiple plots

2009-10-12 Thread Simon Bonner
Hey Mark, The text is actually there -- I can just see the bottom of the 'y' and the 'p' in my plotting window. You can move the text down (into the plot) with the argument line. E.g.: mtext(text = "my test plots", side = 3, outer = TRUE, line=-2) Hope that h

Re: [R] Saving Seed In a Lopp

2009-10-11 Thread Simon Bonner
Hey Galois (?), See the help file for set.seed() (help(set.seed)). In short, the current seed is stored in the variable .Random.seed. You can save the seed with: myseed <- .Random.seed Hope that helps, Simon - Simon Bonner Post-Doctoral Fellow Department of Statistics,

Re: [R] Why H1=1? (H's the hat matrix)

2009-10-11 Thread Simon Bonner
... - Simon Bonner Post-Doctoral Fellow Department of Statistics, UBC www.simon.bonners.ca On Sun, 2009-10-11 at 14:09 -0400, Gabor Grothendieck wrote: > H projects vectors onto the range of X so any vector already in the > range of X gets projected onto itself. > > On Sun, Oct 11,