.TH v.univar.sh 1grass "" "GRASS 6.4.4" "Grass User's Manual" .SH NAME \fI\fBv.univar.sh\fR\fR - Calculates univariate statistics on selected table column for a GRASS vector map. .SH KEYWORDS vector, statistics .SH SYNOPSIS \fBv.univar.sh\fR .br \fBv.univar.sh help\fR .br \fBv.univar.sh\fR [\-\fBe\fR] \fBtable\fR=\fIstring\fR \fBcolumn\fR=\fIstring\fR [\fBdatabase\fR=\fIstring\fR] [\fBdriver\fR=\fIstring\fR] [\fBwhere\fR=\fIstring\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] .SS Flags: .IP "\fB\-e\fR" 4m .br Extended statistics (quartiles and 90th percentile) .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .PP .SS Parameters: .IP "\fBtable\fR=\fIstring\fR" 4m .br Name of data table .IP "\fBcolumn\fR=\fIstring\fR" 4m .br Column on which to calculate statistics (must be numeric) .IP "\fBdatabase\fR=\fIstring\fR" 4m .br Database/directory for table .IP "\fBdriver\fR=\fIstring\fR" 4m .br Database driver .IP "\fBwhere\fR=\fIstring\fR" 4m .br WHERE conditions of SQL statement without 'where' keyword .PP .SH DESCRIPTION Calculates basic univariate statistics for numeric attributes in a data table. It will calculate minimum, maximum, range, mean, standard deviation, variance, coefficient of variation, quartiles, median, and 90th percentile. It is closely based on \fIr.univar.sh\fR and uses \fIdb.select\fR to create a list values for statistical calculations. This script could be replaced by an updated \fIv.univar\fR. .PP \fI(GRASS Shell Script)\fR .SH NOTES If the database and driver are not specified, the module will use the default values set in \fIdb.connect\fR. .SH EXAMPLE \fC .DS .br g.region rast=elevation.10m \-p .br v.random out=samples n=100 .br v.db.addtable samples col="heights double precision" .br v.what.rast samples rast=elevation.10m col=heights .br v.db.select samples .br .br v.univar.sh samples col=heights .br .DE \fR .SH SEE ALSO \fI r.univar, r.univar.sh, v.univar,, db.select, d.vect.thematic\fR .PP AUTHORS v.univar.sh: Michael Barton, Arizona State University .PP and authors of \fIr.univar.sh\fR .PP \fILast changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $\fR .PP Full index .PP © 2003-2014 GRASS Development Team