Skip to content

Commit

Permalink
change column name
Browse files Browse the repository at this point in the history
  • Loading branch information
Oloo authored and Oloo committed Mar 18, 2024
1 parent 7bb4cd7 commit a480516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/water_requirement.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ water_requirement <- function(para,land_required){
kc_water_use_of_concentrates = ifelse(grepl("OFC",feed),feed_water_use,0),
kc_water_use_ip_concentrates = ifelse(grepl("IP",feed),feed_water_use,0),
kc_water_use_on_farm = feed_water_use-kc_water_use_of_roughages-kc_water_use_ip_concentrates,
kc_water_use_m3_per_kg = ifelse(is.nan(feed_water_use/area_feed),0,(feed_water_use/area_feed)))%>%
kc_water_use_m3_per_ha = ifelse(is.nan(feed_water_use/area_feed),0,(feed_water_use/area_feed)))%>%
select(feed,
area_feed,
kc_average,
Expand Down

0 comments on commit a480516

Please sign in to comment.