Description Usage Arguments Value Examples

has data removes NA, empty strings and non-finite values from a vector

1 | ```
hasdata(x, return.index = F)
``` |

`x` |
vector |

`return.index` |
if true, returns indices of the vector that have valid data. Defaults to FALSE. |

returns the values of the input vector that contain valid data

1 2 | ```
example1 code
example1 code
``` |

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.