Description Usage Arguments Details
Replace the element of a vector which based on another dataframe has the rowsum of zero to NA
1 | zero2NA(vec, baseon)
|
vec |
the vector which needs to be processed |
baseon |
the dataframe which the calcualtion is based on. |
if there is no resturant for an agent, replace the number of resturant (i,e, 0) to NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.