tie_sim: Tie Simulation Function

Description Usage Arguments Value

View source: R/tie_sim.R

Description

The tie_sim function starts a simulation of item pairings and introduces random pairs for the remaining combinations. In parallel, the intransitivity of triple pairings can be calculated to estimate their position quality. Good transitiviy and massed localization in a position will improve the Likelihood of a good fit for the item.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
tie_sim(
  xdata = NULL,
  R = 2,
  RF = "img1",
  CF = "img2",
  id = "ID",
  RV = "pref_img1",
  intrans = TRUE,
  compstudy = "LagreValenceRange_SpringSchool",
  default = "War",
  cpus = 2,
  ord = NULL,
  v1 = NULL
)

Arguments

xdata

imported (binarized) data frame

R

No. of randomization steps

RF

name of the reference fluid variable

CF

name of the combination fluid variable

id

subject IDs

RV

name of the response variable

intrans

calculate intransitivities (calculation intense!)

compstudy

label of the compiled sub study (used for filtering)

default

default item in worth value estimation (usually the lowest worth value)

cpus

No. of used local CPUs for parallel computing (you should have more than 2)

ord

item category order

v1

testing variable (can be one item from the item list)

Value

data.frame with the simulation results


mytalbot/tiefightR documentation built on July 16, 2020, 5:44 p.m.