CreateVertices: CreateVertices Transforms categorical probabilities into...

Description Usage Arguments See Also Examples

Description

Select your data frame and the three variables with probabilities. The returning dataframe will have the x and y coordinates of the 3 points that represent the vertices. Plot the vertices and use Prob2coord() to create the xy coordinates for all the rows.

Usage

1
CreateVertices(df, var_left, var_top, var_right, verticeName = T)

Arguments

df

The data frame where variables can be found.

var_left, var_top, var_right

Columns in df that contain probabilities per row, use "columnnames", names (left, top, right) refer to place in final triangle.

verticeName

Do you want to return the names of the columns in the final data frame?.

See Also

Other Heiser.transform.functions: Prob2Coord

Examples

1
 {CreateVertices(testdata, "test1", "test2","test3",verticeName = F)

RMHogervorst/heisertransform documentation built on May 8, 2019, 7:33 a.m.