View source: R/get_dimvisible_byvar.R
get_dimvisible_byvar | R Documentation |
Internal function to determine the dimension of supplied discrete by column
get_dimvisible_byvar(data, marginal_description)
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. |
marginal_description |
Character string which determines the marginal distribution of the data. Should be of length equal to the number of variables in data. get_dimvisible_byvar() calculates the dimension when the marginal_description = 'discrete' |
This function determines the dimension of unique values in the supplied data for each column in the supplied data frame, if the marginal description = discrete for a given variable.
An integer that represents the dimension of unique values in the discrete data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.