ludata {hero} | R Documentation |
Data for f1 function from Lu et al. (2012)
Description
Data related to the f1 function in
Lu et al. (2012). Define n1 = 60
and
x = seq_len(n1)/n1 - 1/2/n1
. Similarly,
define n2 = 80
and
z = seq_len(n2)/n2 - 1/2/n2
. The f1 function is defined as
sin(2 * pi * (x[i] - .5) ^ 3) * cos(4 * pi * z[j])
,
where i in seq_along(x)
and
j in seq_along(z)
. The result of this function
is stored in lutruef1
. Using set.seed(3)
and adding rnorm(60 * 80)
to lutruef1
results in lunoisyf1
.
Usage
data(ludata)
Format
The sequences x
and z
, the
lutruef1
data matrix with 60 rows and 80 columns,
and the lunoisyf1
data matrix with 60 rows and 80
columns.
[Package hero version 0.6 Index]