Description Usage Arguments Details Value Author(s) See Also Examples
fourier_2d()
and polynomial_2d()
creates a list
of basis
functions to be used as the fixed effect in fit_ghm
.
1 2 3 | fourier_2d(max_freqs, lattice_dim)
polynomial_2d(poly_deg, lattice_dim)
|
max_freqs |
A length 2 numeric vector with maximum frequencies considered (x-axis and y-axis direction, respectively). |
lattice_dim |
A length 2 numeric vector with lattice dimensions (N,M) to be used. |
poly_deg |
A length 2 numeric vector with degrees of the bivariate polynomial to be considered. |
fourier_2d()
is for 2-dimensional Fourier transform.
A list
of functions.
Victor Freguglia
A paper with detailed description of the package can be found at doi: 10.18637/jss.v101.i08.
1 2 | fourier_2d(c(10,10), dim(Z_potts))
polynomial_2d(c(3,3), dim(Z_potts))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.