[R] R source scripts
Sarah Goslee
sarah.goslee at gmail.com
Mon Dec 1 18:28:31 CET 2014
Hi,
On Mon, Dec 1, 2014 at 11:37 AM, Deniz Ağırdan <denizagirdan at gmail.com> wrote:
> Dear R Team,
>
> I have problem about finding R source scripts. I need script of
> kmeans(stats) function. I would be grateful, if you helped me.
I assume you mean the source code rather than a script using that
function. Google is your friend, for instance:
http://stackoverflow.com/questions/19226816/how-can-i-view-the-source-code-for-a-function
Briefly, typing the name of the function at the R prompt will often
get you the code:
kmeans.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list