Learn R Programming

AFM (version 1.2.0)

checkNormality: Check visualy of the normality of the sample

Description

checkNormality performs a visual check to know if the distribution of heights of an AFMImage follows a normal distribution. The function displays Quantile/Quantile and distribution plots.

Usage

checkNormality(..., AFMImage)

Arguments

...
pngfullfilename (optional): directory and filename to save the visual check to png or pdffullfilename(optional): directory and filename to save the visual check to pdf
AFMImage
an AFMImage from Atomic Force Microscopy

References

Olea2006, Ricardo A. Olea "A six-step practical approach to semivariogram modeling", 2006, "Stochastic Environmental Research and Risk Assessment, Volume 20, Issue 5 , pp 307-318"

Examples

Run this code
library(AFM)

# display Quantile/Quantile and distribution plots.
  data(AFMImageOfNormallyDistributedHeights)
  checkNormality(AFMImage= AFMImageOfNormallyDistributedHeights)

# display and save on disk Quantile/Quantile and distribution plots.
  data(AFMImageOfNormallyDistributedHeights)
  checkNormality(AFMImage= AFMImageOfNormallyDistributedHeights, 
                 pngfullfilename=paste(tempdir(), "checkNormality.png", sep="/"))

Run the code above in your browser using DataLab