View source: R/func_crop_matrix_to_sqaure.R
| crop_matix_to_square | R Documentation | 
Crop a matrix to size. Discards a border around the trim_size, preserving the center of the matrix 
If mymatrix is smaller than the trim_size, mymatrix will be padded with pad 
Only supports matrices that both dimentions are to be cropped or padded. will not crop one dimention and pad the other
crop_matix_to_square(mymatrix, trim_size = 100, pad = 0)
| mymatrix | matrix to be cropped | 
| trim_size | dimentions to crop matrix | 
| pad | if matrix is to be padded | 
W S Drysdale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.