Learn R Programming

SoilFDA (version 0.1.0)

fractdim: Computation of Fractal Dimension

Description

The function computes the fractal dimension of particle size distribution based on soil mass

Usage

fractdim(Mass, Size, TM, dmax)

Value

Fractal Dimension

Arguments

Mass

Numerical vector containing the mass of each particle size class

Size

Numerical vector containing the average of each particle size class

TM

Numerical value containing the total mass of soil

dmax

Numerical value containing the average of maximum particle size class

References

Tyler S. W., Wheatcraft S. W. (1992). Fractal scaling of soil particle size distribution: Analysis and limitations. Soil Sci. Soc. Am. J., 56: 362.

Examples

Run this code
data <- data.frame(Mass = c(15.1,28.9,11.3,14.6,7.9,22.2),
                   Size = c(0.053,0.1765,0.4,1.25,3.375,4.75))
TM <- 100
dmax <- 4.75
attach(data)
fractdim(Mass = Mass, Size = Size, TM = TM, dmax = dmax)

Run the code above in your browser using DataLab