vector_to_R_code: Transform a vector into a string that evaluates to the same...

View source: R/object_to_R_code.R

vector_to_R_codeR Documentation

Transform a vector into a string that evaluates to the same vector

Description

Collapses a vector into a comma-separated list with strings quoted (and special characters escaped). A general purpose helper function for writing new model code.

Usage

vector_to_R_code(vec)

Arguments

vec

a vector

Value

character string of length 1


PKPDsim documentation built on March 7, 2023, 5:40 p.m.