Fertilizers | R Documentation |
Computes the amount of nutrients given a rate of fertilizer.
fertilizers()
nutrientRates(supply, treatment)
supply |
data.frame with columns "N", "P", "K" expressed as percentage of the product (row) |
treatment |
amounts applied |
# fertilizer product list
fert <- fertilizers()
# shortening some of the names for display
fert[,2] = substr(fert[,2], 1, 20)
# contents are expressed as a percentage.
fert
myferts <- fert[c(8,15), ]
nutrientRates(myferts, c(100,50))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.