check_numeric_predictor_matrix {bpcs}R Documentation

Check if all values in the predictor matrix are numeric and not NA. Note that TRUE will be cast to 1 and FALSE will be cast to 0

Description

Check if all values in the predictor matrix are numeric and not NA. Note that TRUE will be cast to 1 and FALSE will be cast to 0

Usage

check_numeric_predictor_matrix(predictor_matrix)

Arguments

predictor_matrix

a predictor matrix generated by the create_predictor_matrix_with_player_lookup_table function

Value

TRUE (correct) or FALSE (with problems)


[Package bpcs version 1.0.0 Index]