POSACupdate: Update POSAC output objects given new X and Y (perhaps from...

Description Usage Arguments Value Examples

Description

This function takes the output from the function POSAC along with new vectors of X and Y co-ordinates and updates the object to reflect the change.

Usage

1
POSACupdate(posacout, newX, newY)

Arguments

posacout

Output from function POSAC (or something with similar parts).

newX

Vector of new values for the X co-ordinates (will be converted to ranks).

newY

Vector of new values for the Y co-ordinates (will be converted to ranks).

Value

The function returns a list with the following elements:

Criteria

The output from the function realcriteria for the new solution.

X

The ranking of each pattern on the first dimension of the returned POSAC solution.

Y

The ranking of each pattern on the second dimension of the returned POSAC solution.

Patterns

A character vector of concatenated patterns.

patmat

The pattern matrix used in analysis to begin with.

freqs

The frequency with which in pattern occurs.

tidyframe

A single data frame containing the structuples(patterns), frequencies, X, Y, rescaled X and Y to be between a 0 and 100, J (=rescaled X+rescaled Y)and L(=100+rescaled X-rescaled Y).

mumatrix

Matrix of monotonicity coefficients between each of the original variables and the resulting rescaled X, Y, J and L.

Examples

1
#see help for movecheck function

CambridgeAssessmentResearch/POSAC documentation built on May 28, 2019, 12:16 p.m.