search for: jefferis

Displaying 20 results from an estimated 125 matches for "jefferis".

2012 Jul 10
1
Help with vectors and rollapply
Hello I have a vector a =(-2,0,0,0,1,0,0,3,0,0,-4) I want to replace all zeros into previous non-zero state. So for instance the above vector should be converted into: a= (-2,-2,-2,-2,1,1,1,3,3,3,-4) I tried many things and finally concluded that probably(?) rollapply may be the best way? I tried f= function(x){ ifelse(x==0,Lag(x),x) } And then, rollappy(a,1,f) and that
2019 May 29
3
Making a package CITATION file from BibTeX
...CITATION file (I have a lot of other packages needing citations ...). I think what I need is the opposite of RefManageR::toBiblatex [3]. This seems like it should be a common need, so I feel sure I must be missing something, but I can't seem to google up any hints. With many thanks, Greg Jefferis. [1] http://github.com/jefferislab/nat.nblast https://cran.r-project.org/package=nat.nblast [2] @article{Costa:2016aa, Author = {Costa, Marta and Manton, James D and Ostrovsky, Aaron D and Prohaska, Steffen and Jefferis, Gregory S X E}, Doi = {10.1016/j.neuron.2016.06.012}, Journal = {Neuron...
2011 Dec 06
1
Read Windows BMP format images
Hello, Does anyone know of an R package that can read Windows BMP format images? Many thanks, Greg Jefferis. -- Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Molecular Biology, Hills Road, Cambridge, CB2 0QH, UK. http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis http://www....
2006 Jun 15
1
Access and assign list sub-elements using a string such as "l$a$b"
...t; get(subel) # returns error assign(subel,"red") # silent but doesn't change list people The attempts above using assign/get won't do what I am trying to do [nor according to the help should they]. I would be very grateful for any suggestions. Many thanks, Greg. -- Gregory Jefferis, PhD and: Research Fellow Department of Zoology St John's College University of Cambridge Cambridge Downing Street CB2 1TP Cambridge, CB2 3EJ United...
2003 Sep 22
1
Data frame from list of lists
...r (i in 5:10){ df[i,]=as.data.frame(myfunc(i)) } I presume that rbind.data.frame normally looks after adding extra levels to factors as they appear in the new rows being appended to the data frame. If anyone has a solution that is quick (and/or elegant), I would be extremely grateful, Greg Jefferis. __________________________________________________________________________ Greg Jefferis, Lab Address: Liqun Luo, Herrin 144 Neurosciences PhD Programme & e-mail: jefferis at stanford.edu Dept Biological Sciences, Lab: (650) 725 58...
2006 Jul 02
7
xen will only load images built for xen v3.0
Hi, I am attempting to get Xen working on my Mandriva Linux and I can only get as far as the initial loading screen which happens to be failing with: "xen will only load images built for xen v3.0" I am following the instructions outlined at http://qa.mandriva.com/twiki/bin/view/Main/HowToXen Any hints on where I should start debugging this problem? cheers, Jeffery
2019 May 29
0
Making a package CITATION file from BibTeX
On Thu, 30 May 2019, Dr Gregory Jefferis wrote: > Dear Colleagues, > > I would like to provide a CITATION file for my package nat.nblast [1]. > > I have the correct citation in BibTeX format [2]. How can I convert this > BibTeX to the format needed by R for a package CITATION file (I have a > lot of other packages...
2001 Sep 22
2
Finding a 3D convex hull in R
...ys and am not much of a programmer, so I would rather not have to write code to interface to external C routines etc if possible. Very many thanks for any suggestions, Greg. P.S. I'm running R 1.3.1 on MacOS 9.1 __________________________________________________________________________ Greg Jefferis, Lab Address: Liqun Luo, Herrin 144 Neurosciences PhD Programme & e-mail: jefferis at stanford.edu Dept Biological Sciences, Lab: (650) 725 5809 Gilbert Biology Building, Fax: (650) 723 0589 371 Serra Mall, Stan...
2006 Jan 10
2
Correct way to test for exact dimensions of matrix or array
...n't because c(3,5) is numeric and the dims are integer. I therefore ended up doing something like: > identical( dim( obj) , as.integer(c(3,5))) OR > isTRUE(all( dim( obj) == c(3,5) )) Neither of which feel quite right. Is there a 'correct' way to do this? Many thanks, Greg Jefferis. PS Thinking about it, the second form is (doubly) wrong because: > obj=array(1,dim=c(3,5,3,5)) > isTRUE(all( dim( obj) == c(3,5) )) [1] TRUE OR > obj=numeric(10) > isTRUE(all( dim( obj) == c(3,5) )) [1] TRUE (neither of which are equalities that I am happy with!) -- Gregory Jeff...
2007 Jan 01
2
minimum install Disks required
Hi, I am currently downloading CentOS-4.4-i386-bin1of4.iso and was wondering what is the minimum number of install disks I require to get a working install of Centos ? Do I need to download all four of the disks ? cheers, Jeffery -------------- next part -------------- A non-text attachment was scrubbed... Name: jeffery.vcf Type: text/x-vcard Size: 293 bytes Desc: not available URL:
2016 Nov 10
12
[Bug 98677] New: [NVAC] iMac9, 1 effective backlight brightness range changes after S3
https://bugs.freedesktop.org/show_bug.cgi?id=98677 Bug ID: 98677 Summary: [NVAC] iMac9,1 effective backlight brightness range changes after S3 Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium
2014 Nov 10
1
subscripting a data.frame (without changing row order) changes internal row.names
...evtools_1.6.1 igraph_0.7.1 [7] testthat_0.9.1 rgl_0.93.1098 loaded via a namespace (and not attached): [1] codetools_0.2-9 filehash_2.2-2 nabor_0.4.3 parallel_3.1.1 plyr_1.8.1 [6] Rcpp_0.11.3 rstudio_0.98.1062 rstudioapi_0.1 XML_3.98-1.1 yaml_2.1.13 -- Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Molecular Biology Francis Crick Avenue Cambridge Biomedical Campus Cambridge, CB2 OQH, UK http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis http://jefferislab.org http://flybrain.stanford.edu
2008 May 07
4
Updating a Facebook Status
Does anyone know how to update a Facebook Status with Facebooker?
2018 Jul 05
4
[PATCH 0/2] drm/nouveau: Fix panic on nouveau unload.
If have a couple patches I found while looking at a panic I was seeing while unloading the nouveau module. Unloading the nouveau module on my optimus notebook machine causes the system to panic. This started occuring when moving from 4.4 to 4.14. These patches make it such that the system does not panic when unloading the module. 4.14 also requires commit 34112bf4935d ("drm/nouveau/fbcon:
2006 Jul 28
3
Private Interconnect and self fencing
I have an OCFS2 filesystem on a coraid AOE device. It mounts fine, but with heavy I/O the server self fences claiming a write timeout: (16,2):o2hb_write_timeout:164 ERROR: Heartbeat write timeout to device etherd/e0.1p1 after 12000 milliseconds (16,2):o2hb_stop_all_regions:1789 ERROR: stopping heartbeat on all active regions. Kernel panic - not syncing: ocfs2 is very sorry to be fencing this
2001 Oct 24
0
Re: Compiling R v 1.3.1 under Irix 6.5 on SGI Origin
...o make ../library/base/R/base (bu42). *** Error code 1 (bu21) Thanks you if you have any idea. Manuel -----Message d'origine----- De : Laurent Gautier [ mailto:laurent at genome.cbs.dtu.dk <mailto:laurent at genome.cbs.dtu.dk> ] Envoy? : mercredi 24 octobre 2001 10:29 ? : Greg Jefferis Cc : Duval, Manuel; 'R-help at lists.R-project.org' Objet : Re: [R] Re: Compiling R v 1.3.1 under Irix 6.5 on SGI Origin Hello, I had (and still have) to deal with SGIs and came across the similar error message. I remember going through by setting MAKE=gmake in the config.site file and...
2005 Mar 05
1
Reverse plot axes with xlim=rev(range(x)) fails with asp=1
...n the screen. However the simple example I showed above now fails: > plot(y=y<-c(20,4,5,6),x=x<-c(10,20,30,40),ylim=rev(range(y)),asp=1) The actual ylim used is considerably less than it should be, so no points appear on the plot. Can anyone suggest a simple remedy? Many thanks, Greg Jefferis. PS I would guess that the origin of this behaviour is that plot.window expects xlim (and ylim) to be in the order xmin,xmax (or ymin,ymax) when it sets about redefining xlim and ylim if asp!=NA. If that suggestion is correct, I'm not quite sure why the restriction is necessary. -- Gregory...
2009 Jul 15
4
duplicate data points on a line graph
Hi, I am new to R plot. I am trying to increase the data point observation when duplicate data points exist x y 1 10 1 10 2 3 4 5 9 8 in the about example 1, 10 would be displayed larger than the other data points. Could someone give me some assistance with this problem 757-864-7114 LARC/J.L.Shipman/jshipman Jeffery.L.Shipman at nasa.gov
2001 Dec 06
0
3D spatial statistics
...ckages which might be useful in 2D situations. Are there any functions which might be applicable for these three dimensional cases. If anyone could suggest an appropriate textbook for a non-specialist in this general area of statistics that would also be much appreciated. Very many thanks, Greg Jefferis. Incidentally I have approached (a) rather crudely by making use of the knn function in package = class for each pairwise combination of the 11 groups. Briefly for every single point I figure out the proportion of its k nearest neighbours that are of the same 'colour' and divide that by t...
2008 Mar 31
0
3d line smoothing
...his doesn't behave that well with some of my data which can be multivalued with respect to x and is not a directly 3d approach since. Could anyone suggest a package which might have appropriate functionality or a link to read up about possible approaches? With many thanks for your help, Greg Jefferis. PS As an aside, wouldn't categorising the 1350 downloadable packages on CRAN according to their content make a nice exercise in applied statistical learning/visualisation? -- LineSmooth3d<-function(l){ lxy=smooth.spline(l[,1:2]) lxz=smooth.spline(l[,c(1,3)]) cbind(l[,1],predi...