File: capitalize.Rd

package info (click to toggle)
hmisc 4.2-0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,332 kB
  • sloc: asm: 27,116; fortran: 606; ansic: 411; xml: 160; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\name{capitalize}
\alias{capitalize}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ capitalize the first letter of a string}
\description{
Capitalizes the first letter of each element of the string vector.
}
\usage{
capitalize(string)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{string}{ String to be capitalized }
}
\value{
  Returns a vector of charaters with the first letter capitalized
}
\author{ Charles Dupont }
\examples{
capitalize(c("Hello", "bob", "daN"))
}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ manip }
\keyword{ character }% __ONLY ONE__ keyword per line