rw_rand_para: Randomize paragraphs (rw_rand_para)

Description Usage Arguments Value

View source: R/rw_rand_para.R

Description

Input is a text file with multiple paragraphs. Output is a text file with paragraph order randomized.

Usage

1
2
3
4
5
6
7
rw_rand_para(
  infile,
  title = "title",
  part = "section",
  project = "name",
  parabreak = "\r\n"
)

Arguments

infile

A text file containing several paragraphs.

title

Title of text (e.g. paper reference).

part

Part of the text (e.g. paper section). Used in filenames.

project

Project nickname for use in filenames

parabreak

The characters that designate paragraph breaks in the input

Value

A text file with paragraphs in random order


chrismgillen/readtowrite documentation built on Aug. 18, 2020, 7:50 p.m.