Description Usage Arguments Value Note Author(s) Examples
Get the location of a sample of data
1 | getLocation(table, frac = 1)
|
table |
A sample of data, can be a number, a vector or a matrix, an array or a table. |
frac |
The fraction of the center part of data, used in cSpread(). |
The location of the sample.
The choice of frac also represents the fraction of the sample we will compare. e.g. if frac=0.9, then everytime we will only compare the center 90 We ignore extreme values in this way
R. Wayne Oldford and Xiaomei Yu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | table1 <- c(1111110000,1134516000,1346578900,1234567890)
getLocation(table1)
table2 <- c(.7999, .7998, .7998, .7997)
getLocation(table2)
table3 <- -c(49991234, 49983454, 50013333, 49923333)
getLocation(table3)
table4 <- c(4220,4232,-6332,4578)
getLocation(table4)
HairEyeColor
getLocation(HairEyeColor)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.