# Check if an object is of class vpts
is.vpts(example_vpts)
# Get summary info
example_vpts # Same as summary(example_vpts) or print(example_vpts)
# Get dimensions
dim(example_vpts)
# The example vpts contains 1934 profiles (i.e. datetimes)
dim(example_vpts)
# Subset vpts to extract 10th profile
example_vpts[10] # A vp object
# Subset vpts to extract the 20th to 100th profile
example_vpts[20:100] # A vpts object with 81 profiles
# Subset vpts to remove the first 10 profiles
example_vpts[-1:-10] # A vpts object with 10 less profiles
Run the code above in your browser using DataLab