Package-level declarations

Types

Link copied to clipboard
abstract class AbstractBiMap<K : Any, V : Any> : MutableBiMap<K, V>
Link copied to clipboard
interface BiMap<K : Any, V : Any> : Map<K, V>
Link copied to clipboard
class DataMap(val arraySize: Int, map: MutableMap<String, DoubleArray> = mutableMapOf()) : MutableMap<String, DoubleArray>

A DataMap represents named arrays that have the same size. By construction, the map must have arrays of the same length.

Link copied to clipboard
class HashBiMap<K : Any, V : Any>(capacity: Int = 16) : AbstractBiMap<K, V>
Link copied to clipboard
object KSLMaps
Link copied to clipboard
interface MutableBiMap<K : Any, V : Any> : BiMap<K, V> , MutableMap<K, V>
Link copied to clipboard
data class ObservationDataDb(var id: Int = obsCounter++, var context: String? = null, var subject: String? = null, var response: String = "", var obsNum: Int = -1, var obsValue: Double = Double.NaN) : DbTableData

Functions

Link copied to clipboard

Converts the observation data to a data frame

Link copied to clipboard

Computes the box plot summaries for the data within the map

Link copied to clipboard

Computes the confidence intervals for the data in the map

Link copied to clipboard

The map of arrays is considered rectangular if all arrays in the map have the same number of elements (same size).

Link copied to clipboard

The size of the array that has maximum size. If empty the array size is 0.

Link copied to clipboard

The size of the array that has the minimum size. If empty the array size is 0.

Link copied to clipboard

Computes the statistical summaries for the data within the map

Link copied to clipboard

Converts the data map to a 2-D array. The values of the map are extracted

Link copied to clipboard
Link copied to clipboard
fun <T : Any> toMap(obj: T): Map<String, Any?>

Can be used to convert an object of a data class to a map. https://www.baeldung.com/kotlin/data-class-to-map

Link copied to clipboard

Converts the inner DoubleArray to List

Can be used to convert an object of a data class to a map. https://www.baeldung.com/kotlin/data-class-to-map

Link copied to clipboard
fun Map<String, DoubleArray>.toObservationData(tableName: String = "tblObservations", context: String? = null, subject: String? = null): List<ObservationDataDb>

Converts the data map to a long format view of the observations.