This function computes design matrix induced by multi-scale SBF's for ridge regression.

1 | ```
gg.comp(site1, site2, ssite1, ssite2, snet, seta, lam)
``` |

`site1` |
latitudes of observation sites in radian |

`site2` |
longitudes of observation sites in radian |

`ssite1` |
latitudes of observation sites in radian used in least squares method |

`ssite2` |
longitudes of observation sites in radian used in least squares method |

`snet` |
vector of labels representing sub-networks |

`seta` |
bandwidth parameters for Poisson kernel |

`lam` |
smoothing parameter for ridge regression |

`gg` |
design matrix induced by multi-scale SBF's for ridge regression. |

Oh, H-S. (1999) Spherical wavelets and their statistical analysis with applications to meteorological data. Ph.D. Thesis, Department of Statistics, Texas A\&M University, College Station.

Li, T-H. (1999) Multiscale representation and analysis of spherical data by spherical wavelets.
*SIAM Journal on Scientific Computing*, **21**, 924–953.

`lscoef.comp`

, `gg.comp`

, `ridge.comp`

.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.