sdr_calculate_probabilities: Calculates the probabilities for postcode choicesets

Description Usage Arguments

View source: R/sdr_calculate_probabilities.R

Description

Calculates the probability of each station being chosen within the postcode choicesets contained in the specified probability table for the proposed station (isolation) or stations (concurrent). The required columns are created in the table.

Usage

1
sdr_calculate_probabilities(con, schema, tablesuffix)

Arguments

con

An RPostgres database connection object.

schema

Character, the database schema name.

tablesuffix

Character, the suffix of the probability table - either crscode (isolation) or 'concurrent' (concurrent) is expected.


station-demand-forecasting-tool/sdft documentation built on July 11, 2021, 4:23 a.m.