DropNA.psData: Drop rows from a data frame with missing values in the...

View source: R/utils.R

DropNA.psDataR Documentation

Drop rows from a data frame with missing values in the OutCountryID variable.

Description

Drop rows from a data frame with missing values in the OutCountryID variable.

Usage

DropNA.psData(data, countryVar = "country", timeVar = NULL, OutCountryID)

Arguments

data

a data frame object.

countryVar

a character vector naming the variables you would like to have only non-missing (NA) values.

timeVar

variable indicating the time.

OutCountryID

the ID the output country identifier.

Source

Largely based on DropNA from the DataCombine package.


rOpenGov/psData documentation built on July 30, 2023, 10:05 p.m.