Link {ReportingTools} | R Documentation

## Create a table of Links

### Description

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

### Usage

    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

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

[Package ReportingTools version 2.26.0 Index]