Count number of IDs in a NONMEM data set

nsub(.df, .subject_col)

Arguments

.df

data.frame containing subject column

.subject_col

column name that will be used to uniquely identify IDs

Author

Samuel P Callisto, PhD

Examples


nsub(.df = Theoph, .subject_col = "Subject")
#> [1] 12