Displaying 20 results from an estimated 81 matches for "3900".
Did you mean:
300
2013 Jan 31
3
Locate Patients who have multiple high blood pressure readings
...on about subsetting in R.
>
>
>
> Say we have this data frame:
>
>
>
> PT_ID Blood_Pressure OBS_TYPE
>
> 92 1900 90.0 DBP
>
> 94 1900 90.0 DBP
>
> 174 2900 140.0 SBP
>
> 176 2900 130.0 SBP
>
> 180 3900 120.0 SBP
>
> 268 3900 150.0 SBP
>
> 268 3900 90.0 DBP
>
>
>
> I need to obtain those with 2+ DBP>=90 or 2+ SBP>=140.
>
>
>
> PT_ID=1900, he has 2 DBP>=90, so he will be included.
>
> PT_ID=2900, he has 1 SBP>=140,...
2023 Oct 14
2
Create new data frame with conditional sums
...'t get it to work properly. I'm starting with a data frame like this:
>
> Tract Pct Totpop
> 1 0.05 4000
> 2 0.03 3500
> 3 0.01 4500
> 4 0.12 4100
> 5 0.21 3900
> 6 0.04 4250
> 7 0.07 5100
> 8 0.09 4700
> 9 0.06 4950
> 10 0.03 4800
>
> And I want to end up with a data frame with two columns, a "Cutoff" column that is a simple sequ...
2013 Jan 23
4
how to read a df like that and transform it?
...ear all
I have a data.frame like that :
father mother num_daughter daughter
291 3906 0 NULL
275 4219 0 NULL
273 4236 1 49410
281 4163 1 49408
274 4226 1 49406
295 3869 2 49403
49404
287 4113 0 NULL
295 3871 1 49401
292 3895 4 49396
49397
49398
49399
291 3900 3 49392
How to read it into R and transform it like that:
father mother num_daughter daughter1 daughter2 daughter3 daughter4
291 3906 0 NULL
275 4219 0 NULL
273 4236 1 49410
281 4163 1 49408
274 4226 1 49406
295 3869 2 49403 49404
287 4113 0 NULL
295 3871 1 49401
292 3895 4 49396 49...
2023 Oct 15
2
Create new data frame with conditional sums
....01 43800
> [3,] 0.02 39300
> [4,] 0.03 39300
> [5,] 0.04 31000
> [6,] 0.05 26750
> [7,] 0.06 22750
> [8,] 0.07 17800
> [9,] 0.08 12700
> [10,] 0.09 12700
> [11,] 0.10 8000
> [12,] 0.11 8000
> [13,] 0.12 8000
> [14,] 0.13 3900
> [15,] 0.14 3900
> [16,] 0.15 3900
>
> Here are some timings:
>
> > microbenchmark::microbenchmark(
> + preallocate=with(dummydata, f2(seq(0, 0.15, by=0.01),
> + Pct, Totpop)),
> + yourloop=with(dummydata, f1(seq(0, 0.15, by...
2023 Oct 14
1
Create new data frame with conditional sums
...Totpop))
Cutoff Pop
[1,] 0.00 43800
[2,] 0.01 43800
[3,] 0.02 39300
[4,] 0.03 39300
[5,] 0.04 31000
[6,] 0.05 26750
[7,] 0.06 22750
[8,] 0.07 17800
[9,] 0.08 12700
[10,] 0.09 12700
[11,] 0.10 8000
[12,] 0.11 8000
[13,] 0.12 8000
[14,] 0.13 3900
[15,] 0.14 3900
[16,] 0.15 3900
Here are some timings:
> microbenchmark::microbenchmark(
+ preallocate=with(dummydata, f2(seq(0, 0.15, by=0.01),
+ Pct, Totpop)),
+ yourloop=with(dummydata, f1(seq(0, 0.15, by=0.01),
+ Pct...
2023 Oct 13
1
Create new data frame with conditional sums
...like it should be simple but I can't get it to work properly. I'm starting with a data frame like this:
Tract Pct Totpop
1 0.05 4000
2 0.03 3500
3 0.01 4500
4 0.12 4100
5 0.21 3900
6 0.04 4250
7 0.07 5100
8 0.09 4700
9 0.06 4950
10 0.03 4800
And I want to end up with a data frame with two columns, a "Cutoff" column that is a simple sequence of equally spaced cutoffs (le...
2007 Dec 07
1
Make natural splines constant outside boundary
Hi,
I'm using natural cubic splines from splines::ns() in survival
regression (regressing inter-arrival times of patients to a queue on
queue size). The queue size fluctuates between 3600 and 3900.
I would like to be able to run predict.survreg() for sizes <3600 and
>3900 by assuming that the rate for <3600 is the same as for 3600 and
that for >4000 it's the same as for 4000 (i.e., keep the splines cubic
within the boundaries but make them constant outside the boundaries...
2019 May 17
9
[PATCH V2 0/4] Prevent vhost kthread from hogging CPU
...series try to prevent a guest triggerable CPU hogging through
vhost kthread. This is done by introducing and checking the weight
after each requrest. The patch has been tested with reproducer of
vsock and virtio-net. Only compile test is done for vhost-scsi.
Please review.
This addresses CVE-2019-3900.
Changs from V1:
- fix user-ater-free in vosck patch
Jason Wang (4):
vhost: introduce vhost_exceeds_weight()
vhost_net: fix possible infinite loop
vhost: vsock: add weight support
vhost: scsi: add weight support
drivers/vhost/net.c | 41 ++++++++++++++---------------------------
drive...
2019 May 17
9
[PATCH V2 0/4] Prevent vhost kthread from hogging CPU
...series try to prevent a guest triggerable CPU hogging through
vhost kthread. This is done by introducing and checking the weight
after each requrest. The patch has been tested with reproducer of
vsock and virtio-net. Only compile test is done for vhost-scsi.
Please review.
This addresses CVE-2019-3900.
Changs from V1:
- fix user-ater-free in vosck patch
Jason Wang (4):
vhost: introduce vhost_exceeds_weight()
vhost_net: fix possible infinite loop
vhost: vsock: add weight support
vhost: scsi: add weight support
drivers/vhost/net.c | 41 ++++++++++++++---------------------------
drive...
2011 Sep 23
1
Glued-together private namespaces
...ry like:
password_query = ...
CONCAT( '*:bytes=', "1M" ) AS 'userdb_quota_rule', \
CONCAT( '*:messages=10' ) AS 'userdb_quota_rule2', \
CONCAT( 'INBOX.Archives:bytes=+4900M' ) AS 'userdb_quota_rule3', \
CONCAT( 'INBOX.Archives:messages=+3900' ) AS 'userdb_quota_rule4'
...
only the default quota seems to be in place for any subfolder of
INBOX.Archives and for INBOX.Archives itself, i.e. *:bytes still
applies to INBOX.Archives. The debug log show that:
Debug: Quota root: name=User quota backend=maildir args=
Debug: Quota ru...
2018 May 18
2
Guest's CPU frequency cannot be similar to host system
My resource:
kernel: 4.16.8
host system: Ubuntu 16.04
Llbvirt : 4.2
Qemu : 2.12
Cpu : intel@core i7 6700
guest system: windows7 professional
My problem:
In my host, Cpu frequency is 3800~3900 MHz(4 socket and 2 thread) because i turn on “Intel Turbo Boost”. And silent frequency is 3.40 GHz.
Then i boot my guest, But in Guest my cpu frequency is 3408 MHz. why it's not 3800 MHz?
And here is my guest xml:
<cpu mode='host-passthrough' check='none'>
<topo...
2017 Jan 29
2
Unstable XRay test on ARM
FYI, we got it again...
http://lab.llvm.org:8011/builders/clang-cmake-aarch64-42vma/builds/3875
So it wasn't a one of.
cheers,
--renato
2017 Jan 30
2
Unstable XRay test on ARM
...n at linaro.org> wrote:
> > FYI, we got it again...
> >
> > http://lab.llvm.org:8011/builders/clang-cmake-aarch64-42vma/builds/3875
> >
> > So it wasn't a one of.
>
> And again...
>
> http://lab.llvm.org:8011/builders/clang-cmake-aarch64-42vma/builds/3900
>
> Serge, if you know the fix, can you please apply?
>
> --renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170130/a04e50f8/attachment.html>
2009 Jul 21
1
Problem with INTERNALDATE when the year in localtime and GMT different
...tm.tm_year > gtm.tm_year))
offset = 24 * 60;
else
offset = 0;
On 1 Jan. 2009, I found an error related to this code. The intrenal date of
message recieved at 01-Jan-2009 07:17:38 was not display as it received.
The protocol log was as followings.
FETCH (INTERNALDATE ?01-Jan-2009 07:17:38 -3900? RFC822.SIZE 1597 FLAGS
(\Seen) ENVELOP (?Thu, 1 Jan 2009 07:17:38 +0900 (KST)? ?
The INTERNALDATE must be ?01-Jan-2009 07:17:38 +0900?, but it was "01-Jan-
2009 07:17:38 -3900". This error may be caused by the bug in utc_offset.c.
How do you think?
2012 Feb 01
1
package sampling, function strata
Dear all,
I have to select 122 stratified random samples from a population of
>3900 cells. I have 41 strata and I have to draw a different number of
samples from them(between 2 and 8).
I have tried to apply the funtion strata following the instruction in
the manual:
strata(dataframe, stratanames=NULL, size, method=c("srswor"),
pik,description=TRUE)
but I get the e...
2019 May 16
6
[PATCH net 0/4] Prevent vhost kthread from hogging CPU
...series try to prvernt a guest triggerable CPU hogging through
vhost kthread. This is done by introducing and checking the weight
after each requrest. The patch has been tested with reproducer of
vsock and virtio-net. Only compile test is done for vhost-scsi.
Please review.
This addresses CVE-2019-3900.
Jason Wang (4):
vhost: introduce vhost_exceeds_weight()
vhost_net: fix possible infinite loop
vhost: vsock: add weight support
vhost: scsi: add weight support
drivers/vhost/net.c | 41 ++++++++++++++---------------------------
drivers/vhost/scsi.c | 21 ++++++++++++++-------
drivers/...
2011 Mar 22
1
How to use Atxfer in AMI
...I am facing the same problem and did not see one single answer
to his post. Maybe I'll be a little bit more lucky.
When I'm trying to issue an Atxfer AMI command, in the asterisk 1.8
branch, what happens is that some DTMF's are sent, like this :
[Mar 22 15:46:27] DTMF[5910]: channel.c:3900 __ast_read: DTMF end '1' received on SIP/bmwgsjrponciuj-0000009f, duration 0 ms
[Mar 22 15:46:27] DTMF[5910]: channel.c:3926 __ast_read: DTMF begin emulation of '1' with duration 100 queued on SIP/bmwgsjrponciuj-0000009f
[Mar 22 15:46:27] DTMF[5910]: channel.c:4018 __ast_read: DTMF...
2007 Oct 13
1
Plotting with 2 y axes
My data is the following:
Time
Resistance
Temperature
5
2000
4
10
2200
8
15
2500
14
20
2900
20
25
3000
29
30
3100
38
35
3500
46
40
3800
47
45
3900
50
50
4000
51
I would like to create a scatter plot with Time on the x axis, Resistance on
the y axis and Temperature on a second y axis.
I have tried
Plot(Time,Resistance,ylim=range(0,4500)
Points(Time,Temperature)
Axis(side=4)
But the temperature ends up as a straight line alo...
2016 Dec 23
1
[PATCH net 4/9] virtio-net: correctly handle XDP_PASS for linearized packets
...SS were determined for linearized packets, we try to get
> new buffers in the virtqueue and build skbs from them. This is wrong,
> we should create skbs based on existed buffers instead. Fixing them by
> creating skb based on xdp_page.
>
> With this patch "ping 192.168.100.4 -s 3900 -M do" works for XDP_PASS.
>
> Cc: John Fastabend <john.r.fastabend at intel.com>
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---
> drivers/net/virtio_net.c | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/dri...
2016 Dec 23
1
[PATCH net 4/9] virtio-net: correctly handle XDP_PASS for linearized packets
...SS were determined for linearized packets, we try to get
> new buffers in the virtqueue and build skbs from them. This is wrong,
> we should create skbs based on existed buffers instead. Fixing them by
> creating skb based on xdp_page.
>
> With this patch "ping 192.168.100.4 -s 3900 -M do" works for XDP_PASS.
>
> Cc: John Fastabend <john.r.fastabend at intel.com>
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---
> drivers/net/virtio_net.c | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/dri...