[R] Reading Multiple Output Variables

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Wed Apr 20 17:44:25 CEST 2016


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. 
-- 
Sent from my phone. Please excuse my brevity.

On April 20, 2016 8:19:48 AM PDT, "jody.kelly" <jody.kelly at northumbria.ac.uk> wrote:
>
>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.
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list