Learn R Programming

VizOR (version 0.8-5)

representNA.data.frame: Apply the representNA function to all columns of a data frame

Description

Replace the string "NA" with R's missing value NA, wherever it appears in the given data frame.

Usage

representNA.data.frame(df)

Arguments

df
The data frame to be 'cleaned up'.

Value

Returns a data frame identical to df, with "NA" recoded as NA.

Examples

Run this code
# TODO: Provide an example

Run the code above in your browser using DataLab