db.replace {RGeostats}R Documentation

Replace the contents of a variable of a Db

Description

Replace the contents of a variable of a Db

Usage

db.replace(db, name, tab, flag.sel = TRUE)

Arguments

db

db-class from which the target variable must be updated

name

Name of the target variable to be updated

tab

Array which will update the contents of the target variable. Note that the size of the array must match the total count of samples (if flag.sel=FALSE) or the number of active samples (if flag.sel=TRUE).

flag.sel

When FALSE, the argument 'tab' contains the values for all samples. When flag.sel=TRUE, the argument 'tab' must contain the new values for the active samples only.

When flag.sel=TRUE, the contents of the masked samples are kept unmodified.

Value

The db-class where the target variable has been updated.


[Package RGeostats version 11.0.6 Index]