search for: countries

Displaying 20 results from an estimated 3217 matches for "countries".

2010 May 25
2
Get output values in a table
Hi, I use two similar scripts to put p-values of shapiro.test and, respectively, of wilcox.test in a table: a) d <- data.frame(dataset$GroupFactor, dataset[2:11]) # p-values for the shapiro test (by levels of GroupFactor) with(d, aggregate(d[,-1], list(d[,1]), FUN = function(x) shapiro.test(x)$p.value)) b) d <- data.frame(dataset$GroupFactor, dataset[2:11]) with(d, aggregate(d[,-1],
2010 Jun 05
3
Wilcoxon test output as a table
Hi! I searched some time ago a way to get the Wilcoxon test results as a table more or less formatted. Nobody told me any solution and I found nothing on the Internet. Recently I came across this link ( http://myowelt.blogspot.com/2008/04/beautiful-correlation-tables-in-r.html), which helped me to find a solution. Here's the solution (I'm using R Commander): W <-
2003 Feb 05
1
rearranging rows
...follows Factor 1 Factor2 ... Country 1 Country 1 Country 2 Country 2 ... Country N Country N and I need to rearrange it according to the following scheme Factor 1 Factor2 ... Country 2 Country 2 Country N Country N ... Country 1 Country 1 where countries are ordered accordingly to the average value of factor 1 correspondent to each country. What is the easy way of doing it? Many thanks in advance, Luca
2008 May 17
5
Help needed
Hi All, I am new to rspec and it seems that I don''t understand some basics. I need to have a XML import which should parse through XML data and saves all that in various mysql tables. The XML part works just fine and I can test this with rspec. However when I try to execute it "should find country object for DE" do I get an error. @user.country is a one-to-many relation in
2013 Jan 10
1
Segmentation fault after upgrading from asterisk-10.5.0 to asterisk-11.1.2
After upgrading from asterisk-10.5.0 to asterisk-11.1.2, I am getting a Segmentation fault. [root at localhost asterisk-11.1.2]# asterisk -vvvvvvc Asterisk 11.1.2, Copyright (C) 1999 - 2012 Digium, Inc. and others. Created by Mark Spencer <markster at digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components
2004 Jan 17
4
Asterisk Indications
Hi, Just wondering if someone could better explain how the indications.conf file actually affects Asterisk? I am using a Cisco 7940 from my Asterisk system, and have set in indications.conf "country=au" thinking that this would make the dialtones/call progress sound like the familiar Australian tones? However when I call another extension on my system, it still sounds like
2006 Feb 03
3
My associations are coming out nil.
...got a fairly simple system with a table for my Users that includes a CountryId field which looks up to the CountryId field of my Country table. What I would like to happen is for my Rails application, which contains models for both User and Country, to be able to draw the dropdown list of available countries on the edit page, like it does in all the tutorials. My model classes look like this: class User < ActiveRecord::Base belongs_to :country, :foreign_key => "CountryId" set_primary_key "userId" end and class Country < ActiveRecord::Base has_many :user set_...
2009 Dec 01
1
LMER: How to specify Random Effects
I saw different specifications for Random Effects and I'm confused about the use of "/" and the use of "(0+...|)" . Let say we have a nested structure where some countries have some several plants in different states and we measure the reaction to a drug. The list of Countries = USA, France, Italy The States for USA = Michigan, Florida, California The States for France = Paris, Orleans The States for Italy = Venezia, Sienna, Florence, Rome, Napoli , Sicilia Plan...
2006 Apr 20
3
Asterisk Won't start after SVN Trunk Update
Hi: I deleted old modules in /usr/lib/asterisk/modules before make install. I built zaptel and libpri before asterisk. Modprobe zaptel and modprobe -v wctdm executed witiout complaint. Starting asterisk produced the output below with several warnings and a failure. Can someone help, please. I double-spaced the warnings in the text below. The first warning is about music on hold because it
2012 Dec 13
2
How to create multiple country's data into multiple sheets of one excel
HI, I have large dataset of many countries. I have written the program to run through each country to generate one output for each country. I want to put the output like this: one sheet has output for one country. How do I achieve it by r. I have tried this: library(xlsx) write.xlsx(nnn, "vn.xlsx", sheetName="Sheet1")...
2006 Jan 27
3
OT?: International number parsing
...the same country? I already have the table of country and city codes built. Are there holes in this theory; 1. Starting after the international dialing code, find the longest match for country code. 2. Starting after the country code from step 1, find the longest match for city code within that countries table of city codes. 3. The rest is the local number. Are there known exceptions? Am I reinventing the wheel rather than finding the right already existing resource?
2012 Jun 05
1
data analysis problem
Dear R users, I have data on 4 types of interest rates. These rates evolve over time and across regions of countries . So for each type of interest rates I want to run a regression of rates on some other variables. So my regression for one type of interest rate will be I_{ij}_t= a +regressors +error term. where I_{ij}_t is the absolute difference in rates between two locations i and j at time t. Note that i an...
2018 Feb 03
2
find unique and summerize
Hi all, I have a data set need to be summarized by unique ID (count and sum of a variable) A unique individual ID (country name Abbreviation followed by an integer numbers) may have observation in several countries. Then the ID was changed by adding the country code as a prefix and new ID was constructed or recorded like (country code, + the original unique ID Example original ID "CAN1540164" , if this ID has an observation in CANADA then the ID was changed to "1CAN1540164". Fro...
2007 Nov 13
8
acts_as_ferret : cannot use a customized Analyzer (as indicated in the AdvancedUsageNotes)
Hi all, I cannot make aaf (rev. 220) use my custom analyzer, despite following the indications @ http://projects.jkraemer.net/acts_as_ferret/wiki/AdvancedUsage To pinpoint the problem, I created a model + a simple analyzer with 2 stop words : "fax" and "gsm". test 1 : model.rebuild_index + model.find_by_contents("fax") # fax is a stop word. => I get a
2012 Nov 17
2
Help needed for error in foreign key validation
I have two models bank and country. User should only associate a Bank with a country id present in the country table and I put validates presence of country to enforce it but i get error mysql2::Error: Unknown column ''countries.bank_id'' in ''where clause'': SELECT `countries`.* FROM `countries` WHERE `countries`.`bank_id` = 17 LIMIT 1 when updating the bank table Can you tell me how to fix the issue? If I remove the validates_presence_of :country I get a database error as expected when i...
2007 May 15
5
Rspec + Oracle
Hi all. Does anybody use Rspec with Oracle? I have RoR app + Oracle DB. I use Rspec 0.9.4. I have installed Rspec plugin and generated spec for model Country. If I use "@countries = Country.new" in my spec I get "ArgumentError in ''Country should be valid'' block not supplied /vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/kernel.rb: 12:in `describe''" "@countries = Country.find(:first)" works but "@countries =...
2008 Apr 10
3
option_groups_from_collection_for_select with a ActiveRecord::Base single object
...ion_for_select with two tables/objects. How could it be done with one? Example that almost works: I have a form to enter address from both the United States and Canada. It has the following: ====new.html.erb==== <%= select_tag( :state, option_groups_from_collection_for_select( State.countries, :country, :country, "id", "id")) %> ================= I have a migration with all the states/provinces I need. ==== 001_create_states.rb==== class CreateStates < ActiveRecord::Migration def self.up create_table :states do |t| t.string :name...
2010 Dec 31
3
Changing column names
...2             108            105        65             56 2   80        132      83                  38               38              11        47             74 3  135         11      74                  56               74              74        74             29                    The number of countries i.e. length(country) matches with total number of variables (i.e. no of columns in 'result.csv').                                                        One way of doing this is to use country names as column names while writing the 'result.csv' file. write.csv(data.frame(US = ......
2005 Mar 03
5
country/city codes
Some country codes are three digits long. Some are two. e.g. UK 44 , Bermuda 441 Does anyone know a formula for determining which part of a dialled number is the country code and city code ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050303/facb2a2d/attachment.htm
2004 Sep 23
10
MFC/R2
Hi all, I have begun the release of my MFC/R2 protocol software. At http://www.opencall.org/installing-mfcr2.html there are instructions for installing what I have released so far. This is the MFC/R2 protocol software, and a test program. The software to interface Asterisk to the MFC/R2 code will be released shortly. It used to work, but it hasn't been touched for a while, and Asterisk