probability_samples: Calculates the probability of obtaining these samples.

Description Usage Arguments Details Value Examples

View source: R/helper_RGCCA.R

Description

Given a data.frame with categories it looks how probable is to have such a sample

Usage

1

Arguments

meta

The data.frame where each column is a variable and the row is a sample

Details

If a row for a variable is NA it uses the median for that variable

Value

A numeric vector with the probability for each sample.

Examples

1
probability_samples(iris[, c("Petal.Width", "Species")])

llrs/integration-helper documentation built on Sept. 24, 2021, 10:57 a.m.