db.print {RGeostats}R Documentation

Print a Data Base summary

Description

Print a summary of a db-class contents.

Usage

db.print(x, ...,flag.resume=TRUE,flag.vars=TRUE, flag.extend=FALSE,flag.stats=FALSE,
flag.print=FALSE, flag.class=FALSE, names=NA)

Arguments

x

The db-class to be printed.

...

Present by compatibility with the generic print function.

flag.resume

When TRUE, the characteristics of the Data Base are printed

flag.vars

When TRUE, the list of variables (and locators) is printed.

flag.extend

When TRUE, the extension of the Data Base is printed

flag.stats

When TRUE, the statistics of the matrix of values are printed. Only the fields which are designated by a locator are concerned. If a weighting variable is defined (locator "w"), weighted statistics are computed.

flag.print

When TRUE, the whole contents of the table is dumped out

flag.class

When TRUE (and if flag.stats=TRUE and a variable is specified), the statistics of the selected variables are produced by (non empty) integer classes.

names

List of names of attributes to be printed. For more information see db.ident. If not defined, all attributes are considered.

Value

The printout of the contents of the db-class.

See Also

db-class,

Examples

data(Z_data.db) # Load the Documentation Points Db
Z_data.db # Print a short contents of the Db

db.print(Z_data.db) # Print a short description of the Db
# Note that we obtain the same result by simply type the name of the Db

# Add the extension of the Db
db.print(Z_data.db,flag.extend=TRUE)

# Add the statistics one or all the variables 
db.print(Z_data.db,flag.stats=TRUE,name="z1") # Stats on 'z1'

# Add the statistics by integer classes
db.print(Z_data.db,flag.class=TRUE,name="z2")

# Print the contents of the Db
db.print(Z_data.db,flag.print=TRUE)
# Note that only the first 'Ntrow" rows 'Mtcol" columns are printed
# Use environ.print() to check these values and
# use constant.define() to modify them 

# Clean the data set #
rm(Z_data.db)

[Package RGeostats version 14.0.10 Index]