asis_dm | R Documentation |
This function convert as-is basis into dry-matter basis.
asis_dm(composition, dm, digits = 2)
composition |
feed chemical composition (as-is basis). |
dm |
percentage of dry matter contents (without moisture) of feed. |
digits |
integer indicating the number of decimal places |
df <- data.frame(nutrient=c("CP","NDF","EE","Ash"),composition=c(10,30,5,2))
asis_dm(df$composition,85)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.