is_converted_data_list: Test data set

Description Usage Arguments Value See Also Examples

Description

Tests whether x is converted data that can be input into JAGS, WinBUGS or OpenBUGS.

Usage

1

Arguments

x

the object to test

Value

A flag (logical scalar) indicating whether converted data

See Also

is_convertible_data and convert_data

Examples

1
2
3
4
5
is_converted_data_list(trees)
is_converted_data_list(convert_data(trees))
is_converted_data_list(list(x = 1:10, y = 0.33, z = matrix(1:9, ncol = 3)))
is_converted_data_list(list(x = 1:10, y = 0.33, z = matrix(1:9, ncol = 3)))
is_converted_data_list(list(x = factor(1:10), y = 0.33, z = matrix(1:9, ncol = 3)))

poissonconsulting/jaggernaut documentation built on Feb. 18, 2021, 11:10 p.m.