edf.char.to.num: Convert string to a numeric.

Description Usage Arguments Value Examples

Description

This function removes spaces from a string and converts it to a numeric. This is required when reading EDF data, since the data fields in the header are of fixed size, and extra whitespace must hence be trimmed.

Usage

1

Arguments

s

The string to be converted

Value

A numeric.

Examples

1
2
s <- "123   "
edf:::edf.char.to.num(s)

bwrc/edf documentation built on May 13, 2019, 9:14 a.m.