tie_worth: Main preference function

Description Usage Arguments Value

View source: R/tie_worth.R

Description

The tie_import function prepares binary and continuous data form import into the tiefightR analysis. The user has to specicy the names of the input columns (if they deviate from the default values in the function argument list). The function randomizes the response variable for any non chosen item test combination and reports the worth values.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
tie_worth(
  xdata = NULL,
  esti = "worth",
  RF = "img1",
  CF = "img2",
  id = "ID",
  RV = "pref_img1",
  default = NULL,
  showplot = FALSE,
  intrans = FALSE,
  compstudy = NULL,
  ordn = NULL,
  r1 = NULL,
  r2 = NULL,
  ymin = 0,
  ymax = 0.5
)

Arguments

xdata

imported (binarized) data frame

esti

worth estimator (default, "worth", alt: "estimator")

RF

name of the reference fluid variable

CF

name of the combination fluid variable

id

subject IDs

RV

name of the response variable

default

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

showplot

show worth plot TRUE/FALSE

intrans

calculate intransitivities (calculation intense!)

compstudy

label of the compiled sub study (used for filtering)

ordn

item category order

r1

label of the test item (e.g., "Lake")

r2

label(s) of the remaining item(s)

ymin

minimum y-scale of the worth plot

ymax

maximum y-scale of the worth plot

Value

Exports the results of the worth value calculation, including the GNM analysis.


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