bind together blockwise pre-processors
concat_pre_processors.Rdconcatenate a sequence of pre-processors, each applied to a block of data.
Examples
p1 <- center() |> prep()
p2 <- center() |> prep()
x1 <- rbind(1:10, 2:11)
x2 <- rbind(1:10, 2:11)
p1a <- init_transform(p1,x1)
p2a <- init_transform(p2,x2)
clist <- concat_pre_processors(list(p1,p2), list(1:10, 11:20))
t1 <- apply_transform(clist, cbind(x1,x2))
t2 <- apply_transform(clist, cbind(x1,x2[,1:5]), colind=1:15)
#> Warning: `apply_transform()` was deprecated in multivarious 0.3.0.
#> ℹ Please use `transform()` instead.
#> ℹ apply_transform() is deprecated. Use transform() for a more standard
#> interface.
#> ℹ The deprecated feature was likely used in the multivarious package.
#> Please report the issue to the authors.