Description Usage Arguments Value Author(s) Examples
View source: R/AFMVariogramAnalyser.R
Get the graph of the Log Log omnidiretction variogram
getLogLogOmnidirectionalSlopeGraph
returns Get the graph of the Log Log omnidirectional variogram
1 | getLogLogOmnidirectionalSlopeGraph(AFMImageAnalyser, withFratcalSlope = FALSE)
|
AFMImageAnalyser |
an |
withFratcalSlope |
a boolean to indicate if the graph should contain a line representating the slope for the calculation of the fractal index and topothesy |
a ggplot2 graph
M.Beauvais
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
library(AFM)
library(ggplot2)
data(AFMImageOfRegularPeaks)
AFMImageAnalyser = new("AFMImageAnalyser",
fullfilename="/home/ubuntu/AFMImageOfRegularPeaks-Analyser.txt")
variogramAnalysis<-AFMImageVariogramAnalysis(sampleFitPercentage=3.43/100)
AFMImageAnalyser@variogramAnalysis<-variogramAnalysis
AFMImageAnalyser@variogramAnalysis@omnidirectionalVariogram<-
calculateOmnidirectionalVariogram(AFMImage= AFMImageOfRegularPeaks,
AFMImageVariogramAnalysis= variogramAnalysis)
p<-getLogLogOmnidirectionalSlopeGraph(AFMImageAnalyser, withFratcalSlope=TRUE)
p
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.