createGroupFromInput {psichomics} | R Documentation

## Set new groups according to the user input

### Description

Set new groups according to the user input

### Usage

    createGroupFromInput(session, input, dataset, id, type, selected = NULL,
      expr = NULL, groupNames = NULL)

### Arguments

`session` | Shiny session
`input` | Shiny input
`dataset` | Data frame or matrix: dataset of interest
`id` | Character: identifier of the group selection
`type` | Character: type of group to create
`selected` | Character: selected item
`expr` | Character: expression
`groupNames` | Character: group names

### Value

Matrix with the group names and respective elements

[Package psichomics version 1.8.2 Index]