Skip to main content
Skip table of contents

setNCASettings

Set the value of one or several of the settings associated to the non compartmental analysis. Associated settings are:

"obsidtouse"(character)The observation id from data section to use for computations.
"administrationType"(list)
list(key = "admId", value = character("intravenous" or "extravascular")). admId Admninistration ID from data set or 1 if no admId column in the dataset."integralMethod"(character)
Method for AUC and AUMC calculation and interpolation. Possible methods are "linTrapLinInterp" (default, linear trapezoidal linear), "linLogTrapLinLogInterp" (linear log trapezoidal), "upDownTrapUpDownInterp" (linear up log down ) and "linTrapLinLogInterp" (linear trapezoidal linear/log)."partialAucTime"
(list)The first element of the list is a logical describing if this setting is used. The second element of the list is a list of the values of the bounds of the partial AUC calculation intervals. By default, the logical equals FALSE, the lower bound equals to the last dose time in the data set and the upper bound equals to the last observation time of the selected observation ID.
"interdoseIntervalForSingleDose"(list)The first element of the list is a logical describing if this setting is used. The second element of the list is a number defining the interdose interval. By default, the logical equals FALSE.
"blqMethodBeforeTmax"(character)
Method by which the BLQ data before Tmax should be replaced. Possible methods are "missing", "LOQ", "LOQ2" or "zero" (default)."blqMethodAfterTmax"
(character)Method by which the BLQ data after Tmax should be replaced. Possible methods are "zero", "missing", "LOQ" or "LOQ2" (default).
"ajdr2AcceptanceCriteria"(list)The first element of the list is a logical describing if this setting is used. The second element of the list is the value of the adjusted R2 acceptance criteria for the estimation of lambda_Z. By default, the logical equals FALSE and the value is 0.98.
"extrapAucAcceptanceCriteria"(list)
The first element of the list is a logical describing if this setting is used. The second element of the list is the value of the AUC extrapolation acceptance criteria for the estimation of lambda_Z. By default, the logical equals FALSE and the value is 20."spanAcceptanceCriteria"
(list)The first element of the list is a logical describing if this setting is used. The second element of the list is the value of the span acceptance criteria for the estimation of lambda_Z. By default, the logical equals FALSE and the value is 3.
"lambdaRule"(character)Main rule for the lambda_Z estimation. Possible rules are "R2", "interval", "points" or "adjustedR2" (default).
"timeInterval"(vector)
Time interval for the lambda_Z estimation when "lambdaRule" = "interval". This is a vector of size two, default = c(-Inf, Inf)"timeValuesPerId"
(list)list("idName" = idTimes,...): idTimes Observation times to use for the calculation of lambda_Z for the id idName. Default = NULL, all the times values are used.
"nbPoints"(integer)Number of points for the lambda_Z estimation when "lambdaRule" = "points". Default = 3.
"maxNbOfPoints"(list)
The first element of the list is a logical describing if this setting is used. The second element of the list is the value maximum number of points to use for the lambda_Z estimation when "lambdaRule" = "R2" or "adjustedR2". By default, the logical equals FALSE and the value is 500."startTimeNotBefore"
(list)The first element of the list is a logical describing if this setting is used. The second element of the list is the value minimum time value to use for the lambda_Z estimation when "lambdaRule" = "R2" or "adjustedR2". By default, the logical equals FALSE and the value is 0.
"weightingNca"(character)Weighting method used for the regression that estimates lambda_Z. Possible methods are "Y", "Y2" or "uniform" (default).
"computedNCAParameters"(vector)
All the parameters to compute during the analysis. Possible parameters:
  • parameters related to the calculation of lambda_z: "Rsq", "Rsq_adjusted", "Corr_XY", "No_points_lambda_z", "Lambda_z", "Lambda_z_lower", "Lambda_z_upper", "HL_Lambda_z", "Lambda_z_intercept", "Span"

  • parameters calculated in case of plasma data: "Tlag", "T0", "Dose", "N_Samples", "C0", "Tmax", "Cmax", "Cmax_D", "Tlast", "Clast", "AUClast", "AUClast_D", "AUMClast", "MRTlast", "MRTlast", "AUCall", "AUCINF_obs", "AUCINF_D_obs", "AUC_PerCentExtrap_obs", "AUC_PerCentBack_Ext_obs", "AUMCINF_obs", "AUMC_PerCentExtrap_obs", "MRTINF_obs", "MRTINF_obs", "Vz_F_obs", "Cl_F_obs", "Vz_obs", "Cl_obs", "Vss_obs", "Clast_pred", "AUCINF_pred", "AUCINF_D_pred", "AUC_PerCentExtrap_pred", "AUC_PerCentBack_Ext_pred", "AUMCINF_pred", "AUMC_PerCentExtrap_pred", "MRTINF_pred", "MRTINF_pred", "Vz_F_pred", "Cl_F_pred", "Vz_pred", "Cl_pred", "Vss_pred"

  • parameters calculated in case of plasma data if partial AUC calculation intervals are provided through the partialAucTime (range between t0 and t1): "AUC_t0_t1", "AUC_t0_t1_D", "CAVG_t0_t1"

  • parameters calculated only for multiple dose data: "Tau", "Ctau", "Ctrough", "AUC_TAU", "AUC_TAU_D", "AUC_TAU_PerCentExtrap", "AUMC_TAU", "Vz_F", "Vz", "CLss_F", "CLss", "Cavg", "FluctuationPerCent", "FluctuationPerCent_Tau", "Accumulation_Index", "Swing", "Swing_Tau", "Tmin", "Cmin", "Cmax", "MRTINF_obs"

  • parameters calculated in case of urine data: "T0", "Dose", "N_Samples", "Tlag", "Tmax_Rate", "Max_Rate", "Mid_Pt_last", "Rate_last", "AURC_last", "AURC_last_D", "Vol_UR", "Amount_Recovered", "Percent_Recovered", "AURC_all", "AURC_INF_obs", "AURC_PerCentExtrap_obs", "AURC_INF_pred", "AURC_PerCentExtrap_pred", "AURC_lower_upper", "Rate_last_pred"

  • parameters calculated in case of urine data if partial AUC calculation intervals are provided through the partialAucTime (range between t0 and t1): "AURC_t0_t1", "AURC_t0_t1_D"

