Displaying 20 results from an estimated 60 matches for "baddeley".
2005 Aug 03
2
hash code for arbitrary object
...st a simple way to calculate a 'hash code'
from an arbitrary R object?
hash(x) should return an integer or string
with the property that
if hash(x) != hash(y) then x and y are not identical
and the time to compute hash(x) should be quite short.
Any suggestions welcome
thanks
Adrian Baddeley
2014 Jul 30
2
listof
...)
and we've defined a plot method.
Is it OK for us to hijack an existing class in this way,
or is this a violation of some future plans/ design feature of R ?
We're about to publish a book on spatstat
so I would much appreciate advice if we need to change it.
regards
Adrian
Prof Adrian Baddeley FAA
University of Western Australia
2004 Dec 03
4
factor matrix
...Vain attempts like
matrix(factor(c(T,F,F,T), 2,2)
yield a matrix of character strings representing the factor levels,
not the levels themselves, while
factor(matrix(c(T,F,F,T), 2,2))
converts the matrix to a logical vector of length 4
then converts the vector to a factor.
Tia
---
Adrian Baddeley
2005 Jan 27
7
getting package version inside .First.lib
...uot;, sep="^M", quiet=TRUE)[2]
vvv <- strsplit(ttt," ")[[1]][2]
cat("spatstat version number",vvv,"\n")
}
but even this does not seem very safe (it makes assumptions about the
format of the DESCRIPTION file).
Is there a better way?
thanks
Adrian Baddeley
2003 Jun 16
2
extension to plot.formula?
...(y1,y2)) is greater than length(x).
I suggest that plot.formula be changed to recognise the situation where
there is more than one response variable, and produce multiple
superimposed plots in that case. (It already recognises the case
where there are multiple non-response variables).
----
Adrian Baddeley, Mathematics & Statistics, University of Western Australia
<http://maths.uwa.edu.au/~adrian/>
2005 Jun 03
2
dot in formula
gReetings,
I want to manipulate a formula object, containing the name "."
so that "." is replaced by a desired (arbitrary) expression.
What is a safe way to do this?
Adrian Baddeley
2011 Nov 13
1
Myriam Saavedra M. Sc. Questions about maximun radius distance
Dear Mr. Baddeley
I just graduated from a Masters in Applied Mathematics on Jun19th. My thesis was about spatial distribution /a nalysis of some trees in a part of the Congo Basic Forest.
In my thesis I used your spatial package in R, and today I'm doing a more deeper study about how we choise the r distance...
2005 Dec 09
1
O-ring statistic
...t;- Kcross(amacrine, "on", "off")
g12 <- pcf(K12, method="d", spar=0.7)
lambda2 <- summary(amacrine)$marks["off","intensity"]
Oring <- eval.fv(lambda2 * g12)
plot(Oring, ylab="Oring(r)")
regards
Adrian Baddeley
2009 Dec 17
2
segfault in glm.fit (PR#14154)
...rt = mustart, offset = offset, family = family,
control = control, intercept = attr(mt, "intercept") > 0)
4: glm(y ~ x, family = poisson, data = df)
--------------------------------
The code generates a segfault if the value of 'N' is greater than 16384.
regards
Adrian Baddeley
////////////////////////////////////////////////////////////
--please do not edit the information below--
Version:
platform = x86_64-unknown-linux-gnu
arch = x86_64
os = linux-gnu
system = x86_64, linux-gnu
status =
major = 2
minor = 10.1
year = 2009
month = 12
day = 14
svn rev = 5072...
2013 Sep 19
1
Vignette problem and CRAN policies
...Perl installation, be sure the correct one was
used he
re.
Otherwise, please install the missing modules. See the package INSTALL
file for
more information.
Loading required package: RODBC
Warning in odbcUpdate(channel, query, mydata, coldata[m, ], test = test, :
character data 'Adrian Baddeley <Adrian.Baddeley at uwa.edu.au> and
Rolf Turner
<r.turner at auckland.ac.nz> with substantial contributions of code by
Kasper Klitgaard Berthelsen; Abdollah Jalilian; Marie-Colette van Liesho
ut; Ege Rubak; Dominic Schuhmacher; and Rasmus
Waagepetersen.
Addit...
2013 Mar 21
3
spatstat error
Good day
Im working with some coordinates, and want to create a PPP object, I found
that error:
> Datos=read.table("puntos_texto.txt",dec=".",sep="\t",header=T)
> summary(Datos)
id y x
Min. : 1.0 Min. :1013581 Min. :1177842
1st Qu.: 821.2 1st Qu.:1014442 1st Qu.:1179658
Median
2003 Aug 06
1
contour lines intersect
...ourglass-shaped region
of values around 0.8. The contour plot shows two contour lines at
the level 0.8 which cross each other in a figure 8.
In the short term can anyone suggest how to fix the contour plot
for this particular dataset??
My system: R 1.7.0 (16/4/2003) i686-pc-linux-gnu
----
Adrian Baddeley, Mathematics & Statistics, University of Western Australia
<http://maths.uwa.edu.au/~adrian/>
2007 Mar 26
2
sampling from the uniform distribution over a convex hull
...W <- convexhull.xy(x, y)
P <- runifpoint(42, W)
will compute the convex hull and generate 42 independent
uniformly-distributed points in the convex hull.
The result can be plotted by
plot(P)
and the coordinates of the simulated points can be extracted
as P$x and P$y.
Adrian Baddeley
2005 Feb 07
2
Environment of a formula
...ot.
It appears that we can't set the environment to NULL;
should we set it to the Global environment e.g. using as.formula?
Or is it wiser to save the formula as a character string
in the object 'dat' and only convert it back to a formula
at the last possible moment?
thanks
Adrian Baddeley
2001 Aug 01
1
glm() with non-integer responses
...R versions prior to 1.3 it seemed to work
without complaint. So ..
(c) what is the recommended way to suppress the warning from
dpois() that the responses are not integers ?
Ideally I would like dpois() to accept noninteger responses and
evaluate using the gamma function..
thanks
----
Adrian Baddeley, Mathematics & Statistics, University of Western Australia
<http://maths.uwa.edu.au/~adrian/>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help&q...
2005 Sep 01
2
SpatStat Kest - Error Message help
Hi I'm working with the function Kest in the package SpatStat (under LINUX
with R 2.1.0). In order to evaluate the statistical significance of my
point pattern I'm doing 999 Montecarlo replications. The script that use
the Kest function runs OK for most of the different point patterns that I
have but for a particular point pattern, which have only 17 points, it
runs until the 34th
2012 Mar 28
3
Spatstat users.
...n.
In the course of preparing my PBRF (performance based research
funds) portfolio for the upcoming PBRF exercise here in New Zealand,
I have been advised that I should provide some estimate of the number
of "active users" of the spatstat package (of which I am a co-developer with
Adrian Baddeley) and which I am touting as one of my contributions to the
well-being of the universe.
So how do I estimate the number of "active users"? Bozhemoi!
I decided I'd do a survey of the r-help list.
So *please* respond (VERY briefly) to this email, saying just
"Yes I am an active...
2007 Aug 22
1
C code generators
...ext
fragment!)
I once implemented such a feature in an image processing package, so I
know it's not hard. Before dusting off this ancient code I would like to
learn whether there's an R package or other open source program that
already does it.
Any pointers would be welcome
thanks
Adrian Baddeley
2006 May 17
4
uniform and clumped point plots
I am trying to generate two dimensional random coordinates.
For randomly distributed data I have simply used
>xy<-cbind(runif(100),runif(100))
However I also want to generate coordinates that are more uniformly
distributed, and coordinates that are more contagiously distributed than
the above.
Can anyone make any suggestions
Thanks.
Dr Terry Beutel
Rangeland Scientist
Animal
2005 May 24
0
R Packages and code published in JSS in 2005
...Volume 12, Issue 01
Sturtz, Ligges, and Gelman
R2WinBUGS: A Package for Running WinBUGS from R
Volume 12, Issue 03
Mineo and Ruggieri
A Software Tool for the Exponential Power Distribution: The normalp
Package
Volume 12, Issue 04
Ritz and Streibig
Bioassay Analysis Using R
Volume 12, Issue 05
Baddeley and Turner
spatstat: An R Package for Analyzing Spatial Point Patterns
Volume 12, Issue 06
Johnstone and Silverman
EbayesThresh: R Programs for Empirical Bayes Thresholding
Volume 12, Issue 08
Nason
pinktoe: Semi-automatic Traversal of Trees
Volume 14, Issue 01
Imai and Van Dyk
MNP: R Package fo...