All functions

all_chr_to_factor()

!! Convert all character variables to factors

biostat

A Collection of Functions for Biostatistics and Biometry Lectures

bs_freq_table_cont() pander(<bs_freq_table_cont>)

Frequency table for continuous data

ci_mean_boot()

Basic nonparametric bootstrap confidence interval of mean

ci_mean_t()

t-distribution based confidence interval of mean

coef_standardized() print(<lm_beta>) summary(<lm_beta>) print(<lm_beta_summary>)

!! Compute Standardized Regression Coefficients

standardized_coef()

Deprecated functions in biostat package

do_corr() print(<do_corr>) pander(<do_corr>)

do_corr

do_summary() print(<num_summaries>)

Do numerical summaries by groups

format_numbers()

Format values of numeric columns in a dataframe.

format_p_values() format_p() add_signif_stars() get_signif_stars() signif_syms_05s p05 signif_syms_01s p01 signif_syms_001s p001 signif_syms_001 signif_syms_01 signif_syms_05 signif_syms p05_01_001 p05plus signif_stars_legend_2() signif_stars_legend() rm_zero() format_as_p_columns()

!!! Format p-values

gg_boxplot_plus()

!! A boxplot with additional components

head_tail()

!! Show several first and last rows of a data frame

is_unique() is_not_inique()

Test which values are/are not unique in a vector

make_cld()

Make a compact letter display (cld) for pair-wise comparison

make_relative_path()

!!!

objects_of_class()

List objects of a certain class.

parse_formula()

Parse model formula.

posthoc_anova() print(<posthoc_anova>) plot(<posthoc_anova>)

!! Post-hoc tests for ANOVA and Welch ANOVA

qq_data() coef(<qqdata>) plot(<qqdata>)

!! Compute data for a qq-plot

qq_plot()

!! A QQ-plot for multiple groups

scale_vector()

Scale a vector

standardize_path()

Standardize string with path

stat_normal_density()

A ggplot2 layer that fits and plots normal density function

q1() q3() n_missing() n_ok() n_nonmissing() iqv()

!! Descriptive statistics

test_normality() print(<test_normality>) pander(<test_normality>)

Normality tests by groups

tidy_ggedit_code()

Extract and tidy code from ggedit object.

trim()

Trim certain proportion of the most extreme values