| minus_mfd | R Documentation |
Subtracts two objects of class mfd (elementwise on their coefficient arrays).
The same basis, variable-count, and observation-replication rules as in
plus_mfd apply. If mfdobj2 is missing, returns the
unary negation of mfdobj1.
minus_mfd(mfdobj1, mfdobj2)
## S3 method for class 'mfd'
mfdobj1 - mfdobj2
mfdobj1, mfdobj2 |
Objects of class |
An object of class mfd with coefficients equal to the (possibly
replicated) difference mfdobj1 - mfdobj2, or the negation of
mfdobj1 for unary minus.
plus_mfd, nobs, nbasis, nvar, mfd
# mfdobj_a - mfdobj_b
# minus_mfd(mfdobj_a, mfdobj_b)
# Unary minus:
# -mfdobj_a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.