Rgeo_kriging_plot {klovan}R Documentation

Plotting Kriged Database

Description

This function creates a plot of the kriged database. The function is designed specifically for visualizing geostatistical data.

Usage

Rgeo_kriging_plot(krig_db, db, property)

Arguments

krig_db

A kriged database object, resulting from the Rgeo_kriging function.

db

The original database object that was used to generate the kriged database.

property

A character string representing the property (or column name) from the database that you want to visualize e.g. "RC1" or "RC2".

Details

The function takes a kriged database and the original database, then generates a comparative plot for a specific property. This helps in understanding the effect of kriging on the selected property.

Value

A plot comparing the specified property in the original and kriged databases.

Examples

if(requireNamespace("RGeostats", quietly = TRUE)){
    library(RGeostats)
    data("Klovan_Row80", package = "klovan")
    db <- Rgeo_database(Klovan_Row80, 3, "RC3")
    model <- Rgeo_vario_model(db, 3, "RC3", lag = 500, model = 13)
    krig_db <- Rgeo_kriging(db, model)
    Rgeo_kriging_plot(krig_db, db, "RC3")
}

[Package klovan version 0.1.0 Index]