Thanks Uwe.
I definitely want to replace the NaN, unless someone has a better idea.
I have a couple of lists of label-value pairs that come from a randomForest
object.
I plot a series of precision- recall curves (not really curves but
zig-zags) from x and y lists that came from multiple randomFore
On 24.02.2012 17:41, Chet Seligman wrote:
The first item in @ y.values is a NaN
Slot "y.values":
[[1]]
[1] NaN 1.000
How do replace it with 1.00 or otherwise get rid of it?
I wonder if you really want to do that,m but if so, you can replace it by:
object@y.values[[1]][1] <
2 matches
Mail list logo