Learn R Programming

MplusAutomation (version 1.1.1)

htmlout: Read in Mplus Output File from HTML on the Mplus Website

Description

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.

Usage

htmlout(url)

Value

A character string that is the filename where the output file was written. Always a temp file in a temp directory.

Arguments

url

The url giving an Mplus output file in HTML format.

Author

Joshua F. Wiley <jwiley.psych@gmail.com>

Examples

Run this code

MplusAutomation:::htmlout("https://statmodel.com/usersguide/chap3/ex3.1.html")

Run the code above in your browser using DataLab