Learn R Programming

activityGCMM (version 1.1.1)

samplerows: Sample rows of dataframe

Description

Support function that samples rows of data from a dataframe

Usage

samplerows(df, n)

Arguments

df

Dataframe

n

Number of samples

Value

Returns sample of dataframe with the number of specified rows