Displaying 20 results from an estimated 21 matches for "maxb".
Did you mean:
max
2016 Apr 20
0
Data reshaping with conditions
...ader=TRUE)
# you can also do this with other reshape functions
library(prettyR)
svdatstr<-stretch_df(svdat,"id",c("Count","type"))
count_ind<-grep("Count",names(svdatstr))
type_ind<-grep("type",names(svdatstr))
svdatstr$maxA<-NA
svdatstr$maxB<-NA
svdatstr$x<-NA
svdatstr$y<-NA
for(row in 1:nrow(svdatstr)) {
svdatstr[row,"maxA"]<-
max(svdatstr[row,count_ind[as.logical(match(svdatstr[1,type_ind],"A",0))]])
svdatstr[row,"maxB"]<-
max(svdatstr[row,count_ind[as.logical(match(svdatstr[1,type_i...
2016 Apr 21
0
Data reshaping with conditions
...k that I see what you mean. Your statements:
x = Count_A_less_than_max of (Count type B)
y = Count_A_higher_than_max of (Count type B).
I took to mean that you wanted a logical value for x and y. Looking
more closely at your initial message, I see that you wanted _all_
values of A with respect to maxB in x and y. The error with maximum
values was due to a typo. Perhaps this will do what you want:
svdat<-read.table(text="Count id name type
117 335 sally A
19 335 sally A
167 335 sally B
18 340 susan A
56 340 susan A
22 340 susan B
53 340 susan B
135 351 lee A
114 351 lee A
84 351 lee A
80...
2016 Apr 21
2
Data reshaping with conditions
...his with other reshape functions
> library(prettyR)
> svdatstr<-stretch_df(svdat,"id",c("Count","type"))
> count_ind<-grep("Count",names(svdatstr))
> type_ind<-grep("type",names(svdatstr))
> svdatstr$maxA<-NA
> svdatstr$maxB<-NA
> svdatstr$x<-NA
> svdatstr$y<-NA
> for(row in 1:nrow(svdatstr)) {
> svdatstr[row,"maxA"]<-
>
> max(svdatstr[row,count_ind[as.logical(match(svdatstr[1,type_ind],"A",0))]])
> svdatstr[row,"maxB"]<-
>
> max(svdatstr[row,cou...
2016 Apr 20
2
Data reshaping with conditions
Dear All,
I am trying to reshape the data with some conditions. A small part of the
data looks like below. Like this there will be more data with repeating ID.
Count id name type
117 335 sally A
19 335 sally A
167 335 sally B
18 340 susan A
56 340 susan A
22 340 susan B
53 340 susan B
135 351 lee A
114 351 lee A
84 351 lee A
80 351 lee A
19 351 lee A
8 351 lee A
21 351 lee A
88 351 lee B
111 351
2006 Oct 27
1
how to draw histograms on multiple variables in a graph?
for example, I have two sets, x and y.
I want to draw their histograms using different colors in a graph.
I didn't find how to do this by reading ?hist
Thanks very much.
[[alternative HTML version deleted]]
2016 Apr 21
0
Data reshaping with conditions
...kets [] are called "extraction operators" as they are
interpreted so as to "extract" the parts of an object specified by the
information within them. Your message contained only part of the line
below:
AltB<-svdatstr[row,indicesA][svdatstr[row,indicesA]<svdatstr[row,"maxB"]]
Extraction operators may be specified sequentially or nested. Both are
used in this line. However, to understand how it works, first look at
the line that defines the value of "indicesA":
indicesA<-count_ind[as.logical(match(svdatstr[row,type_ind],"A",0))]
This de...
2017 Oct 10
2
small files performance
...plete : 0=0.0%, 4=99.8%, 8=0.0%, 16=0.2%, 32=0.0%, 64=0.0%,
>=64=0.0%
issued : total=r=5424/w=2357/d=0, short=r=0/w=0/d=0,
drop=r=0/w=0/d=0
latency : target=0, window=0, percentile=100.00%, depth=16
Run status group 0 (all jobs):
READ: io=43392KB, aggrb=715KB/s, minb=715KB/s, maxb=715KB/s,
mint=60610msec, maxt=60610msec
WRITE: io=18856KB, aggrb=311KB/s, minb=311KB/s, maxb=311KB/s,
mint=60610msec, maxt=60610msec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20171010/b63b8c42/a...
2008 Mar 05
4
vertex labels in igraph from adjacency matrix
I am getting some unexpected results from some functions of igraph and
it is possible that I am misinterpreting the vertex numbers. Eg., the
max betweenness measure seems to be from a vertex that is not connected
to a single other vertex. Below if my code snippet:
require(igraph)
my.graph <- graph.adjacency(adjmatrix = my.adj.matrix, mode=c("undirected"))
most.between.vert <-
2017 Oct 10
0
small files performance
...16=0.2%, 32=0.0%, 64=0.0%,
> >=64=0.0%
> issued : total=r=5424/w=2357/d=0, short=r=0/w=0/d=0,
> drop=r=0/w=0/d=0
> latency : target=0, window=0, percentile=100.00%, depth=16
>
> Run status group 0 (all jobs):
> READ: io=43392KB, aggrb=715KB/s, minb=715KB/s, maxb=715KB/s,
> mint=60610msec, maxt=60610msec
> WRITE: io=18856KB, aggrb=311KB/s, minb=311KB/s, maxb=311KB/s,
> mint=60610msec, maxt=60610msec
>
>
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http:...
2010 Aug 11
0
R and TK Error "can't find objects"
...0,by=0))
Szwei<-tclVar(c(33,4,6,12,55))
Sdrei<-tclVar(c(55,48,10,20,80))
Svier<-tclVar(c(61,53,13,24,94))
Sf?nf<-tclVar(c(62,54,14,27,100))
Zeitb<-tclVar(52)
maxBes<-tclVar(10)
handler.plan<-function() {
tkconfigure(planErgebnis,
textvariable=tclVar(test2(as.numeric(tclvalue(AnzKnd)),as.numeric(tclval
ue(maxBes)),as.numeric(tclObj(Besuchsh?ufigkeitakt)),as.numeric(tclObj(Z
K)),as.numeric(tclObj(durch)),as.numeric(tclObj(Seins)),as.numeri...
2009 May 22
2
System crash when using surv=T in cph
Can someone help me. I am very new to R. I am fitting a Cox model using Frank
Harrell's cph as I want to produce a Nomogram. This is what I have done:
Srv<- Surv(time,cens)
f.cox<- cph(Srv~ v1+v2+v3+v4, x=T, y=T, surv=T)
As soon as I press enter, Windows XP crashes. If I remove surv=T, then it
works. I have R version 2.9.0.
Is there a way of displaying the parameter estimates (ie beta
2003 Jan 27
5
Securing Rsync
I have a rsync server set up on a win2k server and a win xp pro computer
is my client. It's working very well doing the anonymous transfers.
However, I've tried setting up a password file and not having any
success.
rsyncd.conf on my server:
use chroot = false
strict modes = false
hosts allow = *
[serverbu]
auth users = user
path = c:/serverbu
read only = no
list = no
secrets file =
[Bug 1922] New: Disabling ChallengeResponseAuthentication also disables KbdInteractiveAuthentication
2011 Jul 30
0
[Bug 1922] New: Disabling ChallengeResponseAuthentication also disables KbdInteractiveAuthentication
...tion: Unclassified
Product: Portable OpenSSH
Version: 5.8p2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: maxb at f2s.com
I was chasing some unexpected behaviour from OpenSSH, and have come
across an oddity in the source code which feels like a bug.
In auth2-kbdint.c, the Authmethod struct declares
options.kbd_interactive_authentication as the enabled flag for this
method. However in the implementation f...
2002 May 14
1
Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin
On May 14, 6:26am, maxb@ukf.net (Max Bowsher) wrote:
-- Subject: rsync digest, Vol 1 #717 - 12 msgs
>
> + After thinking about it a bit more I'm somewhat inclined to call it a
> + bug in Cygwin and try to get them to fix it.
>
> Well, you could, but I'd much prefer it if you didn't :-)
> I...
2012 Aug 10
1
virtio-scsi <-> vhost multi lun/adapter performance results with 3.6-rc0
...w: total=98316/32756, short=0/0
lat (usec): 4=0.01%, 10=0.01%, 20=0.01%, 50=0.01%, 100=0.03%
lat (usec): 250=0.40%, 500=2.43%, 750=3.51%, 1000=6.98%
lat (msec): 2=38.68%, 4=38.79%, 10=8.85%, 20=0.30%
Run status group 0 (all jobs):
READ: io=3,073MB, aggrb=490MB/s, minb=64,257KB/s, maxb=66,641KB/s, mint=6042msec, maxt=6267msec
WRITE: io=1,023MB, aggrb=163MB/s, minb=21,326KB/s, maxb=22,214KB/s, mint=6042msec, maxt=6267msec
Disk stats (read/write):
sdb: ios=784970/261501, merge=117/13, ticks=662700/221522, in_queue=884812, util=98.44%
-------------- next part --------------
ran...
2012 Aug 10
1
virtio-scsi <-> vhost multi lun/adapter performance results with 3.6-rc0
...w: total=98316/32756, short=0/0
lat (usec): 4=0.01%, 10=0.01%, 20=0.01%, 50=0.01%, 100=0.03%
lat (usec): 250=0.40%, 500=2.43%, 750=3.51%, 1000=6.98%
lat (msec): 2=38.68%, 4=38.79%, 10=8.85%, 20=0.30%
Run status group 0 (all jobs):
READ: io=3,073MB, aggrb=490MB/s, minb=64,257KB/s, maxb=66,641KB/s, mint=6042msec, maxt=6267msec
WRITE: io=1,023MB, aggrb=163MB/s, minb=21,326KB/s, maxb=22,214KB/s, mint=6042msec, maxt=6267msec
Disk stats (read/write):
sdb: ios=784970/261501, merge=117/13, ticks=662700/221522, in_queue=884812, util=98.44%
-------------- next part --------------
ran...
2002 Apr 03
4
Patch to avoid 'Connection reset by peer' error for rsync on cygwin
The problem is caused because rsync does not close its sockets, and WinSock is a
quite strict on this. The solution is to shutdown and close the fd.
This is a 5-minute hack I've done to fix the obvious occurrences of the problem.
It might be better to extend rsyncs cleanup functions for this, but here it is
anyway to alert people to the problem and its fix.
Max.
BEGIN PATCH
diff -mru
2011 Jul 22
0
auth2-kbdint.c: Is it a bug that it mixes references to options.kbd_interactive_authentication and options.challenge_response_authentication ?
Hello,
I was chasing some unexpected behaviour from OpenSSH, and have come
across an oddity in the source code which may or may not be a bug.
In auth2-kbdint.c, the Authmethod struct declares
options.kbd_interactive_authentication as the enabled flag for this
method. However in the implementation function a few lines above, it
checks options.challenge_response_authentication to decide whether to
2002 May 07
1
Status Query - Please respond - Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin
Hi.
On the one hand, I don't want to annoy anyone with repeated emails :-), but on
the other, I would like to know the chances of the patch making it in to 2.5.6.
Even if the answer is 'Maybe - too busy to think about it right now', I will be
satisfied, but if I need to revise it before it can be considered, I would like
to know that.
Max.
2002 May 09
0
[PATCH] (Resubmission) 'Connection reset by peer' with rsync server on cygwin
Hello? Concerns were raised about the action of shutdown() on Unices - I replied
with evidence suggesting that this would not be a problem. I have not heard
anything since. If this has to be held over to 2.6.0, fair enough - but please
tell me whether itjust needs time, or me to go and fix something???
Thanks
Max.
BEGIN PATCH
diff -mru rsync-2.5.5/clientserver.c