\HeaderA{pamr.confusion.survival}{Compute confusin matrix from pamr survival fit}{pamr.confusion.survival}
\begin{Description}\relax
computes confusion matrix for (survival.time,censoring) outcome
based on fit object "fit" and class predictions "yhat"
soft response probabilities for (survival.time,censoring) are first estimated
using Kaplan-Meier method applied to training data
\end{Description}
\begin{Usage}
\begin{verbatim}
pamr.confusion.survival(fit, survival.time, censoring.status, yhat)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{fit}] The result of a call to pamr.train or pamr.cv
\item[\code{survival.time}] Survival time
\item[\code{censoring.status}] censoring status
\item[\code{yhat}] class predictions
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\end{Details}
\begin{Author}\relax
Trevor Hastie, Robert Tibshirani, Balasubramanian Narasimhan, and Gilbert Chu
\end{Author}
\begin{References}\relax
\end{References}
\begin{Examples}
\begin{ExampleCode}
\end{ExampleCode}
\end{Examples}

