Learn R Programming

seqinr (version 3.4-5)

c2s: 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

References

citation("seqinr")

See Also

s2c

Examples

Run this code
# NOT RUN {
c2s( c("m","e","r","g","e","d") )
# }

Run the code above in your browser using DataLab