Description Usage Arguments Examples
plotHistogramOverlayNormal
Overlays the histogram and the theorical normal distribution.
1 | plotHistogramOverlayNormal(vec, stats, bins = 50, main = "Histogram")
|
vec |
the vector to plot. |
stats |
the stats obtained from summaryVector. |
bins |
the number of bins for the histogram, The default value is 30. |
main |
the title of the histogram, The default value is "Histogram". |
1 2 3 4 5 6 7 | 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)
plotHistogramOverlayNormal(vI,statsVI)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.