R/aaa.R

# to avoid 'no visible binding for global variable' NOTE
globalVariables(c(
  ".", "n", "se", "me", "Freq", "ci", "col1", "n",
  "y", "parameter", "variable", "dec", "df1", "df2", "lambda",
  "lb", "meanlog", "p_elb", "p_eub", "p_int", "p_lb", "p_lelb",
  "p_leub", "p_ub", "plb", "pub", "rate", "sdlog", "stdev",
  "ub", "v", "v_lb", "v_ub", "vlb", "vp_elb", "vp_eub", "vp_int",
  "vp_lb", "vp_lelb", "vp_leub", "vp_ub", "vub", "n_miss"
))

#' radiant.basics
#'
#' @name radiant.basics
#' @import radiant.data shiny ggplot2
#' @importFrom dplyr mutate_all mutate_if summarise_all summarise_at funs rename bind_cols select filter group_by_at summarise arrange mutate count left_join
#' @importFrom tidyr gather spread
#' @importFrom scales percent
#' @importFrom magrittr %>% %<>% set_rownames set_colnames set_names divide_by
#' @importFrom graphics pairs par points strwidth text
#' @importFrom patchwork wrap_plots plot_annotation
#' @importFrom stats na.omit binom.test chisq.test cor.test cov dbinom dchisq dexp df dnorm dpois dt dunif p.adjust pbinom pchisq pexp pf pnorm ppois prop.test pt punif qbinom qchisq qexp qf qpois qt qunif qnorm rbinom dlnorm plnorm qlnorm relevel sd setNames symnum t.test wilcox.test
#' @importFrom utils combn
#' @importFrom import from
NULL

#' Newspaper readership
#' @details Newspaper readership data for 580 consumers. Description provided in attr(newspaper,"description")
#' @docType data
#' @keywords datasets
#' @name newspaper
#' @usage data(newspaper)
#' @format A data frame with 580 rows and 2 variables
NULL

#' Car brand consideration
#' @details Survey data of consumer purchase intentions. Description provided in attr(consider,"description")
#' @docType data
#' @keywords datasets
#' @name consider
#' @usage data(consider)
#' @format A data frame with 1000 rows and 2 variables
NULL

#' Demand in the UK
#' @details Survey data of consumer purchase intentions. Description provided in attr(demand_uk,"description")
#' @docType data
#' @keywords datasets
#' @name demand_uk
#' @usage data(demand_uk)
#' @format A data frame with 1000 rows and 2 variables
NULL

#' Salaries for Professors
#' @details 2008-2009 nine-month salary for professors in a college in the US. Description provided in attr(salary,description")
#' @docType data
#' @keywords datasets
#' @name salary
#' @usage data(salary)
#' @format A data frame with 397 rows and 6 variables
NULL
radiant-rstats/radiant.basics documentation built on Jan. 19, 2024, 12:14 p.m.