tie_rwalk: Tie random walk function

Description Usage Arguments Value

View source: R/tie_rwalk.R

Description

The tie_rwalk function prepares binary and continuous data for tiefightR analysis.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
tie_rwalk(
  dat = NULL,
  RF = NULL,
  CF = NULL,
  id = NULL,
  RV = NULL,
  ord = NULL,
  prefLimit = 50,
  setseed = FALSE,
  compstudy = NULL,
  default = NULL,
  R = NULL
)

Arguments

dat

imported (binarized) data frame

RF

name of the reference fluid variable

CF

name of the combination fluid variable

id

subject IDs

RV

name of the response variable

ord

item category order

prefLimit

preference limit for binarization threshold

setseed

BOOLEAN; set a random seed TRUE/FALSE?

compstudy

label of the compiled sub study (used for filtering)

default

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

R

number of randomizations

Value

Exports random binarize response for distance cutoff selection


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