search for: averagecost

Displaying 1 result from an estimated 1 matches for "averagecost".

Did you mean: averagecosts
2012 Feb 10
2
Discrete Event Simulation problem
...rder_costs = sum$order_costs + order_costs sum$inventory = sum$invneotry + k - sum$sales sum$sales = sum$sales + sales sum$sales = sum$sales + sales } } sis = list(Time = index,StorageCosts =sum$storage_costs,OrderCosts= sum$order_costs, FinalInventoryLevel=sum$inventory,sales=sum$sales , AverageCosts =((sum$order_costs + sum$storage_costs)/index)) return(sis) } main() -- View this message in context: http://r.789695.n4.nabble.com/Discrete-Event-Simulation-problem-tp4377276p4377276.html Sent from the R help mailing list archive at Nabble.com.