| calc_omax_pmax_vec | R Documentation |
Vectorized calculation of Omax and Pmax for multiple subjects with individual-specific parameters.
calc_omax_pmax_vec(Q0, k, alpha, price_range = NULL)
Q0 |
Numeric vector of intensity parameters. |
k |
Numeric vector of scaling parameters (or single value). |
alpha |
Numeric vector of elasticity parameters (or single value). |
price_range |
Numeric vector of length 2 for search range. Default NULL uses adaptive range based on alpha. |
A data frame with columns Pmax, Omax, Qmax.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.