R/SS_from_F.R

Defines functions SS_from_F

Documented in SS_from_F

#'Compute SS from factor scores
#'
#'@param F Factor scores
#'@return Sum of Squares
#'@export

SS_from_F <- function(F){

  CP <- t(F) %*% F
  SS <- sum(diag(CP))

  return(SS)
}
michaelkriegsman/DiDiSTATIS documentation built on May 16, 2020, 7:31 a.m.