Rgeo_database {klovan}R Documentation

Database Construction

Description

Constructs a database from a provided dataset using specified factors. For more details on the dataset format, see the package README.

Usage

Rgeo_database(data, num_fac = 3, property)

Arguments

data

A dataset of class data.frame. The data should contain 'C_X' and 'C_Y' columns representing the x and y coordinates of the data points and excludes any rank, ID, or column not for analysis, see README for details

num_fac

A numeric value indicating the number of factors to analyze. Default is 3.

property

A string indicating which factor to build variogram from e.g. "RC1" or "RC2"

Details

The Rgeo_database function constructs a db-class object from the provided dataset using the number of factors specified by num_fac and made for use with property.

Value

A db-class object containing the factors selected with num_fac and made for use with property.

Examples

if(requireNamespace("RGeostats", quietly = TRUE)){
    library(RGeostats)
    data("Klovan_Row80", package = "klovan")
    Rgeo_database(Klovan_Row80, 3, "RC3")
}


[Package klovan version 0.1.0 Index]