| sample_df {fixest} | R Documentation |
This function is useful to check a data set. It gives a random number of rows of the input data set.
sample_df(x, n = 10)
x |
A data set: either a vector, a matrix or a data frame. |
n |
The number of random rows/elements to sample randomly. |
A data base (resp vector) with n rows (resp elements).
sample_df(iris)