View source: R/sequence_length_summary.R
average_seq_length | R Documentation |
This function calculates the average length of a sequence of elements, where each sequence is split by spaces.
average_seq_length(sequences)
sequences |
A character vector where each element is a sequence of elements separated by spaces. |
A numeric value representing the average length of the sequences.
sequences <- c('hello world', 'hello world hello', 'hello world hello world')
average_seq_length(sequences)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.