08.04.2015 Views

The caret Package - NexTag Supports Open Source Initiatives

The caret Package - NexTag Supports Open Source Initiatives

The caret Package - NexTag Supports Open Source Initiatives

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

48 sensitivity<br />

Arguments<br />

data<br />

class<br />

dataGrid<br />

gridLength<br />

positive<br />

a numeric variable to cut along<br />

a factor with class memberships. <strong>The</strong>re must be only two classes.<br />

should the data define the grid of cut-points? If not a sequence of evenly spaced<br />

intervals is used.<br />

number of intervals to use if the data do not define the grid.<br />

a character string for the level of the class variable that defines a "positive" event<br />

Value<br />

Note<br />

A matrix of results with columns "cutoff", "sensitivity" and "specificity"<br />

<strong>The</strong> first row in the output has a cutoff of NA, zero sensitivity and specificity of one.<br />

Author(s)<br />

See Also<br />

Max Kuhn<br />

sensitivity, specificity, aucRoc<br />

Examples<br />

set.seed(6)<br />

testData

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!