search for: dnum

Displaying 20 results from an estimated 32 matches for "dnum".

Did you mean: daum
2006 Nov 08
0
Warning: "Channel does not have a CDR" when doing ForkCDR
...1,DigitTimeout,1 exten => s,n,ResponseTimeout,10 exten => s,n,Answer exten => s,n,AMD exten => s,n,Noop(AMDSTATUS is '${AMDSTATUS"') exten => s,n,GotoIf($[${AMDSTATUS} = AMD_MACHINE]?lmtc,s,1:human) exten => s,n(human),Set(NUMTRIES=1) exten => s,n,SetCDRUserField(${dnum}) exten => s,n,AppendCDRUserField(:${cdn}) exten => s,n,AppendCDRUserField(:${dialednum}) exten => s,n(repeat),Background(Initial-greeting) exten => s,n,Wait(.1) exten => s,n,Flite(${fname}) exten => s,n,Flite(${lname}) exten => s,n,Background(If-this-person-press-1-else-press-...
2013 Jun 19
3
[PATCH] virtio-spec: add field for scsi command size
Il 19/06/2013 10:24, Michael S. Tsirkin ha scritto: >> > 2) We introduce VIRTIO_NET_F_ANY_LAYOUT and VIRTIO_BLK_F_ANY_LAYOUT >> > specifically for net and block (note the new names). So why not a transport feature? Is it just because the SCSI commands for virtio-blk also require a config space field? Sorry if I missed this upthread. Paolo >> > 3) I note the
2013 Jun 19
3
[PATCH] virtio-spec: add field for scsi command size
Il 19/06/2013 10:24, Michael S. Tsirkin ha scritto: >> > 2) We introduce VIRTIO_NET_F_ANY_LAYOUT and VIRTIO_BLK_F_ANY_LAYOUT >> > specifically for net and block (note the new names). So why not a transport feature? Is it just because the SCSI commands for virtio-blk also require a config space field? Sorry if I missed this upthread. Paolo >> > 3) I note the
2005 Apr 12
1
calling svydesign function that uses model.frame
I need help on calling the svydesign function in the survey package (although this error appears not to be specific to svydesign). I am passing parameters incorrectly but am not sure how to correct the problem. ## Call the main function PS.sim (one of mine). The dots are parameters I omitted to simplify the question. ## y.col, str.col, clus.id, and PS.col are names of columns in the object pop.
2012 Oct 18
3
svyplot and svysmooth with hexbin
...I know this is something to do with Lattice graphics, but for the life of me I can not figure out how. Dr. Lumley in his excellent book on page 118 mentions that there is code on his website to do this, but I can not find it. So for example: library(survey) data(api) dclus2<-svydesign(id=~dnum+snum, fpc=~fpc1+fpc2, data=apiclus2) svyplot(api00~api99, dclus2) s1 <-svysmooth(api00~api99, dclus2) lines(s1) #works svyplot(api00~api99, dclus2, style="grayhex") lines(s1) #does not work (line either appears in the wrong position in RGui or crashes RStudio). VR James James...
2013 Jun 20
0
[PATCH] virtio-spec: add field for scsi command size
...uct scatterlist sg[4]; + struct scatterlist orig_sg[]; +}; + +static unsigned tot_len(struct scatterlist sg[], unsigned num) +{ + unsigned len, i; + + for (len = 0, i = 0; i < num; i++) + len += sg[i].length; + + return len; +} + +static void copy_sg_data(const struct scatterlist *dst, unsigned dnum, + const struct scatterlist *src, unsigned snum) +{ + unsigned len; + struct scatterlist s, d; + + s = *src; + d = *dst; + + while (snum && dnum) { + len = min(s.length, d.length); + memcpy(sg_virt(&d), sg_virt(&s), len); + d.offset += len; + d.length -= len; + s.offset += l...
2006 May 16
0
Need help with Dial M option and destination context
...ext wherein I give the called party the option to dial the digit 9. If he does so, he is transferred a la this extension entry: exten => 9,1,Playback(pls-hold-while-try) exten => 9,n,Noop(Attempting to bridge to ${agentext}) exten => 9,n,Dial(Zap/g9/${agentext}|60|gM(Connect_to_agent^${dnum})) exten => 9,n,Noop(Done w/ x-fer to agent!) exten => 9,n,Hangup I simply play a "please hold message," execute a Noop, and then Dial with g and M. In this case, the variable agentext has already been assigned a value ("2160"), and the Dial command executes properl...
2008 Sep 12
2
Fw: Complex sampling survey _ Use of survey package
-------------------------------------------------- From: "Ahoussou Sylvie" <sylvie.ahoussou at antilles.inra.fr> Sent: Friday, September 12, 2008 9:48 AM To: "Thomas Lumley" <tlumley at u.washington.edu> Subject: Re: [R] Complex sampling survey _ Use of survey package > Thanks for your answer > > I think I made a mistake when I recopied the 5 first rows of
2013 Jun 20
3
[PATCH] virtio-spec: add field for scsi command size
...gt; + > +static unsigned tot_len(struct scatterlist sg[], unsigned num) > +{ > + unsigned len, i; > + > + for (len = 0, i = 0; i < num; i++) > + len += sg[i].length; > + > + return len; > +} > + > +static void copy_sg_data(const struct scatterlist *dst, unsigned dnum, > + const struct scatterlist *src, unsigned snum) > +{ > + unsigned len; > + struct scatterlist s, d; > + > + s = *src; > + d = *dst; > + > + while (snum && dnum) { > + len = min(s.length, d.length); > + memcpy(sg_virt(&d), sg_virt(&s), len); &...
2013 Jun 20
3
[PATCH] virtio-spec: add field for scsi command size
...gt; + > +static unsigned tot_len(struct scatterlist sg[], unsigned num) > +{ > + unsigned len, i; > + > + for (len = 0, i = 0; i < num; i++) > + len += sg[i].length; > + > + return len; > +} > + > +static void copy_sg_data(const struct scatterlist *dst, unsigned dnum, > + const struct scatterlist *src, unsigned snum) > +{ > + unsigned len; > + struct scatterlist s, d; > + > + s = *src; > + d = *dst; > + > + while (snum && dnum) { > + len = min(s.length, d.length); > + memcpy(sg_virt(&d), sg_virt(&s), len); &...
2010 Mar 26
1
return.replicates in survey pkg
How do I retrieve the replicates estimates from a crosstab done using svyby? Here is an example from the help page for svyby in the package: > data(api) > dclus1<-svydesign(id=~dnum, weights=~pw, data=apiclus1, fpc=~fpc) > rclus1<-as.svrepdesign(dclus1) > > a <- svyby(~api99, ~stype, rclus1, svymean, return.replicates=TRUE) > a$replicates NULL But, compare to > b <- svymean(~api99, design=rclus1, return.replicates=TRUE) > b$replicates [1] 606.8488...
2006 Feb 01
1
SetCDRUserField not working in A@H?
.../1-1","","BackGro und","1-yes-2-no","2006-02-01 00:47:18","2006-02-01 00:47:18","2006-02-01 00:47:23",5,5,"ANSWERED","DOCUMENTATION" My dialplan looks like this: <snip> exten => s,n,SetCDRUserField(${dnum}) exten => s,n,Noop(cdr user field is '${CDR(userfield)') exten => s,n,AppendCDRUserField( ${cdn}) exten => s,n,Noop(cdr user field is '${CDR(userfield)') exten => s,n,AppendCDRUserField( ${dialednum}) exten => s,n,Noop(cdr user field is '${CDR(userfield)'...
2009 Mar 11
1
CI from svyquantile in survey package
I am having trouble understanding (i.e. getting) confidence intervals from the survey package. I am using R version 2.8.1 (2008-12-22) and survey package (3.11-2) on FC7 linux. To simplify my question I use an example from that package: R> data(api) R> dclus1<-svydesign(id=~dnum, weights=~pw, data=apiclus1, fpc=~fpc) R> (tst <- svyby(~api99, ~stype, dclus1, svyquantile, quantiles=0.5,ci=TRUE)) stype api99 se E E 615 37.89 H H 593 69.52 M M 611 37.67 R> str(tst) Classes ???svyby??? and 'data.frame&...
2010 Mar 10
1
Strange result in survey package: svyvar
...large health survey (the Demographic and Health Survey for Honduras, 2006), and when I try to calculate the variances for several variables, I get negative numbers. I thought it may be my data, so I ran the example on the help page: data(api) ## one-stage cluster sample dclus1<-svydesign(id=~dnum, weights=~pw, data=apiclus1, fpc=~fpc) svyvar(~api00+enroll+api.stu+api99, dclus1) variance SE api00 11182.8 1386.4 api00 11516.3 1412.9 api.stu -4547.1 3164.9 api99 12735.2 1450.1 If I look at the full matrix for the variances (and covariances): test<-svyvar(~api00+enrol...
2012 Sep 21
1
Exactly Replicating Stata's Survey Data Confidence Intervals in R
...the confidence intervals, and then displays a number of my failed attempts at hitting the numbers right on the nose. Thanks!! Anthony Damico Kaiser Family Foundation * Stata/MP 11.2 * example stata code to replicate in R use http://www.ats.ucla.edu/stat/stata/library/apiclus1, clear svyset dnum [pw=pw], fpc(fpc) gen ell0 = 1 replace ell0 = 0 if ell != 0 svy: mean ell0 * results of the final command above: (running mean on estimation sample) Survey: Mean estimation Number of strata = 1 Number of obs = 183 Number of PSUs = 15 Population size = 92...
2012 Sep 28
6
[PATCH 0/3] virtio-net: inline header support
Thinking about Sasha's patches, we can reduce ring usage for virtio net small packets dramatically if we put virtio net header inline with the data. This can be done for free in case guest net stack allocated extra head room for the packet, and I don't see why would this have any downsides. Even though with my recent patches qemu no longer requires header to be the first s/g element, we
2012 Sep 28
6
[PATCH 0/3] virtio-net: inline header support
Thinking about Sasha's patches, we can reduce ring usage for virtio net small packets dramatically if we put virtio net header inline with the data. This can be done for free in case guest net stack allocated extra head room for the packet, and I don't see why would this have any downsides. Even though with my recent patches qemu no longer requires header to be the first s/g element, we
2006 Jan 24
13
Nortel Meridian Opt 81C and PRI
We've been trying unsuccessfully to connect our Meridian Option 81C to a TE110P via PRI. We've followed the directions in asterisk-meridian-a1.pdf (link on http://www.voip-info.org/wiki/view/Asterisk+legacy+integration), but it doesn't seem to work on our 81C (even though many, many users report it works very well on Option 11's). Has anyone had any success in getting the above
2006 Apr 22
1
svyby example returns error
I get error trying to run examples from 'svyby' help page (?svyby in package "Survey"): # code data(api) dclus1<-svydesign(id=~dnum, weights=~pw, data=apiclus1, fpc=~fpc) svyby(~api99, ~stype, dclus1, svymean) # error message > Error in match.arg(vartype, several.ok = TRUE) : unused argument(s) (several.ok ...) Is this a version problem? I'm running R Version 2.1.0 (2005-04-18, i386-pc-linux-gnu) and have ins...
2006 May 23
1
Survey proportions... Can I use population as denominator?
Just giving the survey package a spin... I'm accustomed to stata, and it seems very similar in many respects. One thing is throwing me, however. I've gotten my data in, and specified the design. Looks like the weighting is right (based on published population estimates from these data), but now I'd like to check my "marginal means" for proportions against those that have