Learn R Programming

charlatan (version 0.6.1)

LoremProvider_ja_JP: Lorem provider Japanese

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_ja_JP

Methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

LoremProvider_ja_JP$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

Other ja: PersonProvider_ja_JP, PhoneNumberProvider_ja_JP, japanese-language

Other JP: PersonProvider_ja_JP, PhoneNumberProvider_ja_JP

Examples

Run this code
x <- LoremProvider_ja_JP$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_ja_JP$new(word_connector = " --- ")
x$paragraph(4)

Run the code above in your browser using DataLab