search for: detb

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

Did you mean: deb
2012 Jan 31
1
Using match.arg() with list of functions?
...), c("A", "B", "C"), sep="") } df } ### Test cases #### > foo1 <- makefoo(1, 4) > as.data.frame(foo1) A B C 1 38 86 49 2 67 65 2 3 41 46 82 4 59 8 78 > > foo2 <- makefoo(2, 4) > as.data.frame(foo2) detA detB detC 1 -342 -5076 -2621 2 -4712 1568 -1724 3 -4491 -1892 -2768 4 2990 -5448 2974 > as.data.frame(foo2, FUN=tr) trA trB trC 1 118 65 80 2 62 85 99 3 108 86 98 4 110 23 129 > -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. York Universi...