Re: [R] Supressing empty sections with Sweave

2005-01-01 Thread Mikkel Grum
Frank Harrel proposed the following solution: \ifnum\Sexpr{x}=1 \section{} . . . \fi and it works. Amazingly simple! cheers, Mikkel --- Frank E Harrell Jr [EMAIL PROTECTED] wrote: Mikkel Grum wrote: Dear useRs, I'm writing regular survey reports using Sweave. Each report has

[R] New Year Wish List

2005-01-01 Thread Gabor Grothendieck
Congrats to all those who have contributed to R over the past year. As with last year, for New Year I would like to list the top 10 features I would like to see in R. The first three are the most important. 1. Scripting With this feature it would be possible to call R like this as a

RE: [R] install.packages() for local source file

2005-01-01 Thread Liaw, Andy
Please read ?install.packages. It's most definitely not a bug for a function that works as documented. If you want, you might take the source for install.packages and strip it down to do what you want, say something called installLocalPackages. Andy From: Paul Roebuck Wish to install a

[R] Use of expand.model.frame()

2005-01-01 Thread John Fox
Dear list members, I've encountered a problem using expand.model.frame() with a model specified without an explicit data argument. To illustrate (R 2.0.1 under Windows XP): x - rnorm(10) y - x + rnorm(10) mod - lm(y ~ x) z - 1:10 expand.model.frame(mod, z) Error in

Re: [R] New Year Wish List

2005-01-01 Thread Baz
Gabor Grothendieck wrote: Congrats to all those who have contributed to R over the past year. As with last year, for New Year I would like to list the top 10 features I would like to see in R. The first three are the most important. My wish for R is some sort of timestamping on objects, so I

Re: [R] Use of expand.model.frame()

2005-01-01 Thread Gabor Grothendieck
John Fox jfox at mcmaster.ca writes: : : Dear list members, : : I've encountered a problem using expand.model.frame() with a model specified : without an explicit data argument. To illustrate (R 2.0.1 under Windows XP): : : x - rnorm(10) : y - x + rnorm(10) : mod - lm(y ~ x) :

RE: [R] Use of expand.model.frame()

2005-01-01 Thread John Fox
Dear Gabor, That solves the problem -- thank you very much for the quick response. (I did look at the source for expand.model.frame but didn't isolate the problem, which seems clear now that you've pointed it out.) Regards, John -Original Message- From: [EMAIL PROTECTED]

Re: [R] New Year Wish List

2005-01-01 Thread Gabor Grothendieck
Baz B.Rowlingson at lancaster.ac.uk writes: : : Gabor Grothendieck wrote: : Congrats to all those who have contributed to R over the : past year. As with last year, for New Year I would like to : list the top 10 features I would like to see in R. The first : three are the most important.

[R] find parameters for a gamma distribution

2005-01-01 Thread digitalpenis
hello, i have just started exploring R as an alternative to matlab for data analysis. so far everything is _very_ promising. i have a question though regarding parameter estimation. i have some data which, from a histogram plot, appears to arise from a gamma distribution. i gather that you can

Re: [R] New Year Wish List

2005-01-01 Thread hadley wickham
4. Sourceforge-like Support for Subprojects. This refers to groupware support for subproject development. The Lua and Ruby communities have done this with LuaForge.net and RubyForge.org. I think both are powered by http://gforge.org/ - it probably wouldn't be difficult to set up

Re: [R] find parameters for a gamma distribution

2005-01-01 Thread Gabor Grothendieck
digitalpenis at bluebottle.com writes: : : hello, : : i have just started exploring R as an alternative to matlab for data analysis. so far everything is _very_ : promising. i have a question though regarding parameter estimation. i have some data which, from a : histogram plot, appears to

Re: [R] Export the R object

2005-01-01 Thread Eugene
If you do a lot of exports from R to excel, you might want to use a wrapper function around write.table(). I got tired of using write.table(), go to excel, select file and load routine. My solution to the problem is to create a simple function that opens excel spreadsheet automatically from R.

[R] plot

2005-01-01 Thread franci
Is it possible to make multiple plots i.e. to represent more than one function on the same figure? Thank you Email: [EMAIL PROTECTED] [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

[R] lme: Variances

2005-01-01 Thread h . brunschwig
Hi R users! I will try to state my question again. I have longitudinal data and fitted the following model with lme: Y = X*beta + U + W(t) + Z where U ~ N(0, nu*I) I is the identity matrix, so this is the random intercept W(t)~ N(0, sigma*H) and H is a matrix which incorporates a

Re: [R] plot

2005-01-01 Thread Pallier Christophe
On Sat, 1 Jan 2005, franci wrote: Is it possible to make multiple plots i.e. to represent more than one function on the same figure? It you want to superimpose the curves, for example: t=seq(-5,5,.1) plot(t,exp(-t*t),type='l') lines(t,sin(t)*sin(t)) If you want to plot on separate plotting

Re: [R] New Year Wish List

2005-01-01 Thread Dirk Eddelbuettel
On Sat, Jan 01, 2005 at 10:45:19AM -0600, hadley wickham wrote: 4. Sourceforge-like Support for Subprojects. This refers to groupware support for subproject development. The Lua and Ruby communities have done this with LuaForge.net and RubyForge.org. I think both are powered by

Re: [R] lme: Variances

2005-01-01 Thread Andrew Robinson
Hi Hadassa, Random effects: Formula: ~1 | id (Intercept) Residual StdDev:4.240752 1.240242 Correlation Structure: Gaussian spatial correlation Formula: ~age | id Parameter estimate(s): range 4.662006 it looks to me as though you have two variance parameters and

RE: [R] install.packages() for local source file

2005-01-01 Thread Paul Roebuck
On Sat, 1 Jan 2005, Liaw, Andy wrote: From: Paul Roebuck Wish to install a local source package on Un*x platform from within R. Same thing as I can accomplish from cmdline as $ export R_LIBS=~/R/library $ cd /path/to/pkg $ R CMD INSTALL -l $R_LIBS pkgname So, how do you go

RE: [R] install.packages() for local source file

2005-01-01 Thread Liaw, Andy
The version of ?install.packages (in R-2.0.1) I've read never said it could install local source packages, so why would it be considered a bug not being able to do something that is never claimed? You seem to expect the function to do something that it is never designed to do. Andy From: Paul

RE: [R] install.packages() for local source file

2005-01-01 Thread Paul Roebuck
On Sat, 1 Jan 2005, Liaw, Andy wrote: From: Paul Roebuck Please read ?install.packages. It's most definitely not a bug for a function that works as documented. If you want, you might take the source for install.packages and strip it down to do what you want, say something called

Re: [R] install.packages() for local source file

2005-01-01 Thread Roger D. Peng
By the way, do you get this error in a recent version of R (say = 1.9.1). I believe install.packages() has changed since 1.9.0. For example, see the thread starting here https://stat.ethz.ch/pipermail/r-help/2004-July/053001.html -roger Paul Roebuck wrote: Wish to install a local source

Re: [R] install.packages() for local source file

2005-01-01 Thread Paul Roebuck
On Sat, 1 Jan 2005, Roger D. Peng wrote: Paul Roebuck wrote: Wish to install a local source package on Un*x platform from within R. Same thing as I can accomplish from cmdline as $ export R_LIBS=~/R/library $ cd /path/to/pkg $ R CMD INSTALL -l $R_LIBS pkgname So, how do you go