ffsuitable: Test ff object for suitability

Description Usage Arguments Value Note Author(s) See Also

Description

ffsuitable tests whether FF_RETURN is an ff object like FF_PROTO and having attributes FF_ATTR.

Usage

1
2
3
ffsuitable(FF_RETURN, FF_PROTO = NULL, FF_ATTR = list()
, strict.dimorder = TRUE, fail = "warning")
ffsuitable_attribs(x)

Arguments

x

an object from which to extract attributes for comparison

FF_RETURN

the object to be tested for suitability

FF_PROTO

the prototype object which FF_RETURN should match

FF_ATTR

a list of additional attributes dominating those from FF_PROTO

strict.dimorder

if TRUE ffsuitability requires that the dimorders are standard (ascending)

fail

name of a function to be called if not ffsuitable (default warning)

Value

TRUE if FF_RETURN object is suitable, FALSE otherwise

Note

xx Work in progress for package R.ff

Author(s)

Jens Oehlschlägel

See Also

ffconform, ffreturn


OHDSI/ff documentation built on May 7, 2019, 8:30 p.m.