describe_pheno: Describe symptom combinations in sample

describe_phenoR Documentation

Describe symptom combinations in sample

Description

Describes basic information about the distribution of the symptom combinations frequency. Uses the frequency calculated with the pheno_frequency() function.

Usage

describe_pheno(data, frequency = "freq")

Arguments

data

a dataframe or matrix

frequency

column indicating symptom combinations frequency, default = "freq"

Value

a matrix indicating the number of unique symptom combinations the frequency of the most common symptom combinations the median frequency of all symptom combinations

Examples

## Not run: 
desc_pheno <- describe_pheno(data_frequency, frequency = "freq")
desc_pheno

## End(Not run)

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