Skip to contents

This function will return a dataframe from the list of data frames from the input nested dataframe.

Usage

sample_data(nest_df, index)

Arguments

nest_df

The nested dataframe to be sampled from. The right-most column must be a dataframe type with name 'data'.

index

Optional. The index of the dataframe to be sampled from. If no index is provided, a random subset will be returned.