View source: R/sdr_generate_probability_table.R
Creates and populates the probability table for a station (isolation) or stations (concurrent) with the variables required to apply the station choice model. The variables are drawn from the schema.proposed_stations and data.stations tables.
1 | sdr_generate_probability_table(con, schema, df, tablesuffix)
|
con |
An RPostgres database connection object. |
schema |
Character. for the database schema name. |
df |
A dataframe containing the choicesets. |
tablesuffix |
Character, the suffix of the probability table - either crscode (isolation) or 'concurrent' (concurrent) is expected. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.