

   c {base}                                     R Documentation

   CCoommbbiinnee VVaalluueess iinnttoo aa VVeeccttoorr oorr LLiisstt

   DDeessccrriippttiioonn::

        This is a generic function which combines its argu-
        ments.

        The default method combines its arguments to form a
        vector.  All arguments are coerced to a common type
        which is the type of the returned value.  If `recur-
        sive=TRUE', the function recursively descends through
        lists combining all their elements into a vector.

   UUssaaggee::

        c(..., recursive=FALSE)

   SSeeee AAllssoo::

        `unlist' and `as.vector' to produce attribute-free vec-
        tors.

   EExxaammpplleess::

        c(1,7:9)
        c(1:5, 10.5, "next")

        c(list(A=c(B=1)),recursive=T)

        c(options(), recursive=T)
        c(list(A=c(B=1,C=2),B=c(E=7)),recursive=T)

