Displaying 20 results from an estimated 4226 matches for "102".
Did you mean:
10
2010 Mar 09
5
is there an inverse method for table()?
Hi,
In R, I know the method table(), which builds a contingency table of the counts y at each level for the factor x.
But I would like to know what is the inverse method of table(), if it exists, to obtain the vector z, from the two vectors x and y?
x <- (86, 90, 94, 98, 102, 106, 110, 114, 118, 122, 126, 130, 134, 138, 142, 146, 150, 154, 158, 162, 166, 170, 174)
y <- c(2, 5, 10, 17, 26, 60, 94, 128, 137, 128, 77, 68, 65, 60, 51, 26, 17, 9, 5, 2, 3, 7, 3)
> z
[1] 86 86 90 90 90 90 90 94 94 94 94 94 94 94 94 94 94 98 98 98 98 98 98 98...
2011 Jul 31
3
export/import matrix
...n I export a matrix file with the write.table() function.
When I import the data volcano from rgl package it looks like this in R:
> data[1:5,]
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14]
[1,] 100 100 101 101 101 101 101 100 100 100 101 101 102 102
[2,] 101 101 102 102 102 102 102 101 101 101 102 102 103 103
[3,] 102 102 103 103 103 103 103 102 102 102 103 103 104 104
[4,] 103 103 104 104 104 104 104 103 103 103 103 104 104 104
[5,] 104 104 105 105 105 105 105 104 104 1...
2010 Apr 20
5
Assigning Week Numbers
...uot;, "Wed", "Wed", "Wed", "Wed", "Wed",
"Wed", "Wed", "Wed", "Thu", "Thu", "Thu", "Thu", "Thu", "Thu",
"Thu", "Thu"), SITE = c(101, 101, 102, 102, 103, 103, 104, 104,
101, 101, 102, 102, 103, 103, 104, 104, 101, 101, 102, 102, 103,
103, 104, 104, 101, 101, 102, 102, 103, 103, 104, 104, 101, 101,
102, 102, 103, 103, 104, 104, 101, 101, 102, 102, 103, 103, 104,
104, 101, 101, 102, 102, 103, 103, 104, 104, 101, 101, 102, 102,
103, 103...
2001 Jul 13
0
ordered factors in tree package - bug?
...tree using 4 predictors: 3 are unordered
(binary) predictors, and the last is a date (integer), which I declare
to be an ordered factor. However, the tree treats the date as if it were
un-ordered, splitting into non-consecutive subsets.
My code
dat <- read.table("/home/cs/murphyk/R/Eugene/102.dat", header=TRUE)
dat$machine <- factor(dat$machine)
dat$TIM <- factor(dat$TIM)
dat$lid <- factor(dat$lid)
#dat$date <- factor(dat$date, ordered=TRUE)
dat$date <- ordered(dat$date)
tr <- tree(TRES ~ ., dat)
produces
1) root 100 0.149300 0.2345
2) TIM: 111 47 0.020650...
2003 Mar 31
2
Serious problem with z-plex 10
Hello
I have serious problem with zhone z-plex 10
the device sometimes get red alarm on some channel
and then the device suddenly shutdown.
I try to unplugged the power chord and plug again,
but the device still didn't up. I have to wait
for long time to get this device up again.
How can i fix this problem, so i can get this device
immediately?
Eris Riswanto
2010 Mar 19
2
Dataframe calculations
...2L, 2L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 1L,
1L, 1L, 1L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L),
SITE1 = c(101, 102, 103, 104, 103, 104, 101, 102, 101, 102,
103, 104, 101, 102, 103, 104, 103, 104, 101, 102, 103, 104,
101, 102, 102, 103, 104, 101, 101, 102, 103, 104, 102, 103,
104, 101, 103, 104, 101, 102, 103, 104, 101, 102, 103, 104,
101, 102, 104, 101, 102, 103, 102, 103, 104, 101, 104, 101,...
2004 Oct 01
0
E1 R2 MFC almost working on Mexico
...631 unicall_error:
UniCall: mfcr2Rx tone 0x38 on [1/ 2/101/ 0]
Sep 30 22:11:30 WARNING[262160]: chan_unicall.c:631 unicall_error:
UniCall: mfcr2Tx tone 0x31 on [1/ 2/101/ 0]
Sep 30 22:11:30 WARNING[262160]: chan_unicall.c:631 unicall_error:
UniCall: mfcr2Rx tone 0x38 off [1/ 2/102/101]
Sep 30 22:11:30 WARNING[262160]: chan_unicall.c:631 unicall_error:
UniCall: mfcr2Tx tone off [1/ 2/102/101]
Sep 30 22:11:31 WARNING[262160]: chan_unicall.c:631 unicall_error:
UniCall: mfcr2Rx tone 0x31 on [1/ 2/102/101]
Sep 30 22:11:31 WARNING[262160]: chan_unicall.c:631 unic...
2011 Feb 17
0
Data frame sampling
..., 1L, 1L, 1L,
1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 3L,
3L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 5L, 5L, 5L, 5L, 5L, 5L, 5L,
5L), .Label = c("Mon", "Tue", "Wed", "Thu", "Fri"), class = "factor"),
SITE = c(101, 101, 102, 102, 103, 103, 104, 104, 101, 101,
102, 102, 103, 103, 104, 104, 101, 101, 102, 102, 103, 103,
104, 104, 101, 101, 102, 102, 103, 103, 104, 104, 101, 101,
102, 102, 103, 103, 104, 104, 101, 101, 102, 102, 103, 103,
104, 104, 101, 101, 102, 102, 103, 103, 104, 104, 101, 101,...
2007 Mar 30
0
forwarding loop not detected
Asterisk 1.2.16
I have an extension "102" with a Polycom 430
I am trying to protect against forwarding loops
If I set the phone to forward the line to itself, extension 102 I get
the following
-- Got SIP response 302 "Moved Temporarily" back from 206.83.240.18
-- Now forwarding Local/102@mycontext-b2ee,2 to...
2011 Nov 03
2
optimising a loop
Dear R community,
I'm trying to remove a loop from my code but I'm stock and I can't find a good way to do it. Hopefully one of you will have something clever to propose.
Here is a simplified example:
I have a squared matrix:
> nom.plac2 <- c("102", "103", "301", "303","304", "403")
> poids2 <- matrix(NA, 6,6, dimnames=list(nom.plac2,nom.plac2))
> poids2
102 103 301 303 304 403
102 NA NA NA NA NA NA
103 NA NA NA NA NA NA
301 NA NA NA NA NA NA
303 NA NA N...
2006 Apr 20
2
Conditional Row Sum
Hi,
How can I accomplish this in R. Example:
R1 R2
3 101
4 102
3 102
18 102
11 101
I want to find Sum(101) = 14 - i.e SUM(R1) where R2 = 101
Sum(102) = 25 - SUM(R2) where R2 = 102
TIA
Sachin
---------------------------------
[[alternative HTML version deleted]]
2008 Oct 19
6
adding a second extension
I'm trying to add a second extension to my setup. The second device is
able to successfully connect to the Asterisk server. I am unable to
contact extension 101 from 102 and vise-versa. Also are my context
setup logically or is there a better fashion to organize them? My
error is at the bottom.
Here is the extension.conf
[default]
;
; By default we include the demo. In a production system, you
; probably don't want to have the demo there.
;
;include => de...
2005 Sep 14
2
Starting From Scratch
...ection takes
longer than asterisk expects, and so I need to tell it to keep waiting
before playing the recording. Or something like that.
Any ideas?
Thanks,
Dave
************
INVITE sip:916xxx6000@mysipprovider.com SIP/2.0
Via: SIP/2.0/UDP 192.168.1.200:5060;branch=z9hG4bK032524f5
From: "102" <sip:102@192.168.1.200>;tag=as0dbb6283
To: <sip:916xxx6000@mysipprovider.com>
Contact: <sip:102@192.168.1.200>
Call-ID: 7ae2b4642cfbb601604c2d4734352e64@192.168.1.200
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Thu, 15 Sep 2005 03:41:39 GMT
Allow: INVITE, ACK, CANCEL, OP...
2002 Dec 19
2
list to data.frame
R Help-
I have a list of 102 vectors all of the same type and length called
time.by.orig. I can't data.frame(time.by.orig) but I can
data.frame(time.by.orig[1:length(time.by.orig)]). Why is this? Thanks for
your help.
str(time.by.orig)
List of 102
$ 1 : num [1:102] 1.34 17.39 14.36 14.22 7.56 ...
$ 2 : num [1:10...
2006 Mar 22
3
what are these and can they be fixed?
Mar 21 15:56:25 DEBUG[18402] chan_sip.c: Stopping retransmission on
'7ad7ce9a09aebcce6e1c3e551fa4d401@192.168.1.1' of Request 102: Match
Found
Mar 21 15:56:25 DEBUG[18402] chan_sip.c: Stopping retransmission on
'06d1853a435e01fb05c3233d7aecba85@192.168.1.1' of Request 102: Match
Found
Mar 21 15:56:25 DEBUG[18402] chan_sip.c: Stopping retransmission on
'1efd029e7c3a7ec57b32315755b46fef@192.168.1.1' of Request 1...
2013 Jan 28
2
Pivot
Hi,
I have a data set as follow:
X Z
x1 102
x2 102
x2 102
x2 77
x3 23
I need to pivot this data as follows and assign the values based on frequency of column Z:
X Z.102 Z.77 Z.23
x1 1 0 0
x2 21 0
x3 00 1
Thanks.
Best,Farnoosh Sheikhi
[[alternative HTML versio...
2008 Jul 31
2
sort rows of matrix by rows of another matrix
...g to sort rows of one matrix by rows of another. Given a1 and a2:
------
> a1
[,1] [,2] [,3]
[1,] 7 6 8
[2,] 4 2 4
[3,] 4 7 2
[4,] 0 3 8
a1 <-
structure(c(7, 4, 4, 0, 6, 2, 7, 3, 8, 4, 2, 8), .Dim = c(4L, 3L))
> a2
[,1] [,2] [,3]
[1,] 101 102 103
[2,] 101 102 103
[3,] 101 102 103
[4,] 101 102 103
a2 <-
structure(c(101L, 101L, 101L, 101L, 102L, 102L, 102L, 102L, 103L,
103L, 103L, 103L), .Dim = c(4L, 3L))
------
I want to get a3:
> a3
[,1] [,2] [,3]
[1,] 102 101 103
[2,] 102 101 103
[3,] 103 101 102
[4,]...
2009 Nov 22
2
Help with indexing
...Mary 2
3 Mary 3
4 Sam 1
5 Sam 2
6 John 1
7 John 2
8 John 3
9 John 4
What I need is another column assigning a number to each name starting from index 100, that is:
name freq nb
1 Mary 1 100
2 Mary 2 100
3 Mary 3 100
4 Sam 1 101
5 Sam 2 101
6 John 1 102
7 John 2 102
8 John 3 102
9 John 4 102
What is the easiest way to do this?
Thanks a lot for your kind help.
Dana
2004 Oct 06
8
Dataframe manipulation question
Hello,
I have a data frame that has three fields.
Resp# ActCode ProdUsed
100 3 2
100 3 2
100 4 3
100 4 3
101 3 6
102 2 1
102 3 1
103 5 1
103 5 1
103 3 2
103 3 2
104 3 1
What I seek to do.
If a row following a row is identical for th...
2015 May 13
0
"Retransmission Timeout" results in dropped calls after 32 seconds
...s. That's the only thing left really. It's also
> possible something got fixed in relation to directmedia between your
> version and latest 11.
>
Joshua,
Looking at the packet capture from the asterisk server during this time,
I see the following sequence of SIP packets:
INVITE (102) - initial call connecting
RINGING (102) - initial call connecting
RINGING (102) - initial call connecting
OK (102) - initial call connecting
ACK (102) - initial call connecting
OK (102) - initial call connecting (seems like a duplicate OK)
INVITE (103) - re-INVITE to go to bypass mode
ACK (102) -...