get_dimvisible: Get dim_visible from supplied data

View source: R/get_dimvisible.R

get_dimvisibleR Documentation

Get dim_visible from supplied data

Description

Internal function to determine the dimension of supplied discrete data

Usage

get_dimvisible(data, max_dim = 31)

Arguments

data

Data provided by user. For biocorex data can either be continuous (gaussian) or discrete (consectutive integers 0, 1, 2, 3...etc). Data types cannot by mixed in this implementation.

max_dim

Sets the maximum dimension allowed for discrete data. Default = 31

Details

This function determines the dimension of unique values in the supplied data.

Value

An integer that represents the dimension of unique values in the discrete data.


jpkrooney/rcorex documentation built on July 25, 2022, 1:37 a.m.