jhelvy / cbcTools

An R package with tools for designing choice based conjoint (cbc) survey experiments and conducting power analyses
https://jhelvy.github.io/cbcTools/
Other
5 stars 5 forks source link

cbc_design(method = full/orthogonal) returns a design with NA #28

Open shigono opened 11 months ago

shigono commented 11 months ago

Hello,

For the full and orthogonal methods, cbc_design() returns missing experimental designs when the number of possible profiles is less than the number of trials.
Though it will only rarely occur, it could be helpful if an error raises instead. (this request is based on https://github.com/jhelvy/cbcTools/issues/27#issuecomment-1672973164)

Thank you , Shigeru