See: Function to view the first part of data (like head(), tail())

View source: R/other_useful_functions.R

SeeR Documentation

Function to view the first part of data (like head(), tail())

Description

Function to view the first part of data (like head(), tail())

Usage

See(
  data,
  fh = TRUE,
  fl = TRUE,
  rown = 6,
  coln = 6,
  rowst = 1,
  colst = 1,
  narray = 2,
  drop = FALSE,
  save.variable = FALSE,
  verbose = TRUE
)

Arguments

data

Your data. 'vector', 'matrix', 'array' (whose dimensions <= 4), 'data.frame' are supported format. If other formatted data is assigned, str(data) will be returned.

fh

From head. If this argument is TRUE, first part (row) of data will be shown (like head() function). If FALSE, last part (row) of your data will be shown (like tail() function).

fl

From left. If this argument is TRUE, first part (column) of data will be shown (like head() function). If FALSE, last part (column) of your data will be shown (like tail() function).

rown

The number of rows shown in console.

coln

The number of columns shown in console.

rowst

The start point for the direction of row.

colst

The start point for the direction of column.

narray

The number of dimensions other than row and column shown in console. This argument is effective only your data is array (whose dimensions >= 3).

drop

When rown = 1 or coln = 1, the dimension will be reduced if this argument is TRUE.

save.variable

If you want to assign the result to a variable, please set this agument TRUE.

verbose

If TRUE, print the first part of data.

Value

If save.variable is FALSE, NULL. If TRUE, the first part of your data will be returned.


RAINBOWR documentation built on Sept. 12, 2023, 9:08 a.m.