ordered.list: ordered list representation

Description Usage Arguments Value Examples

View source: R/elements.R

Description

Wraps a list of strings into an ordered list

Usage

1
2
  ordered.list(elements, list.opts = list(),
    element.opts = list())

Arguments

elements

list of elements matching the elements of the html ordered list

list.opts

list of optional attributes to be applied to the <ol> tag

element.opts

list of optional attributes to be applied to each <li> tag in the list

Value

character

Examples

1
2
3
4
{
elements = list("apples", "oranges", "bananas")
ordered.list(elements)
}

DASpringate/samatha documentation built on May 6, 2019, 1:16 p.m.