Displaying 20 results from an estimated 32 matches for "9ep".
Did you mean:
9e
2010 Jul 30
3
simple table/matrix problem
...See how the first line shows 'x' has 2 bats, 'y' has zero bats, and 'z'
has 3 bats
and so on for each line.
The real application would have a matrix of size ~10 by ~10000.
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2009 Jun 12
1
bundle deprecation
...ckages would be clear.
What is the best way to preserve the 'BACCO'
name in a non-bundled world?
Perhaps adding a 'FormerBundle' line in the DESCRIPTION file?
best wishes
Robin
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2009 Jan 22
1
pdf() and pch problems
...C_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
> q()
le112:~/scratch/R-2.8.1%
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2009 Jan 22
1
pdf() and pch problems
...C_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
> q()
le112:~/scratch/R-2.8.1%
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2010 Nov 10
1
S4 package warning
...me footing as the mdm class,
but do not appear to generate a warning from R CMD check.
The same happens AFAICS on R-2.13, 53543
Can anyone advise on how to deal with the warning?
thank you
Robin
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2009 Sep 08
5
sparse vectors
...AplusB
$index
[1] 3 20 30 100000000
$val
[1] 0.1 2.2 3.4 4.4
>
See how the value for index=30 (being common to both) is 3.4
(=3.3+0.1). What's the best R idiom to achieve this?
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2009 Jan 22
1
reshape() problems
...rieses for
cell 1 and cell 2.
Is there a nice vectorized way to do this?
I can't quite make reshape() do what I want.
[the real dataset is months, not quarters, has ~2000 cells
and ~60 years]
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2010 Jun 29
3
table() of a factor
...quot;d" in the original 'x' as a "c".
What I want is:
a b c d
3 1 0 1
How to get this from 'x'?
(my real application has dozens of levels with complicated names).
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2009 Oct 16
1
generalization of tabulate()
..._len(nrow(obs))){
for(j in seq_len(nrow(S))){
if(all(obs[i,,drop=TRUE] == S[j,,drop=TRUE])){
d[j] <- d[j]+1
}
}
}
S <- cbind(S,d)
Anyone got anything better before I try C?
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2009 Nov 12
1
S4 objects in the data directory
...ges use only ASCII characters in their datasets.
* checking examples ...no parsed files found
NONE
WARNING: There were 2 warnings, see
/home/rksh/anRpackage.Rcheck/00check.log
for details
le112:~%
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2009 Mar 02
2
Goldbach partitions code
Folks,
I put up a brief note describing my naive attempts to compute Goldbach
partitions, starting with a brute-force approach and refining
progressively.
http://jostamon.blogspot.com/2009/02/goldbachs-comet.html
I'd welcome your suggestions on improvements, alternatives, other
optimisations, esp. to do with space vs time tradeoffs.
Is this an example interesting enough for
2010 Jan 26
1
add points to 3D plot using p3d {onion}
Hi,
Can anyone guide me as to how I can add points to a p3d() plot from
the onion package?? I want to plot points with different colors on the
same 3D plot.? Perhaps I can do this without adding points but somehow
directing the 'h' parameter to give different color to points based on
a factor I assign to them?
FYI, I can do this using using scatterplot3d() and points3d(), but
these plots
2008 Dec 11
1
Complex integration in R
Dear R-user
I need a function to approximate a complex integration. My function is:
aprox2=function(s,x,rate){
dexp(x,rate)*exp(-s*x)
}
where argument s is a complex number. I can't use the integrate function
because it's only used with "numeric" arguments
Does anyone know some function to approximate complex integrals?
Thanks
Borja
[[alternative HTML version deleted]]
2009 Oct 13
2
S4 tutorial
I'm looking for some tutorial on S4. I only find the following one,
which is not in English. Can somebody let me know if there is any
introductory material? I'm very familiar with OO and C++. If there is
some material that suits my background, it will be great.
https://stat.ethz.ch/pipermail/r-help/2009-January/184108.html
2009 Oct 23
1
access elements of a named list using a factor
...quot;,jj,levels(f)[1])
Error in if (quote) { : argument is not interpretable as logical
> "$"(jj,levels(f)[1])
Error in jj$levels(f)[1] : invalid subscript type 'language'
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2008 Dec 05
1
array indexing
...*defining* the 'index'
matrix is simpler.
So, what is the thinking behind the behaviour as implemented?
I'm asking because I want to understand the thinking behind the
decision.
rksh
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2009 Feb 19
2
vignette compilation times
...s with Sweave. The longest one takes 10 hours. I love the weaver
package!
Is a package that includes such a computationally intensive vignette
acceptable on CRAN? Are there any guidelines here?
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
2010 Jan 06
2
Generating data from Null Distribution
Hello everyone,
Can someone tell me exactly how to generate data from a null distribution
for the fisher exact test? I know I have to use the hypergrometric but
exactly what commands do I use?
Jim
[[alternative HTML version deleted]]
2008 Nov 19
2
Multidimensional array with R
Hi there
I know, I'm sure you discussed this stuff 100 times, but I really have
a basic understanding problem, if and how do I create a
multidimensional array in R. I'm coming from MATLAB and there it's as
easy as you ever could imagine.
Ok, so, I want to have an array, where I can fill in data from a Excel
spreadsheet. The array should be addressed like this:
2009 Dec 11
3
how to creat a matrix
Dear R family
I am attempting to create a matrix. e.g.,
0 0 0 0 1
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
How could I write a R program?
Later I want to extend it to a N by N case.
Thanks in advance
best
Moohwan