summaryrefslogtreecommitdiff
path: root/R/kinobjects.R
blob: a767cea7eada9e083d40b87a98657d7bca04a7cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
kinobjects<- function(parent, type, systems,
        layers = NA, sampling_times = NA)
{
        kinobjects <- list()
        for (system in systems) {
            kinobjects[[system]] <- kinobject(parent = parent, 
                    type = type, system = system)
            if (!is.na(layers[1])) kinobjects[[system]]$layers = layers
            if (!is.na(sampling_times[1])) {
                    kinobjects[[system]]$sampling_times = layers
            }
        }
        return(kinobjects)
}

Contact - Imprint