db.stat {RGeostats}R Documentation

Statistics on a set of variables

Description

Calculate the statistics for a set of variables

Usage

db.stat(db, fun = "mean", names = db.getname(db,"z",1),
        flag.mono=FALSE,verbose=FALSE)

Arguments

db

The db-class structure where the variables are stored

fun

The code giving the operation that must be performed between the variables at the same point:

  • "num" : Number of valid samples

  • "mean" : Mean over the valid samples

  • "var" : Variance over the valid samples

  • "corr" : Correlation over the valid samples

  • "stdv" : Standard deviation over the valid samples

  • "mini" : Minimum over the valid samples

  • "maxi" : Maximum over the valid samples

  • "plus" : Number of positive values

  • "moins" : Number of negative values

  • "zero" : Number of zero values

names

List of names of attributes to be compared. For more information see db.ident.

flag.mono

When TRUE, only the monovariate statistics are printed. Otherwise and if the number of variables is larger than 1, the multivariate statistics are printed.

verbose

When TRUE, the statistics are printed directly. Otherwise the procedure is silent

Value

A print of the statistics is performed (if verbose=TRUE). The results are provided as output argument.

See Also

db-class


[Package RGeostats version 14.0.10 Index]