render_card_grid {mmiCATs}R Documentation

Render Card Grid in Shiny App

Description

This function takes a grid of card information, generates image tags for each card, and organizes them into a responsive grid layout for display in a Shiny application.

Usage

render_card_grid(new_card_grid)

Arguments

new_card_grid

A matrix or data frame where each row represents a card and each card has a property icard pointing to the image file relative to the mmiCATs package's www directory. The function expects this parameter to be structured with named columns where icard is one of the column names.

Value

A Shiny UI element (tagList) representing a grid of card images.


[Package mmiCATs version 0.1.1 Index]