I am attempting to optimize a function I have developed using optim.

I am getting the below error message:

Error in n < 1: 'n' is missing

Could some one provide some additional clarity regarding this message and
what it entails, as well as, how to rectify this issue.

Thanks

	[[alternative HTML version deleted]]

