R/percent.R

Defines functions percent

Documented in percent

#' Returns percent agreement
#' 
#' 
#'  @name percent
#' @param data dataframe with ratings
#' @rdname percent

#' @export
percent <- function(data){
  suppressMessages(library(agree))
 a <-  irr::agree(data)
 paste(round(a$value,0), "%", sep = "")
}
awconway/agree documentation built on Nov. 3, 2019, 2:04 p.m.