Description Usage Arguments Value Examples
This function creates a subset (of random rows) of the IMDB movie data frame. Given a student id, this function will always return the same subset.
1 | GetDataFrame(student_id)
|
student_id, |
a student id, i.e. b1234567 |
A data frame with a random numer of rows
1 2 3 4 5 6 7 8 | ##Given the same student id
##the same data set is returned
d1 = GetDataFrame("b1234567")
d2 = GetDataFrame("b1234567")
identical(d1, d2)
##Different ids get different data
d3 = GetDataFrame("b1234568")
identical(d1, d3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.