Learn R Programming

R2wd (version 1.4)

wdHeading: Add text in Heading style.

Description

Add text in Heading style.

Usage

wdHeading(level = 1, text = "", paragraph = TRUE,  wdapp = .R2wd)

Arguments

level
The heading level.
text
The text to write as a heading.
paragraph
Whether a paragraph should start after the heading.
wdapp
The handle to the Word Application (usually not needed).

Value

    Examples

    Run this code
    wdGet()
    wdHeading(1,"R2wd")
    wdHeading(2,"General ",paragraph=FALSE)
    wdHeading(2,"Principles")

    Run the code above in your browser using DataLab