getLogLogOmnidirectionalSlopeGraph {AFM} | R Documentation |
getLogLogOmnidirectionalSlopeGraph
returns Get the graph of the Log Log omnidirectional variogramGet the graph of the Log Log omnidiretction variogram
getLogLogOmnidirectionalSlopeGraph
returns Get the graph of the Log Log omnidirectional variogram
getLogLogOmnidirectionalSlopeGraph(AFMImageAnalyser, withFratcalSlope = FALSE)
AFMImageAnalyser |
|
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
## 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)