Skip to content

Commit

Permalink
Closes #102 update PPSTRESC and PPORRES to character (#103)
Browse files Browse the repository at this point in the history
* #102 update PPSTRESC and PPORRES to character

* #102 update NEWS

---------

Co-authored-by: Jeffrey Dickinson <dickinson.jeffrey@gene.com>
  • Loading branch information
jeffreyad and jeffreyad authored May 29, 2024
1 parent febfc35 commit 4828b2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
- Oncology response data for IMWG criteria (`rs_onco_imwg` and `supprs_onco_imwg`)
was added. (#86)

- Update `PPSTRESC` and `PPORRES` so they are character. (#102)

# pharmaversesdtm 0.2.0

## New Features
Expand Down
4 changes: 3 additions & 1 deletion data-raw/pp.R
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,11 @@ pp_CLR$PPORRES <- pp_CLR$pp_CLR
PP <- bind_rows(pp_tmax, pp_npts, pp_lambda, pp_Ke, pp_cmax, pp_Clast, pp_AUC, pp_AUC_inf, pp_Ae, pp_CLR)

# Constant variables
PP$PPSTRESC <- PP$PPORRES
PP$PPSTRESC <- as.character(PP$PPORRES)
PP$PPSTRESN <- PP$PPORRES
PP$PPSTRESU <- PP$PPORRESU
PP$PPORRES <- as.character(PP$PPORRES)

PP$DOMAIN <- "PP"

## Sort ----
Expand Down

0 comments on commit 4828b2c

Please sign in to comment.