createpartitions: Create partitions needed for MRA

Description Usage Arguments Examples

View source: R/crpart.R

Description

This function creates the object needed before the Multi Resolution Analisys (MRA) with global and regional models output

Usage

1
createpartitions(globaldata, regionaldata, partitions, graphs = F)

Arguments

globaldata

Data frame object generated by NC2DFG function

regionaldata

Data frame object generated by NC2DFR function

partitions

A list that specify the way of the algorithm will generate the partitions, the length of the list will be number of levels that the MRA will have.

graphs

Logical, show or not the proccess with graphs

Examples

1
2
3
4
5
6
7
###Not run
partitions <- list(1,c(1:4),seq(1,2*2*2*11),
  seq(1,2*2*3*2*11),
  seq(1,2*2*3*3*2*11))
length(partitions)

createpartitions(globaldata, regionaldata, partitions, graphs=T)

JohanFR198/NarccapRDD documentation built on Oct. 14, 2019, 10:04 p.m.