R/print.migpd.R

Defines functions print.migpd

#' @export
print.migpd <- function( x , ... ){
    cat( "\nA collection of ", dim( x$data )[ 2 ] , "generalized Pareto models.\n" )
    conv <- sapply( x$models , function( x ) x$convergence )
    if ( sum( conv ) == 0 ) cat( "\nAll models converged.\n" )
    else cat( "\nWARNING: Not all models converged.\n" )
    invisible(x)
}
harrysouthworth/texmex documentation built on March 8, 2024, 7:50 p.m.