spatstat-internal {spatstat} | R Documentation |
Internal spatstat functions.
## 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)) affinexypolygon(p, mat, vec, detmat) 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.listof(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) check.testfun(f, f1, X) 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) conform.imagelist(X, Zlist) 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) distppllmin(p, l) divisors(n) do.call.matched(fname, arglist, funargs, extrargs) do.iplot(panel) do.istat(panel) 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,strict) even.breaks.owin(w) exactdt(X, ...) exactPdt(w) ## S3 method for class 'ppm': extractAIC(fit, scale, k, ...) fasp(fns, which, formulae, dataname, title, rowNames, colNames) findmarktype(x) fii(interaction, coefs, Vnames) fillNA(x, value) FormatFaspFormulae(f, argname) ## S3 method for class 'ppm': formula(x, ...) ## S3 method for class 'kppm': formula(x, ...) fv(x, argu, ylab, valu, fmla, alim, labl, desc, unitname, fname, yexp) fvnames(X, a) greatest.common.divisor(n,m) getfields(X, L, fatal = TRUE) getglmdata(object, drop=FALSE) getglmfit(object) getglmsubset(object) gridindex(x, y, xrange, yrange, nx, ny) grid1index(x, xrange, nx) grow.rectangle(W, xmargin=0, ymargin=xmargin) 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) implemented.for.K(correction, windowtype, explicit) inpoint(W) inside.xypolygon(pts, polly, test01 = TRUE, method="Fortran") intersect.ranges(a,b,fatal) intX.owin(w) intX.xypolygon(polly) intY.owin(w) intY.xypolygon(polly) is.cadlag(s) is.data(Q) is.fv(x) is.hole.xypolygon(polly) is.hyperframe(x) is.infline(x) is.interact(x) ## Default S3 method: is.marked(...) ## S3 method for class 'psp': is.marked(X, ...) ## S3 method for class 'quad': is.marked(X, na.action="warn", ...) ## Default S3 method: is.multitype(...) ## S3 method for class 'quad': is.multitype(X, na.action="warn", ...) is.poisson.interact(x) is.poisson.ppm(x) is.prime(n) is.psp(x) is.stationary.ppm(x) is.tess(x) 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 listof(...) 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) mark.scale.default(marx, w, markscale=NULL, maxsize=NULL) markspace.integral(X) marks(x, ...) ## S3 method for class 'ppp': marks(x, ..., dfok) ## S3 method for class 'psp': marks(x, ..., dfok) ## S3 method for class 'quad': marks(x, dfok=FALSE, ...) marks(x, ...) <- value ## S3 method for class 'ppp': marks(x, dfok, ...) <- value ## S3 method for class 'psp': marks(x, ...) <- 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) sewsmod(d, ff, wt, Ef, rvals, method="smrep", ..., nwtsteps=500) model.se.image(fit, W, ..., what) 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) na.handle.im(X, na.replace) ## 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) owinpoly2mask(w, rasta, check=TRUE) param.quad(Q) paren(x) pickoption(what="option", key, keymap, ..., exact=FALSE, list.on.err=TRUE, die=TRUE, multi=FALSE) ploterodewin(W1, W2, col.edge, col.inside, ...) ploterodeimage(W, Z, ..., Wcol, rangeZ, colsZ) ## S3 method for class 'fii': plot(x, ...) ## S3 method for class 'kstest': plot(x, ...) ## S3 method for class 'minconfit': plot(x, ...) ## S3 method for class 'pppmatching': plot(x, addmatch = NULL, main = NULL, ...) ## S3 method for class 'profilepl': plot(x, ..., add=FALSE, main=NULL, tag=TRUE, coeff=NULL, xvariable=NULL) ## S3 method for class 'qqppm': plot(x, ..., limits=TRUE, monochrome=FALSE, limcol=if(monochrome) "black" else "red") ## S3 method for class 'quadratcount': plot(x, ..., add, entries, dx, dy) ## S3 method for class 'quadrattest': plot(x, ...) polynom(x, ...) ppllengine(X, Y, action="project", check=FALSE) 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, ...) ## S3 method for class 'colourmap': print(x, ...) ## S3 method for class 'diagppm': print(x, ...) ## S3 method for class 'envelope': print(x, ...) ## S3 method for class 'fasp': print(x, ...) ## S3 method for class 'fii': print(x, ...) ## S3 method for class 'fv': print(x, ...) ## S3 method for class 'hyperframe': print(x, ...) ## S3 method for class 'interact': print(x, ..., family=TRUE, brief=FALSE) ## S3 method for class 'isf': print(x, ...) ## S3 method for class 'kppm': print(x, ...) ## S3 method for class 'lut': print(x, ...) ## S3 method for class 'minconfit': print(x, ...) ## S3 method for class 'plotppm': print(x, ...) ## S3 method for class 'pppmatching': print(x, ...) ## S3 method for class 'profilepl': print(x, ...) ## S3 method for class 'qqppm': print(x, ...) ## S3 method for class 'rmhcontrol': print(x, ...) ## S3 method for class 'rmhmodel': print(x, ...) ## S3 method for class 'rmhstart': print(x, ...) ## S3 method for class 'rmhseed': print(x, ...) ## S3 method for class 'splitppp': print(x, ...) ## S3 method for class 'summary.fii': print(x, ...) ## S3 method for class 'summary.hyperframe': print(x, ...) ## S3 method for class 'summary.listof': print(x, ...) ## S3 method for class 'summary.owin': print(x, ...) ## S3 method for class 'summary.ppp': print(x, ..., dp=3) ## S3 method for class 'summary.psp': print(x, ...) ## S3 method for class 'summary.splitppp': print(x, ...) ## S3 method for class 'summary.units': print(x, ...) ## S3 method for class 'tess': print(x, ...) ## S3 method for class 'units': print(x, ...) prolongseq(x, newrange) quad(data, dummy, w, param) rectquadrat.breaks(xr, yr, nx = 5, ny = nx, xbreaks = NULL, ybreaks = NULL) rectquadrat.countEngine(x, y, xbreaks, ybreaks, weights) quadrat.testEngine(X, nx, ny, ..., xbreaks, ybreaks, tess=NULL, 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, ..., epsilon) rebadge.fv(x, new.ylab, new.fname, tags, new.desc, new.labl, new.yexp, new.dotnames, new.preferred, new.formula) rebound.im(x, rect) 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, adjust=FALSE) revcumsum(x) rmax.rule(fun, W, lambda) rotxy(X, angle = pi/2) rotxypolygon(p, angle = pi/2) rmhResolveTypes(model, start, control) ## S3 method for class 'rmhcontrol': rmhcontrol(control, ...) ## S3 method for class 'list': rmhcontrol(control, ...) rmhEngine(InfoList, ..., verbose, reseed, kitchensink, preponly) ## S3 method for class 'rmhmodel': rmhmodel(model, ...) rmhseed(iseed) ## S3 method for class 'rmhstart': rmhstart(start, ...) ## S3 method for class 'list': rmhstart(start, ...) 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))) runifpoisppOnLines(lambda, L) runifrect(n, win = owin(c(0, 1), c(0, 1))) safelookup(Z, X, factor, warn) second.moment.calc(x, sigma=NULL, edge=TRUE, what="Kmeasure", debug=FALSE, ..., varcov=NULL, expand=FALSE) second.moment.engine(x, sigma=NULL, edge=TRUE, what="Kmeasure", debug=FALSE, ..., obswin=as.owin(x), varcov=NULL, npoints=NULL) shiftxy(X, vec = c(0, 0)) shiftxypolygon(p, vec = c(0, 0)) simplify.xypolygon(p, dmin) 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,...) ## S3 method for class 'fii': summary(object,...) ## S3 method for class 'hyperframe': summary(object, ..., brief=FALSE) ## S3 method for class 'profilepl': summary(object, ...) ## S3 method for class 'pppmatching': summary(object, ...) ## S3 method for class 'units': summary(object, ...) sympoly(x, y, n) ## S3 method for class 'ppm': terms(x, ...) ## S3 method for class 'kppm': terms(x, ...) termsinformula(x) test.crossing.psp(A,B) test.selfcrossing.psp(A) tilecentroids(W, nx, ny) trim.mask(M, R) tweak.fv.entry(x, current.tag, new.labl=NULL, new.desc=NULL, new.tag=NULL) ## Default S3 method: unitname(x) ## Default S3 method: unitname(x) <- value ## S3 method for class 'interact': update(object, ...) 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)
These are usually not to be called by the user.