https://github.com/cran/nFactors
Revision c9833e40e7af6531f93c92bb4d2ab8a87541faad authored by Gilles Raiche on 09 December 2009, 00:00:00 UTC, committed by Gabor Csardi on 09 December 2009, 00:00:00 UTC
1 parent b6fe861
Tip revision: c9833e40e7af6531f93c92bb4d2ab8a87541faad authored by Gilles Raiche on 09 December 2009, 00:00:00 UTC
version 2.3
version 2.3
Tip revision: c9833e4
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 ...