Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag authored Feb 11, 2024
1 parent 9487d49 commit ea75126
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,13 @@ if(length(aashto)) {
newspc <- hz
depths(newspc) <- cokey ~ hzdept_r + hzdepb_r

# merge component_aashind() result into horizon table
horizons(newspc) <- component_aashind(newspc, floor)
# calculate aashto index, take floor() for comparison with integer value in nasis
newspc$calc_aashind_r <- floor(ptf_aashind(
newspc$sieveno200_r,
newspc$ll_r,
newspc$pi_r,
newspc$aashtocl
))

# fit linear model to stored versus calculated
m0 <- lm(newspc$calc_aashind_r ~ newspc$aashind_r)
Expand Down

0 comments on commit ea75126

Please sign in to comment.