clean_survname: Convert a survival outcome to a model name

View source: R/deprecated.R

clean_survnameR Documentation

Convert a survival outcome to a model name

Description

A helper function that converts the "name of a survival model" (the "Surv(time, status)" specification) into a valid variable name so that it can be used in the JAGS model syntax.

Usage

clean_survname(x)

Arguments

x

a character string or vector of character strings


JointAI documentation built on Jan. 30, 2026, 5:07 p.m.