Learn R Programming

charlatan (version 0.6.1)

LoremProvider_en_US: Lorem provider English (USA)

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_en_US

Methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

LoremProvider_en_US$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

Other en: AddressProvider_en_GB, AddressProvider_en_NZ, AddressProvider_en_US, ColorProvider_en_US, CompanyProvider_en_US, ElementProvider_en_US, FileProvider_en_US, InternetProvider_en_AU, InternetProvider_en_US, JobProvider_en_US, PersonProvider_en_GB, PersonProvider_en_NZ, PersonProvider_en_US, PhoneNumberProvider_en_AU, PhoneNumberProvider_en_CA, PhoneNumberProvider_en_GB, PhoneNumberProvider_en_NZ, PhoneNumberProvider_en_US, PhoneNumberProvider_es_MX, SSNProvider_en_US, TaxonomyProvider_en_US, UserAgentProvider_en_US, english-language

Other US: AddressProvider_en_US, ColorProvider_en_US, CompanyProvider_en_US, ElementProvider_en_US, FileProvider_en_US, InternetProvider_en_US, JobProvider_en_US, PersonProvider_en_US, PhoneNumberProvider_en_US, SSNProvider_en_US, TaxonomyProvider_en_US, UserAgentProvider_en_US

Examples

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

Run the code above in your browser using DataLab