Displaying 20 results from an estimated 163 matches for "2's".
Did you mean:
1's
2005 Oct 17
4
Delayed ringing on some SIP phones
...t between them whereby they'll
answer each other's incoming calls and take messages if the office is empty
/ everyone is on the phone.
Each of them has an ISDN BRI delivered to asterisk via zaphfc, then dropped
into a context as follows:
exten => s,1,SetCIDName(Company 1)
exten => s,2,Dial(SIP/200&SIP/201&etc.,30)
exten => s,3,Voicemail(su200)
Each company is able to see on the LCD on their SIP phones whether the call
is for them or the folks up/downstairs.
What I'd like to do is implement a delayed ringing strategy - i.e. if the
call comes in for Company 1, onl...
2005 Oct 25
3
making an inicator variable
Hello,
I am almost a total novice, and I am sure there must be an easy (and
basic) way to turn a variable of 1's and 2's into a variable of zeros
and ones. This is in a data frame, but if I could do it with vectors,
that's all I need.
Can someone tell me how?
Thanks so much,
Jen
2012 Nov 21
5
Creating a frequency table for binomial varaible
Hello,
I have simulated 30 observations from a binomial(5,0.1) distribution.
Now I need to make frequency table( that means I need to tally how many 0's
, 1's 2's....... 5's)
I know that the simple R function table() will do this, but I am afraid
that some times I may get zero frequency for some particular values (for
example in the above there are 5-0's 10-1's , 14-2's, 10-3's , 11-4's but no
any 5's )
So I want to make b...
2010 Feb 17
1
Load Balancer (heartbeat, ldirectord, ipvsadm) + Apache Problem
...m having this problem with load balancer.
I already setup the load balancer and two servers behind it with this kind
of topology
-----------------------------------------------------
request -> DIRECTOR -- Server 1
\
Server 2
-----------------------------------------------------
DIRECTOR's (RHEL 5) Virtual IP = 192.168.1.1
Server 1's (RHEL 4.4) Virtual IP = 192.168.1.2
Server 2's (CentOS 5.3) Virtual IP = 192.168.1.3
The problem is when I try to hit the 192.168.1.1, it sometimes give me a
HTTP 200 and some...
2009 Feb 23
2
array manipulation simple questions
...a<-c(1:10) (or a<-array(c(1:10),dim=c(1,10)))
and I want to end up with vector b=[0 0 0 0 0 1 1 1 1 1]. i.e. I want to substitute alla elements that are <5 with 0 and >5 with 1.
I did this by using a for loop. Is there another function to use so as to avoid the "for"?
2. Suppose I have a<-c(1,1,2,2,3,3) (or array again)
And I want to place a "4,5" before every "2" and end up with a new "bigger" vector "b":
b=[1 1 4 5 2 4 5 2 3 3]
Also I want to find where the 2's in array "a" (if it was an array) are...
2006 Apr 19
1
gsummary function (nlme library) (PR#8782)
Full_Name: Ben Saville
Version: 2.1
OS: Windows XP
Submission from: (NULL) (152.2.94.145)
I'm using the gsummary function to calculate a sum of V1 (column one) from my
data 'mytest' by group (V2,or column 2). If V1 (the variable of interest) is
all the same value (in this case all 2's), I do not get back the corr...
2006 Feb 22
3
multinomial test
Hi All,
What is the R function for computing multinomial distribution, e.g. f(2,1,3; 2/9, 1/6, 11/18, 6)?
That is, a total of 6 trials, event 1's p1=2/9, x1=2, event 2's p2=1/6, x2=1, and event 3's p3=11/18, x3=3.
thanks,
Johnny
[[alternative HTML version deleted]]
2007 Apr 25
3
aggregate similar to SPSS
Hi,
Does anyone know if: with R can you take a set of numbers and aggregate
them like you can in SPSS? For example, could you calculate the percentage
of people who smoke based on a dataset like the following:
smoke = 1
non-smoke = 2
variable
1
1
1
2
2
1
1
1
2
2
2
2
2
2
When aggregated, SPSS can tell you what percentage of persons are smokers
based on the frequency of 1's and 2's. Can R statistical package do a
similar thing?
Thanks,
Nat
1999 Oct 20
2
Questions on smbclient messaging
I'm running Samba v2.0.5a on a RedHat v6.0 system. This server
provides SMB shares to Win98, OS/2 and Linux clients. Everything is
running fine with the Win98 and OS/2 clients, but I have a few
questions regarding Samba and Linux clients.
1. Is there a way for Linux systems to receive SMB messages?
Something analogo...
2012 Feb 07
5
[PATCH] Remove even more CPP hackery
On 02/07/12 12:03 am, Erik de Castro Lopo wrote:
> Dave Yeo wrote:
>
>> This commit will break OS/2's EMX 0.9d library (GCC 2.8.1) which has been
>> been replaced by klibc. Considering the age of EMX and lack of testing
>> and that klibc contains so many improvements I think...
2011 Sep 30
2
[LLVMdev] Definition of C/C++ integral conversion(was Re: nsw/nuw for trunc)
...sult for
>> '(signed char) 999'. I assume you know this section, but I could not
>> find a reason why this section should not apply in this case. Any ideas?
>
> It does apply: the value is implementation-defined, and the definition
> that any sane implementation uses is 2's complement truncation.
Right, implementation defined is not the same as undefined.
Ciao, Duncan.
2017 Oct 29
2
Tinc support load-balance of one node to the other two?
Let’s say, tinc A node server LAN-1(single internet circuit), tinc B node and tinc C node are both serve LAN-2.(two internet circuits)
Normally, we can only set tinc A to connect to either B or C, and then the other set as backup.
But in some circumstances, we would like to combine the internet pipe of both two circuits, so that the tunnel traffic can have a better bandwidth.
If that’s the case, is there...
2007 Nov 28
4
Replacing values job
Hallo,
I have two vectors of different lengths which contain the same set of
values:
X < -c(2,6,1,7,4,3,5)
Y <- c(1,1,6,4,6,1,4,1,2,3,6,6,1,2,4,4,5,4,1,7,6,6,4,4,7,1,2)
How can I replace the values in Y with the index (!) of the corresponding
values in X. So 2 appears in X in the first coordinate, so all 2’s in Y
should be replaced by 1, etc.
Thank you for your help,
Serguei
_________...
2012 Feb 07
2
[PATCH] Remove even more CPP hackery
This commit will break OS/2's EMX 0.9d library (GCC 2.8.1) which has been
been replaced by klibc. Considering the age of EMX and lack of testing
and that klibc contains so many improvements I think this is exceptable.
---
include/FLAC/ordinals.h | 17 +++++++++--------
src/flac/main.c | 2...
2009 Dec 20
2
how to create three new variables? Thanks a lot!
Dear R experts:
I have following data structure: student id, exam time and score. I want to
create three new columes: 1 st before, 2nd before and 3rd before.
For example, for student 1's 4th exam score is assumed to be influenced by
his previous three cloest scores, which are 6, 9, and 10 in that order.
For student 2's 5th exam score is assumed to be inflenced by her previous
cloest three scores, which are 10, 10 and 8...
2009 Feb 09
1
[LLVMdev] overflow + saturation stuff
Chris Lattner wrote:
> On Feb 8, 2009, at 5:54 PM, Paul Schlie wrote:
>> Are overflow behavior tags meant to enable the specification of a
>> particular instruction's required or presumed overflow behavior?
>
> I'm not sure what you mean. The overflow tags specify what happens if
> overflow happens (def...
2004 Nov 15
2
Problem with "include=smb.%U.conf"
...ude=/etc/samba/smb.%U.conf" option in but Mac OS X and Linux Samba
clients cannot see those shares?
In other words, I have a bunch of users. Each user has a set of his/her own
unique shares on my Linux server that are defined in files called:
/etc/samba/smb.User1.conf
/etc/samba/smb.User2.conf
/etc/samba/smb.User3.conf
and so on.
In Windows, User 1 will see the shares listed in /etc/samba/smb.User1.conf.
User 2 will not see those shares (unless they are listed in User 2's directory
file as well, which in my case never happens).
In Mac OS X (10.3.4, 10.3.5, and 10.3.6) as...
2009 Feb 09
1
[LLVMdev] overflow + saturation stuff
...rdless, if the target is potentially meant to implement the behavior;
it follows that LLVM's assembly level representation must be able to
discriminate between operations having differing semantics specified?
For example processors like TI's C6X family DSP's support both saturating
and 2's-comp operations; and although likely less frequently required, and
typically not directly supported by any HLL languages, being able to specify
target neutral in-line assembly 1's-comp end-around-carry operations can be
helpful on occasion, so would be nice to see as well.
2010 Oct 28
0
[LLVMdev] Scalar Evolution not canonalizing division?
On 27 October 2010 14:20, Tobias Grosser <grosser at fim.uni-passau.de> wrote:
> Hi,
>
> I am just found a scalar evolution function that does not seem canonical to
> me.
>
> The C code I used to produce it is:
>
> long foo (long n, long m) {
> long i, j;
> long A[...
2008 Mar 08
1
counting specific elements in a column of a matrix
...er (cardinality) of a specific element in a single row of a matrix. At this time I have 30X3 matrix. The first column is the treatment number for each data point. I would like to know how many of each treatments are in this matrix. i.e. I want to know how many 1's are in column 1, how many 2's are in column 1, etc. I found a couple references to the length function, but I could not make any of them work.
Thanks,
Donna
_________________________________________________________________
[[elided Hotmail spam]]
[[alternative HTML version deleted]]