sdols (version 1.3)

scalaConvert.featureAllocation: (Developers Only:) Convert Between R and Scala Representations of Feature Allocations

Description

This function is not intended for end users, but is exported for the benefit of developers whose wish to write other packages that depend on this package.

Usage

scalaConvert.featureAllocation(x, names = NULL, withParameters = TRUE)

Arguments

x

Either: i. a binary matrix or list of binary matrices encoding feature allocation(s). ii. a Scala reference to a feature allocation or an array of Scala references to feature allocations.

names

A character vector giving the row names when converting from Scala to R.

withParameters

A logical indicating whether model parameters should also be converted.