View source: R/defineOrEstimateDistribution.R
| defineOrEstimateDistribution | R Documentation |
The function estimates the distribution of values within a features that belong to a specific class, i.e., the conditional probability of the likelihood
defineOrEstimateDistribution(Feature,ClassInd,Gaussian=FALSE,ParetoRadius=NULL,
InternalPlotIt=FALSE,SD_Threshold=0.001,...)
Feature |
[1:n] Numeric Vector |
ClassInd |
Integer Vector with class indices |
Gaussian |
(Optional: Default=TRUE). Assume gaussian distribution. |
ParetoRadius |
Optional [1:d] numerical vector for pareto radii computed
priorly, see |
InternalPlotIt |
Optional: Default=FALSE). Create plot if set to TRUE. |
SD_Threshold |
Optional: Default=0.001. |
... |
|
Kernels |
[1:m] Numeric vector with kernels (x-values) of a 1D pdf. |
PDF |
[1:m] Numeric vector with the distribution values of a 1D pdf. |
Theta |
Numeric vector with parameters of gaussian of mean and standard deviation - NULL if no gaussian used. |
Michael Thrun
if(requireNamespace("FCPS")){
data(Hepta)
Data=Hepta$Data
Cls=Hepta$Cls
Priors=getPriors(Cls)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.