has.raw.data: check if a BNDataset contains raw data.

Description Usage Arguments See Also Examples

Description

Check whether a BNDataset object actually contains raw data.

Usage

1
2
3
4
has.raw.data(x)

## S4 method for signature 'BNDataset'
has.raw.data(x)

Arguments

x

a BNDataset.

See Also

has.imputed.data, raw.data, imputed.data

Examples

1
2
3
4
5
6
7
8
## Not run: 
x <- BNDataset()
has.raw.data(x) # FALSE

x <- read.dataset(x, "file.header", "file.data")
has.raw.data(x) # TRUE, since read.dataset() actually reads raw data.

## End(Not run)

tavazzie/bnstructScore documentation built on Dec. 23, 2021, 7:47 a.m.