R/print.summary.plsRglmmodel.R

Defines functions print.summary.plsRglmmodel

Documented in print.summary.plsRglmmodel

#' Print method for summaries of plsRglm models
#' 
#' This function provides a print method for the class
#' \code{"summary.plsRglmmodel"}
#' 
#' 
#' @param x an object of the class \code{"summary.plsRglmmodel"}
#' @param \dots not used
#' @return \item{language}{call of the model}
#' @author Frédéric Bertrand\cr
#' \email{frederic.bertrand@@utt.fr}\cr
#' \url{https://fbertran.github.io/homepage/}
#' @seealso \code{\link{print}} and \code{\link{summary}}
#' @references Nicolas Meyer, Myriam Maumy-Bertrand et
#' Frédéric Bertrand (2010). Comparaison de la
#' régression PLS et de la régression
#' logistique PLS : application aux données
#' d'allélotypage. \emph{Journal de la Société Française
#' de Statistique}, 151(2), pages 1-18.
#' \url{http://publications-sfds.math.cnrs.fr/index.php/J-SFdS/article/view/47}
#' @keywords methods print
#' @examples
#' 
#' data(Cornell)
#' XCornell<-Cornell[,1:7]
#' yCornell<-Cornell[,8]
#' modplsglm <- plsRglm(yCornell,XCornell,3,modele="pls-glm-gaussian")
#' class(modplsglm)
#' print(summary(modplsglm))
#' rm(list=c("XCornell","yCornell","modplsglm"))
#' 
#' @export 
print.summary.plsRglmmodel <- function(x, ...)
{
  cat("Call:\n")
  print(x$call)
}
fbertran/plsRglm documentation built on March 23, 2023, 2:14 a.m.