UserGuide BioStat Prime Help

Stack

This dialog will help user to stack 2 datasets on top of each other. User can select one of the following options.

Steps
  1. Bind Rows: Stacks the 2 datasets exactly as they are. If a variable name is common to both datasets, values will fill in as user expects. If a dataset A contains a variable say var1 that is not present in the other dataset B, NA's will appear in variable var1 for all rows that correspond to dataset B. All options below require that both datasets share the same variables.

  2. Union: stacks the datasets and removes duplicates

  3. Intersect: keeps rows common to both

  4. Difference: Keeps rows in 1st dataset, not in 2nd Depending on the option selected, the functions bind_rows, union, intersect and setdiff in the package dplyr are called.

Stack
Stack
Last modified: 01 October 2025