Learn R Programming

rmcfs (version 1.1.0)

info: Basic data information

Description

Prints basic information about the data.frame.

Usage

info(x, size = 10, show = c("cells", "head", "tail", "none"))

Arguments

x
input data frame.
size
number of rows/columns to be printed.
show
parameters that controls print content.
  • cells- shows top left and bottom right cells (size of both subsets is controlled bysizeparameter)
  • head- shows topsizerows
  • tail

Examples

Run this code
# Load rmcfs library.
  library(rmcfs)
  
  # Load alizadeh dataset.
  data(alizadeh)
  info(alizadeh)

Run the code above in your browser using DataLab