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 of the 3 points that represent the vertices. Plot the vertices and use Prob2coord() to create the xy coordinates for all the rows.
1 | CreateVertices(df, var_left, var_top, var_right, verticeName = T)
|
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?. |
Other Heiser.transform.functions: Prob2Coord
1 | {CreateVertices(testdata, "test1", "test2","test3",verticeName = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.