misc: Manipulate real or imaginary components of an object

Description Usage Arguments Author(s) Examples

Description

Manipulate real or imaginary components of an object

Usage

1
2
Im(x) <- value
Re(x) <- value

Arguments

x

Complex-valued object

value

Real-valued object

Author(s)

Robin K. S. Hankin

Examples

1
2
3
4
5
x <- 1:10
Im(x) <- 1

x <- 1:5
Im(x) <- 1/x

elliptic documentation built on May 19, 2017, 7:06 p.m.

Search within the elliptic package
Search all R packages, documentation and source code