is_numericlog: Test whether a string from a REML log is numeric

Description Usage Arguments Details Value Examples

View source: R/progsf90.R

Description

A numeric string is a text string that contains only numbers that can be expressed in scientific format.

Usage

1

Arguments

x

character vector.

Details

Some alphabetic symbols are expected. For instance, in 1.23E-02. However, while spaces are expected, an empty line is not considered numeric.

Value

logical value.

Examples

1
2
3
breedR:::is_numericlog("  1.23E-02   1  ")
breedR:::is_numericlog("  var   1  ")
breedR:::is_numericlog("   ")

famuvie/breedR documentation built on Sept. 6, 2021, 4:50 a.m.