"sparse"(logical)If the data should be considered sparse, and hence NCA should run on the mean profiles. By default, the logical equals FALSE.
"sparseStratification"(vector)
The covariates that should be used to stratify the mean profiles for sparse NCA. By default, the list is empty."sparseCensoring"
(list)The censoring settings to calculate the mean profiles for sparse NCA in case of censored data. It is a list with:
  • an element named "rule", that is either a string (possible values: "missing", "zero", "loq", "loq2") if a single rule is applied, or a list if two different rules are applied depending on the number of censored samples. In that case, "rule" is a list of three elements named "criterion", "target" and "rules". The "criterion" element is a string with the syntax "N_BLQ >= [number]" if the criterion is on the absolute number of censored samples at each time point, or "N_BLQ >= [number]% N_tot" if the criterion is on the fraction of censored samples relatively to the total number of samples. The "target" element is a string equal to "meanValues" or "individualValues" and corresponds to the values impacted by the first rule. The "rules" element is a vector of two strings of possible values "missing", "zero", "loq" or "loq2". The first rule is applied on the samples specified in "target" if the criterion is not met, and the second rule is applied on the individual samples if the criterion is met.

  • an optional list named "checkMeanSamples" with elements "loq" (double), "blqBeforeTmax" and "blqAfter Tmax" (possible values: "missing", "zero", "loq", "loq2"). If the list is given, mean samples are compared to the LOQ value from the list and if they are smaller than the LOQ they are replaced according to the specified rules before and after Tmax.

Usage

R
setNCASettings(...)

Arguments

...

A collection of comma-separated pairs {settingName = settingValue}.

See also

Examples

R
if (FALSE) {
setNCASettings(integralMethod = "LinLogTrapLinLogInterp", weightingnca = "uniform") # set the settings whose name has been passed in argument
setNCASettings(administrationType = list("1"="extravascular")) # set the administration id "1" to extravascular
setNCASettings(startTimeNotBefore = list(TRUE, 15)) # set the estimation of the lambda_z with points with time over 15
setNCASettings(timeValuesPerId = list('1'=c(4, 6, 8, 30), '4'=c(8, 12, 18, 24, 30))) # set the points to use for the lambda_z to time={4, 6, 8, 30} for id '1' and ime={8, 12, 18, 24, 30} for id '4' 
setNCASettings(timeValuesPerId = NULL) # set the points to use for the lambda_z to the default rule
setNCASettings(sparse=TRUE, sparseStratification=list("DGROUP", "STUDY"), sparseCensoring=list(rule = list(criterion = "N_BLQ >= 4", target = "individualValues", rules = c("missing", "loq")))) # set sparse NCA with stratication by STUDY and DGROUP. At each time point and in each group, if there are less than 4 censored samples they are considered as missing (ignored), otherwise the mean value is replaced by the largest LOQ.
setNCASettings(sparse=T, sparseCensoring=list(rule = "zero", checkMeanSamples = list(loq = 3500, blqBeforeTmax = "zero", blqAfterTmax = "missing"))) # set sparse NCA. At each time point, censored samples are replaced by zero to calculate mean samples. If calculated mean samples are smaller than 3500 they are replaced by zero before Tmax and ignored after Tmax.
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.