bin_data: Bin Point Pattern on a Geometric Network

View source: R/network.R

bin_dataR Documentation

Bin Point Pattern on a Geometric Network

Description

bin_data bins the data on the supplied point pattern according to all possible combination of covariates.

Usage

bin_data(X, bins = NULL, vars = NULL, vars_internal = NULL, scale = NULL)

Arguments

X

Point pattern on a geometric network (object of class gnpp)

bins

A list containing the bins of the geometric network.

vars

A character vector containing the name of all covariates in the model.

vars_internal

A character vector containing the name of all interval covariates in the model.

scale

A named list which specifies the rescaling of network related covariates. Currently, internal covariates "x", "y", and "dist2V" can be scaled.

Value

The binned data.

Author(s)

Marc Schneble marc.schneble@stat.uni-muenchen.de


geonet documentation built on July 11, 2022, 9:08 a.m.