search for: binded_mydata_withkurt

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

2008 Jun 24
1
Binding result of a function to a data frame
...8 1320_at PTPN21 78.4 36.2 185.2 Now, I want to: 1. apply the kurtosis function to every row in the data (starting from V3 to V5) 2. bind the output of the kurtosis function to mydata. Why my code below doesn't work? What's the solution for it? binded_mydata_withkurt <- cbind(mydata, kurt=apply(mydata,1,kurtosis(mydata[,3:ncol(repo.dat)]),na.rm = TRUE)) - Gundala Viswanath Jakarta - Indonesia