View source: R/view-composers.R
add_views | R Documentation |
Add one or more custom views to the current view composition.
add_views(current.views, new.views)
current.views |
the current view composition. |
new.views |
a view or a list of views created with
|
A mistyR view composition containing an union of views from
current.views
and new.views
.
create_initial_view()
for
starting a view composition, with an intraview,
create_view()
for creating a custom view.
Other view composition functions:
add_juxtaview()
,
add_paraview()
,
create_initial_view()
,
create_view()
,
remove_views()
# create random views
view1 <- data.frame(marker1 = rnorm(100, 10, 2), marker2 = rnorm(100, 15, 3))
view2 <- data.frame(marker1 = rnorm(100, 10, 5), marker2 = rnorm(100, 15, 5))
misty.views <- create_initial_view(view1)
new.view <- create_view("dummyname", view2, "dname")
add_views(misty.views, new.view)
misty.views %>% add_views(create_view("dummyname", view2, "dname"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.