GetGeoNames: Extracts the names of the geos from the object.

Description Usage Arguments Value

View source: R/getgeonames.R

Description

Extracts the names of the geos from the object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
GetGeoNames(obj, groups = NULL)

## S3 method for class 'GeoTimeseries'
GetGeoNames(obj, groups = NULL)

## S3 method for class 'GeoExperimentData'
GetGeoNames(obj, groups = NULL)

## S3 method for class 'GeoAssignment'
GetGeoNames(obj, groups = NULL)

## S3 method for class 'Geos'
GetGeoNames(obj, groups = NULL)

Arguments

obj

an object.

groups

(NULL, or integer vector) id number(s) of the groups whose geos to obtain, or NULL for all geos. NA is allowed.

Value

A character vector of unique geo identifiers, sorted. Can be empty if there are no geos matching 'groups'. Will be empty if the geo assignment object does not exist in the object.


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