search for: binsiz

Displaying 11 results from an estimated 11 matches for "binsiz".

Did you mean: binsize
2013 Jun 18
1
hist function in a for loop
Dear all, I need to create a for-loop in which I can compute multiple histograms My code is the following : #singlefile includes huge csv file #I want to specify the binsize #I would like to compute in the for -loop the histograms numfiles <- length(singlefile) for (i in 1 :51) { binsize <- -20 :20/2 hist(singlefile(singlefile$GVC[singlefile$new_id==i]], break=seq(), by = binsize))) What do I have to do ? How can I specify the range for i...
2009 Aug 20
2
Histogram problem
...y data in the CSV file is just one vector. Does anyone know why? Thanks Conrad SPXdf = data.frame(read.csv(file = "SPX.csv", header = TRUE, sep = ",", dec = ".", fill = TRUE)) Max = max(SPXdf[,2]) Min = min(SPXdf[,2]) Count = length(SPXdf[,2]) sig = sd(SPXdf[,2]) BinSize = (3.5*sig)/(Count^(1/3)) BinNum = (Max - Min)/(BinSize) Bins = seq(Min,Max,by = BinSize) Count2 = length(Bins) Num = mat.or.vec(1,Count2) for (i in 1:Count){ for (j in 1:Count2){ if ((SPXdf[i,2] < Bins[j])) {Num[j] = Num[j] + 1} } } barplot(Num,Bins, xlab = &quot...
2010 Oct 04
1
Splitting a DF into rows according to a column
...me(Column1=rep(unlist(strsplit(loremIpsum," ")),length.out=510),Column2=runif(510,min=0,max=1e8)) is to be split into DFs with 50 entries in an ordered manner according to column2 (first DF ist o contain the rows with the 50 largest numbers, ...). Here is what I have been doing: > binSize <- 50 > splitMembership <- pmin(ceiling(order(tmpDF[["Column2"]],decreasing=TRUE)/binSize),floor(nrow(tmpDF)/binSize)) > splitList <- split(tmpDF,splitMembership) Distribution seems to work ... > sapply(splitList,nrow) But this is NOT what I wanted ... > sapply(sp...
2008 Dec 08
3
Transforming a string to a variable's name? help me newbie...
...ring (obtained from "paste()" above) to be a usable / manipulable variable name, so that I can do something, such as: (1) tmptrial <- trialcompute(trialextract( paste("t",tmptrialinfo[1,2],tmptrialinfo[1,16],".gz",sep="") ,tmptrialinfo[1,32],secs,sdm),secs,binsize) instead of hardcoding: (2) tmptrial <- trialcompute(trialextract(t24v2msa8.gz,tmptrialinfo[1,32],secs,sdm),secs,binsize) Currently, 1) doesn't work... Thanks in advance for your help! Regards, John
2002 Sep 06
3
Histogram Ranking
Hello, This is not exactly an R question, but I suspect that there is an R procedure that does what I am calling (for lack of a better name) "histogram ranking". I'm trying to evaluate a set of regression features by segregating by target class and comparing the feature histograms. My idea is that if the histograms are the same for two different classes then there is no
2017 Nov 14
2
[RFC PATCH] nouveau/compiler: Allow to omit line numbers when printing instructions
...cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_target.cpp @@ -371,7 +371,7 @@ Program::emitBinary(struct nv50_ir_prog_info *info) emit->prepareEmission(this); if (dbgFlags & NV50_IR_DEBUG_BASIC) - this->print(); + this->print(info->omitLineNum); if (!binSize) { code = NULL; diff --git a/src/gallium/drivers/nouveau/nouveau_compiler.c b/src/gallium/drivers/nouveau/nouveau_compiler.c index 3151a6f420..ed68031383 100644 --- a/src/gallium/drivers/nouveau/nouveau_compiler.c +++ b/src/gallium/drivers/nouveau/nouveau_compiler.c @@ -103,7 +103,7 @@ dumm...
2012 Mar 16
1
Identifying a change in events between bins
...9;m somewhat of an R newbie, and have run up against a problem that I can't seem to solve. If anyone is able to help I would really appreciate it! I'm looking at a number of events across a chromosome, and have written a program that collects them into different bins, based on a specified binsize. The events are directional, either forward or reverse, and a chromosome can either be fwd/fwd (all the events fall into the fwd bins), rev/rev (all the events fall into the rev bins) or fwd/rev (events are evenly split). In some cases, chromosomes switch from one state to another (eg fwd/fwd to...
2006 Dec 06
2
ssh 4.x using aix 5.3 auditing
...be true for the logout. I've opened a PMR w/IBM, but not getting very much help. below is an example of my /etc/security/audit/config file: start: binmode = off streammode = on bin: trail = /audit/trail bin1 = /audit/bin1 bin2 = /audit/bin2 binsize = 10240 cmds = /etc/security/audit/bincmds freespace = 65536 stream: cmds = /etc/security/audit/streamcmds classes: default = login init = USER_Login, USER_Logout, USER_Exit, USER_Logout users: root = init,default ===================...
2017 Nov 17
2
[PATCH v2] nouveau/compiler: Allow to omit line numbers when printing instructions
...cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_target.cpp @@ -371,7 +371,7 @@ Program::emitBinary(struct nv50_ir_prog_info *info) emit->prepareEmission(this); if (dbgFlags & NV50_IR_DEBUG_BASIC) - this->print(); + this->print(info->omitLineNum); if (!binSize) { code = NULL; diff --git a/src/gallium/drivers/nouveau/nouveau_compiler.c b/src/gallium/drivers/nouveau/nouveau_compiler.c index 3151a6f420..20a4966433 100644 --- a/src/gallium/drivers/nouveau/nouveau_compiler.c +++ b/src/gallium/drivers/nouveau/nouveau_compiler.c @@ -122,6 +122,8 @@ nouv...
2017 Nov 20
0
[PATCH v2] nouveau/compiler: Allow to omit line numbers when printing instructions
...degen/nv50_ir_target.cpp > @@ -371,7 +371,7 @@ Program::emitBinary(struct nv50_ir_prog_info *info) > emit->prepareEmission(this); > > if (dbgFlags & NV50_IR_DEBUG_BASIC) > - this->print(); > + this->print(info->omitLineNum); > > if (!binSize) { > code = NULL; > diff --git a/src/gallium/drivers/nouveau/nouveau_compiler.c b/src/gallium/drivers/nouveau/nouveau_compiler.c > index 3151a6f420..20a4966433 100644 > --- a/src/gallium/drivers/nouveau/nouveau_compiler.c > +++ b/src/gallium/drivers/nouveau/nouveau_compiler.c...
2017 Nov 14
0
[RFC PATCH] nouveau/compiler: Allow to omit line numbers when printing instructions
...u/codegen/nv50_ir_target.cpp > @@ -371,7 +371,7 @@ Program::emitBinary(struct nv50_ir_prog_info *info) > emit->prepareEmission(this); > > if (dbgFlags & NV50_IR_DEBUG_BASIC) > - this->print(); > + this->print(info->omitLineNum); > > if (!binSize) { > code = NULL; > diff --git a/src/gallium/drivers/nouveau/nouveau_compiler.c b/src/gallium/drivers/nouveau/nouveau_compiler.c > index 3151a6f420..ed68031383 100644 > --- a/src/gallium/drivers/nouveau/nouveau_compiler.c > +++ b/src/gallium/drivers/nouveau/nouveau_compiler.c...