View source: R/weights_pAMCE.R
weights_pAMCE | R Documentation |
Computing weights for estimating the population AMCE using a design-based approach
weights_pAMCE( formula, factor_name, data, pair, pair_id, cross_int, target_dist, target_type, partial_joint_name )
formula |
Formula |
factor_name |
A factor for which the function computes weights |
data |
Data |
pair |
Whether we use a paired-choice conjoint design |
pair_id |
Unique identifiers for pairs in the paired-choice conjoint design (optional) |
cross_int |
Include interactions across profiles. Default is FALSE |
target_dist |
Target profile distributions to be used. This argument should be 'list' |
target_type |
Types of target profile distributions. 'marginal', 'partial_joint' or 'target_data'. See Examples for details |
partial_joint_name |
Names of factors representing partial joint distributions. See Examples for details. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.