Learn R Programming

translateSPSS2R (version 1.0.0)

computeUpcase: Convert lower-case letters to upper-case

Description

Helper Function for xpssCompute. R Implementation of the SPSS UPCASE Function.

Usage

computeUpcase (x)

Arguments

x
a character vector, or an object that can be coerced to character by as.character.

Value

String. Returns unput with lowercase letters changed to uppercase. The argument can be a string variable or a value.

See Also

toupper

Examples

Run this code
xpssCompute(x="make it big", fun="computeUpcase")

Run the code above in your browser using DataLab