[R] I want to delete "yhat" and transpose "Response" into a vector
Duncan Murdoch
murdoch.duncan at gmail.com
Thu Mar 30 00:29:00 CEST 2017
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