Convert legacy bioRad objects (vp, vpts) and make them compatible with the current bioRad version. Conversion includes renaming HGHT to height.

convert_legacy(x)

# S3 method for vp
convert_legacy(x)

# S3 method for vpts
convert_legacy(x)

Arguments

x

A vp or vpts object.

Value

An updated object of the same class as the input.

Examples

# Convert a vp object
vp <- convert_legacy(example_vp)

# Convert a vpts object
vpts <- convert_legacy(example_vpts)