get_targetzone: get a targeted zone

Description Usage Arguments Value Examples

View source: R/get_targetzone.R

Description

Get a temporary targeted space of properties (a.k.a physico-chemical properties here) to populate. This space can be on the path to reach the final desired target, or the final targeted space by itself. This depends on how the temporary targeted space fits the population of observables constrains delimited by the parameters min.points and max.points described below.

Usage

1
2
get_targetzone(targ.min = c(50, 9), targ.max = c(200, 11), feat = NULL,
  min.points = 100, max.points = 150)

Arguments

targ.min

is a d-dimensional vector of minimum values delimiting the targeted space, where d is the number of properties.

targ.max

is a d-dimensional vector of maximum values delimiting the targeted space, where d is the number of properties.

feat

is a n rows x d columns matrix, where d and n are the number of properties and datapoints respectively.

min.points

minimum number of points required in the targeted space of properties.

max.points

maximum number of points required in the targeted space of properties.

Value

the boundaries of a targeted zone.

Examples

1
2
3
4
5
6
## Not run: data(qspr.data)
ty <- as.matrix(qspr.data[,c(2,5)])
targ.zone <- get_targetzone(targ.min=c(50,9),targ.max=c(200,11),
                             feat=ty,
                             min.points=100,max.points=150)
## End(Not run)

iqspr documentation built on Aug. 1, 2017, 9:02 a.m.