Dear R forum,
I have a function which generates say two outputs, say output_1 and output_2.
Output_1 is a single row output whereas Output_2 is a dataframe having multiple
records. Is it possible to use two return statements in function. Output_2 uses
some records from output_1, hence I need
Hi,
The usual thing to do is return a list containing output_1 and output_2.
Sarah
On Wed, Aug 14, 2013 at 10:23 AM, Katherine Gobin
katherine_go...@yahoo.com wrote:
Dear R forum,
I have a function which generates say two outputs, say output_1 and output_2.
Output_1 is a single row output
-project.org [mailto:r-help-boun...@r-project.org] Namens
Katherine Gobin
Verzonden: woensdag 14 augustus 2013 16:23
Aan: r-help@r-project.org
Onderwerp: [R] Double return statement
Dear R forum,
I have a function which generates say two outputs, say output_1 and output_2.
Output_1 is a single row
3 matches
Mail list logo