svd3dplot(data, ncomp = 3, irow=F, icol=F, isurface = T, iimage = F, xlab = "Column", ylab = "Row", zlab = "", ...)
TRUE
, the output will include a mean matrix, and ncomp-1 SVD component of the demeaned matrix.
TRUE
, this program will calculate a doublemean
. The resulting SVD will be based on the demeaned matrix (i.e., removing the double mean). If only irow is TRUE
, this program will calculate a rowmean
, and the resulting SVD will be based on the corresponding demeaned matrix (i.e., removing the row mean).
TRUE
, this program will calculate a doublemean
. The resulting SVD will be based on the demeaned matrix (i.e., removing the double mean). If only icol is TRUE
, this program will calculate a columnmean
, and the resulting SVD will be based on the corresponding demeaned matrix (i.e., removing the column mean).
TRUE
.
FALSE
.
xlab
option for the plots. The default value is Column
.
ylab
option for the plots. The default value is Row
.
zlab
option for the plots. The default value is empty.
svd
, wireframe
, and levelplot
.
#generate a random sample
#generate a random matrix
x<-matrix(rnorm(100), nrow=20);
#generate a surface plot
svd3dplot(x);
#generate an image plot
svd3dplot(x, iimage=TRUE);
Run the code above in your browser using DataLab