search for: choices

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

Did you mean: 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
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 wan...
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
...1,10 @@ </span><span class="cx"> h1(#wxchoice). Wx::Choice </span><span class="cx"> </span><del>-A choice item is used to select one of a list of strings. Unlike a -listbox, only the selection is visible until the user pulls down the -menu of choices. </del><ins>+A choice item (also often called a ''dropdown'') is used to select one of +a list of strings. Unlike a listbox, only the selection is visible until +the user pulls down the menu of choices. By using the client_data +functions inherited from "ControlWith...
2004 Mar 29
6
Asterisk + GrandStream SIP phones
-This is my 'sip.conf' file: ;************************************************************* ; ; SIP Configuration for Asterisk ; [general] port = 5060 ; Port to bind to bindaddr = 0.0.0.0 ; Address to bind to context = default ; Default for incoming calls tos=184 maxexpirey=3600 ; Max length of incoming registration we allow
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.fin...
2013 Apr 06
1
Replace missing values within a group with the non-missing value
...     ZOTON    6   20sep2000 00:00:00   20sep2000          R   488   2000     3 | 19. |  4     4        0     LOSEC    1                    .           .                .      .     4 |   I wish to fill in the missing values in each choice set – delineated by dn (Doctor) obs (Observation number) and choices (1 to 6). For each choice set one choice is chosen which contains full time information for that choice set ie in set 1 choice 6 was chosen and shows the month 487. The other 5 choices show mth as missing. I want to fill these with the correct mth.   Clearly on different occasions the date will dif...
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
2013 Apr 06
2
Replace missing value within group with non-missing value
...0 ZANTAC 5 . . . . 5 | 30. | 4 5 1 ZOTON 6 23oct2000 03:00:00 23oct2000 NS 489 2000 5 | I wish to fill in the missing values in each choice set - delineated by dn (Doctor) obs (Observation number) and choices (1 to 6). For each choice set one choice is chosen which contains full time information for that choice set ie in set 1 choice 6 was chosen and shows the month 487. The other 5 choices show mth as missing. I want to fill these with the correct mth. I am sure there must be an elegant way to do this...
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 thisItem = rb_ary_entry($input, i); - $2[i] = (wxChar
2013 Apr 25
2
Loop for main title in a plot
Hi all, I have a problem in including my plot in a loop. Here is a simple example for one plot: # Plot 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")),
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 W...
2005 Dec 15
0
MNP - discrete choice experiment
...st(y1=cbind(za1M, za1B, za2), y2=cbind(zb1M, zb1B, zb2), y3=cbind(zc1M, zc1B, zc2)), cXnames = list("M", "B", "price"), data=example, n.draws=500, burnin=100, thin=3, verbose=TRUE) My questions are: 1) How can I take into account that every respondent answers 4 choicesets? Or more generally, how can I obtain individual level estimates? 2) The MNP package description says that the choice specific variables are recorded relative to the baseline choice. But what if every choice set is different like in this case? Any help will be appreciated! Best regards, Fel...
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 *multinom* of package *nnet* which does not seem to allow for
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
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.