Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

view_html

HTML Output for 'view.


Description

An alternative to 'View' for use with 'view'.

Usage

view_html(x,title=deparse(substitute(x)),output,...)

Arguments

x

the result of viewPrep, a matrix of character strings.

title

an optional character string; shown as the title of the display.

output

a function or the name of a function. It determines how where the HTML code is directed to.

If the working environment is RStudio, the default value is "file.show". In other interactive environments it is "browser". In non-interactive sessions it is "stdout".

If output equals "browser" the generated HTML code is shown using browseURL. If output equals "stdout" the HTML code is written to the console output window. If output equals "file.show", the function file.show is used.

If view_html is called within a Jupyter session, the HTML code created is envelopped in a pair of <div> tags and included into the Jupyter output.

...

other arguments; ignored.

Examples

## Not run: 
    example(data.set)
    view(Data,vfunc=view_html)

## End(Not run)

memisc

Management of Survey Data and Presentation of Analysis Results

v0.99.27.3
GPL-2
Authors
Martin Elff (with contributions from Christopher N. Lawrence, Dave Atkins, Jason W. Morgan, Achim Zeileis)
Initial release
2020-11-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.