Learn R Programming

genpwr (version 1.0.1)

as.numeric2: Function to convert to numeric with scientific notation containing the "." character

Description

convert to numeric with scientific notation containing the "." character

Usage

as.numeric2(char)

Arguments

char

string to be converted to numeric

Value

a number

Examples

Run this code
# NOT RUN {
as.numeric2("2e.2")

# }

Run the code above in your browser using DataLab