summaryVector {Irescale} | R Documentation |
Calculates statistic for the received vector.
Description
summaryVector
. Calculates basic statistic of the received vector, like mean, standard deviation, maximum, minimum, 0.1% and 99.9% quantile and median.
Usage
summaryVector(vec)
Arguments
vec |
the vector to calculate the summary. |
Value
a list with mean, standard deviation, maximum, minimum, 0.1% and 99.9% quantile and median of the received vector.
Examples
inputFileName<-system.file("testdata", "chen.csv", package="Irescale")
input<-loadFile(inputFileName)
distM<-calculateEuclideanDistance(input$data)
I<-calculateMoranI(distM = distM,varOfInterest = input$varOfInterest)
vI<-resamplingI(distM, input$varOfInterest)
statsVI<-summaryVector(vI)
[Package Irescale version 2.3.0 Index]