On Fri, Aug 3, 2012 at 2:40 PM, Vik Rubenfeld <v...@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 <v...@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@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.