plot_pheno: Plot symptom combinations

plot_phenoR Documentation

Plot symptom combinations

Description

plot_pheno plots the frequency of each unique symptom combinations in the sample in descending order

Usage

plot_pheno(data, frequency = "freq", n_phenotypes = 100, color = "grey26")

Arguments

data

a dataframe or matrix

frequency

column indicating symptom combination frequency, default = "freq"

n_phenotypes

The number of symptom combinations plotted, default = 100

color

The color of the symptom combinations

Value

a plot

Examples

## Not run: 
fig1 <- plot_pheno(data_frequency, frequency = "freq", n_phenotypes = 100, color = "grey26")
fig1

## End(Not run)

orduek/PsychPower documentation built on Oct. 25, 2023, 7:36 a.m.