internal: Internal Covariates

View source: R/network.R

internalR Documentation

Internal Covariates

Description

internal computes the values of internal covariates at the midpoints of the bins of the network. Internal covariates can either be supplied via the point pattern or they are a function of the network. Currently, x- and y- coordinates are supported for the latter.

Usage

internal(vars, X, bins, scale)

Arguments

vars

The name of the covariates which should go into the model as linear internal covariates.

X

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

bins

A list containing the bins of the geometric network.

scale

A named list which specifies the rescaling of network related covariates. Currently, only x- and y-coordinates can be scaled.

Value

A data frame with the number of rows equal to the number of bins of the geometric network (sum(bins$N)) and the number of columns equal to the length of vars.

Author(s)

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


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