na.omitValByDupPK | R Documentation |
NA
s in values for duplicated registers by PK and return a data.frame
with a unique register for each PK if possible.Omit NA
s in values for duplicated registers by PK and return a data.frame
with a unique register for each PK if possible.
na.omitValByDupPK(x, pk, collapse)
x |
a |
pk |
columns with the primary key |
collapse |
a |
Return x
removing duplicated rows by PK omitting NA
s. If collapse
is missing, duplicated rows by PK and different values
are kept.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.