build_mm_list: build_mm_list

View source: R/build_mm_list.R

build_mm_listR Documentation

build_mm_list

Description

build_mm_list

Usage

build_mm_list(.n_clust, .mm_id_nms = "sch_id_", .mm_wt_nms = "sch_wt_")

Arguments

.n_clust

Numeric scalar. The number of clusters. Depending on whether the "compact" (default) or "wide" format was used in to generate_data, this argument either refers to the total number of clusters in the dataset ("wide"), or the maximum number of clusters an individual can be a member of ("compact"). For example, if students attended a maximum of 2 schools, but there were 50 schools in the dataset, for the "wide" option, set .n_clust = 50; for the "compact" option, set .n_clust = 2.

.mm_id_nms

A string. The prefix name of the multiple membership unique ID variables.

.mm_wt_nms

A string. The prefix name of the multiple membership weight variables.

Value

This function returns a list to be passed to run_mlwin.


tessaleejohnson/corclus documentation built on Oct. 11, 2022, 3:46 a.m.