Learn R Programming

sparsebnUtils (version 0.0.8)

pick_family: Utility functions

Description

Various utility functions for packages in the sparsebn family

Usage

pick_family(x)

reIndexC(x)

reIndexR(x)

default_max_iters(numnode)

default_alpha()

check_if_matrix(m)

check_if_data_matrix(df)

check_if_complete_data(df)

check_if_numeric_data(df)

check_null(x)

check_na(x)

count_nas(df)

list_classes(li)

auto_generate_levels(df)

auto_count_levels(df)

check_list_class(li, check.class)

check_list_numeric(li)

check_list_names(li, check.names)

col_classes(X)

capitalize(string)

recode_levels(x)

convert_factor_to_discrete(x)

cor_vector_ivn(data, ivn = NULL)

pmatch_numeric(x, table, tol = 0.1)

zero_threshold()

Arguments

x

a compatible object.

numnode

integer number of nodes.

m

a matrix.

df

a data.frame.

li

a list.

check.class

character class name to compare against.

check.names

character names to compare against.

X

a matrix.

string

a character string.

data

a data.frame.

ivn

list of interventions (see sparsebnData).

table

table of values to compare against.

tol

maximum tolerance used for matching.