kinda: Kinda functions

Description Usage Arguments Details

Description

kinda.<type>(x) returns whether 'x' can be coerced without error or warning to <type> using as.<type>(x).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

Arguments

x

An R object.

FUN

A function of the form as.<type> (e.g. as.logical, as.matrix) that tries to coerce x to <type>.

Details

Be careful using these! Make sure they're doing exactly what you expect, as some functions are pretty lenient in their coercion.


eheinzen/Ethan documentation built on May 3, 2019, 4:32 p.m.