Learn R Programming

psData (version 0.2)

DropNA.psData: 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.