aide: aide, small and simple functions to help out.

Description Usage Arguments

Description

Simple utility functions that help with data analysis.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
med(x, digits = 1)

iqr(x, digits = 1)

correlate(x, y, digits = 2, method = "pearson", use = "complete.obs")

med_iqr(x, digits = 1)

average(x, digits = 1)

stddev(x, digits = 1)

ave_sd(x, digits = 1)

tertile(x)

min_max(x, digits = 1)

format_round(x, digits = 1)

format_pval(x, digits = 3)

Arguments

x

Vector of values.

digits

Number of decimal places for the output.

y

Vector of values.

method

a character string indicating which correlation coefficient (or covariance) is to be computed. One of "pearson" (default), "kendall", or "spearman": can be abbreviated.

use

an optional character string giving a method for computing covariances in the presence of missing values. This must be (an abbreviation of) one of the strings "everything", "all.obs", "complete.obs", "na.or.complete", or "pairwise.complete.obs".


lwjohnst86/aide documentation built on May 21, 2019, 9:03 a.m.