Find different USUBJIDs with identical time-sries values for a given NAME in an IQRdataGENERAL.

Find different USUBJIDs with identical time-sries values for a given NAME in an IQRdataGENERAL.

checkForDuplicatedTimeSeries_IQRdataGENERAL(dataGeneral, name, verbose = FALSE)

Arguments

dataGeneral

a data.frame having at least columns USUBJID, NAME, TIME, VALUE, DV.

name

a character string denoting the value of NAME column for which the time-series must be compared.

verbose

logical (default FALSE).

Value

a named list with character string elements. The names in this list are USUBJIDs for which duplicates have been found; the values are character vectors of the duplicating USUBJIDs.

Examples

if (FALSE) {

checkForDuplicatedTimeSeries_IQRdataGENERAL(
  dataGeneral = dataGeneral, name = "MMV000056 Blood Concentration")

checkForDuplicatedTimeSeries_IQRdataGENERAL(
  dataGeneral = dataGeneral[dataGeneral[["DV"]]>dataGeneral[["LLOQ"]],],
  name = "MMV000019 Blood Concentration",
  verbose = TRUE)
}