c2s: conversion of a vector of chars into a string

View source: R/util.R

c2sR Documentation

conversion of a vector of chars into a string

Description

This is a simple utility function to convert a vector of chars such as c("m", "e", "r", "g", "e", "d") into a single string such as "merged".

Usage

c2s(chars = c("m", "e", "r", "g", "e", "d"))

Arguments

chars

a vector of chars

Value

a string

Author(s)

J.R. Lobry

References

citation("seqinr")

See Also

s2c

Examples

c2s( c("m","e","r","g","e","d") )

seqinr documentation built on April 6, 2023, 1:10 a.m.