Learn R Programming

rtkpp (version 0.8.2)

gammaNames: gammaNames: Build a vector of gamma model names.

In a gamma model, we can assume that the shapes are equal in each/all cluster(s) or not. We can also assume that the scales are equal in each/all cluster(s) or not.

Some configuration are impossibles. If the shapes are equal between all the clusters, then the scales cannot be equal between all the clusters. Conversely if the scales are equal between all the cluster, then the shapes cannot be equal between all the clusters.

This gives rise to 24 models:

  1. The proportions can be equal or free.
The shapes can be equal or free in each clusters. The shapes can be equal or free between all clusters. The scales can be equal or free for each clusters. The scales can be equal or free between all clusters.

Description

gammaNames: Build a vector of gamma model names.

In a gamma model, we can assume that the shapes are equal in each/all cluster(s) or not. We can also assume that the scales are equal in each/all cluster(s) or not.

Some configuration are impossibles. If the shapes are equal between all the clusters, then the scales cannot be equal between all the clusters. Conversely if the scales are equal between all the cluster, then the shapes cannot be equal between all the clusters.

This gives rise to 24 models:

  1. The proportions can be equal or free.
The shapes can be equal or free in each clusters. The shapes can be equal or free between all clusters. The scales can be equal or free for each clusters. The scales can be equal or free between all clusters.

Usage

gammaNames(prop = "all", shapeInCluster = "all",
  shapeBetweenCluster = "free", scaleInCluster = "all",
  scaleBetweenCluster = "all")

Arguments

prop
A character string equal to "equal", "free" or "all". Default is "all".
shapeInCluster
A character string equal to "equal", "free" or "all". Default is "all".
shapeBetweenCluster
A character string equal to "equal", "free" or "all". Default is "free".
scaleInCluster
A character string equal to "equal", "free" or "all". Default is "all".
scaleBetweenCluster
A character string equal to "equal", "free" or "all". Default is "all".

Value

  • A vector of character with the models names.

tabular

  • lllll
  • lllll

Examples

Run this code
gammaNames()
gammaNames("all", "equal", "free", "free", "equal") # same as c("gamma_p_ak_bj", "gamma_pk_ak_bj")

Run the code above in your browser using DataLab