similar to: A final global mode function

Displaying 20 results from an estimated 130 matches similar to: "A final global mode function"

2011 Jul 30
3
ifelse returns
Greetings R Community, I am working with the ifelse function and it is returning something unexpected. In the code the line with the MODE1 assignment the output is a vector [1] 4 5 6 but when I put the MODE1 object into the ifelse function [R}'s output for MODE1 is the first number from the string (4). Why is this? Given the supplied vector of x I would assume both the MODE1 and ifelse()
2006 Oct 21
2
problem with mode of marginal distriubtion of rdirichlet{gtools}
Hi all, I have a problem using rdirichlet{gtools}. For Dir( a1, a2, ..., a_n), its mode can be found at $( a_i -1)/ ( \sum_{i}a_i - n)$; The means are $a_i / (\sum_{i} a_i ) $; I tried to study the above properties using rdirichlet from gtools. The code are: ############## library(gtools) alpha = c(1,3,9) #totoal=13 mean.expect = c(1/13, 3/13, 9/13) mode.expect = c(0, 2/10, 8/10) #
2003 Jun 23
2
Summary for mode of a data set
Dear R People: thank you for the many helpful sets of code that I received!!! I combined several of the concepts for the following function: > mode1 function(x) { y <- rle(sort(x)) z <- y$values[y$lengths==max(y$lengths)] return(z) } > xm [1] 22 15 10 30 25 26 2 17 28 2 24 6 26 24 5 22 20 14 > mode1(xm) [1] 2 22 24 26 > This will pick
2012 Dec 18
1
multi dimensional optim problem
I am attempting to use optim to solve a neural network problem. I would like to optimize coefficients that are currently stored in a matrix Y=270 x 1 X= 27- x 14 b1= 10x14 b2= 11x1 V= 10 x 14 set of prior variances. I have the following function: posterior.mode1=function(y,X,b_0,b2,V) { log.like=function(b1) { a_g=compute(b1) z_g=tanh(a_g); z_g=cbind(1,z_g)
2010 Jan 13
2
Bonding modes
I have a bonded interface running in mode 1 which is active/passive and no issue with this. I need to change it to mode 0 for active/active setup. Does mode 0 is dependent on the switches configuration? My setup is: 2 links from bonded interface is connected to different switches. When I change to mode0 from mode1 , bond0 is not coming up. These are the steps I performed 1) changed to options
2003 Jun 18
3
ext3 2.4.21 htree tests
Hi, Just thought I'd share some test results of mine in case anyone is interested. Basically the tests are siumulating what our product does with files - although the tests do it a lot quicker (not as many files though). The test is to create 1 million files (each containing the text of the file number) spread over a number of directories. The files are then removed in the same manner as
2013 Mar 31
1
Rock Ridge for core/fs/iso9660
Hi, i have now a retriever of Rock Ridge names from ISO directory records and their eventual Continuation Areas. Further i have a detector for SUSP and Rock Ridge signatures. Both have been tested in libisofs by comparing their results with the Rock Ridge info as perceived by the library. 50 ISO images tested. Some bugs repaired. Now they are in sync. (The macro case
2008 Jan 02
2
Seeking a more efficient way to read in a file
Hi. I have a matrix stored in a large, tab-delimited flat file. The first row contains column names. Because the matrix is symmetric, the file has lower triangular format, so the second row contains one number, the third row two numbers, etc. In general, row k+1 contains k numbers; the matrix has 3000 rows, so the file has 3001 rows. The file has variable length records, so each row ends
2001 Aug 24
3
statistical mode function
Hello R-users, I am aware that this is a very basic question, but still... Since mode() function is reserved for something else, is there a function to calculate statistical mode for a vector or a matrxi? i.e. mode.function(c(1,2,2,2,3,3))=2 Thanks in advance, Elena Moltchanova Elena MOLTCHANOVA IIASA International Institute for Applied Systems Analysis A-2361 Laxenburg, Austria E-Mail:
2015 Jun 16
0
FXS Solutions for modems and other non jitter tolerant devices
On 15-06-15 08:48 PM, Matt Darnell wrote: > In the past we have used Adtran Atlas 550's to break out FXS ports for > devices like modems. The great thing about the 550 is that internally > it is all TDM so there is absolutely zero latency. > > We are able to use ATA's for faxes and analog phones but devices that > use modems, they fail 99.99% of the time when using an
2009 Apr 27
2
[cucumber] Setting a constant in step definition
On Mon, Apr 27, 2009 at 7:00 AM, Andrew Premdas <apremdas at gmail.com> wrote: > Currently I have a very simple constants implementation being loaded as a > Rails initialiser > > module MVOR > ? module Postage > ??? THRESHOLD = BigDecimal.new(''6.99'') > ??? RATE = BigDecimal.new(''30.00'') > ? end > end > > > My scenarios
2009 Aug 05
0
Strontium Nitrate
Hello, my name is Toby, and i live in Sydney Australia. i would like to buy a 25Kg bag of strontium nitrate and have it delivered to an address in sydney. i understand that long distance postage can sometimes be very costly, so can you please give a a quote for the 25Kg bag, plus the postage cost to my address in sydney. thankyou for your time
2005 May 08
2
detaching console from background asterisk
This puzzles me. If I start asterisk in the background, and then attach to it to perform some chores, is there a way to detach again without stopping the background process? Entering "stop now" kills both the console attachment as well as the background process. I need to attach to the running asterisk in order to do "init keys" but once I do that, it seems I cannot just
2015 Jun 16
3
FXS Solutions for modems and other non jitter tolerant devices
In the past we have used Adtran Atlas 550's to break out FXS ports for devices like modems. The great thing about the 550 is that internally it is all TDM so there is absolutely zero latency. We are able to use ATA's for faxes and analog phones but devices that use modems, they fail 99.99% of the time when using an ATA. We tried to migrate to TA908 devices; they have FXS ports built
2006 Nov 29
2
lmtp: help needed
Hi all, parsing the mailing list archive, it seems that the lmtp-server will not be developed soon, so I'm looking for someone that could help me in writing one, even if not the best one. That's why: I've just started to study dovecot, as I was recruited, just about forced, to help The System Manager of our University in the global e-mail migration - more than 37'000 users, 440
2011 May 06
4
Graphics Flickering Issue w/ Wine & ati Radeon HD 4870
I've posted this on the ubuntu forums as well with some additional postage there: http://ubuntuforums.org/showthread.php?t=1749918 I am having a graphics problem that is prohibiting me from playing portal 2 (serious business). I just recently installed Wine. I tried to play portal 2 and my graphics start flickering rapidly, mostly black. tried on ubuntu 10.10 64 bit wine version 1.3 ati
2002 Jun 24
1
3.3p1 on Immunix (RH) 6.2
Just compiled the SRPM for 3.3p1 on my Immunix 6.2 box (Redhat 6.2 + Stackguard compiler), fired up the server, and tried to connect to it. No joy. In the spec file I changed the following options: # Is this build for RHL 6.x? %define build6x 1 # Disable IPv6 (avoids DNS hangs on some glibc versions) %define noip6 1 This appears in the system log: Jun 24 16:11:51 johnh sshd[27774]: fatal:
2003 Aug 25
2
Data calls through *
I have a Pitney Bowes (USPS Postage) machine that connects via a USB modem to fill it. It connects but soon disconnects. It works fine through a standard analog phone line not connected to asterisk. I also have the 'd' option on the Dial command. exten => _1NXXNXXXXXX,1,Dial,Zap/47/BYEXTENSION||d Any ideas? John
2003 Aug 25
0
Fwd: Data calls through *
> > Yes... I used todays CVS. > > And on another note, my system having weird issues. > Some phones would just stop working. 3-5 at a time. > A restart would fix it temporarily. > > So I back tracked to my previous version 06/06/2003, > this has been my most stable version ever. > > John > > > On Monday, August 25, 2003, at 03:23 PM, TC wrote: >
2005 Jan 12
1
spandsp on FC3
I've got spanDSP and Asterisk Stable using an X100p running on Fedora Core 3 but there is a curious phenomenon when I receive faxes. If I start Asterisk from the command line (usually, asterisk -c or asterisk -vvvvvvvvvvvvvvvcp ) I can receive faxes and mailtofax sends them to me OK. If I start the asterisk service (service asterisk start) that uses safe_asterisk, faxes appear to be