All,
I'm trying again with a slightly more generic version of my first question. I
can extract the
plotted values from hist(), boxplot(), and even plot.randomForest(). Observe:
# get some data
dat - rnorm(100)
# grab histogram data
hdat - hist(dat)
hdat #provides details of the hist
On Sep 24, 2009, at 9:09 AM, Tim Howard wrote:
All,
I'm trying again with a slightly more generic version of my first
question. I can extract the
plotted values from hist(), boxplot(), and even plot.randomForest().
Observe:
# get some data
dat - rnorm(100)
# grab histogram data
hdat -
Whoops, sorry. Here is the full set with the missing lines:
library(ROCR)
data(ROCR.xval)
pred - prediction(ROCR.xval$predictions, ROCR.xval$labels)
perf - performance(pred,tpr,fpr)
RCdat - plot(perf, avg=threshold)
RCdat
Thanks.
Tim
David Winsemius dwinsem...@comcast.net 9/24/2009 9:25 AM
On
On Sep 24, 2009, at 9:09 AM, Tim Howard wrote:
All,
I'm trying again with a slightly more generic version of my first
question. I can extract the
plotted values from hist(), boxplot(), and even plot.randomForest().
Observe:
# get some data
dat - rnorm(100)
# grab histogram data
hdat -
Tim,
if I understand correctly, you are trying to get the numerical values
of averaged cross-validation curves.
Unfortunately the plot function of ROCR does not return anything in
the current version (it's a good suggestion to change this).
If you want a quick fix, you could change the
David,
Thank you for your reply. Yes, I can access the y-values slot with p...@y-values
but, note that in the cross-validation example (ROCR.xval), the plot function
averages across the list of ten vectors in the y-values slot.
I might be able to create a function to average across these ten
Yes, that's exactly what I am after. Thank you for clarifying my problem for me!
I'll try to dive into the plot.performance function.
Best,
Tim
Tobias Sing tobias.s...@gmail.com 9/24/2009 9:57 AM
Tim,
if I understand correctly, you are trying to get the numerical values
of averaged
7 matches
Mail list logo