spatstat (version 1.12-9)

spatstat-internal: Internal spatstat functions

Description

Internal spatstat functions.

Usage

## S3 method for class 'hyperframe':
[(x, i, j, drop=FALSE, ...)
## S3 method for class 'hyperframe':
[(x, i, j) <- value
## S3 method for class 'hyperframe':
$(x, name)
## S3 method for class 'hyperframe':
$(x, i) <- value
acedist.show(X, Y, n, d, timelag = 0)
acedist.noshow(X, Y, n, d)
affinexy(X, mat = diag(c(1, 1)), vec = c(0, 0))
anycrossing.psp(A,B)
apply23sum(x)
area.xypolygon(polly)
AsymmHausdorff.psp(X, Y, method="Fortran")
as.breakpts(...)
## S3 method for class 'hyperframe':
as.data.frame(x, row.names = NULL,
                                  optional = FALSE, ..., 
                                  discard=TRUE, warn=TRUE)
as.fv(x)
## S3 method for class 'hyperframe':
as.list(x, ...)
as.polygonal(W)
as.units(s)
beachcolours(heightrange, sealevel, monochrome, ncolours)
bind.fv(x, y, labl, desc, preferred)
bdrylength.xypolygon(polly)
bdry.mask(W)
breakpts(val, maxi, even = FALSE, npos = NULL, step = NULL)
breakpts.from.r(r)
bt.frame(Q, trend=~1, interaction=NULL, ..., covariates=NULL,
         correction="border", rbord=0, use.gam=FALSE, allcovar=FALSE)
cartesian(pp, markset, fac = TRUE)
cbind.hyperframe(...)
cellmiddles(W, nx, ny, npix, gi)
checkfields(X,L)          
check.hist.lengths(hist,breaks)
check.named.vector(x, nam)
clip.psp(x, window, check=TRUE)
cliprect.psp(x, window)
clippoly.psp(s, window)
closepairs(X,rmax)
crosspairs(X,Y,rmax)
cobble.xy(x, y, f, fatal)
commasep(x)
compatible.units(x, y, coerce=TRUE)
countingweights(id, areas, check = TRUE)
damaged.ppm(object)
default.expand(object, m, epsilon)
default.clipwindow(object, epsilon)
default.n.tiling(X, nd, ntile, npix, verbose)
default.ntile(X)
diagnose.ppm.engine(object, ..., type="eem", typename, opt,
                         sigma=NULL, rbord = reach(object), compute.sd=TRUE,
                         compute.cts=TRUE, rv=NULL, oldstyle=FALSE)
## S3 method for class 'fasp':
dimnames(x)
## S3 method for class 'fasp':
dimnames(x) <- value
distpl(p, l)               
distppl(p, l)
distppll(p, l, mintype=0, method="Fortran", listit=FALSE)
divisors(n)
do.call.matched(fname, arglist, funargs, extrargs)
edge.Ripley(X, r, W, method)
edge.Trans(X, Y, W, exact, paired, trim)
ensure2vector(x)
equals.quad(Q)          
eratosthenes(nmax)
erode.mask(w,r)
even.breaks.owin(w)
exactdt(X, ...)              
exactPdt(w)
fasp(fns, which, formulae, dataname, title, rowNames, colNames)
findmarktype(x)
fii(interaction, coefs, Vnames)
FormatFaspFormulae(f, argname)
fv(x, argu, ylab, valu, fmla, alim, labl, desc, unitname)
greatest.common.divisor(n,m)
getfields(X, L, fatal = TRUE)
getglmfit(object)
gridindex(x, y, xrange, yrange, nx, ny)            
grid1index(x, xrange, nx)
handle.r.b.args(r = NULL, breaks = NULL, window, eps = NULL, rmaxdefault)
handle.rshift.args(W, ..., radius, width, height, edge, clip, edgedefault)
ho.engine(model, ..., nsim, nrmh, start, control, verb)
identical.formulae(x,y)
inside.xypolygon(pts, polly, test01 = TRUE, method="Fortran")
intersect.ranges(a,b)
intX.owin(w)
intX.xypolygon(polly)
intY.owin(w)
intY.xypolygon(polly)
is.cadlag(s)
is.data(Q)
is.fv(x)
is.hyperframe(x)
is.interact(x)
## S3 method for class 'default':
is.marked(\dots)  
## S3 method for class 'quad':
is.marked(X, na.action="warn", \dots)
## S3 method for class 'default':
is.multitype(\dots)  
## S3 method for class 'quad':
is.multitype(X, na.action="warn", \dots)
is.poisson.interact(x)
is.poisson.ppm(x)
is.prime(n)
is.stationary.ppm(x)    
km.rs(o, cc, d, breaks)
kstestEngine(model, covariate, ..., jitter, modelname, covname, dataname)
Kborder.engine(X, rmax, nr, correction, weights)
Kount(dIJ, bI, b, breaks)
Kwtsum(dIJ, bI, wIJ, b, w, breaks)
Kmulti.inhom(X, I, J, lambdaI, lambdaJ, ...,
         r=NULL, breaks=NULL,
         correction = c("border", "isotropic", "Ripley", "translate") ,
         lambdaIJ=NULL,
         Iname = "points satisfying condition I",
         Jname = "points satisfying condition J")
killinteraction(model)
least.common.multiple(n,m)
## S3 method for class 'im':
levels(x) <- value
lookup.im(Z, x, y, naok)
majorminorversion(v)
make.even.breaks(bmax, npos, bstep)
makeunits(sing, plur, mul)
markformat(x)
## S3 method for class 'ppp':
markformat(x)
## S3 method for class 'psp':
markformat(x)
markspace.integral(X)
marks(x, ...)
## S3 method for class 'ppp':
marks(x, \dots, dfok)           
## S3 method for class 'psp':
marks(x, \dots, dfok)
## S3 method for class 'quad':
marks(x, dfok=FALSE, \dots)
marks(x, ...) <- value
## S3 method for class 'ppp':
marks(x, dfok, \dots) <- value
markappendop(x, y)
marksubset(x, index, format)
marksubsetop(x, i)
markreplicateop(x, n)
matcolall(x)
matcolany(x)
matcolsum(x)            
matrixsample(mat, newdim, phase)
matrowall(x)
matrowany(x)
matrowsum(x)
maxflow(costm)
meanX.owin(w)            
meanY.owin(w)
mkcor(d, ff, wt, Ef, rvals, method="smrep", ..., nwtsteps=500)
mpl.engine(Q, trend, interaction, ..., covariates, correction,
	 rbord, use.gam, famille,
         forcefit, allcovar, callstring, precomputed, savecomputed, preponly)
mpl.get.covariates(covariates, locations, type)
mpl.prepare(Q, X, P, trend, interaction, covariates, 
            want.trend, want.inter, correction, rbord, Pname,
            callstring, ..., allcovar, precomputed, savecomputed,
            vnamebase, vnameprefix)
MultiPair.checkmatrix(mat, n, name)
## S3 method for class 'hyperframe':
names(x)
## S3 method for class 'hyperframe':
names(x) <- value
nearest.pixel(x, y, im)
newstyle.coeff.handling(object)
no.trend.ppm(x)
n.quad(Q)
numalign(i, nmax, zero)
outdated.interact(object)
overlap.owin(A,B)
overlap.trapezium(xa, ya, xb, yb, verb = FALSE)
overlap.xypolygon(P, Q)
owinpolycheck(W, verbose=TRUE)
param.quad(Q)
paren(x)
pickoption(what="option", key, keymap, ...,
           exact=FALSE, list.on.err=TRUE, die=TRUE, multi=FALSE)
pixellate(x, ..., weights)
pixelquad(X, W = as.owin(X))
ploterodewin(W1, W2, col.edge, col.inside, ...)
ploterodeimage(W, Z, ..., Wcol, rangeZ, colsZ)
## S3 method for class 'fii':
plot(x, \dots)
## S3 method for class 'kstest':
plot(x, \dots)
## S3 method for class 'minconfit':
plot(x, \dots)
## S3 method for class 'pppmatching':
plot(x, addmatch = NULL, main = NULL, \dots)
## S3 method for class 'profilepl':
plot(x, \dots, add=FALSE, main=NULL, tag=TRUE, coeff=NULL, xvariable=NULL)
## S3 method for class 'qqppm':
plot(x, \dots, limits=TRUE, monochrome=FALSE,
           limcol=if(monochrome) "black" else "red")
## S3 method for class 'quadratcount':
plot(x, \dots, add, entries, dx, dy)
## S3 method for class 'quadrattest':
plot(x, \dots)
polynom(x, ...)
pppdist.mat(X, Y, cutoff = 1, q = 1, matching = TRUE, precision = 9, approximation = 10)
pppdist.prohorov(X, Y, n, dfix, type, cutoff = 1, matching = TRUE, ccode = TRUE, precision = 9, approximation = 10) 
primefactors(n, prmax)
## S3 method for class 'bt.frame':
print(x, \dots)
## S3 method for class 'diagppm':
print(x, \dots)
## S3 method for class 'envelope':
print(x, \dots)
## S3 method for class 'fasp':
print(x, \dots)
## S3 method for class 'fii':
print(x, \dots)
## S3 method for class 'fv':
print(x, \dots)
## S3 method for class 'hyperframe':
print(x, ...)
## S3 method for class 'interact':
print(x, \dots, family=TRUE, brief=FALSE)       
## S3 method for class 'isf':
print(x, \dots)
## S3 method for class 'minconfit':
print(x, \dots)
## S3 method for class 'plotppm':
print(x, \dots)
## S3 method for class 'pppmatching':
print(x, \dots)
## S3 method for class 'profilepl':
print(x, \dots)
## S3 method for class 'qqppm':
print(x, \dots)
## S3 method for class 'rmhcontrol':
print(x, \dots)
## S3 method for class 'rmhmodel':
print(x, \dots)
## S3 method for class 'rmhstart':
print(x, \dots)
## S3 method for class 'rmhseed':
print(x, \dots)
## S3 method for class 'summary.fii':
print(x, \dots)
## S3 method for class 'summary.hyperframe':
print(x, ...)
## S3 method for class 'summary.listof':
print(x, \dots)
## S3 method for class 'summary.owin':
print(x, \dots)
## S3 method for class 'summary.ppp':
print(x, \dots, dp=3)
## S3 method for class 'summary.psp':
print(x, \dots)
## S3 method for class 'summary.splitppp':
print(x, \dots)
## S3 method for class 'summary.units':
print(x, \dots)
## S3 method for class 'units':
print(x, \dots)
prolongseq(x, newrange)
quad(data, dummy, w, param)
quadrat.breaks(xr, yr, nx = 5, ny = nx, xbreaks = NULL, ybreaks = NULL)
quadrat.countEngine(x, y, xbreaks, ybreaks, weights)
quadrat.testEngine(X, nx, ny, xbreaks, ybreaks, ..., fit=NULL, Xname=NULL, fitname=NULL)
quadscheme.replicated(data, dummy, method = "grid", ...)
quadscheme.spatial(data, dummy, method = "grid", ...)
pointgrid(W, ngrid)
rasterx.im(x)
rastery.im(x)
## S3 method for class 'fii':
reach(x, \dots, epsilon)
rebound.ppp(x, ...)
rebound.psp(x, ...)
rebound.owin(w, rect)
reincarnate.interact(object)
## S3 method for class 'units':
rescale(X,s)
resid4plot(RES, plot.neg="image", plot.smooth="imagecontour",
           spacing=0.1, srange=NULL,monochrome=FALSE, main=NULL, ...)
resid1plot(RES, opt, plot.neg="image", plot.smooth="imagecontour",
              srange=NULL, monochrome=FALSE, main=NULL, ...)
resid1panel(observedX, observedV,
            theoreticalX, theoreticalV, theoreticalSD, xlab,ylab, ...)
resolve.defaults(..., .StripNull=FALSE)
restrict.mask(M, W)
reverse.xypolygon(p)
revcumsum(x)
rmax.rule(fun, W, lambda)
rotxy(X, angle = pi/2)
rmhResolveTypes(model, start, control)
## S3 method for class 'rmhcontrol':
rmhcontrol(control, \dots)
## S3 method for class 'list':
rmhcontrol(control, \dots)
rmhEngine(InfoList, ..., verbose, reseed, kitchensink, preponly) 
## S3 method for class 'rmhmodel':
rmhmodel(model, \dots)
rmhseed(iseed)
## S3 method for class 'rmhstart':
rmhstart(start, \dots)
## S3 method for class 'list':
rmhstart(start, \dots)
rmpoint.I.allim(n, f, types)
## S3 method for class 'hyperframe':
row.names(x)
## S3 method for class 'hyperframe':
row.names(x) <- value
rpoint.multi(n, f, fmax=NULL, marks = NULL, win = unit.square(), giveup = 1000, verbose = FALSE)
runifpoispp(lambda, win = owin(c(0, 1), c(0, 1)))
runifrect(n, win = owin(c(0, 1), c(0, 1)))
second.moment.calc(x, sigma=NULL, edge=TRUE, what="Kmeasure", debug=FALSE,
..., varcov=NULL)
shiftxy(X, vec = c(0, 0))
spatstat.rawdata.location(...)             
sp.foundclass(cname, inlist, formalname, argsgiven)             
sp.foundclasses(cnames, inlist, formalname, argsgiven)             
stratrand(window, nx, ny, k = 1)
suffloc(object)
suffstat.generic(model, X, callstring)
suffstat.poisson(model, X, callstring)
## S3 method for class 'envelope':
summary(object,\dots)
## S3 method for class 'fii':
summary(object,\dots)
## S3 method for class 'hyperframe':
summary(object, ..., brief=FALSE)
## S3 method for class 'profilepl':
summary(object, \dots)
## S3 method for class 'pppmatching':
summary(object, \dots)
## S3 method for class 'units':
summary(object, \dots)
sympoly(x, y, n)
termsinformula(x)
test.crossing.psp(A,B)
test.selfcrossing.psp(A)
tilecentroids(W, nx, ny)
trim.mask(M, R)
## S3 method for class 'default':
unitname(x)
## S3 method for class 'default':
unitname(x) <- value
## S3 method for class 'interact':
update(object, \dots)
valid.ppm(object, na.value)
validate.mask(w, fatal=TRUE)        
validate.quad(Q, fatal, repair, announce)
variablesinformula(x)
versionstring.interact(object)
versionstring.ppm(object)
versionstring.spatstat()
verifyclass(X, C, N = deparse(substitute(X)), fatal = TRUE)
verify.xypolygon(p, fatal=TRUE)
whist(x,breaks,weights, trim, right)
w.quad(Q)               
x.quad(Q)
y.quad(Q)
xypolyselfint(p, eps, proper, yesorno, checkinternal)
xypolygon2psp(p, w)

Arguments

Details

These are usually not to be called by the user.