powered by
C_input() estimates the carbon (C) input into the soil system per year of a management_df.
C_input()
management_df
C_input(var_MGMT_data, extended.output = FALSE)
By default, a tibble with C input values (total and by category) by year is returned.
If extended.output = TRUE, a tibble with all management operations and their respecitve C inputs is returned.
extended.output = TRUE
a management_df that contains the management information
an optional logical value.
If FALSE, C input values are aggregated by year.
If TRUE, a tibble with daily resolution is returned.
Default value is FALSE
The function takes a management_df as input and returns a C input values per year in the management_df.
Alternatively, it can return a tibble with all managememnt operations and their respective C input values.
The functions calculates the C input with the C_input_crops(), C_input_cover_crops() and CN_input_amendments() functions.
C_input_crops()
C_input_cover_crops()
CN_input_amendments()
calculate_indicators() to calculate all management indicators for a management_df
calculate_indicators()
C_input_crops() to calculate C input for crops
C_input_cover_crops() to calculate C input for cover crops
CN_input_amendments() to calculate C (and N) inputs for organic amendments
#example that returns annual C input values C_input(EXAMPLE_data) #example that returns a tibble with all operations that have a C input C_input(EXAMPLE_data, extended.output = TRUE)
Run the code above in your browser using DataLab