sys_CE {sysAgNPs}R Documentation

Calculate the Combination Entropy

Description

Calculate the average value of the probability of surprising level of the presence and absence of a particular category within the specific category to measure the average uncertainty of feature categories.

Usage

sys_CE(data, dataset)

Arguments

data

A dataframe that contains experimental data.

dataset

The dataset used to to calculate the ratio of the number of reporting a certain feature in the AgNPs dataset to the total number of samples.

Value

A dataframe including: 1. the ratio of the number of reporting a certain feature in the AgNPs dataset to the total number of samples; 2. pc:the probability of the feature combination occurring; 3. Hi:the probability of surprising level of the presence and absence of feature combinations to measure the uncertainty of feature combination.

Examples

data(dataset)
users_data <- dataset
CE <- sys_CE(users_data, dataset)

[Package sysAgNPs version 1.0.0 Index]