tests/fmla.R

#'   tests/fmla.R
#'
#'   Manipulation of formulae

require(spatstat.utils)

#'  code coverage of special cases
identical.formulae(y ~ x, NULL)
termsinformula(NULL)
offsetsinformula(y ~ x)
lhs.of.formula(~x)
rhs.of.formula(y ~ x, tilde=FALSE)
f <- ~x
lhs.of.formula(f) <- quote(y)
print(f)
can.be.formula("y ~ x")

Try the spatstat.utils package in your browser

Any scripts or data that you put into this service are public.

spatstat.utils documentation built on Oct. 24, 2023, 9:08 a.m.