I want to plot two scdf-plots in the same graph.
I have two input tables with one column each:

> Targets <- read.table("/media/....", sep="", header=T)
> NonTargets <- read.table("/media/...", sep="", header=T)

> head(Targets)
        V1
1 3.160514
2 6.701948
3 4.093844
4 1.992014
5 1.604751
6 2.076802

> head(NonTargets)
         V1
1  3.895934
2  1.990506
3 -1.746919
4 -3.451477
5  5.156554
6  1.195109

> Targets.m <- melt(Targets)
> head(Targets.m)
  variable    value
1       V1 3.160514
2       V1 6.701948
3       V1 4.093844
4       V1 1.992014
5       V1 1.604751
6       V1 2.076802

> NonTargets.m <- melt(NonTargets)
> head(NonTargets.m)
  variable     value
1       V1  3.895934
2       V1  1.990506
3       V1 -1.746919
4       V1 -3.451477
5       V1  5.156554
6       V1  1.195109


How do I proceed to plot them in one Graph using ecdf_stat()

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to