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


InsightRX/PKPDsim documentation built on April 25, 2024, 2:10 a.m.