Revision 923d0cc1f43c36debbea1f1fb06e4de448065380 authored by Gilles Raiche on 31 August 2019, 09:11:55 UTC, committed by cran-robot on 31 August 2019, 09:11:55 UTC
1 parent 592b098
nScreeObjectMethods.r
## .................................................................
summary.nScree <-
function(object, ...) {
if (!is.nScree(object)) stop("Not a nScree object")
cat("Report For a nScree Class \n\n")
#digits <- 2
NextMethod()
cat(paste("Details:",object$Model,"\n\n"))
object$Analysis[,c(1:5,7)] <- round(object$Analysis[,c(1:5,7)], ...)
print(object[[2]])
cat(paste("\n\n Number of factors retained by index","\n\n"))
print(object[[1]])
}
## .................................................................
## .................................................................
print.nScree <-
function(x, ...) {
res <- x[[1]]
print(res, ...)
}
## .................................................................
## .................................................................
plot.nScree <-
function(x, ...) {
plotnScree(x, ...)
}
## .................................................................
## .................................................................
is.nScree <-
function(object) {
if (class(object) == "nScree") return(TRUE) else return(FALSE)
}
## .................................................................
Computing file changes ...