Description Usage Arguments Details Value Author(s) See Also Examples

Given a label as a character string, the vector of labels is searched and the row number of the matching vector is returned. This is the number that has been assigned to the object with the specified label.

1 | ```
eqRef(label)
``` |

`label` |
Character. The label of the object whose number is sought. |

The function first adds the required prefix (e.g. `eq:`

for an
equation) to the supplied label, then uses `which`

to find
the row number in the vector of labels matching that label. Names of
vectors storing the labels are based on LaTeX names. For equations,
the vector is called `hwriterEquationList`

(even though it is a
vector not a list).

The number in the list of labels for that type of object which matches the label supplied.

David Scott d.scott@auckland.ac.nz

1 2 3 4 | ```
## Not run:
eqRef{"anequationlabel"}
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.