nbasis | R Documentation |
Retrieve the number of basis functions from Basis
or SRE
object.
nbasis(.Object)
## S4 method for signature 'Basis_obj'
nbasis(.Object)
## S4 method for signature 'SRE'
nbasis(.Object)
.Object |
object of class |
auto_basis
for automatically constructing basis functions.
library(sp)
data(meuse)
coordinates(meuse) = ~x+y # change into an sp object
G <- auto_basis(manifold = plane(),
data=meuse,
nres = 2,
regular=1,
type = "Gaussian")
print(nbasis(G))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.