search for: fnn

Displaying 9 results from an estimated 9 matches for "fnn".

Did you mean: fn
2009 Nov 02
4
Incremental ReadLines
...t completes in 2.3 seconds For 121,000*5 records it completes in 63 seconds For 121,000*10 records it doesn't complete When I try other methods to read the file in chunks (using scan), the process breaks down because I have to start at the beginning of the file on every iteration. For example: fnn=function(n,col){ a=122*(n-1)+2 xx=scan(fname,skip=a-1,nlines=121,sep=',',quiet=TRUE,what=character(0)) xx=xx[xx!=''] xx=matrix(xx,ncol=49,byrow=TRUE) xx[,col] } system.time(sapply(1:10,fnn,c=26)) # 0.31 Seconds system.time(sapply(91:90,fnn,c=26)) # 1.09 Se...
2013 Mar 10
0
max row
...uot;x1"],0.8+d[i,"m1"]-d[i,"x1"]); >>>>Pn<- rbeta(1000,0.2+d[i,"y1"],0.8+d[i,"n1"]-d[i,"y1"]); >>>>Fm<- ecdf(Pm); >>>>Fn<- ecdf(Pn); >>>> >>>>Fmm<- Fm(p1L); >>>>Fnn<- Fn(p1H); >>>>R<- (Fmm+Fnn)/2;? >>>>Fmm_f<- max(R, Fmm); >>>>Fnn_f<- min(R, Fnn); >>>>Qm<- 1-Fmm_f; >>>>Qn<- 1-Fnn_f; >>>>data.frame(Qm,Qn)})) >>>>d2<-cbind(d,d1) >>>>head(d2) >&...
2013 Feb 01
29
cumulative sum by group and under some criteria
Thank you very much for your reply. Your code work well with this example. I modified a little to fit my real data, I got an error massage. Error in split.default(x = seq_len(nrow(x)), f = f, drop = drop, ...) : Group length is 0 but data length > 0 On Thu, Jan 31, 2013 at 12:21 PM, arun kirshna [via R] < ml-node+s789695n4657196h87@n4.nabble.com> wrote: > Hi, > Try this: >
2015 Sep 08
4
Inserting MachineInstr's
Hi, I have a task to complete and I'm getting stuck. I can't find anything comparable in the documentation. The shortest explanation I can give is as follows: I need to use double-precision floating point values for floating-point multiplies. I'll not go into why: That would take the discussion away from the essential problem. E.g. Replace: fmuls %f20,%f21,%f8 with the
2008 Aug 29
4
[Bug 1517] New: ssh ControlMaster process is crashing frequently when multiplexing ssh and scp connections with error 'select: Invalid argument'
...s. We are using ssh multiplexing to reduce CPU and network load. We have a script in cron to restart the ControlMaster process; it is restarting approx 280 times per day. The ssh ControlMaster syntax: /usr/local/bin/ssh -oControlMaster=yes -oControlPath="/cdrc/.ssh/mp_sock-scholzite" -fnN -c blowfish-cbc transfer at scholzite-be We are using Openssh-5.1p1 compiled from source (and Openssl-0.9.8h). This OpenSSH version is used on the client and server, both servers are Solaris 9 Sparc platforms. The max file descriptors kernel parameter on both systems is 8192. The following para...
2013 Nov 21
2
overlaying 2D grid on randomly distributed points
Hi, I have a cloud of randomly distributed points in 2-dimensional space and want to set up a grid, with a given grid-cell size, that minimizes the distance between my points and the grid nodes. Does anyone know of an R function or toolbox that somehow addresses this problem? This is a problem of optimizing the location of the grid, not a problem of deciding what should be the grid-cell size,
2012 Mar 11
1
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * EffectStars (1.0) Maintainer: Unknown Author(s): Gunther Schauberger License: GPL-2 http://crantastic.org/packages/EffectStars The package provides functions to visualize regression models with categorical response. The effects of the covariates are plotted with star plots in order to allow for an optical
2010 Jul 18
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * allan (1.0) Alan Lee http://crantastic.org/packages/allan Automates Large Linear Analysis Model Fitting * andrews (1.0) Jaroslav Myslivec http://crantastic.org/packages/andrews Andrews curves for visualization of multidimensional data * anesrake (0.3) Josh Pasek http://crantastic.org/packages/anesrake This
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...aU$(H^nFiRU5 at DRB@_$dTrs9y}YyvsOQpRvWKRwq+&-HDyS|khiY(R7T?7B z=$lw$6w*&ERjW%2X00dG+9(%)1hdgc;{1{7N@?b{7=3}%Y`Mu);}*Gq+USjx=I2LX zV8f4GE3cJj!;eLowMKApX|Wt^!?~6aLXE4ZD|6L2ix`sql`wCZ9IqN!(d9E at 4`n=R zGLsp?t1~N0^Ydou)augwTD5G}*2&|PW5A`TDW)$6&~3BU-91(7O4k?WksUyMY8xBT z+D_AD&luzfMOfnn+<-`EX|Jd(ckJd9H`b4)(1!;>70Q=VK8s|wo9JI`z19`(CDZCl zf|7A$XMMe1Z!|LJJ8sYQH?Dre#>SB&V?rjxXMh;pAMsmK7L=uK*=QU+awNX#z?sBk zuQ3!$+Jdu+iDE2`JzAo at 4Y<FD=x33<I|~=hi^7|Wn>@9&qGV22!)z)(WaBXvoG-0b zLvxjt)oMgQKvUB4bEnF4ODkoYQhD++r8$7*HWuQDNYf=z!7z!Qxxrd}-JNK<LuFIK zYs<3$Qo>9...