R/summary.CV_Result.R

Defines functions summary.CV_Result

Documented in summary.CV_Result

summary.CV_Result <- function(object,...){
    cat("\nContaining the cross validation result. \n");
    if (!is.null(object$r_optimal))
        cat(paste0("Selected r parameter is:",object$r_optimal, "\n"));
    if (!is.null(object$s_optimal))
        cat(paste0("Selected s parameter is:",object$s_optimal, "\n"));
}

Try the PAFit package in your browser

Any scripts or data that you put into this service are public.

PAFit documentation built on Jan. 18, 2022, 1:10 a.m.