Description Format Details Active bindings Methods Author(s) Examples
Handles the pguIMP dataset.
R6::R6Class object.
Stores the pguIMP dataset as instance variable and keeps track of the attributes of interest. Provides additionally fast access to several statistical information about the data set. This object is used by the shiny based gui and is not for use in individual R-scripts!
rawDataReturns the instance variable rawData (tibble::tibble)
setRawDataSets the instance variable rawData (tibble::tibble)
attributeNamesReturns the instance variable attributeNames (character)
numericalAttributeNamesReturns the instance variable numericalAttributeNames (character)
categoricalAttributeNamesReturns the instance variable categoricalAttributeNames (character)
classInformationReturns the instance variable classInformation (tibble::tibble)
statisticsReturns the instance variable statistics (tibble::tibble)
reducedStatisticsReturns the instance variable reducedStatistics (tibble::tibble)
missingsStatisticsReturns the instance variable missingsStatistics (tibble::tibble)
new()Clears the heap and indicates that instance of pguIMP::pgu.data is removed from heap.
Summarizes information on the instance variable rawData and retruns it in form of a compact data frame.
Summarizes a vector of numericals and returns summary.
Iterativley calls the function summarize_numerical_data on all numerical attributes of the instance variable rawData and returns the result in form of a data frame.
Calls the function calculate_statistics filters the result for the attribute names and arithmetic mean values. and returns the result in form of a data frame.
Calls the class' function dataStatistics filters the result for the attribute names and information about missing values. and returns the result in form of a data frame.
Creates and returns a new pguIMP::pgu.data object.
pgu.data$new(data_df = "tbl_df")
data_dfThe data to be analyzed. (tibble::tibble)
valVector of numericals to be summarized. (numeric)
A new pguIMP::pgu.data object. (pguIMP::pgu.data)
print()Prints instance variables of a pguIMP::pgu.data object.
pgu.data$print()
string
fit()Extracts information about the instance variable rawData.
pgu.data$fit()
attribute_index()Returns the index of an attribute within the instance variable attributeNames.
pgu.data$attribute_index(attribute = "character")
attributeAttribute's name. (character)
Index of attribute's name in rawData (numeric)
numerical_data()Returns the numeric attributes of the instance variable rawData.
pgu.data$numerical_data()
A data frame (tibble::tibble)
categorical_data()Returns the categorical attributes of the instance variable rawData.
pgu.data$categorical_data()
A data frame (tibble::tibble)
clone()The objects of this class are cloneable with this method.
pgu.data$clone(deep = FALSE)
deepWhether to make a deep clone.
Sebastian Malkusch, malkusch@med.uni-frankfurt.de
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.