Learn R Programming

geesmv (version 1.3)

cluster.size: Get Summary Information of The Data.

Description

Get necessary information (i.e., the number of clusters, cluster sizes) of the data set.

Usage

cluster.size(id)

Arguments

id
The variable name of the cluster id in the data set.

Value

n
a vector of numbers denote the cluster sizes for different id.
m
the total number of clusters in the data set.

Details

This function will get the number of clusters and cluster sizes of the data set.