| vector_as_ANN_matrix | R Documentation |
Transform a vector into a ANN compatible matrix
vector_as_ANN_matrix(
x,
ncol = 1,
by = c("row", "col", "step"),
reverse = FALSE
)
x |
A numeric vector. |
ncol |
The number of columns in the resulting matrix. If |
by |
Controls the transformation process. The options |
reverse |
Controls the order of the values in the transformed vector |
The transformed or resampled vector x into a matrix.
as_tensor_3d.
Other Utils:
as_ANN_matrix(),
degree(),
distance(),
list_as_numeric(),
probability(),
radian(),
random_seed(),
re.factor(),
sd_pop(),
similarity(),
var_pop(),
vector_as_numeric()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.