model.decode {RGeostats}R Documentation

Decode one or several Model items for Parametrization

Description

Decode one or several Model items for Parametrization

Usage

model.decode(strings)

Arguments

strings

A series of keywords (valuated or non-valuated) used to describe one or several items which can be used for Model parametrization. See details for more information

Details

A keyword can be valuated (Example: V1=12) or not (Example: A2).

Depending on the usage, these keywords can be provided as:

If the keywords are non-valuated, they can only be defined as a list of strings.

Each keyword follows the syntax: G'igrf'M'istr”type”v1'[-'v2']='value'

All elements 'igrf', 'istr', 'v1' and 'v2' start from 1. The order in which the keywords are defined is important: it provides the order in which the corresponding Non-stationary locators are read. Finally all the characters involved in this grammar are case-insensitive

Example: "G1M2V2-3" for the Sill of the cross-variogram between Variables #2 and #3, for the Structure #2 of the Random Function #1.

Value

A list with one element per keyword. Each keyword is represented by a list with the following items

Examples

# A list of two valuated keywords
model.decode(c("R1=2","G2V1=4"))
# The same list as above
model.decode(list(R1=2,G2V1=4))
# A single non-valuated keyword
model.decode("R1")

[Package RGeostats version 14.0.10 Index]