covmatch.mult: Covariate Matching (Match - Many)

Description Usage Arguments Value Examples

View source: R/matchmany.R

Description

The function aims to take different data sets and returns the after matched data sets using user specified covariates.

Usage

1
covmatch.mult(dname, cov, weight, cov_circ)

Arguments

dname

This should always be a list, containing all the data sets to match.

cov

Vector of column numbers for the covariates to be used in matching.

weight

Vector of threshold values, against which matching happens. It should be a vector such as c(0.2, 0.2, 0.3), if considering three covariates.

cov_circ

Vector stating the column position of circular variables such as wind direction, nacelle position etc.

Value

The function returns a list containing after matched data sets.

Examples

1
2
3
4
5
fname <- list(Season1, Season2, Season3)
cov <- c(1, 6, 14)
weight <- c(0.2, 0.2, 0.2)

matched_data = covmatch.mult(fname, cov = cov, weight = weight)

nitesh-1507/WindPlus documentation built on Dec. 8, 2019, 1:57 p.m.