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

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
#> NULL