Description Usage Arguments Details Author(s) References See Also Examples

View source: R/print.discdd.predict.R

`print`

function, applied to an object of class `"discdd.predict"`

, prints numerical results of discdd.predict .

1 2 |

`x` |
object of class |

`dist.print` |
logical. If |

`prox.print` |
logical. Its default value is |

`digits` |
numerical. Number of significant digits for the display of numerical results. |

`...` |
optional arguments to |

By default, are printed:

if available (if

`misclass.ratio`

argument of`discdd.predict`

was`TRUE`

), the whole misallocation ratio, the confusion matrix (allocations versus origins) and the misallocation ratio per class are printed.the data frame the rows of which are the groups, and the columns of which are of the origin (

`NA`

if not available) and allocation classes.

If `dist.print = TRUE`

or `prox.print = TRUE`

, the distances or proximity indices between groups and classes, are displayed.

Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard

Rudrauf J.M., Boumaza R. (2001). Contribution ? l'?tude de l'architecture m?di?vale: les caract?ristiques des pierres ? bossage des ch?teaux forts alsaciens. Centre de Recherches Arch?ologiques M?di?vales de Saverne, 5, 5-38.

discdd.predict; print.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ```
data(castles.dated)
data(castles.nondated)
stones <- rbind(castles.dated$stones, castles.nondated$stones)
periods <- rbind(castles.dated$periods, castles.nondated$periods)
stones$height <- cut(stones$height, breaks = c(19, 27, 40, 71), include.lowest = TRUE)
stones$width <- cut(stones$width, breaks = c(24, 45, 62, 144), include.lowest = TRUE)
stones$edging <- cut(stones$edging, breaks = c(0, 3, 4, 8), include.lowest = TRUE)
stones$boss <- cut(stones$boss, breaks = c(0, 6, 9, 20), include.lowest = TRUE )
castlesfh <- folderh(periods, "castle", stones)
result <- discdd.predict(castlesfh, "period")
print(result)
print(result, prox.print=TRUE)
``` |

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.