Revision 4de3e280a6f88cfcdfa131581cebe9aa005ec68a authored by Gilles Raiche on 10 April 2010, 00:00:00 UTC, committed by Gabor Csardi on 10 April 2010, 00:00:00 UTC
1 parent 875465d
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)
}
## .................................................................
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...