Ismail SEZEN
2017-Mar-25 17:42 UTC
[R] Need class/object type advice to store a particular data structure
Hello Everyone, I have a particular data structure and need your advice what would be the best class/object type to store this kind of a data. In summary, data is consist of a time series of vertical observations of more than one variables. Observations are made at a particular latitude/longitude location. Hence, I may have observation locations more than one. In detail, imagine a list of data.frames and each data.frame contains 7 columns and variable number of rows. Rows represent the vertical coordinate meaning height from surface. Columns are observed variables. Each list of data.frame is belong to a single measurement location that has a latitude and longitude. So, this is a time series of data.frames but number of rows might change. Is there a class to store this kind of data, for instance, such as SpatialPoints, SPatialPointsDataFrame or RasterStack or Raster object? I?m asking this question, because I want to take advantage of a ready class for statistical calculations. Thanks in advance; Ismail SEZEN
Bert Gunter
2017-Mar-25 20:10 UTC
[R] Need class/object type advice to store a particular data structure
Can't personally help, but I assume you've checked out the CRAN "Spatial" task view, right? https://cran.r-project.org/web/views/Spatial.html Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sat, Mar 25, 2017 at 10:42 AM, Ismail SEZEN <sezenismail at gmail.com> wrote:> Hello Everyone, > > I have a particular data structure and need your advice what would be the best class/object type to store this kind of a data. > > In summary, data is consist of a time series of vertical observations of more than one variables. Observations are made at a particular latitude/longitude location. Hence, I may have observation locations more than one. > > In detail, imagine a list of data.frames and each data.frame contains 7 columns and variable number of rows. Rows represent the vertical coordinate meaning height from surface. Columns are observed variables. Each list of data.frame is belong to a single measurement location that has a latitude and longitude. > > So, this is a time series of data.frames but number of rows might change. Is there a class to store this kind of data, for instance, such as SpatialPoints, SPatialPointsDataFrame or RasterStack or Raster object? > > I?m asking this question, because I want to take advantage of a ready class for statistical calculations. > > Thanks in advance; > > Ismail SEZEN > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Bert Gunter
2017-Mar-25 20:12 UTC
[R] Need class/object type advice to store a particular data structure
... or, better yet, the SpatioTemperal task view ... https://cran.r-project.org/web/views/SpatioTemporal.html Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sat, Mar 25, 2017 at 1:10 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:> Can't personally help, but I assume you've checked out the CRAN > "Spatial" task view, right? > > https://cran.r-project.org/web/views/Spatial.html > > Cheers, > Bert > > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Sat, Mar 25, 2017 at 10:42 AM, Ismail SEZEN <sezenismail at gmail.com> wrote: >> Hello Everyone, >> >> I have a particular data structure and need your advice what would be the best class/object type to store this kind of a data. >> >> In summary, data is consist of a time series of vertical observations of more than one variables. Observations are made at a particular latitude/longitude location. Hence, I may have observation locations more than one. >> >> In detail, imagine a list of data.frames and each data.frame contains 7 columns and variable number of rows. Rows represent the vertical coordinate meaning height from surface. Columns are observed variables. Each list of data.frame is belong to a single measurement location that has a latitude and longitude. >> >> So, this is a time series of data.frames but number of rows might change. Is there a class to store this kind of data, for instance, such as SpatialPoints, SPatialPointsDataFrame or RasterStack or Raster object? >> >> I?m asking this question, because I want to take advantage of a ready class for statistical calculations. >> >> Thanks in advance; >> >> Ismail SEZEN >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code.