Useful Tricks for Matrix Manipulation
Matrix antidiagonals
Set or get matrix value at index vector
Bind vector, single values and matrices
Is idx possible in given matrix?
A shortcut to create matrix defining rows
Get available marix indices
Get all indices in neighbourhood
Create matrix of lists, where each one contains list of neighbour fiel...
Binary operations on matrices/vectors
Plot a matrix
Create matrix of random choosen boolean values
Repeat columns or rows
Create matrix of random values with dimensions copied from an existing...
Create matrix of random values drawn from uniform distribution
Return a sequence of pairs (value, index vector)
Set multiple values useing one function call
A shortcut to create a vertical vector
Create new matrix copying dimensions from the existing one
Provides functions, which make matrix creation conciser (such as the core package's function m() for rowwise matrix definition or runifm() for random value matrices). Allows to set multiple matrix values at once, by using list of formulae. Provides additional matrix operators and dedicated plotting function.
Useful links