ExtractGeos: Extract a Geos object from an object.

Description Usage Arguments Value

View source: R/extractgeos.R

Description

Extract a Geos object from an object.

Usage

1
2
3
4
ExtractGeos(obj, ...)

## S3 method for class 'GeoTimeseries'
ExtractGeos(obj, volume = NULL, ...)

Arguments

obj

an object.

...

other arguments passed to the methods.

volume

(string) name of a metric in the GeoTimeseries over which to generate the 'volume' column. If omitted, the first metric is used. The volumes have to be non-negative.

Value

A 'Geos' object.

A Geos object, with the average weekly volume of all metrics in 'obj'.


google/GeoexperimentsResearch documentation built on May 17, 2019, 7:42 a.m.