Displaying 1 result from an estimated 1 matches for "ctpp".
Did you mean:
cpp
2003 Apr 25
1
Creating objects from values in a "meta" dataframe
...ed "meta" say with the following content:
Test Min Max Low High
APS 0 40 -10 10
TPP 0 120 -8 8
NOS 0 25 -15 12
... etc ...
I want to create an object based on each of the Test names, for example:
cADS <- function(ADS1, min=0, max=40; low=-10, high=10)
cTPP <- function(TPP1, 0, 120, -8, 8)
cNOS <- function(NOS1, 0, 25, -15, 12)
.. etc ...
where ADS1, TPP1, NOS1, etc. are columns from a second data frame, say,
"study".
So in summary how do I create a variable based on the entries in "meta"
(e.g. from 'APS' I want to...