Currently, if the user sets n, power.ACE.test() will think (because power defaults to 80%), that they want to estimate the parameter size needed for 80% power at the chosen n.
However, it's likely the user intended to estimate power, and didn't realise they need to set power=NULL to do that.
So... Improve the feedback to highlight what is fixed and what they are estimating.
Currently, if the user sets
n
,power.ACE.test()
will think (because power defaults to 80%), that they want to estimate the parameter size needed for 80% power at the chosen n.However, it's likely the user intended to estimate power, and didn't realise they need to set
power=NULL
to do that.So... Improve the feedback to highlight what is fixed and what they are estimating.