Description Usage Arguments Value
View source: R/create_shares.R
Calculate Within Shares for First Layer Nest
1 | gen_nest_share(df, mkt_share, market_id, nest_id)
|
df |
Dataframe to work with |
mkt_share |
Variable containing product market shares, as a character string. |
nest_id |
Variable containing market share of nest, as a character string. |
subnest_id |
Variable containing market share of subnest, as a character string. |
A dataframe with the outside- and nest-shares added..
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.