[RsR] cancer-pred

Valentin Todorov v@|ent|n@todorov @end|ng |rom che||o@@t
Mon Mar 21 00:09:38 CET 2016


Dear Tianyuan,

I do not think this is the right place to ask this question.

However, if your data frame has a variable y - to see this try head(mydata)
-

you can see the variable y with the command

mydata$y

Best regards,
Valentin



On Sat, Mar 19, 2016 at 1:25 PM, 天源-- <1456861180 using qq.com> wrote:

> hello,I have cancer-pred data.I want to read the data into R and output
> the first list variable y with below  statement,
> but I always get the wrong result.which I need to amend?
>
>  mydata<-read.table("C:/Users/Desktop/cancer-pred.txt",na.string=".",header=T)
>        mydata<-as.data.frame(mydata)
>         y
>
>
> _______________________________________________
> R-SIG-Robust using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-robust
>

	[[alternative HTML version deleted]]




More information about the R-SIG-Robust mailing list