The R code enclosed enables to evaluate the power related to the sample size of a t test . As a result a chart is provided representing power vs sample size. Independent samples end paired sample are considered.
I would be happy to have some feed back about the code .
Feel free to contact me for any question .