generate_unit {iBART}R Documentation

A helper function to generate unit for iBART input

Description

A helper function to generate unit for iBART input

Usage

generate_unit(unit, dimension)

Arguments

unit

A vector of unit of the primary features. For example, unit <- c("cm", "s"). Then the unit of x1 is centimeter and the unit of x2 is second.

dimension

A vector of dimension of the units. For example, unit <- c("cm", "s") and dimension <- c(2, 1) mean that the unit of x1 is square centimeter and the unit of x2 is second.

Value

A list that contains unit and dimension information.


[Package iBART version 1.0.0 Index]