Learn R Programming

RegimeChange (version 0.1.1)

well_log: Well Log Dataset

Description

A simulated well-log porosity dataset with abrupt lithology changes typical of geological formations.

Usage

well_log

Arguments

Format

A numeric vector of length 1000 with attributes:

true_changepoints

Vector of true changepoint locations: c(200, 350, 500, 700, 850)

description

Description of the dataset

lithologies

Names of lithology units

Details

The data simulates porosity measurements from a well log with six distinct lithological units:

  • Unit 1 (1-200): Sandstone - porosity ~15%

  • Unit 2 (201-350): Shale - porosity ~8%

  • Unit 3 (351-500): Limestone - porosity ~20%

  • Unit 4 (501-700): Sandstone - porosity ~12%

  • Unit 5 (701-850): Dense Shale - porosity ~5%

  • Unit 6 (851-1000): Sandstone - porosity ~18%

Examples

Run this code
# \donttest{
data(well_log)
result <- detect_regimes(well_log, method = "pelt", min_segment = 50)
plot(result, type = "segments")

# Compare with true lithology boundaries
true_cps <- attr(well_log, "true_changepoints")
evaluate(result, true_changepoints = true_cps)
# }

Run the code above in your browser using DataLab