geoda-class: A R wrapper for p_GeoDa

Description Fields Methods

Description

geoda is a RefClass that wraps the C++ GeoDa class (via p_GeoDa defines in rgeoda.R)

Fields

gda

A pointer to C++ GeoDa object

map_type

The map type: Point, Polygon (or LineSegment)

n_cols

The number of columns

n_obs

The number of observations

field_names

A list of field names

field_types

A list of field types (integer, real, string)

Methods

GetFieldNames(...)

Get the field names of all columns

GetFieldTypes(...)

Get the field types (integer, real, string) of all columns

GetIntegerCol(col_name)

Get the integer values from a column

GetMapType(...)

Get the map type

GetNumCols(...)

Get the number of columns

GetNumObs(...)

Get the number of observations

GetPointer()

Get the C++ object pointer (internally used)

GetRealCol(col_name)

Get the real values from a column

GetUndefinedVals(col_name)

Get the undefined flags from a column

initialize(o_gda)

Constructor with a geoda object (internally used)


lixun910/rgeoda documentation built on March 19, 2021, 3:49 p.m.