Skip to contents

Pivot column data from long format to wide format.

Usage

cast(object, ...)

Arguments

object

Object.

...

Additional arguments.

Value

DataFrame.

See also

  • https://seananderson.ca/2013/10/19/reshape/

  • reshape2::dcast (deprecated).

  • tidyr::pivot_wider.

  • Python pandas.pivot_table.

  • Python pandas.wide_to_long.

  • Python pandas.DataFrame.pivot.

Examples

showMethods("cast")
#> Function: cast (package AcidGenerics)
#> <No methods>
#>