####################################################################################################################################
################################## getMaxLogFunc ###################################################################################
# >>
getMaxLogFunc <- function( dataFrame, column = "SampleLogFunc" ) {
offset = which( colnames(dataFrame) == column )
maxLogFunc = list()
maxLogFunc$value = max( dataFrame[[column]] )
maxLogFunc$idrow = which( dataFrame[[column]] == maxLogFunc$value )
maxLogFunc$dfrow = dataFrame[maxLogFunc$idrow,]
maxLogFunc$state = dataFrame[maxLogFunc$idrow, (-1:-offset)]
return( maxLogFunc )
}
# <<
################################## getMaxLogFunc ###################################################################################
####################################################################################################################################
####################################################################################################################################
################################## Help Code #######################################################################################
# >>
# out = getMaxLogFunc( dataFrame, column = "SampleLogFunc" )
# <<
################################## Help Code #######################################################################################
####################################################################################################################################
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.