is.numeric.contents: Test if contents of vector or factor are numeric values.

Description Usage Arguments Details Value Author(s) See Also

View source: R/merge_utils.R

Description

Test if contents of vector or factor are numeric values.

Usage

1
2
## S3 method for class 'contents'
is.numeric(x)

Arguments

x

Details

Unlike is.character this works with factors, and will also return TRUE if the contents are strings containing only numbers.

Value

TRUE or FALSE

Author(s)

Ben Veal

See Also

contents, is.character.contents, is.logical.contents


vapniks/mergeutils documentation built on May 3, 2019, 4:33 p.m.