tospongebob.default {spongebob}R Documentation

SpongeBob-Case Conversion for List-like Objects

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

## 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

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)

[Package spongebob version 0.4.0 Index]