Format an Idf object.
# S3 method for class 'Idf'
format(
x,
comment = TRUE,
header = TRUE,
format = eplusr_option("save_format"),
leading = 4L,
sep_at = 29L,
...
)
An Idf object.
If FALSE
, all comments will not be included. Default: TRUE
.
If FALSE
, the header will not be included. Default: TRUE
.
Specific format used when formatting. For details, please see
$save()
. Default: eplusr_option("save_format")
Leading spaces added to each field. Default: 4L
.
The character width to separate value string and field string.
Default: 29L
which is the same as IDF Editor.
Further arguments passed to or from other methods.
A single length string.
if (FALSE) { # \dontrun{
idf_path <- system.file("extdata/1ZoneUncontrolled.idf", package = "eplusr")
cat(format(read_idf(idf_path, use_idd(8.8, "auto")), leading = 0))
} # }