MetStaT.ConvertToNumeric: Converts a matrix of strings to numeric values

Description Usage Arguments Value Author(s)

Description

This function takes a matrix containing string values and converts them to numeric values wherever possible. Strings of value "na" (case insensitive) are converted to NA without giving a warning. Uninterpretable strings also result in a NA value, but do generate a warning.

Usage

1

Arguments

matrix

a matrix of string values.

Value

A numerical matrix is returned.

Author(s)

Tim Dorscheidt


MetStaT documentation built on May 2, 2019, 1:45 p.m.