View source: R/utilityFunctions.R
htmlout | R Documentation |
This is an internal utility function to help with testing MplusAutomation.
On the Mplus website, many output files are included, which are good tests.
However, they are stored in HTML files. This function reads them in,
strips the HTML parts leaving just the output file, and then writes it to
disk and returns the file name, which can be used with readModels()
for testing.
htmlout(url)
url |
The url giving an Mplus output file in HTML format. |
A character string that is the filename where the output file was written. Always a temp file in a temp directory.
Joshua F. Wiley <jwiley.psych@gmail.com>
MplusAutomation:::htmlout("https://statmodel.com/usersguide/chap3/ex3.1.html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.