lastdose 0.5.0
-
lastdose(),lastdose_list(), andlastdose_df()output now include observation occasion (OCC) (#49).
Bugs fixed
- Refactored how records are sorted to ensure original order is maintained when several records have the same time within an individual (#47).
lastdose 0.4.3
New features and changes
- Updated
.Rbuildignoreto include NEWS in the build. (#44)
lastdose 0.4.0
- Change default value for
include_tafdto FALSE (#29) - Add option
lastdose.include_tafd(#29) - Add option
lastdose.id_col(#27) - Add option
lastdose.time_units(#27) - Search column names for candidate ID columns using
find_id_col(); this function is unexported (#25) - Search column names for candidate time columns using
find_time_col(); this function is unexported (#25) - Handle missing values (
NA) in the time column; these records will stay in place andNAwill be inserted for all outputs (#30)
lastdose 0.3.2
- Fix bug where
IIcolumn was not properly detected resulting in incorrectTADcalculation when doses were also scheduled viaADDL#21 - Append
TAFD(time after first dose) to data data frame onlastdose()andlastdose_df()call and addtafdto return fromlastdose_list()#19
lastdose 0.3.0
- Add
time_colandid_colarguments to let user name columns containing time and user id information #14 - ID column is allowed to be character; data will be converted to numeric if it is character #14
- Time column is allowed to be
POSIXct; data will be converted to numeric according to value oftime_unitsargument #9
lastdose 0.2.1
- Fix bug where behavior is undefined when ADDL or II columns are omitted (#11)
lastdose 0.2.0
- Commented records are not considered when looking for doses in the data set, but
TADandLDOSare filled like any other observation record (relative to the last non-commented dose) (#9)
