Suppose I can observe $x_1,...,x_n$ as the realization of the random variables $X_1,..,X_n$. Using $x_1,...,x_n$, I can estimate the empirical cumulative distribution function (CDF), $F_n(x)=\sum_{i=1}^n\frac{I(x_i\leq x)}{n}$. Now, with a given $\lambda$, I can transform this CDF by using the Wang transform which is $F^*(x)=\Phi\big[\Phi^{-1}(F_n(x))-\lambda\big]$, where $\Phi(.)$ is the cdf of standard normal distribution.
Question: How can I estimate the $f^*(x)$ (i.e. the probability density function under the new transformation) using $F^*(x)$? Is there any package in R to do that?