search for: choice

Displaying 20 results from an estimated 13823 matches for "choice".

2011 Aug 16
2
How to use 'switch' with strings containing spaces?
Hi, Does anyone know if the alternatives in the 'switch' function can be specified as strings containing spaces?  Neither of the two approaches below works. switch(expr, "Choice 1"="My first choice", "Choice 2"="My 2nd choice", "Choice 3"="My 3rd choice") x <- c("Choice 1", "Choice 2", "Choice 3") switch(expr, x[1]="My first choice", x[2]="My 2nd choice", x[3]=&quo...
2005 Nov 16
3
Association collections problems
Hi all! I find association collections to be quite hard to understand and use. I have a Leg class that has_many :choices, and a Choice class that belongs_to :leg. In a controller I want to update both a Leg and its Choices. If I do it like this: @leg.choices.update params[:choice].keys, params[:choice].values It updates the database directly (or more specifically only updates records that validates). So if I wa...
2011 Sep 28
3
Data transformation & cleaning
Hi, I have a few methodological and implementation questions for ya'll. Thank you in advance for your help. I have a dataset that reflects people's preference choices. I want to see if there's any kind of clustering effect among certain preference choices (e.g. do people who pick choice A also pick choice D). I have a data set that has one record per user ID, per preference choice. It's a "long" form of a data set that looks like this: ID...
2006 Nov 21
0
[745] trunk/wxruby2/doc/textile/choice.txtl: Correct ruby method signature for constructor, bit more explanatory text
...d #ccc;margin:10px 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[745] trunk/wxruby2/doc/textile/choice.txtl: Correct ruby method signature for constructor, bit more explanatory text</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>745</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt&...
2004 Mar 29
6
Asterisk + GrandStream SIP phones
...d this is the basic seting of my two GrandStream SIP phones: ***************[1005]**************** IP Address:192.168.0.105 Subnet Mask:255.255.255.0 SIP Server: 192.168.0.103 Outbound Proxy:<empty> SIP User ID:1005 Authenticate ID:1005 Authenticate Password:123 Name:1005 Preferred Vocoder: choice 1: PCMU choice 2: PCMA choice 3: G723 choice 4: G729 choice 5: G726-32 choice 6: G728 G723 rate: 6.3kbps Silence Suppression:No Send DTMF:in-audio ***************[1004]**************** IP Address:192.168.0.104 Subnet Mask:255.255.255.0 SIP Server: 192.168.0.103 Outbound Proxy:<empty> SIP U...
2010 Jan 07
2
[Announce] Samba 3.4.4 Available for Download
================================================================= "If there is no struggle, there is no progress." Frederick Douglass ================================================================= Release Announcements ===================== This is the latest stable release of Samba 3.4. Major enhancements in Samba 3.4.4 include: o Fix interdomain trust
2010 Jan 07
2
[Announce] Samba 3.4.4 Available for Download
================================================================= "If there is no struggle, there is no progress." Frederick Douglass ================================================================= Release Announcements ===================== This is the latest stable release of Samba 3.4. Major enhancements in Samba 3.4.4 include: o Fix interdomain trust
2006 Apr 04
2
Syntax Error in find()
Maybe I misunderstand the parameterization of find(), I am getting this syntax error for <% @choices = Choic e.find(:all, :conditions => "question_id" = question.id, :order => "order") %> ---- ERROR LOG ---- ActionView::TemplateError (compile error ../config/../app/views/admin/test/show.rhtml:37: syntax error _erbout.concat " "; @choices = Choice.fi...
2013 Apr 06
1
Replace missing values within a group with the non-missing value
I have a large dataset organised in choice groups see below. Each choice represents a separate occasion with 1 product chosen out of the 6 offered.            +-------------------------------------------------------------------------------------------------+      | dn   obs   choice      acid   br                 date       cdate   situat~n...
2008 Aug 07
2
panel.arrows problem in custom panel function
...e("xyplot.procrustes.R") xyplot(vare.proc, y ~ x | groups, data = as.data.frame(groups), kind = 1) The resulting plot has too many arrows on each panel - some points have multiple arrows emanating from they. panel.procrustes() is defined as: `panel.procrustes` <- function(x, y, kind, choices, rotation, X, ar.col, length = 0.05, ...) { tp <- trellis.par.get() if(missing(ar.col)) ar.col <- tp$superpose.symbol$col[1] if(kind == 1) { panel.abline(h = 0, lty = "dashed") panel.abline(v = 0, lty = "dashed...
2004 Mar 31
2
choice-based conjoint
Hello everyone, I am new to this list and the R-Project, so I hope my question is not trivial or has been answered before. I searched the FAQs and the mailing list archives and I could not find anything about Conjoint Analysis. I am especially interested in Choice-based Conjoint, resp. discrete choice models. Is there a function / module that handles this issue? Or can the multinomial logit model be used? I would doubt the latter, for in a Choice-based Conjoint analysis the choice has to be conditioned to the alternatives in the choice set which are not eq...
2013 Apr 06
2
Replace missing value within group with non-missing value
Dear List members I have a large dataset organised in choice groups see sample below +-------------------------------------------------------------------------------------------------+ | dn obs choice acid br date cdate situat~n mth year set | |----------------------------------------------------------...
2005 Jul 24
2
Fwd: fix Choice.cpp unicode string
This is needed so that samples/etc/choice.rb shows the strings in the choice box. One of the few places that missed UTF8 convertion. --- swig/classes/Choice.i 31 Jan 2005 04:18:52 -0000 1.2 +++ swig/classes/Choice.i 24 Jul 2005 19:18:55 -0000 @@ -14,7 +14,7 @@ for(int i=0; i < $1; ++i) { VALUE thisIt...
2013 Apr 25
2
Loop for main title in a plot
...ot simple graph with super- and subscript a<-c(1,2,3,4) b<-c(1,2,3,4) plot(x=a,y=b, ylab=expression(paste("Apple"["P"])), xlab=expression(paste("Banana"^"th")), main=expression(paste(italic("i-")~"4"^"th"~"choice"))) Now I would like to include the titel (main) as a function of the number of trails for (trial in 1:nTrials) { plot( main=expression(paste(italic("i-")~"trial"^"th"~"choice"))) } e.g. nTrials = 5 The title should look like this: 5th plot: i ^th c...
2007 Apr 03
3
end_form_tag
...the switch now but cannot get the new end tag to work. THIS WORKS: <%= form_remote_tag :url =>{:action => "next_question", :kwiz_id => @kwiz.id, :position => @next_position} %> <% @question.choices.each do |choice| -%> <%= radio_button_tag "choice_id", choice.id %> <%= choice.name %><br /> <% end -%> <br /> <%= submit_tag "Next Question" %> <%= end_form_tag %> THIS DOES NOT...
2005 Dec 15
0
MNP - discrete choice experiment
Hello, I need a little initial help with the MNP package. I am trying to analyze a discrete choice experiment with the following settings: - choice sets consist of 3 alternatives - choice alternatives are constructed by e.g. two attributes, say brand and price. - brand has three levels and price has four levels - every respondent has to answer 4 different choice sets (drawn randomly or systemat...
2004 Nov 30
1
(no subject)
Hello, I am trying to estimate a choice model with varying choice set for each individual. I would like to fit different kinds of model (logit ,nested logit, probit...). So far I have found that package *mnp* allows me to estimate a probit model with varying choice set. But for estimation of a logit model, I have only found function *...
2010 Jul 08
1
New R-SIG for Discrete Choice Modelling
Hello all, I'd like to announce the availability of a mailing list for a newly-formed SIG (Special Interest Group) dedicated to using R for Discrete Choice Modelling. This list is intended for discussion of issues revolving around the design and analysis of Discrete Choice (aka Stated Choice, Stated Preference or Choice-Based Conjoint) experiments. While R has good infrastructure for experimental design in the traditional sense (i.e. generation and...
2005 Aug 02
1
wxchoice broken on linux
The recent changes for windows in choice.i (not the unicode change) broke the etc/choice.rb and the controls/controls.rb tests. ../samples/etc/choice.rb:12:in `initialize'': No matching function for overloaded ''new_wxChoice'' (ArgumentError) Jani
2012 May 03
5
[PATCH 0/5] Various fixes for virt-make-fs.
The main one is that it now estimates btrfs overhead more accurately, allowing it to construct btrfs images. See: https://bugzilla.redhat.com/show_bug.cgi?id=816098 Rich.