project onto a standard 3d simplex.
project_to_simplex(df_3d, column_names = c("x", "y", "z"))
df_3d | data frame |
---|---|
column_names | names of columns for the 3 dimensions. Can be in the
form |
an updated version of df_3d
with points projected onto
simplex.