Skip to contents

An Individual building block. Subclass of BuildingBlock that exposes the demographic properties of the underlying individual as read-only fields (species, population, gender, age, gestational age, height, weight).

Super classes

rSharp::NetObject -> DotNetWrapper -> ObjectBase -> BuildingBlock -> IndividualBuildingBlock

Active bindings

species

Species of the individual. Read-only.

population

Population of the individual. May be NULL for non-human species. Read-only.

gender

Gender of the individual. Read-only.

age

Age of the individual. Read-only.

gestationalAge

Gestational age of the individual. Read-only.

height

Height of the individual. Read-only.

weight

Weight of the individual. Read-only.

Methods

Inherited methods


IndividualBuildingBlock$new()

Initialize a new instance of the class. Origin-data values are read once from the underlying object and cached on the R6 instance; subsequent field access does not call back into the simulation engine.

Usage

Arguments

netObject

Reference to the underlying Individual building block.

Returns

A new IndividualBuildingBlock object.


IndividualBuildingBlock$print()

Print the object to the console.

Usage

IndividualBuildingBlock$print(...)

Arguments

...

Rest arguments.