Skip to content

Reading Multiple Output Variables

2 messages · jody.kelly, Jeff Newmiller

#
Hi all,


I am trying to read multiple out variables for a sensitivity analysis.


Currently using one output value as follows:


Y<-(E1)


However I need to run analysis against 12 values of Y. So E1-E12.


My matrix will be: Inputs are Column=4, Rows = 40 i.e. 40 rows of  4  input variables in different combinations. These will be analysed against 40 rows of output variables for 12 columns.


e.g.


      V1 V2 V3 V4    E1 E2 E3 E4 ... E12

1

2

...

40


Can someone provide guidance on How I can plot against all 12 months?


Thanks


Jody


This message is intended solely for the addressee and may contain confidential and/or legally privileged information. Any use, disclosure or reproduction without the sender's explicit consent is unauthorised and may be unlawful. If you have received this message in error, please notify Northumbria University immediately and permanently delete it. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of the University. The University cannot guarantee that this message or any attachment is virus free or has not been intercepted and/or amended.
#
The word "analysis" is too vague. 

If you are referring to lm regression, you can specify Y as a matrix instead of a vector. 

http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

Also, please disable HTML in your email when sending to this list, since it will usually come through to us in damaged form.