Learn R Programming

prettyR (version 1.0-4)

AddNav: Add a navigation item

Description

Add an item to the HTML navigation file.

Usage

AddNav(Rcommand,navcon,listname,navindex)

Arguments

Rcommand
The current R command in the script file.
navcon
The connection for writing to the navigation file.
listname
The name of the listing file.
navindex
The number used to generate the name tag.

Value

  • The name tag to link the listing to the navigation entry.

Details

AddNav adds an entry to the navigation file, generates a name tag for that entry and returns it to be inserted into the listing file. If the R