powered by
Provides the code to label and reference objects that have a label statement with them
lazy.label(label)lazy.ref(label, text, page = FALSE, link = TRUE)
lazy.ref(label, text, page = FALSE, link = TRUE)
A character(1) giving the name of the to be created or referenced
For HTML, the text to be hyperlinked for the reference. If missing, this is set to "(link)"
"(link)"
Indicates if the page number on which the label lies should be returned or the object number. This only applies to LaTeX files
for LaTeX files, should the reference link to the object
# NOT RUN { lazy.label("Label1") lazy.ref("Label1") lazy.ref("Label1", page=TRUE) # }
Run the code above in your browser using DataLab