Description Usage Arguments Details Examples

This function allows you to estimate the orbital classification of each galaxy inside a catalog using phase-space information.

1 |

`cat:` |
Data frame with the galaxy catalog. It should have as columns the distance to the cluster center normalized to the virial radius of each cluster ('r') and the line-of-sight velocity relative to the cluster normalized to the line-of-sight velocity of the cluster ('v'). |

`model:` |
Machine Learning model to be used for the classification. |

`type:` |
Output of the machine learning algorithm. Either 'prob' for probabilities or 'raw' for the most probable class. Default 'prob'. |

`threshold:` |
If type = 'prob' this is the probability threshold to determine the predicted class of a certain galaxy. If threshold = 0, the function returns the full probility vector. Default = 0. |

model: There are 3 available models. knn for a K-nearest neighbour, svm for a Support Vector Machine and rf for a Random Forest. See XXXX.XXXX for more ddetails on the models.

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.