add_class: Add class

add_classR Documentation

Add class

Description

This function adds a given class to an object, so that different S3 methods can be called (e.g., tidy.exp to get OR for logistic regression models (e.g., in modelsummary::msummary)

Usage

add_class(x, class_to_add = "exp")

Arguments

x

An object

class_to_add

String of the class to add, defaults to "exp"


LukasWallrich/timesaveR documentation built on Nov. 29, 2024, 4:47 a.m.