search for: tp4569859p4571812

Displaying 1 result from an estimated 1 matches for "tp4569859p4571812".

2012 Apr 19
3
Help in using unique count by match function
Hi My code looks like this I have two parameters x and par1. X contains values and par1 contains the function which i required to use if par1 is max then output should be max(x). FUN <- match.fun(par1) result=FUN(x) Is it possible to incorporate the unique count of x within this code eg x=("a","b","a","c") . The output should be 3