powered by
Output a dataframe to a HTML file.
df2HTML(dataframe, file)
data to be parsed to HTML
path to save to
Function used to create HTML for the results of the seasonal adjustment. But can basically be used to create HTML output for any data.frame.
# NOT RUN { a=data.frame(lapply(1:4, function(x) round(rnorm(10),2))) colnames(a) = paste0("x", 1:4) # } # NOT RUN { df2HTML(a, "out.html") # }
Run the code above in your browser using DataLab