| sominp | R Documentation |
sominp transforms the data set from data.table to
somsp format, which can be used as argument in the somspa function.
sominp(x)
x |
The |
x should be in tidy format
with four columns: time, latitude, longitude and variable.
A sominp object. It contains:
a matrix that can be used as input for the som function of
the kohonen package.
a data.table with the with spatial point coordinates and a corresponding id.
a data.table with the original dataset.
somspa
dummy <- owda[Time <= 1510]
inp_som <- sominp(dummy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.