as.data.frame.formhubData: Produce a data.frame out of a formhubDataObj

Description Usage Arguments Value Examples

View source: R/formhub.R

Description

Produce a data.frame out of a formhubDataObj

Usage

1
2
## S3 method for class 'formhubData'
as.data.frame(fhD, ...)

Arguments

the

formhub object which will be possibly co-erced to a dataframe.

the

formhub object which will be possibly co-erced to a SpatialPointsDataFrame object.

Value

A data.frame represntation of this formhub oject

A SpatialPointsDataFrame representation of this formhub Object

Examples

1
2
#' Produce a SpatialPointsDataFrame if data has a column of type `gps` or `geopoint`.
Otherwise, return NA.

prabhasp/formhub.R documentation built on May 25, 2019, 11:25 a.m.