Subsetting IQRdataGeneral Objects
subset.IQRdataGENERAL.Rd
Return subset of IQRDataGeneral objact which meets conditions.
# S3 method for class 'IQRdataGENERAL'
subset(x, subset, select, ...)
Arguments
Value
An object similar to x containing just the selected rows and columns. Possible
attributes doseNAMES
, obsNAMES
, covInfo
and catInfo
are
subsetted accordingly, see Details.
Details
Subsetting of IQRDataGeneral objects is analogous to subset
for data frames.
After subsetting, the data structure is re-analyzed:
If elements of doseNAMES are removed by subsetting, the new doseNAMES are reduced and accordingly, unnecessary TAD and DOSE columns are removed or re-labeled. If by subsetting DOSEDx/TADDx columns are removed, the DOSE/TAD column is re-computed taking the minimum of TAD_Dx, line by line, as new TAD column, and selecting the corresponding dose of DOSEDx as DOSE.
If elements of obsNAMES are removed by subsetting, the new obsNAMES are reduced.
If elements of covInfo are removed, e.g. by dropping columns via the
select
argument, the corresponding rows are removed from the new covInfo table.If elements of catInfo are removed, e.g. by dropping columns via the
select
argument, the corresponding rows are removed from the new catInfo table. Furthermore, by subsetting it can happen that levels of the categorical covariates are partially or completely removed. In that case, the new catInfo table is modified accordingly.
See also
Other IQRdataGeneral:
+.IQRdataGENERAL()
,
IQRcalcTAD()
,
IQRdataGENERAL()
,
IQRexpandADDLII()
,
IQRloadCSVdata()
,
IQRsaveCSVdata()
,
addCovariateInfo_IQRdataGENERAL()
,
addIndivRegressors_IQRdataGENERAL()
,
addLabel_IQRdataGENERAL()
,
attributes0()
,
blloqInfo_IQRdataGENERAL()
,
blloq_IQRdataGENERAL()
,
check_IQRdataGENERAL()
,
clean_IQRdataGENERAL()
,
combine_IQRdataGENERAL()
,
convertCat2Text()
,
covImpute_IQRdataGENERAL()
,
date2dateday_IQRdataProgramming()
,
date2datetime_IQRdataProgramming()
,
date2time_IQRdataProgramming()
,
exportDEFINE_IQRaedataER()
,
exportDEFINE_IQRdataGENERAL()
,
exportDEFINEpdf_IQRdataGENERAL()
,
exportSYS_IQRdataGENERAL()
,
export_IQRdataGENERAL()
,
getLabels_dataframe()
,
getNAcolNLME_IQRdataGENERAL()
,
handleSameTimeObs_IQRdataGENERAL()
,
is_IQRdataGENERAL()
,
loadATRinfo_csvData()
,
loadAttributeFile()
,
load_IQRdataGENERAL()
,
mapCategoricalCovariate_IQRnlmeProject()
,
mapCategoricalCovariate_csvData()
,
mapContinuousCovariate_IQRnlmeProject()
,
mapContinuousCovariate_csvData()
,
mutateCov_IQRdataGENERAL()
,
obfuscate_IQRdataGENERAL()
,
plot.IQRdataGENERAL()
,
plotCorCat_IQRdataGENERAL()
,
plotCorCovCat_IQRdataGENERAL()
,
plotCorCov_IQRdataGENERAL()
,
plotCovDistribution_IQRdataGENERAL()
,
plotDoseSchedule_IQRdataGENERAL()
,
plotIndiv_IQRdataGENERAL()
,
plotObsSummarizedByCovCat_IQRdataGENERAL()
,
plotRange_IQRdataGENERAL()
,
plotSampleSchedule_IQRdataGENERAL()
,
plotSpaghetti_IQRdataGENERAL()
,
print.IQRdataGENERAL()
,
removeCommata_dataframe()
,
rmAMT0_IQRdataGENERAL()
,
rmDosePostLastObs_IQRdataGENERAL()
,
rmIGNOREd_IQRdataGENERAL()
,
rmMissingTIMEobsRecords_IQRdataGENERAL()
,
rmNOobsSUB_IQRdataGENERAL()
,
rmNonTask_IQRdataGENERAL()
,
rmPLACEBO_IQRdataGENERAL()
,
rmSubjects_IQRdataGENERAL()
,
setIGNORErecords_IQRdataGENERAL()
,
setMissingDVobsRecordsIGNORE_IQRdataGENERAL()
,
summary.IQRdataGENERAL()
,
summaryCat_IQRdataGENERAL()
,
summaryCov_IQRdataGENERAL()
,
summaryObservations_IQRdataGENERAL()
,
transformObs_IQRdataGENERAL()
,
unlabel_dataframe()