#' Convert Kilometers to Nautical Miles
#'
#' Convert kilometers (km) to nautical miles (nm).
#'
#' @param km Values in kilometers.
#' @export
km2nm <-
function(km) {
#1.852 km per nm
km/1.852
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.