Learn R Programming

mmb (version 0.13.3)

checkBayesFeature: Validate a Bayesian feature using some sanity checks.

Description

Internal function to check common arguments for function that use samples transformed to bayes-features.

Usage

checkBayesFeature(dfFeature, featName)

Arguments

dfFeature

a data.frame for a single feature or variable as constructed by @seealso createFeatureForBayes.

featName

the name of the feature or variable of which to obtain the value.

Value

data.frame the row corresponding to the given feature name