Description Usage Arguments Value Examples
View source: R/missingValuesCol.R
missingValuesCol takes as input two data.frame objects (dfData1
, dfData2
), and two integer values (dfColIndex1
, dfColIndex2
) and returns a data.frame object with the row location and row name of the missing values present in column number dfColIndex1
of dfData1
but not in column number dfColIndex2
of dfData2
.
1 | missingValuesCol(dfData1, dfColIndex1, dfData2, dfColIndex2)
|
dfData1 |
the first data.frame object. Note that this is not a character string but the data.frame object itself. The parameter passed to the function should be without quotes (" "). |
dfColIndex1 |
an integer indicating the column number of |
dfData2 |
the second data.frame object. Note that this is not a character string but the data.frame object itself. The parameter passed to the function should be without quotes (" "). |
dfColIndex2 |
an integer indicating the column number of |
missingValuesCol returns a data.frame object consisting of 2 columns 'placeinTable1' and 'rowName' indicating the row location and row name respectively of the missing values present in column number dfColIndex1
in dfData1
but not in column number dfColIndex2
of codedfData2
1 2 3 4 | employees_short <- employees[c(2,3,5),]
missingValuesCol(employees,4,employees_short,4)
iris_short <- iris[c(50:75),]
missingValuesCol(iris,2,iris_short,2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.