Learn R Programming

bpcs (version 1.0.0)

check_if_there_are_na: Check for NA in the specfic columns and returns T or F is there is at least 1 NA in those columns

Description

Check for NA in the specfic columns and returns T or F is there is at least 1 NA in those columns

Usage

check_if_there_are_na(
  d,
  player0,
  player1,
  player0_score = NULL,
  player1_score = NULL,
  result_column = NULL
)

Arguments

d

a data frame

player0

the name of column for player0

player1

the name of column for player1

player0_score

the name of column for player0 scores

player1_score

the name of column for player1 scores

result_column

the name of column for results

Value

TRUE (there are NA) or FALSE (no NA)