Displaying 20 results from an estimated 21 matches for "foadi".
Did you mean:
foad
2010 Jul 07
2
how to define method for "+" function in a new class
...rlier in the same file. =
When I source it, I get the following error message:
Error in match.call(fun, fcall) :=20
unused argument(s) (x =3D "Molecule", y =3D "Molecule")
I can't see what's wrong in my method definition. Can anyone help me =
with this?
J
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk
Alt Email: j.foadi at imperial.ac.uk
--
This e-mail and any attachments may contain confidential...{{...
2009 Nov 24
2
convex hull for cluster analysis
...4 75
[9,] 23 94
[10,] 23 75
I was expecting hull to give me a few 2D points that would enclose the 100 random points generated,
but this doen't seem to be the case.
Probably I'm using the wrong tool here.
Any help with this would be greatly appreciated. Thank you.
J
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk
Alt Email: j.foadi at imperial.ac.uk
--
This e-mail and any attachments may contain confidential...{...
2009 Dec 10
1
question about centroid-linkage (cluster analysis)
...;)
> Y.hc_c$merge
[,1] [,2]
[1,] -1 -2
[2,] -3 1
[3,] -4 2
[4,] -5 -6
[5,] 3 4
> Y.hc_c$height
[1] 2.000000 1.914214 1.517428 2.000000 9.692575
So, from this it would appear that the distance between the last two clusters is 9.692575!
How can it be?
J
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk
Alt Email: j.foadi at imperial.ac.uk
--
This e-mail and any attachments may contain confidential...{...
2011 Feb 26
2
sourcing a linux file with "system"
...environment variables.
I have tried:
> system("source /home/james/build//ccp4-6.1.13/include/ccp4.setup")
and got:
sh: source: not found
In fact, using Sys.which("source") I get an empty string.
How can I source that ccp4.setup file from within an R session?
J
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk
Alt Email: j.foadi at imperial.ac.uk
Personal web page: http://www.jfoadi.me.uk
--
This e-mail and...
2010 Jul 23
1
greek letters in rgl plot3d
...cube3d()
> plot3d(cb,xlab=expression(alpha),ylab="",zlab="",box=FALSE,alpha=0.5)
The expression(alpha) appears as "alpha", rather than as a greek symbol.
I suspect greek and mathematical symbols in general can be added to a plot3d
in rgl. Is that true?
J
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk
Alt Email: j.foadi at imperial.ac.uk
--
This e-mail and any attachments may contain confidential...{...
2010 Sep 09
1
rgl and lighting
...rce which diffuses red light from the front face. I thought I could do:
>light3d(diffuse="red",theta=0,phi=0)
but...the front side doesn't show any red-iness. Same goes for specular and ambient.
What am I doing wrong here? How should the fron side show in red colour?
J
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk
Alt Email: j.foadi at imperial.ac.uk
--
This e-mail and any attachments may contain confidential...{...
2010 Jan 25
1
summing a large, partitioned data frame
...K, L, M/ISYM and replace the sum
in a unique row in the new data frame. In other words there's first a partition and then
a sum.
I have tried with a for loop, but it really takes too long.
I was wondering whether anyone knows of a better and faster way of doing this operation.
J
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk
Alt Email: j.foadi at imperial.ac.uk
--
This e-mail and any attachments may contain confidential...{{...
2006 Oct 20
6
summing elements in a list of functions
...t <- list(t0,t1,t2,t3)
and then I could use something like "sum", to add up all the elements of the
list and obtain another function. I've tried:
> rrr <- function(x) {sum(ttt)}
but it does not work.
Any help with this is greatly appreciated.
Cheers,
james
--
Dr James Foadi
Department of Physics
University of York
York YO10 5DD
email: jf117 at york.ac.uk
web page: http://www-users.york.ac.uk/~jf117
Tel: 0044 1904 434622
Mobile: 0044 7740 678548
2007 Jul 05
3
unexpected result in function valuation
...################
> y[701]
[1] 10.07404
> sinca(4,2*pi)
[1] 9
###########################################
The second result is the correct one. Why, then do
I get the y[701]=10.07404? This function is not supposed
to be higher than 9...
Any help is greatly appreciated.
Regards,
J
Dr James Foadi
Membrane Protein Laboratory
Diamond Light Source Ltd
Chilton, Didcot
Oxfordshire OX11 0DE
---
[[alternative HTML version deleted]]
2007 May 31
1
recompile R using ActiveTcl
...he proper configuration variables.
But...is it by any chance possible to "just" recompile the bit affected by
Tcl/Tk, like, for instance, to install tcltk with some environment variable
pointing at the right ActiveTcl library?
Many thanks for your suggestions and help.
J
--
Dr James Foadi
Membrane Protein Laboratory
Diamond Light Source Ltd.
Diamond House
Harwell Science and Innovation Campus
Didcot
Oxfordshire
OX11 0DE
United Kingdom
email: james.foadi at diamond.ac.uk
j.foadi at imperial.ac.uk
web page (old page - working on a new one): http://www-users.york.ac.uk/~jf117
T...
2008 Mar 17
1
problems with rgl in Ubuntu 'gutsy'
...he window.
In addition to that, the image is like "frozen", it can't be either rotated or shifted at all.
In short, rgl seems not to behave according to expectations. No error messages appear at any stage.
Has anyone a clue on what's going wrong here?
Many thanks,
J
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk
Alt Email: j.foadi at imperial.ac.uk
Web Page : http://
<DIV><FONT size="1" color=...
2006 Jul 20
2
failed installing rgl
...that glu.h cannot be found during installation and, indeed, I have
checked and there is no glu.h under /usr/include/GL.
Any suggestion on how I could proceed?
I am using FEDORA CORE 5.
By typing glxinfo it seems that glu 1.3 is installed. But where's glu.h, then?
Many thanks
J
--
Dr James Foadi
Department of Physics
University of York
York YO10 5DD
email: jf117 at york.ac.uk
Tel: 0044 1904 434622
Mobile: 0044 7740 678548
___________________________________________________________
All New Yahoo! Mail ? Tired of Vi at gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo....
2008 Jun 05
2
Fourier Transform
Hello All,
I wanted to perform a fourier transform on high frequency financial data. I
have searched and have not found much on this topic for R. I was wondering
if anyone has used any libraries for it or have come across any papers I may
read.
Many Thanks,
Neil Gupta
[[alternative HTML version deleted]]
2010 Jan 18
0
new R package. How to hide data file
...YMINFO invisible to users. If I call SYMINFO as .SYMINFO, the functions needing
this bit of data do not work anymore, even if I replaced
data(SYMINFO)
with
data(.SYMINFO)
Does anyone have ideas why this is happening? Would you handle the whole process differently?
Kind regards,
J
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk
Alt Email: j.foadi at imperial.ac.uk
--
This e-mail and any attachments may contain confidential...{...
2008 Oct 08
0
issues with "write.table"
...0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 40960
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Any idea of what is going wrong here?
Many thanks,
James
Dr James Foadi PhD
Membrane Protein Laboratory (MPL)
Diamond Light Source Ltd
Diamond House
Harewell Science and Innovation Campus
Chilton, Didcot
Oxfordshire OX11 0DE
Email : james.foadi at diamond.ac.uk
Alt Email: j.foadi at imperial.ac.uk
<DIV><FONT size="1" color="gray">...
2004 Oct 15
1
cluster analysis
...one object I thought that
would have sufficed to type for instance:
classe_01 <- classi[[1]]
Unfortunately, rather than obtaining a vector, I obtain a "numeric" where
each value is typed twice.
Can anyone explain why, or what I've done wrong?
Many thanks,
james
--
Dr James Foadi
Structural Biology Laboratory
Department of Chemistry
University of York
YORK YO10 5YW
UK
2012 Oct 25
1
correlated events in time series
Apologies in advance for the basic nature of my question.
I've never worked with time series, but I am, at present, dealing
with evolution in time of certain scalar quantities.
By looking at the plots, scalar quantity vs time, for several of these
quantities, I am observing a correlation of "events" happening at specific,
non-regularly spaced instants of time. The fact of observing
2012 Feb 14
1
method using several (and different) arguments in turn
Dear R-developers community, I have the following generic:
setGeneric(
name="newsample",
def=function(x,y,z,a,b,c,...){standardGeneric("newsample")}
And I can build several methods for this generic. One useful thing is to use "newsample"
with only one of the 6 arguments listed. At the moment this is what I do:
setMethod(
2005 Oct 26
4
symbolic math
Hi all!
Does anyone knows if it exists a "symbolic math" package in R, that allows to compute derivatives, integrals, etc.?
Does exist a freeware version of Maple?
Cheers,
Marco
[[alternative HTML version deleted]]
2004 Dec 01
21
Protocol for answering basic questions
I have been following the discussions on 'Reasons not to answer very basic questions in a straightforward way' with interest as someone who is also new to R and has had similar experiences. As such it with sadness that I note that most seem to agree with the present approach to the responses to basic questions. I must thank those respondants to my own questions who have been helpful, but