DropNA.psData {psData}R 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.


[Package psData version 0.2.2 Index]