% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helper.R
\name{.change_class}
\alias{.change_class}
\title{Covert a \code{"LOADINGS"} table to matrix or a matrix to \code{"LOADINGS"}}
\usage{
.change_class(x, cl = "matrix")
}
\arguments{
\item{x}{A table of class \code{"matrix"} or \code{"LOADINGS"}.}

\item{cl}{A string with the class to change the table to. Should be
\code{"LOADINGS"} or \code{"matrix"}.}
}
\value{
A table with the loadings, of class either \code{"LOADINGS"} or
\code{"matrix"}.
}
\description{
Covert a \code{"LOADINGS"} table to matrix or a matrix to \code{"LOADINGS"}
}
\author{
Andreas Soteriades

The loadings tables returned by \code{\link{EFA}} are of class
\code{"LOADINGS"}, which prevents applying functions on them. This function
allows to change their class to \code{"matrix"}, and to change back to
\code{"LOADINGS"} when done.
}
