[R] Can't Run "Conjoint" Package - Could not find function "caFactorialDesign"?

Sarah Goslee sarah.goslee at gmail.com
Fri Aug 3 20:34:24 CEST 2012


On Fri, Aug 3, 2012 at 2:23 PM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote:
> With conjoint_1.33 and rather up to date dependencies, I don't see
> caFactorialDesign and neither does getAnywhere().

The function is present in conjoint 1.34, the current version on CRAN.

Rarely do I have to remind respondents to update their installation. :)

Sarah

> Vik, do you have a citation that suggests this function exists? The
> closest I find is gen.factorial() in the AlgDesign package.
>
> The findFn function in the sos library might also be of help here.
>
> Best,
> Michael
>
> On Fri, Aug 3, 2012 at 1:15 PM, Sarah Goslee <sarah.goslee at gmail.com> wrote:
>> Hi,
>>
>> On Fri, Aug 3, 2012 at 1:57 PM, Vik Rubenfeld <vikr at mindspring.com> wrote:
>>> Thanks very much for this info, Sarah!
>>>
>>> I have used library(conjoint). Here are the commands used:
>>>
>>>> library(conjoint)
>>>> experiment = expand.grid(
>>> + price = c("low", "medium", "high"),
>>> + variety = c("black", "green", "red"),
>>> + kind = c("bags", "granulated", "leafy"),
>>> + aroma = c("yes", "no"))
>>>> design<-caFactorialDesign(data=experiment, type="orthogonal")
>>> Error: could not find function "caFactorialDesign"
>>>
>>> What could I be missing?
>>
>> That's hard to say. We need at least the output of sessionInfo() to
>> begin to decide. You've got the reproducible example, but a look at
>> the posting guide might still offer you some advice.
>>
>> Sarah
>>



-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list