Skip to contents

Given one or more Vs30 values (in m/s), returns a character vector of site class designations ("A", "B", "BC", "C", "CD", "D", "DE", "E"). The classification thresholds are:

  • A: Vs30 >= 1500

  • B: 900 <= Vs30 < 1500

  • BC: 640 <= Vs30 < 900

  • C: 440 <= Vs30 < 640

  • CD: 300 <= Vs30 < 440

  • D: 210 <= Vs30 < 300

  • DE: 150 <= Vs30 < 210

  • E: 0 <= Vs30 < 150

Usage

Vs30toSID(Vs30)

Arguments

Vs30

Numeric vector. One or more Vs30 values in m/s.

Value

A character vector of the same length as Vs30, with site class designations.

Examples

Vs30toSID(1500)  # returns "A"
#> [1] "A"
Vs30toSID(c(120, 790, 3000, 455))
#> [1] "E"  "BC" "A"  "C"