dims function

Get dimensions of multiple objects

Get dimensions of multiple objects

dims(..., list.data, keep.names = TRUE, as.fun = NULL, keepNames)

Arguments

  • ...: data sets
  • list.data: As alternative to ..., you can supply the data sets in a list here.
  • keep.names: If TRUE, the original dataset names are used in reported table. If not, generic x1, x2,... are used. The latter may be preferred for readability in some cases.
  • as.fun: A function that will be run on the result before returning. If first input data set is a data.table, the default is to return a data.table, if not the default is to return a data.frame. Use whatever to get what fits in with your workflow. Default can be configured with NMdataConf.
  • keepNames: Deprecated. Use keep.names instead.

Returns

A data.frame with dimensions of objects in ... Actual class defined by as.fun.

See Also

Other DataWrangling: compareCols(), listMissings()

  • Maintainer: Philip Delff
  • License: MIT + file LICENSE
  • Last published: 2025-03-21