search for: combos

Displaying 20 results from an estimated 1244 matches for "combos".

Did you mean: combo
2012 Nov 29
1
Error 0ps.factor: level sets of factors are different
I have two data sets: "new" and "combo". Within both data set, each row pertains to a unique individual. The "combo" data set is a subset of the "new" data set, meaning that all individuals within "combo" are within "new" but not all individuals within "new" are within "combo". Thus, nrow(new) > nrow(combo). Each
2010 Jan 25
3
question on sqldf syntax
trying to structure sql to merge two datasets. structure follows: dbs.possible.combos (all possible combinations of dates and places) Date Place 1/1/10 N-01 1/1/10 S-02 1/2/10 N-01 1/2/10 S-02 etc... dbs.aggregate (the raw data aggregated by date and location) Date Place Days 1/1/10 N-01 6 1/1/10 S-02 10 1/2/10 S-02 5 Trying to merge so I look-up the values for each possible comb...
2011 Jun 07
1
giving factor names
Hi, I've been driving myself insane with this problem. I have a trellis plot of contours, and I want each level to have something like "z=value" for each one. I can get each one to say z, or each one to say the value (by using as.factor) but not both. Heres an artificial example to show what I mean (as my actual data set is much larger!) x<-c(1,2,3) y<-c(2,4,6)
2012 Jan 28
2
For Loop Error
...ist=ls()) # Sample Size size <- 53 # Probability of each color based on company P.company <- c(.14,.14,.16,.13,.20,.24) # Names of colors color <- c('Br','Y','G','R','O','Bl') # Make an empty matrix that will be filled in by for loop table.combos <- matrix(nrow = 10000, ncol = 6); # For loop will run through choosing a random bag of 53 M&Ms 10000 times # and create a table enumerating the number of each color in each of these 10000 bags for(i in 1:10000) { combos <- sample(color,size, replace = TRUE, prob = P.company) table.c...
2009 Dec 18
2
Generating permutations that always include one specific element
...uot;LB", "LG", "MG", "O", "P", "PI", "PK", "PU", "R", "V", "W", "Y") Each permutation must be 4 characters long. permutations() from the gtools package does this easy enough: possible.combos <- permutations(18, 4, bands) However, ³AL² must be one of the elements in each permutation. Any ideas? Thanks in advance, Ray [[alternative HTML version deleted]]
2003 Jun 25
0
Rcmd SHLIB on Windows
Hi all, I would like to preform an autologistic regression analysis on my thesis data. This is a form of logistic regression that accounts for spatial autocorrelation within and between predictor variables. To this end I have received some script from Dr. Fred Huffer which will allow for the analysis in R. It consists of an R script (autolog.R) that calls a compiled Fortran script (combo.o).
2011 Sep 01
2
Partial Page update and related combobox
hello, I am doing a rails project and i am new to rails, am stuck with some problems. 1) I have a div container at the left side of the page just like a sidebar which contains different links. And the right side of the page is meant to display the content, which is also a div container . When i click any of the links in the sidebar respective pages must be displayed in the right
2010 Aug 09
2
TRUE/FALSE
Here is my code # determine the DDOA measurements for(e in 1:numSensors) { for(f in 1:numSensors) { if((combos[e,f]==1) { # true distance between each sensor and the target truedistance[e]<-sqrt((targetX-sensorX[e])^2+(targetY-sensorY[e])^2) # add an error that has a N(0, sigma^2) distribution truedistance[e]<-(truedistance[e]+rnorm(1, 0, sigma)) } #truedist...
2007 Mar 27
0
WM_TIMER stops being sent?
Hi, I've got a problem with Weatherscope (available freely here: http://sdg.ocs.ou.edu/builds/final/win/WeatherScope/WeatherScope-1.4.1.exe) where the filtering of combo boxes using text typed in a line edit is broken. (Bug here: http://bugs.winehq.org/show_bug.cgi?id=7085) This can be seen by running the program (full path required), selecting product (from the invisible menubar) and
2009 Apr 06
3
how to subsample all possible combinations of n species taken 1:n at a time?
...1 1 1 0 0 0 0 0 0 1 0 0 1 0 0 1 1 1 1 0 0 0 0 ...but the number of possible communities increases exponentially with each added taxon. n<-11 #number of taxa sum(for (i in 0:n) choose(i, k = 0:i)) #number of combos So all possible combinations of 11 taxa taken 1:11 at a time is 2048, all combos of 12 taken 1:12 is 4096, 13 taken 1:13 = 8192...etc etc such that when I reach about 25 taken 1:25 the number of combos is 33554432 and I get a memory error. I have found that the number of combos of x taxa taken fr...
2009 Apr 09
4
create_table with unique combo
I need to create a table replacing default integer id with a string id and making a combo of (id and version) unique primary key. Here is what I''ve got so far. class CreateCatalogs < ActiveRecord::Migration def self.up create_table :catalogs, :id => false do |t| t.string :id, :limit => 20, :null => false t.string :version, :default =>
2002 Feb 21
1
Help tracing WINE funcion..
Hi all, I need some assistance.. I'm trying to trace a problem. The quick description is when I run the Visual FoxPro 5 development environment, and I click in a 'edit' window (like when you bring your program up, to edit it) the screen freezes. when I ran wine --debugmsg +win vfp.exe, my last line of trace is: trace:win:EVENT_Capture (0x20021) So I saw that SetCapure() called
2012 Oct 21
2
help speeding up simple Theil regression function
...mine is faster with N = 1000 (see results below). I plan on running this function repeatedly, and I generally have data lengths of ~ N = 6000 or more. # My function following Hollander and Wolfe text, Chapter 9 np.lm <-function(dat, X, Y, ...){ # Ch 9.2: Slope est. (X) for Thiel statistic combos <- combn(nrow(dat), 2) i.s <- combos[1,] j.s <- combos[2,] num <- vector("list", length=length(i.s)) dom <- vector("list", length=length(i.s)) for(i in 1:length(i.s)){ num[[i]] <- dat[j.s[i],Y] - dat[i.s[i],Y] dom[[i]] <- dat[j.s[i],X] -...
2005 Aug 16
10
quad t1 / 1U rack server combos
...s even go as far as listing server that DO NOT work on the Digium site! The wiki references are old and do not have any testing parameters. C'mon guys! Certify a few current model servers and be done with it. Without that information I must again ask the question; What 1u server combos work with the new quad pri cards UNDER LOAD (more than 75% channel use). Every user that buys a Digium PRI card should not have to play hit or miss with 2 or 3 servers that cost more than the card to get it to work. Please Please Please publish something useful to support the sale of PRI cards....
2012 Jan 28
2
finding rows in a matrix that match a vector
Hi, Please excuse my ignorance, but I am just learning R (this is my very first day programming in R) and having a really hard time figuring out how to do the following: I have a matrix that is 1000 row by 6 columns (named 'table.combos') and a 1 row by 6 column vector (named 'mine'). I want to find every row in 'table.combos' that equals 'mine' and then count this number of times that this is the case. In matlab, I would use the 'find' command but I can not seem to figure out what syntax to u...
2007 Nov 06
2
retrieving values from combo box
<td><p align="right">Jul/10:</td> <td><%= select_tag "jul10", "<option>Y</option><option>N</option><option>R</option>" %></td> At the moment, my html form displays this combo box the way i want it, but it does not record down what the user has selected and save it to the database help please,
2006 Jul 22
2
selected values in combo box
how to set default value in combo box or whether there is another way plz explain with example code advance thx have a nice day -- Posted via http://www.ruby-forum.com/.
2004 May 24
9
Combo Box
>> You really want to call get_value. Unfortunately, that''s not implemented >> in wxRuby 0.3.0. >I found to my surprise that this method is actually working, but only in the >example code that comes with wxRuby one-click install for Windows. @combo.get_label seems to work for me. See sample code below. HTH, Assaph ----- CODE ----- require ''wxruby''
2018 Jun 15
2
CentOS7/Mate Qt bugs/features?
...oxLayout() layout.addWidget(self.combo) layout.addWidget(self.btn) layout.addWidget(self.btnClose) layout.setContentsMargins(50,50,50,50) self.setLayout(layout) self.btn.clicked.connect(self.updateComboState) def updateComboState(self): self.state = (self.state%2)+1 self.combo.setProperty("state", self.state) self.combo.style().unpolish(self.combo) self.combo.style().polish(self.combo) self.upda...
2006 Apr 27
2
problem installing centos 4.0 on Compaq Presario SR1722IL
hey friends, Recently I purchased Compaq Presario SR1722IL and I tried to install Centos 4.0 on it but it started showing errors like: Uniform CD-ROM driver revision: 3.20 Combo SOLTC-4836k ATAPI CD/DVD-ROM drive hdc: IRQ Probe failed (Oxfcfa) hdd: IRQ Probe failed (Oxfcfa) hdc: lost interrupt I tried installing FC4 also but same problem persist. Windows 2000 & Windows XP are