db.append {RGeostats}R Documentation

Append new samples to a Db

Description

Append new samples to a Db

Usage

db.append(db, newdata, flag.match = TRUE)

Arguments

db

The db-class to which vectors must be added. Note that this Db may not be organized as a Grid.

newdata

The data.frame containin the samples to be concatenated

flag.match

If TRUE, the columns of newdata[] will be concatenated to the variables of the Db bearing the same name. The non-matching columns will be filled with NA. If FALSE, the first columns of newdata[] will be copied to the second field of Db, the second column of newdata[] to the third field of Db, ... The first field of Db (variable 'rank') will be filled with the correct sample number.

Value

The db-class containing the concatenation of the previous Db with the information carried by newdata[].


[Package RGeostats version 11.1.2 Index]