%//% {lazy.tools}R Documentation

Mathematica like postfix function application

Description

Mathematica like postfix function application

Usage

exp %//% func

Arguments

exp

argument of the function

func

function name

Details

Equivalent to func( exp ).

Implemented as: if( mode(func) == "function" ) return( func( exp ) )

Examples

temp <- demomat(4,3)
temp %//% t


[Package lazy.tools version 0.1.6 Index]