Learn R Programming

bsplus (version 0.1.0)

bs_attr: Convert a value to be used as an html attribute

Description

  • character vectors collapsed to a space-delimited character string

  • logicals are converted to "true" or "false"

  • lubridate durations are converted to numeric (milliseconds)

Usage

bs_attr(x)

bs_attr.default(x)

bs_attr.logical(x)

bs_attr(x)

# S4 method for Duration bs_attr(x)

Arguments

x

value to be converted

Value

character