Convert a dataframe into a vp object

as.vp(data)

Arguments

data

a dataframe created from a VPTS CSV file

Value

a bioRad vp object

Examples

# load vp data as a data.frame:
df <- as.data.frame(example_vp)
# convert the data.frame to a vp object:
as.vp(df)
#> Warning: Extra fields found: day, sunrise, sunset
#>                Vertical profile (class vp)
#> 
#>        radar:  seang 
#>       source:  
#> nominal time:  2015-10-18 18:00:00 
#> generated by: