RI: Intraclass Correlation Coefficient for layer boundary...

Description Usage Arguments Details Value References Examples

View source: R/RI.R

Description

Calculates the intraclass correlation coefficient (RI) for a perforation log, and shows the locations where this coefficient is higher than 0.7 and 0.8. The coefficient is used to find layer boundaries in a perforation log.

Usage

1
RI(x, k = 6)

Arguments

x

A data frame containing the depth of perforation in the first column, and the value of interest in the second column

k

The window length for the number of data points to include in the calculation of RI. Always and even (par) number

Details

The example data given is intended to show the structure needed for input data. The user should follow this structure, which in general corresponds with a data frame with a sequence in the first column and the observed/measured values in the second column

Value

ggplot and plotly objects showing the RI statistic and lines marking the critical values of 0.7 and 0.8, and suggested boundaries

References

Mora, R. (2013). Uso de metodos estadisticos para la determinacion de capas homogeneas de suelos volcanicos en un sitio de las laderas del Volcan Irazu, Cartago, Costa Rica. - Rev. Geol. Amer. Central, 49: 101-108.

Examples

1
RI(DPM_data, k = 6)

maxgav13/GMisc documentation built on June 1, 2018, 11:08 a.m.