area_calculation {OrigamiPlot} | R Documentation |
Function to calculate area of the generated polygon
area_calculation(df)
df |
dataset processed with data_preparation or in the designated form |
This function serves as a supplementary tool to compute the area of a generated origami plot when the maximal area achievable within the defined parameters (when all the variables attain 1) is set to 1. The resulting calculated area offers an interpretation of the proportion between the actual origami plot and the maximum achievable area. An example of calculated area is shown in Figure 1.
area
data(sucra)
df_list <- data_preparation(sucra, min_value = 0.15)
area_calculation(df_list[[1]])