| Title: | What the Package Does (Title Case) |
|---|---|
| Description: | More about what it does (maybe more than one line) Use four spaces when indenting paragraphs within the Description. |
| Authors: | Who wrote it |
| Maintainer: | The package maintainer <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.0 |
| Built: | 2026-07-14 04:41:29 UTC |
| Source: | https://github.com/UchidaMizuki/prorata |
Prorate values
prorata(y, x, type = c("squared", "absolute"), f = NULL, ...)prorata(y, x, type = c("squared", "absolute"), f = NULL, ...)
y |
A double matrix (observations x categories). |
x |
A double array (observations x categories x clusters). |
type |
Optimization type of '"squared"' (default) or 'absolute"'. Ignored if 'f' is specified. |
f |
passed to [constrOptim()]. |
... |
passed to [constrOptim()]. |
A double vector of weights with 'prorata' class