% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Vs30toSID.R
\name{Vs30toSID}
\alias{Vs30toSID}
\title{Convert Vs30 (m/s) to Site Class Identifier}
\usage{
Vs30toSID(Vs30)
}
\arguments{
\item{Vs30}{Numeric vector. One or more Vs30 values in m/s.}
}
\value{
A character vector of the same length as \code{Vs30},
with site class designations.
}
\description{
Given one or more Vs30 values (in m/s), returns a character vector of site
class designations (\code{"A", "B", "BC", "C", "CD", "D", "DE", "E"}). The
classification thresholds are:
\itemize{
\item A: Vs30 >= 1500
\item B: 900 <= Vs30 < 1500
\item BC: 640 <= Vs30 < 900
\item C: 440 <= Vs30 < 640
\item CD: 300 <= Vs30 < 440
\item D: 210 <= Vs30 < 300
\item DE: 150 <= Vs30 < 210
\item E: 0 <= Vs30 < 150
}
}
\examples{
Vs30toSID(1500)  # returns "A"
Vs30toSID(c(120, 790, 3000, 455))
}
