Description Usage Arguments Details Value Author(s) Examples

Return the Khatri-Rao product of two matrices, which is a column-wise Kronecker product.

1 |

`A, B` |
matrices. The two matrices |

`w` |
the weights vector. The length of the vector should match with the dimension of the matrices. If performing column-wise Kronecker product, the length of w should be the same as the column number of A and B. If performing row-wise Kronecker prodoct, the length of w should be the same as the row number of A and B. The default is a vector of 1 if no value provided. |

`byrow` |
a logical variable controlling whether to perform row/column-wise Kronecker product.
The default is |

The column/row-wise Kronecker product.

A matrix of the Khatri-Rao product.

Yiwen Zhang and Hua Zhou

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.