Description Usage Arguments Value Examples

View source: R/ShortFunctions.R

Set the length of a vector

1 | ```
setlength(x, y)
``` |

`x` |
a vector |

`y` |
integer of length 0 |

The vector x truncated if y < length(x) or padded with NA if y > length(x)

1 2 3 4 5 6 7 8 9 |

debarros/dbTools documentation built on Jan. 11, 2019, 11:54 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.