shiftedStem: Add a "shift" suffix to a stem

Description Usage Arguments Value Author(s) Examples

Description

Add a "shift" suffix to a stem

Usage

1
shiftedStem(stem, n_shift)

Arguments

stem

character.

n_shift

numeric.

Value

character.

Author(s)

Kaiyin Zhong, Fan Liu

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# add suffix to stem
shiftedStem("a", 100) == "a_shift_0100"
shiftedStem("home/a", 100) == "home/a_shift_0100"
shiftedStem("/home/a", 100) == "/home/a_shift_0100"
shiftedStem(c("/home/a", "/home/b"), 100) == c("/home/a_shift_0100",
		"/home/b_shift_0100")

## End(Not run)

CollapsABEL documentation built on May 1, 2019, 7:28 p.m.