.TH v.univar 1grass "" "GRASS 6.4.4" "Grass User's Manual" .SH NAME \fI\fBv.univar\fR\fR - Calculates univariate statistics for attribute. Variance and standard deviation is calculated only for points if specified. .SH KEYWORDS vector, statistics .SH SYNOPSIS \fBv.univar\fR .br \fBv.univar help\fR .br \fBv.univar\fR [\-\fBged\fR] \fBmap\fR=\fIname\fR [\fBlayer\fR=\fIinteger\fR] [\fBtype\fR=\fIstring\fR[,\fIstring\fR,...]] [\fBcolumn\fR=\fIstring\fR] [\fBwhere\fR=\fIsql_query\fR] [\fBlayer\fR=\fIinteger\fR] [\fBpercentile\fR=\fIinteger\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] .SS Flags: .IP "\fB\-g\fR" 4m .br Print the stats in shell script style .IP "\fB\-e\fR" 4m .br Calculate extended statistics .IP "\fB\-d\fR" 4m .br Calculate geometry distances instead of table data. .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .PP .SS Parameters: .IP "\fBmap\fR=\fIname\fR" 4m .br Name of input vector map .IP "\fBlayer\fR=\fIinteger\fR" 4m .br Layer number .br A single vector map can be connected to multiple database tables. This number determines which table to use. .br Default: \fI1\fR .IP "\fBtype\fR=\fIstring[,\fIstring\fR,...]\fR" 4m .br Feature type .br Options: \fIpoint,line,boundary,centroid,area\fR .br Default: \fIpoint,line,area\fR .IP "\fBcolumn\fR=\fIstring\fR" 4m .br Column name .IP "\fBwhere\fR=\fIsql_query\fR" 4m .br WHERE conditions of SQL statement without 'where' keyword .br Example: income = 10000 .IP "\fBlayer\fR=\fIinteger\fR" 4m .br Layer number .br A single vector map can be connected to multiple database tables. This number determines which table to use. .br Default: \fI1\fR .IP "\fBpercentile\fR=\fIinteger\fR" 4m .br Percentile to calculate (requires extended statistics flag) .br Options: \fI0-100\fR .br Default: \fI90\fR .PP .SH DESCRIPTION \fIv.univar\fR calculates univariate statistics of vector map features. This includes the number of features counted, minimum and maximum values, and range. Variance and standard deviation is calculated only for points if type=point is defined. .PP Extended statistics adds median, 1st and 3rd quartiles, and 90th percentile. .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 samples col=heights type=point .br .DE \fR .SH SEE ALSO \fIv.neighbors\fR .SH AUTHOR Radim Blazek, ITC-irst .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