Learn R Programming

phylosim (version 3.0.5)

stringLengthVector: Returns the string lengths of the character represenations of a collection of objects

Description

Returns the string lengths of the character represenations of a collection of objects. More useful as a static method.

Usage

# S3 method for default
stringLengthVector(this, ...)

Arguments

this

An array or a list of object.

...

Not used.

Value

An integer vector with the corresponding lengths.

See Also

For more information see PSRoot.

Examples

Run this code
# NOT RUN {
	x<-c("character representaion","other string");
	# get the strign length of x
	stringLengthVector(x)
 
# }

Run the code above in your browser using DataLab