##' Prints out the data types for the variables in a dataframe
##'
##' @title data types
##' @param df a dataframe with some numerical columns
##' @return a printout of the dataframe data types for all variables
##' @author Valery Lynn
##' @examples data_types(df)
##' @export
data_types <- function(df){
cat('\nData types:\n')
return(print(sapply(df, class)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.