types: Applies the specified types to a data frame-like object.

View source: R/mangling.R

typesR Documentation

Applies the specified types to a data frame-like object.

Description

Applies the specified types to a data frame-like object.

Usage

types(df, types)

Arguments

df

A data frame, data table or tibble.

types

A data frame with two columns: name and type.

Value

The same frame with updated column types.

Examples

 NULL


Gibbons-Lab/mbtools documentation built on Jan. 28, 2024, 11:08 a.m.