From 70ef362988211bf315354f54edc64fbc26635b2c Mon Sep 17 00:00:00 2001 From: Kyle Husmann Date: Wed, 6 Mar 2024 12:09:15 -0800 Subject: [PATCH] fix typo --- R/interlace_channels.R | 8 ++++---- man/coalesce_channels.Rd | 6 +++--- man/interlace_channels.Rd | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/R/interlace_channels.R b/R/interlace_channels.R index 109cafa..9cdd8af 100644 --- a/R/interlace_channels.R +++ b/R/interlace_channels.R @@ -1,15 +1,15 @@ -#' Re-interlacce a deinterlaced data frame +#' Re-interlace a deinterlaced data frame #' #' @description #' #' This function will take a deinterlaced data frame and re-interlace it by -#' combining value and misisng reason column pairs into single character +#' combining value and missing reason column pairs into single character #' columns. #' #' @param x A deinterlaced data frame #' -#' @returns An interlaced data frame, that is, a data frame with character columns -#' that contain both values and missing reasons. +#' @returns An interlaced data frame, that is, a data frame with character +#' columns that contain both values and missing reasons. #' #' @export interlace_channels <- function(x) { diff --git a/man/coalesce_channels.Rd b/man/coalesce_channels.Rd index 3814050..24df09e 100644 --- a/man/coalesce_channels.Rd +++ b/man/coalesce_channels.Rd @@ -14,7 +14,7 @@ coalesce_channels( \item{x}{A data frame} \item{missing_reason}{When a variable is missing a value and a missing -reason, the default missing reason to fill in.} +reason, the missing reason to fill in.} \item{keep}{When a variable has both a value and missing reason, choose which to keep. (A properly formed deinterlaced data frame has values OR missing @@ -29,11 +29,11 @@ have both values and missing reasons, or no values and no missing reasons. `coalesce_channels()` takes care of both situations. In the case where there is both a value and missing reason, it will choose which to keep based on the `keep` paramter. In case where no value or missing reason exists, it -will fill the missing reason with the `default_reason` parameter. +will fill the missing reason with the `missing_reason` parameter. Mutations can also create new value columns without companion missing reason columns. In that case, a new missing reason will be created and filled with -`default_reason` wherever there are missing values in the value column. ( +`missing_reason` wherever there are missing values in the value column. ( This behavior can also be used to stub missing reason columns for value-only data frames) } diff --git a/man/interlace_channels.Rd b/man/interlace_channels.Rd index 5e81461..4b773ab 100644 --- a/man/interlace_channels.Rd +++ b/man/interlace_channels.Rd @@ -2,7 +2,7 @@ % Please edit documentation in R/interlace_channels.R \name{interlace_channels} \alias{interlace_channels} -\title{Re-interlacce a deinterlaced data frame} +\title{Re-interlace a deinterlaced data frame} \usage{ interlace_channels(x) } @@ -10,11 +10,11 @@ interlace_channels(x) \item{x}{A deinterlaced data frame} } \value{ -An interlaced data frame, that is, a data frame with character columns -that contain both values and missing reasons. +An interlaced data frame, that is, a data frame with character +columns that contain both values and missing reasons. } \description{ This function will take a deinterlaced data frame and re-interlace it by -combining value and misisng reason column pairs into single character +combining value and missing reason column pairs into single character columns. }