MSEdata: MSE data format

View source: R/MSEdata.R

MSEdataR Documentation

MSE data format

Description

The function MSEdata() transforms an existing dataframe to the "MSE" format, ensuring it contains a "count" column and that the other columns refer to inclusion (1) or exclusion (0) on a set of lists.

Usage

MSEdata(data, colname = "count")

Arguments

data

Original MSE dataframe. It should contain a column named representing the observed counts of capture patterns, as well as columns representing the different lists, as follows:

colname

Name of the column representing the observed counts. Default is "count".

         c1    c2 count
         0     1     7
         1     0     3
         1     1     4

Details

Zero counts of unobserved capture patterns are added and duplicates capture patterns are aggregated.


OlivierBinette/MSETools documentation built on Aug. 7, 2022, 8:42 p.m.