Learn R Programming

radiant.data (version 0.8.1)

viewdata: View data

Description

View data

Usage

viewdata(dataset, vars = "", filt = "", rows = NULL, na.rm = FALSE)

Arguments

dataset

Name of the dataframe to change

vars

Variables to show (default is all)

filt

Filter to apply to the specified dataset. For example "price > 10000" if dataset is "diamonds" (default is "")

rows

Select rows in the specified dataset. For example "1:10" for the first 10 rows or "n()-10:n()" for the last 10 rows (default is NULL)

na.rm

Remove rows with missing values (default is FALSE)

Details

View, search, sort, etc. your data

Examples

Run this code
# NOT RUN {
if (interactive()) {
viewdata(mtcars)
viewdata("mtcars")
mtcars %>% viewdata
}

# }

Run the code above in your browser using DataLab