R - Complex Number

> Procedural Languages > R

1 - About

A vector containing complex number (for example: 1+2i)

Advertising

3 - Example

> v =c(1-2i, -2+3i)
> str(v)
 cplx [1:2] 1-2i -2+3i