Description Usage Arguments See Also Examples
Select your data frame and the three variables with probabilities. The returning dataframe will have the x and y coordinates for every row. When used in conjuction with CreateVertices() plot the vertices and add the points.
1 | Prob2Coord(df, var_left, var_top, var_right, append = FALSE)
|
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. |
append |
Return with or without original data frame?. |
Other Heiser.transform.functions: CreateVertices
1 | {Prob2Coord(testdata, "test1", "test2","test3",append = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.