prepData

0th

Percentile

Transforms data into a form tailored for efficient evaluation by Stan

Invokes filterGraph and normalizeData. Vertex names, if not already factors, are converted to factors. The number of thresholds per item is determined by the largest absolute response value. Missing responses are filtered out. Responses on the same pair of vertices on the same item are grouped together. Within a vertex pair and item, responses are ordered from negative to positive.

Usage
prepData(df)
Arguments
df

a data frame with pairs of vertices given in columns pa1 and pa2, and item response data in other columns

Value

a data list suitable for passing as the data argument to pcStan or stan

See Also

Other data preppers: prepCleanData

Aliases
  • prepData
Examples
# NOT RUN {
df <- prepData(phyActFlowPropensity)
str(df)

# }
Documentation reproduced from package pcFactorStan, version 0.11, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.