Showing 2 of 40 files from the diff.
Other files ignored by Codecov
NAMESPACE has changed.
_pkgdown.yml has changed.

@@ -170,3 +170,28 @@
Loading
170 170
	.data %>% 
171 171
		dplyr::rename(.labels2)
172 172
}
173 +
174 +
175 +
176 +
#' Labels to level
177 +
#' 
178 +
#' For use with forcats::fct_relabel.
179 +
#'
180 +
#' @param .data Data frame or tibble.
181 +
#' @param .labels Output from \code{extract_variable_label}.
182 +
#'
183 +
#' @return Data frame or tibble
184 +
#' @export
185 +
#'
186 +
#' @examples
187 +
#' library(dplyr)
188 +
#' vlabels = extract_variable_label(colon_s)
189 +
#' colon_s %>%
190 +
#'  select(sex.factor, obstruct.factor) %>% 
191 +
#'  tidyr::gather() %>% 
192 +
#'  mutate(
193 +
#'   key = forcats::fct_relabel(key, labels_to_level, vlabels)
194 +
#'  )
195 +
labels_to_level <- function(.data, .labels){
196 +
	.labels[.data] 
197 +
}

@@ -43,8 +43,7 @@
Loading
43 43
#' out
44 44
#'
45 45
#' # Select a tibble and expand
46 -
#' out$counts[[9]] %>%
47 -
#'   print(n = Inf)
46 +
#' out$counts[[9]]
48 47
#' # Note this variable (node4) appears miscoded in original dataset survival::colon.
49 48
#' 
50 49
#' # Choose to only include variables that you actually use. 
Files Coverage
R 82.59%
Project Totals (39 files) 82.59%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
    patch:
10
      default:
11
        target: auto
12
        threshold: 1%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading