Internal code to convert predx to JSON friendly representation.

predx_to_json(x)

# S4 method for list
predx_to_json(x)

Arguments

x

a predx object or list of predx objects

Value

A predx object or list of predx objects, with NAs and warning messages for failed conversions.