Description Usage Arguments Value See Also Examples

Simplifies the vector `x`

to become a “simple” component vector
(of the same size).

1 | ```
simpvector(x)
``` |

`x` |
numeric vector of length |

a “simplified” version of `x`

, i.e. an integer vector of the
same length and each entry with the same signs.

`sca`

, also for references

1 2 | ```
x0 <- c(-2:3, 3:-1,0:3,1,1)
cbind(x0, simpvector(x0)) # entries (-11, 0, 3)
``` |

sca documentation built on May 29, 2017, 4:20 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.