agricolae (version 1.2-8)

lastC: Setting the last character of a chain

Description

A special function for the group of treatments in the multiple comparison tests. Use plot.group.

Usage

lastC(x)

Arguments

x

letters

Value

x

Returns the last character of a string

See Also

plot.group

Examples

Run this code
# NOT RUN {
library(agricolae)
x<-c("a","ab","b","c","cd")
lastC(x)
# "a" "b" "b" "c" "d"

# }

Run the code above in your browser using DataLab