Skip to content

Add example data management#34

Open
billdenney wants to merge 1 commit intojohn-harrold:masterfrom
billdenney:example-datamgmt-nlmixr2
Open

Add example data management#34
billdenney wants to merge 1 commit intojohn-harrold:masterfrom
billdenney:example-datamgmt-nlmixr2

Conversation

@billdenney
Copy link
Copy Markdown

Here is an example of how I would create typical data management for an nlmixr2 dataset.

To take it from here to NONMEM, I would:

  1. Convert the ID column to numeric with: ID = as.integer(factor(USUBJID))
  2. Convert the CMT column to numeric with a data merge (preferred) or a case_when() (okay).
  3. Sort the column order so that numeric columns came first (something like select(where(is.numeric), everything()))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant