data.file-set: set data file of a 'BNDataset'.

Description Usage Arguments See Also

Description

Set the data filename of a dataset (with the path to its position, as given by the user). The data filename may contain a header in the first row, containing the list of names of the variables, in the same order as in the header file. After the header, if present, the file contains a data.frame with the observations, one item per row.

Usage

1
2
3
4
data.file(x) <- value

## S4 replacement method for signature 'BNDataset'
data.file(x) <- value

Arguments

x

a BNDataset.

value

data filename.

See Also

header.file<-


bnstruct documentation built on July 2, 2020, 2:26 a.m.