Re: [R] sequence of commands in R

2009-11-30 Thread Paul Hiemstra
Manuel Jesús López Rodríguez wrote: Dear all, I would like to know how could I execute a sequence or orders with just a function, i.e, that just typing the function name, R gives me all the parameters I want (for instance, if I want to see the summary, the standard deviation, the number of

[R] sequence of commands in R

2009-11-29 Thread Manuel Jesús López Rodríguez
Dear all, I would like to know how could I execute a sequence or orders with just a function, i.e, that just typing the function name, R gives me all the parameters I want (for instance, if I want to see the summary, the standard deviation, the number of valid cases, etc of a dataframe just

Re: [R] sequence of commands in R

2009-11-29 Thread Daniel Nordlund
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Manuel Jesús López Rodríguez Sent: Sunday, November 29, 2009 12:17 PM To: r-help@r-project.org Subject: [R] sequence of commands in R Dear all, I would like to know how

Re: [R] sequence of commands in R

2009-11-29 Thread Don MacQueen
You don't see the standard deviations because only the final result (the output of summary() in your case) is output by the function, not the intermediate results (the results of the apply() function in your case). Try this: resumen-function(x) { print( apply(x,2,sd,na.rm=TRUE))

Re: [R] sequence of commands in R

2009-11-29 Thread Jim Lemon
On 11/30/2009 07:17 AM, Manuel Jesús López Rodríguez wrote: Dear all, I would like to know how could I execute a sequence or orders with just a function, i.e, that just typing the function name, R gives me all the parameters I want (for instance, if I want to see the summary, the standard