# Correspondence analysis preprocessing

### Description

Performs all steps required for CA processing (row profile approach).

### Usage

1 |

### Arguments

`X` |
Data matrix |

`X_dimensions` |
The dimensions of X in a vector of length 2 (rows, columns). See |

`colTotal` |
Vector of column sums. |

`rowTotal` |
Vector of row sums. |

`grandTotal` |
Grand total of X |

`weights` |
Optional weights to include for the columns. |

`masses` |
Optional masses to include for the rows. |

### Value

`rowCenter` |
The barycenter of X. |

`masses` |
Masses to be used for the GSVD. |

`weights` |
Weights to be used for the GSVD. |

`rowProfiles` |
The row profiles of X. |

`deviations` |
Deviations of row profiles from |

### Author(s)

Derek Beaton

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.