myapply: A function similar to apply()

Description Usage Arguments Value Examples

Description

A function similar to apply()

Usage

1
myapply(X, MARGIN, FUN, ...)

Arguments

X

matrix of any type

MARGIN

either (the number) 1 or (the number) 2

FUN

R function that maps vectors to vectors

...

optional parameters for plotting

Value

list

Examples

1
myapply(matrix(1:6, nrow = 3, ncol = 2),1,mean)

kuanghuangying/KuangHuangyingTools documentation built on May 25, 2019, 9:30 p.m.