change: Replace elements of x with correspondingly named elements of...

Usage Arguments Examples

Usage

1
change(x, ll)

Arguments

x
ll

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x, ll) 
{
    nams <- names(ll)
    for (ii in seq_along(ll)) {
        x[[nams[ii]]] <- ll[[ii]]
    }
    x
  }

gmonette/spida15 documentation built on May 17, 2019, 7:26 a.m.