rp_nzdiags | R Documentation |
Get all nonzero diagonals of a binary matrix, or, diagonals specified as a vector by argument d
.
rp_nzdiags(
RM = NULL,
d = NULL,
returnVectorList = TRUE,
returnNZtriplets = FALSE,
removeNZ = TRUE,
silent = TRUE
)
RM |
A binary (0,1) matrix. |
d |
An optional vector of diagonals to extract. |
returnVectorList |
Return list |
returnNZtriplets |
Return a dataframe with coordinates of only nonzero elements in diagonals (default = |
removeNZ |
Remove nonzero diagonals if |
silent |
Silent-ish mode |
A matrix object with nonzero diagonals as columns and/or a dataframe with coordinates of nonzero diagonal elements
Fred Hasselman
Other Distance matrix operations (recurrence plot):
bandReplace()
,
createCorridor()
,
mat_di2bi()
,
mat_di2ch()
,
mat_di2we()
,
mat_hamming()
,
rp()
,
rp_lineDist()
,
rp_plot()
,
rp_size()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.