Link: Create a table of Links

Description Usage Arguments Details Value Author(s) Examples

Description

This is a convenience function for creating tables of links (eg for an index page).

Usage

1
Link(obj, target = NA, report = NULL)

Arguments

obj

An object to be turned into one or more links. Typically a character vector of link text or a list of HTMLReportRef objects

target

The link targets for each created link.

report

A report (HTMLReportRef object) whose location the generated links should be relative to.

Details

If target is NA, Link attempts to infer the link target(s) based on obj

Value

An XMLInternalNode corresponding to HTML for either a single link or a div containing multiple links separated each on separate lines

Author(s)

Gabriel Becker

Examples

1
mylinks = Link(c("Link1", "Link2"), c("www.google.com", "www.cnn.com"))

ReportingTools documentation built on March 10, 2021, 2 a.m.