Learn R Programming

charlatan (version 0.6.1)

LoremProvider_zh_CN: Lorem provider Chinese (China)

Description

Methods for Lorem Ipsum generation. Lorem Ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content.

Arguments

Super classes

charlatan::BareProvider -> charlatan::BaseProvider -> charlatan::LoremProvider -> LoremProvider_zh_CN

Methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

LoremProvider_zh_CN$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

Other zh: JobProvider_zh_TW, LoremProvider_zh_TW, PhoneNumberProvider_zh_TW, chinese-language

Examples

Run this code
x <- LoremProvider_zh_CN$new()
x$word()
x$words(3)
x$words(6)
x$sentence()
x$paragraph()
x$paragraphs(3)
cat(x$paragraphs(6), sep = "\n")
x$text(19)
x <- LoremProvider_zh_CN$new(word_connector = " --- ")
x$paragraph(4)

Run the code above in your browser using DataLab