largeRCRF/man/naiveConcordance.Rd

27 lines
1,005 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cr_naiveConcordance.R
\name{naiveConcordance}
\alias{naiveConcordance}
\title{Naive Concordance}
\usage{
naiveConcordance(responses, predictedMortalities)
}
\arguments{
\item{responses}{A list of responses corresponding to the provided
mortalities; use \code{\link{CR_Response}}.}
\item{predictedMortalities}{A list of mortality vectors; each element of the
list should correspond to one of the events in the order of event 1 to J,
and should be a vector of the same length as responses.}
}
\value{
A vector of 1 minus the concordance scores, with each element
corresponding to one of the events. To be clear, the lower the score the
more accurate the model was.
}
\description{
Used to calculate a concordance index error. The user needs to supply a list
of mortalities, with each item in the list being a vector for the specific
events. To calculate mortalities a user should look to
\code{\link{extractMortalities}}.
}