Description Usage Arguments Details Value Author(s) Examples
Returns the central value of a variable.
1 | centralValue(x, ws = NULL)
|
x |
variable |
ws |
weights |
Function that obtains a statistic of centrality of a variable, given a sample of values. If the variable is numeric it returns de median, if it is a factor it returns the mode. In other cases it tries to convert to a factor and then returns the mode. Taken from: https://github.com/ltorgo/DMwR2/
central value
Luis Torgo
1 | centralValue(x = seq(1,10,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.