Repeatr_4: prepares data for choice modelling with mlogit, and estimates...

View source: R/Repeatr_4.R

Repeatr_4R Documentation

prepares data for choice modelling with mlogit, and estimates a basic choice model.

Description

Defines indices, makes changes to variable formats and data structure to prepare for choice modelling with mlogit.

Usage

Repeatr_4(mydf = NULL)

Arguments

mydf

optional dataframe to be used. If omitted, the default dataframe will be used. Example of use: ml_Repeatr4 <- Repeatr_4()


alexmitrani/Repeatr documentation built on June 11, 2024, 1:42 p.m.