sd_seq_length {AnimalSequences} | R Documentation |
Calculate the Standard Deviation of Sequence Lengths
Description
This function calculates the standard deviation of the lengths of sequences of elements, where each sequence is split by spaces.
Usage
sd_seq_length(sequences)
Arguments
sequences |
A character vector where each element is a sequence of elements separated by spaces. |
Value
A numeric value representing the standard deviation of the lengths of the sequences.
Examples
sequences <- c('hello world', 'hello world hello', 'hello world hello world')
sd_seq_length(sequences)
[Package AnimalSequences version 0.2.0 Index]