Rdocumentation
powered by
Learn R Programming
radiant.data (version 0.6.0)
getdata: Get data for analysis functions
Description
Get data for analysis functions
Usage
getdata(dataset, vars = "", filt = "", rows = NULL, na.rm = TRUE)
Arguments
dataset
Name of the dataframe
vars
Variables to extract from the dataframe
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 TRUE)
Value
Data.frame with specified columns and rows