I'm trying to run the "Conjoint" package, and I receive the error:
Error: could not find function "caFactorialDesign"
I'm running R version 2.15.1 on Mac OS X. I have installed the "Conjoint" package with the "Install Dependencies" checkbox checked. I have clicked the "Update All" button in the R Package Installer.
How can I correct this error?
Thanks in advance to all for any info.
(Please respond to this email address as well as to the list -- Thanks!).
Can't Run "Conjoint" Package - Could not find function "caFactorialDesign"?
11 messages · Sarah Goslee, R. Michael Weylandt, Vik Rubenfeld
Hi Vik, You don't need to post to nabble and to the R-help list. Just skip the nabble step! Have you loaded the package with: library(conjoint) # not Conjoint before you try to use any of its functions? Sarah
On Fri, Aug 3, 2012 at 1:23 PM, Vik Rubenfeld <vikr at mindspring.com> wrote:
I'm trying to run the "Conjoint" package, and I receive the error:
Error: could not find function "caFactorialDesign"
I'm running R version 2.15.1 on Mac OS X. I have installed the "Conjoint" package with the "Install Dependencies" checkbox checked. I have clicked the "Update All" button in the R Package Installer.
How can I correct this error?
Thanks in advance to all for any info.
Sarah Goslee http://www.functionaldiversity.org
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? Best, -Vik
On Aug 3, 2012, at 10:28 AM, Sarah Goslee wrote:
Hi Vik, You don't need to post to nabble and to the R-help list. Just skip the nabble step! Have you loaded the package with: library(conjoint) # not Conjoint before you try to use any of its functions? Sarah On Fri, Aug 3, 2012 at 1:23 PM, Vik Rubenfeld <vikr at mindspring.com> wrote:
I'm trying to run the "Conjoint" package, and I receive the error:
Error: could not find function "caFactorialDesign"
I'm running R version 2.15.1 on Mac OS X. I have installed the "Conjoint" package with the "Install Dependencies" checkbox checked. I have clicked the "Update All" button in the R Package Installer.
How can I correct this error?
Thanks in advance to all for any info.
-- Sarah Goslee http://www.functionaldiversity.org
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
With conjoint_1.33 and rather up to date dependencies, I don't see caFactorialDesign and neither does getAnywhere(). 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
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
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
Here is the output of sessionInfo():
sessionInfo()
R version 2.15.1 (2012-06-22) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] conjoint_1.33 clusterSim_0.41-5 mlbench_2.1-1 MASS_7.3-20 rgl_0.92.892 e1071_1.6 class_7.3-4 [8] R2HTML_2.2 cluster_1.14.2 ade4_1.4-17 AlgDesign_1.1-7 loaded via a namespace (and not attached): [1] tools_2.15.1
Per your recommendation, I have read the Posting Guide, and have sent an email to the Maintainers of this packages as well. Best, -Vik
On Aug 3, 2012, at 11:15 AM, Sarah Goslee 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
On Fri, Aug 3, 2012 at 2:40 PM, Vik Rubenfeld <vikr at mindspring.com> wrote:
Here is the output of sessionInfo():
sessionInfo()
R version 2.15.1 (2012-06-22) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] conjoint_1.33 clusterSim_0.41-5 mlbench_2.1-1 MASS_7.3-20 rgl_0.92.892 e1071_1.6 class_7.3-4 [8] R2HTML_2.2 cluster_1.14.2 ade4_1.4-17 AlgDesign_1.1-7
Well there you go. Based on the combined knowledge encapsulated in my and Michael's earlier replies, the function you're trying to use is present in conjoint 1.34 and not present in 1.33 so you'll need to upgrade to the latest version (released 3 August). I further note that while CRAN has 1.34, the author's website has 1.33. Sarah
loaded via a namespace (and not attached): [1] tools_2.15.1
Per your recommendation, I have read the Posting Guide, and have sent an email to the Maintainers of this packages as well. Best, -Vik On Aug 3, 2012, at 11:15 AM, Sarah Goslee 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
On Fri, Aug 3, 2012 at 1:34 PM, Sarah Goslee <sarah.goslee at gmail.com> wrote:
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
It looks like 1.34 was uploaded this morning and hasnt made it to my mirror yet: sorry for the noise. Vik, it looks like you're in the same boat. Try switching to the Austrian CRAN master and update -- then it'll be there. Best, Michael
Got it. Thanks so much for your help, Michael and Sarah! Best, -Vik
On Aug 3, 2012, at 11:50 AM, R. Michael Weylandt wrote:
On Fri, Aug 3, 2012 at 1:34 PM, Sarah Goslee <sarah.goslee at gmail.com> wrote:
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
It looks like 1.34 was uploaded this morning and hasnt made it to my mirror yet: sorry for the noise. Vik, it looks like you're in the same boat. Try switching to the Austrian CRAN master and update -- then it'll be there. Best, Michael
3 days later
I would like to find out how to apply commands found in the bayesm package, to analyze data gathered via a choice-based conjoint study. Is there a web resource where I can seek an R-Project consultant experienced in this, who I could hire to walk me through the appropriate bayesm commands to use for this purpose? Thanks in advance to all for any info.