This function helps to pad numbers on the left side with zeros so that they may be used to create strings used in filesystem names (for example).

1 | ```
pad(vect,np)
``` |

`vect` |
a vector of strings representing numbers. |

`np` |
number of zeros to pad to the left of the string. |

a (vector of) string(s) with np number of zeros padded on as a prefix

Jeremy Tantrum

1 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.