c_scores: Estimate conflict scores for n subjects

View source: R/c_scores.r

c_scoresR Documentation

Estimate conflict scores for n subjects

Description

Estimate conflict scores for n subjects

Usage

c_scores(
  subjects,
  c_nmst = c(n, mu, sigma, tau),
  nc_nmst = c(n, mu, sigma, tau)
)

Arguments

subjects

A number for the number conflict scores to generate

c_nmst

A vector containing the parameters for from an ex-gaussian distribution, c(n, mu, sigma, tau), where n is the number of trials.

nc_nmst

A vector containing the parameters for sampling from an ex-gaussian distribution, c(n, mu, sigma, tau), where n is the number of trials.

Details

This function creates simulated conflict scores for n number of subjects. This is a wrapper for c_score, which creates a single conflict score.

Value

A simulated conflict score for one subject

Examples

c_scores(subjects=50,
        c_nmst= c(n=10, mu=600, sigma=100, tau=100),
        nc_nmst= c(n=10, mu=500, sigma=100, tau=100))

CrumpLab/conflictPower documentation built on May 17, 2022, 5:48 a.m.