Description Usage Arguments Details Value
View source: R/Datagenerator.R
Datagenerator
is used to generate samples on horseshoe domain for Scenario 1 (Gaussian), Scenario 2 (Poisson), and Scenario 3 (negative binomial).
1 | Datagenerator(family, grid = 0.005)
|
family |
The family object, specifying the distribution and link to use. Choose "gaussian" for Gaussian distribution, "poisson" for poisson distribution, and "nb_bps" for negative binomial distribution.
|
grid |
The distance between grid points – default is set to 0.005.
|
This R package is the implementation program for manuscript entitled "Generalized Spatially Varying Coefficinet Models" by Myungjin Kim and Li Wang.
A data matrix with a response ('y'), true coefficient functions ('m1' and 'm2'), covariates ('x1' and 'x2'), and locations ('u' and 'v').
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.