Learn R Programming

seqinr (version 4.2-36)

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"))

Value

a string

Arguments

chars

a vector of chars

Author

J.R. Lobry

References

citation("seqinr")

See Also

s2c

Examples

Run this code
c2s( c("m","e","r","g","e","d") )

Run the code above in your browser using DataLab