Learn R Programming

lares (version 4.7)

deg2num: Convert from degrees to numeric coordinates

Description

This function converts degrees (DMS) coordinates into numerical. Note that the sign (S or W) should be assigned manually if needed.

Usage

deg2num(coord, sep = " ")

Arguments

coord

Character vector. Cooridnate in format c("DD MM SS")

sep

Character. Separator

See Also

Other Calculus: ROC, conf_mat, corr, dist2d, errors, loglossBinary, mae, mape, model_metrics, mse, quants, rmse, rsqa, rsq