make.c: Creates an assignment statement from a vector

Description Usage Arguments Author(s) Examples

View source: R/MTfuncs_all.R

Description

Creates a c( , , ...) assignment statement from an existing vector. Useful for copying data directly into BUGS, or hard-coding values into a routine.

Usage

1
make.c(x)

Arguments

x

A vector of data

Author(s)

Matt Tyers

Examples

1
2
x <- sample(1:10,5)
make.c(x)

mbtyers/MTfuncs documentation built on May 22, 2019, 12:58 p.m.