CapWords {hivModelling}R Documentation

CapWords

Description

Capitalizes every word of string

Usage

CapWords(s, strict = FALSE)

Arguments

s

String to capitalize. Required.

strict

Logical indicating to make sure only the first letter of output string is capital. Default = FALSE

Value

NULL (invisibly)

Examples

CapWords(c('word1', 'word2'))
CapWords('this is sentence')
CapWords('MODEL', strict = FALSE)
CapWords('MODEL', strict = TRUE)


[Package hivModelling version 0.9.13 Index]