From b1cfd371047e9fb8af25ad38eebc21e92851b6d8 Mon Sep 17 00:00:00 2001 From: ZAYED Date: Thu, 10 Oct 2024 15:51:53 +0100 Subject: [PATCH] started this function but need more clarification before moving forward --- R/z_replace.R | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 R/z_replace.R diff --git a/R/z_replace.R b/R/z_replace.R new file mode 100644 index 0000000..ff9b219 --- /dev/null +++ b/R/z_replace.R @@ -0,0 +1,22 @@ +#' Replaces NA values +#' +#' @description +#' Replaces NA values in data frames except for time and location columns +#' +#' @details + +#' +#' @param table_name name of the table that you want to replace NA values in +#' @param replacement_alt optional - if you want the NA replacement value to be different to "z" +#' +#' @return table with "z" instead of NA values +#' @export +#' @examples + + +z_replace <- function(table_name,replacement_alt){ + + + + +}