Re: [R] summary() within a function

2004-01-14 Thread Rodrigo Abt
Chile -Mensaje original- De: Rodrigo Abt [mailto:[EMAIL PROTECTED] Enviado el: MiƩrcoles, 14 de Enero de 2004 12:36 Para: 'Lista de Correo de R' CC: '[EMAIL PROTECTED]' Asunto: Re: [R] summary() within a function Ulisses, could you be a little more speci

Re: [R] summary() within a function

2004-01-14 Thread uaca
On Wed, Jan 14, 2004 at 04:53:45PM +0100, Eric Lecoutre wrote: > > Unless 'summary' is the last evaluated object within your function (and > then it is the one implicitely returned by the function), you have to > explicitely ask for printing it: Thanks for the explanation > > > f <- function

Re: [R] summary() within a function

2004-01-14 Thread Eric Lecoutre
Abt B., SII, Chile. --- Date: Wed, 14 Jan 2004 09:24:22 +0100 From: [EMAIL PROTECTED] Subject: [R] summary() within a function To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 I have the following function f <- function {

Re: [R] summary() within a function

2004-01-14 Thread Rodrigo Abt
CTED] Subject: [R] summary() within a function To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 I have the following function f <- function { ... model <- lm(rttx[,1] ~ rttx[,2] + 0); summary(model);

Re: [R] summary() within a function

2004-01-14 Thread Prof Brian Ripley
On Wed, 14 Jan 2004 [EMAIL PROTECTED] wrote: > > I have the following function > > f <- function { > > ... > > model <- lm(rttx[,1] ~ rttx[,2] + 0); > summary(model); > > ... > } > > while summary(model) shows the summary if I execute the function line by line > in th

[R] summary() within a function

2004-01-14 Thread uaca
I have the following function f <- function { ... model <- lm(rttx[,1] ~ rttx[,2] + 0); summary(model); ... } while summary(model) shows the summary if I execute the function line by line in the Command Line Interface, if I call f() summary is silent how to so