View source: R/helper_functions.R
as_complex | R Documentation |
Converting to complex by casting dim into real/imaginary
as_complex(x, .margin = 2)
x |
an object of class |
.margin |
the dimension to interpret as real and imaginary numbers |
complex vector, matrix, or array
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.