Dear Katherine,
Combine both outputs in a list and return that.
return(list(first = output.1, second = output.2))
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Ass
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
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 whereas Output_2 is a
2 matches
Mail list logo