# NOT RUN {
### This example uses the determinant study Party Panel 17.1;
### see ?behaviorchange::BBC_data for more information.
data(BBC_pp17.1);
behaviorchange::CIBER(data=BBC_pp17.1,
determinants=c('epw_AttExpect_hearingDamage',
'epw_AttExpect_highTone',
'epw_AttExpect_musicVolume',
'epw_AttExpect_musicFidelity',
'epw_AttExpect_loudConversation',
'epw_AttExpect_musicFocus',
'epw_AttExpect_musicEnjoy'),
targets=c('epw_attitude'));
# }
# NOT RUN {
### With a binary target
data(BBC_pp17.1);
behaviorchange::binaryCIBER(data=BBC_pp17.1,
determinants=c('epGeneralBeliefs_loudnessPreference',
'epGeneralBeliefs_loudnessGenre',
'epGeneralBeliefs_loudnessTooMuch',
'epGeneralBeliefs_priceFoam',
'epGeneralBeliefs_priceSilicon',
'epGeneralBeliefs_priceCustom'),
targets=c('epPossession'),
categoryLabels = c('no',
'yes'));
# }
Run the code above in your browser using DataLab