Description Usage Arguments Value
the function to center and scale the Bag of Word Matrix first scale then center, otherwise NaN's can be produced.
1 | center_scale(Mat, center = FALSE, scale = TRUE)
|
Mat |
An Matrix |
center |
Whether to center or not: TRUE or FALSE |
scale |
Whether to scale or not: TRUE or FALSE |
Mat The Matrix after processing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.