Create a table of Links

Share:

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

<<<<<<< HEAD An optional report giving the relative path of the link target, when constructing the target path. ======= A report (HTMLReportRef object) whose location the generated links should be relative to. >>>>>>> preparing to rebase for jason's changes

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"))