as.character.IddObject {eplusr}R Documentation

Coerce an IddObject into a Character Vector

Description

Coerce an IddObject into an empty object of current class in a character vector format. It is formatted exactly the same as in IDF Editor.

Usage

## S3 method for class 'IddObject'
as.character(x, comment = NULL, leading = 4L, sep_at = 29L, all = FALSE, ...)

Arguments

x

An IddObject object.

comment

A character vector to be used as comments of returned string format object. If NULL, no comments are inserted. Default: NULL.

leading

Leading spaces added to each field. Default: 4.

sep_at

The character width to separate value string and field string. Default: 29 which is the same as IDF Editor.'

all

If TRUE, all fields in current class are returned, otherwise only minimum fields are returned.

...

Further arguments passed to or from other methods.

Value

A character vector.

Examples

## Not run: 
as.character(use_idd(8.8, download = "auto")$Materal, leading = 0)

## End(Not run)


[Package eplusr version 0.16.2 Index]