rmdfile: Link and file location

View source: R/rmdfile.R

rmdfileR Documentation

Link and file location

Description

This will place a link in the RMD document to a file in the Intro2R package

Usage

rmdfile(link, file, rootf)

Arguments

link

the name of the link to be shown in the rmd docyment

file

the file name in folder "rootf"

rootf

this is the folder in the root of the package where files are located

Details

This makes the construction of links easier

Value

rmd code for setting up link

Examples

## Not run: 
`r rmdfile("Lab2 exemplar code","Lab2.R", "Lab2")`

## End(Not run)

MATHSTATSOU/Intro2R documentation built on Feb. 20, 2025, 6:18 a.m.