Description Usage Arguments Value Examples
Create a running log to track running data
1 2 |
units |
"english" or "metric" |
date |
User's date. Should be in "mm/dd/yyyy" format, of the class character. |
name |
User's name. Should be in |
age |
User's age. Should be in numeric format. |
gender |
User's gender. Should be either "male" or "female" |
height |
User's height. Should be in numeric format. If units = "english", should be in inches. If units = "metric", should be in centimeters. |
weight |
User's weight. Should be in numeric format. |
time |
The number of minutes the user ran the distance in. Should be in numeric format. |
distance |
The distance the user ran. Should be in numeric format. |
heartrate |
Optional parameter - user's heartrate during workout. Should be in numeric format. |
filename |
The name under which you want the file saved. Should include .rds extension. |
Dataframe with user's run info.
1 2 | create_log("english", "09/30/2016", "Anna", 18, "female", 57, 128, 10, 1)
create_log("metric", "09/30/2016", "Jon", 19, "male", 57, 128, 10, 1, 72)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.