ez.vx: view the overview of a data frame or similar object (like...

View source: R/stats.R

ez.vxR Documentation

view the overview of a data frame or similar object (like spss variable view, but with much more information)

Description

vc (c(vv)), vi (view everything print out), vv (view format vector), vx (view excel), View (built-in).

Usage

ez.vx(
  df,
  temp = NULL,
  id = NULL,
  file = NULL,
  width = 300,
  incomparables = FALSE,
  debug = NULL,
  ...
)

Arguments

df

a data frame

temp

when file is NULL, the name prefix for the temp excel file. If prefix not provided through this param, auto generate one

id

a single col name in string or number (eg, 'age' or 3), that serves as (potentially unique) id, except which duplicated rows will be checked against. If NULL, rownames() will be auto used

file

a file name, if NULL, a temp generated, will save more detailed variable information to an excel file

width

controls if too many factor levels to print, eg 300. NULL=unlimited

Value

returns a list $row, $col, $dat (input data frame), $pth (file path)

Note

when file=NULL (which stores to a temp file), debug=NULL, use getOption('debug') which is TRUE if not set up
when file=NULL, debug provided, overwrites getOption('debug')
when file provided, any debug is ignored
Bottom line: file > param debug > option debug
Updated: as of Thu, Nov 30 2017, not any more a wrapper of view_df; can make the html bigger by openning in internet browser


jerryzhujian9/ezmisc documentation built on March 9, 2024, 12:44 a.m.