Learn R Programming

webdeveloper (version 0.1.0)

toInput: Replace NA values with "", useful for passing values to HTML tags.

Description

Replace NA values with "", useful for passing values to HTML tags.

Usage

toInput(x)

Arguments

x

A vector of length 1.

Value

A string, if x is NA, returns "".

Examples

Run this code
# NOT RUN {
toInput(NA)
# }

Run the code above in your browser using DataLab