Description Usage Arguments Details Value Examples

View source: R/f08.crossed.code.r

A crossed /nbn/ is a /nbn/ obtained when replacing each node of the
first /nbn/ by the second /nbn/ and vice-versa.

Let `nn1/nn2`

and `na1/na2`

be the node and arc numbers of the two
`nbn`

s, the node number of the crossed `nbn`

is
`nn1*nn2`

and its arc number is `nn1*na2+nn2*na1`

.

The
regression coefficients attributed to the crossed `nbn`

are the
products of the weights (`we1/we2`

) and the regression
coefficients of the initial `nbn`

.

1 2 3 |

`nbn1` |
The first generating /nbn/. |

`nbn2` |
The second generating /nbn/. |

`we1` |
The weight to apply to the nodes of the first generating /nbn/. |

`we2` |
The weight to apply to the nodes of the second generating /nbn/. |

`nona` |
The node names to give to the crossed /nbn/, the nodes
of the |

The `mu`

coefficient is the sum of the two corresponding
`mu`

s of the generating `nbn`

.

The `sigma`

coefficient is the product of the two corresponding `sigma`

s of
the generating `nbn`

.

The regression coefficient are directed
inherited from the `nbn`

which is duplicated with this arc.

The resulting crossed `nbn`

object.

1 |

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.