statgrid.trans {RGeostats} | R Documentation |

Calculates the transition probabilities in 1-D for a categorical variable informed on a regular grid

statgrid.trans(dbin, nfacies, dbout = NA, pos = NA, radius = 0, orient = 1, radix = "Trans", modify.target = db.locmod())

`dbin` |
The |

`nfacies` |
Number of categories to be considered. For example, when nfacies=3, the samples with target variable equal to 1, 2 or 3 will be considered; any other value will be discarded. |

`dbout` |
The |

`pos` |
Dimension of the space along which the statistics are calculated. For example, if the input grid is 3-D, setting pos=2 will calculate statistics per XY bench, for any position along the 3rd dimension. If not defined, this space dimension is set to the last dimension of the input grid. |

`radius` |
Radius of the neighborhood (around the centrel bench). A radius of 0 means the that calculations are performed on the all the cells of the strata alone; a radius of 1 corresponds to the cells of the 3 strata around the central one. |

`orient` |
This gives the orientation of the transition. This value must be set either to +1 or to -1 |

`radix` |
Radix of the name given to the variables storing the results in the target Db. |

`modify.target` |
Decides whether or not the newly created variables will have their
locator defined or not. For more information, see |

The results consist in the transition probabilities between any pair among the 'nfacies' categories.

[Package *RGeostats* version 11.0.6 Index]