Function to calculate the relative error between the calculated and measured resistivities.

relative_error_resitivity(rho, thick, spacing, rho.measured)

Arguments

rho

A numeric vector with the values of the real resistivity

thick

A numeric vector with the values of the layer thicknesses

spacing

A numeric vector with the values of the electrode spacing

rho.measured

A numeric vector with the values of the apparent resistivity

Value

This function returns the value of the relative error.

See also