renaming.cohort: Rename a cohort

View source: R/rename.cohort.R

renaming.cohortR Documentation

Rename a cohort

Description

Function to rename a cohort

Usage

renaming.cohort(population, old.name, new.name, verbose = TRUE)

Arguments

population

Population list

old.name

Quick-insert for database (vector of names of cohorts to export)

new.name

Groups of individuals to remove from the database (same IDs!)

verbose

Set to FALSE to not display any prints

Value

population list

Examples

data(ex_pop)
population <- renaming.cohort(ex_pop, old.name="Cohort_4", new.name = "NewName")

MoBPS documentation built on Nov. 5, 2025, 6:26 p.m.

Related to renaming.cohort in MoBPS...