Subsetting

In research communities (for example, earth sciences, astronomy, business, and government), subsetting is the process of retrieving just the parts (a subset) of large files which are of interest for a specific purpose. This occurs usually in a client—server setting, where the extraction of the parts of interest occurs on the server before the data is sent to the client over a network. The main purpose of subsetting is to save bandwidth on the network and storage space on the client computer.

Subsetting may be favorable for the following reasons:[1]

  • restrict or divide the time range
  • select cross sections of data
  • select particular kinds of time series
  • exclude particular observations

Subsetting within programs

You can subset within statistical software programs to help speed up the process of subsetting if needed. There are many different types of subsetting that can provide challenges with using software programs though.

Some types of subsetting are:

  • Atomic Vectors
  • Lists
  • Matrices and Arrays
  • Data Frames
  • S3 Objects
  • S4 Objects

For example, in the software program R as, there are different types of code to help with each type of subsetting.

References

  1. SAS Institute (1 August 2012). SAS/ETS 12.1 User's Guide. SAS Institute. p. 70. ISBN 978-1-61290-379-8.

[1]

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.