| add_texture | R Documentation |
Add texture classification column to a data frame
add_texture(
df,
sand_col = "sand_total",
silt_col = "silt",
clay_col = "clay",
out_col = "Texture"
)
df |
A data frame. |
sand_col |
Column name for sand (default |
silt_col |
Column name for silt (default |
clay_col |
Column name for clay (default |
out_col |
Name of the output column (default |
The input data frame with an additional out_col column.
df <- data.frame(sand_total = c(70, 20), silt = c(15, 50), clay = c(15, 30))
add_texture(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.