[R] I want to delete "yhat" and transpose "Response" into a vector

Bruce Ratner PhD br at dmstat1.com
Thu Mar 30 00:43:04 CEST 2017


Duncan, it's not a homework assignment. 
Thanks. 
Bruce 

______________




> On Mar 29, 2017, at 6:29 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> 
>> On 29/03/2017 6:14 PM, BR_email wrote:
>> Hi R'ers:
>> I need a little help.
>> Thanks in advance.
>> Bruce
>> 
>> dd    <- read.csv("C:/R_Data/firstRdata.csv", sep=",", header=TRUE)
>> dd    <- data.frame(yhat,Response)
>> attach(dd)
>> 
>> dd <- dd[order(-yhat),]
>> dd
>> # delete yhat and transpose Response into a vector
> 
> Sounds like a homework assignment.  We don't do those.
> 
> Duncan Murdoch
> 
> 



More information about the R-help mailing list