View source: R/main_functions.R
cross_interactions | R Documentation |
cross_interactions
computes all cross interactions, that is, products
of columns, between the matrices z1 nad z2.
cross_interactions(z1, z2, ident = "")
z1 |
n x p1 dimensional matrix, each column corresponds to one covariate. |
z2 |
n x p2 dimensional matrix, each column corresponds to one covariate. |
n x (p1*p2) Matrix which contains the cross interactions z1[,i]*z2[,j] for i=1,...,p1 and j=1,...,p2. The column name gives involved covariates.
Alexander Kreiss, Leipzig University, Germany. alexander.kreiss@math.uni-leipzig.de
Christoph Rothe, University of Mannheim, Germany
fourier_basis
, interaction_terms
,
HighDim_rd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.