misc | R Documentation |
Manipulate real or imaginary components of an object
Im(x) <- value
Re(x) <- value
x |
Complex-valued object |
value |
Real-valued object |
Robin K. S. Hankin
x <- 1:10
Im(x) <- 1
x <- 1:5
Im(x) <- 1/x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.