dq.point2: Spatiotemporal data quality of stay points

View source: R/data_quality.R

dq.point2R Documentation

Spatiotemporal data quality of stay points

Description

This is the inner implementation of dq.point. Differently, this function accepts the session data generated by gen.sessions, or external utilities.

Usage

dq.point2(sessions, pc, po, dq.min = 1e-05, na = dq.min)

Arguments

sessions

a data.frame of session data generated by gen.sesions or external tools. Four columns are required: c('stime', 'etime', 'x', 'y')

pc

the point coverage, see point.coverage

po

the occurrence of people, see people.occurrence

dq.min

the lower bound of data quality. Values less than this bound will be set by force to this quality (default 1e-5)

na

the replacement of NA (default dq.min)

Value

as the return of dq.point

See Also

dq.point


caesar0301/movr documentation built on June 18, 2022, 2:37 a.m.