vector_to_R_code {PKPDsim}R 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


[Package PKPDsim version 1.3.0 Index]