Skip to content

Commit

Permalink
Fix new hz_to_taxpartsize() example for metadata updates in #309
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Jun 25, 2024
1 parent fdf1a4d commit 9c3af4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/allocate.R
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,11 @@ allocate <- function(..., to = c("FAO Salt Severity", "FAO Black Soil", "ST Diag
#'
#' depths(h) <- id ~ top + bottom
#'
#' # set required metadata for estimatePSCS()
#' hzdesgnname(h) <- "hzname"
#' hztexclname(h) <- "texcl"
#' hzmetaname(h, "clay") <- "clay"
#'
#' pscs <- data.frame(id = h$id, rbind(estimatePSCS(h)))
#' names(pscs)[2:3] <- c("top", "bottom")
#'
Expand Down
5 changes: 5 additions & 0 deletions man/hz_to_taxpartsize.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9c3af4e

Please sign in to comment.