tospongebob.default: SpongeBob-Case Conversion for List-like Objects

Description Usage Arguments Value See Also Examples

View source: R/tospongebob.R

Description

Convert list-like objects to Mocking SpongeBob case. This is the default S3 method the S3 generic tospongebob. Generally, you will not need to use this method directly; instead, use tospongebob. If you really need to use this method, you will need to do spongebob:::tospongebob.default because it is an internal method.

Usage

1
2
## Default S3 method:
tospongebob(x, ..., convert.names = TRUE)

Arguments

x

object with text to be converted to Mocking SpongeBob case.

...

onlY hERe tO sATisFy R CMd CHeCk.

convert.names

logical, indicating whether or not to convert the names of the object

Value

object with its text converted to Mocking SpongeBob case. ObjECt WiTH iTS tEXt CONvErTeD TO mOCkinG SponGEBob CasE.

See Also

tospongebob

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
nicktoons <- list(
    spongebob = list(
        episodes = c("Help Wanted", "Reef Blower", "Tea at the Treedome"),
        characters = c("SpongeBob", "Patrick", "Squidward", "Sandy")
    ),
    hey_arnold = list(
        episodes = c("Downtown as Fruits", "Eugene's Bike"),
        characters = c("Arnold", "Gerald", "Helga")
    )
)
spongebob:::tospongebob.default(nicktoons)

spongebob documentation built on May 2, 2019, 1:41 p.m.