-
Notifications
You must be signed in to change notification settings - Fork 641
Expand file tree
/
Copy pathhighlight_key.Rd
More file actions
29 lines (28 loc) · 856 Bytes
/
highlight_key.Rd
File metadata and controls
29 lines (28 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotly_data.R
\name{highlight_key}
\alias{highlight_key}
\title{Highlight/query data based on primary key}
\usage{
highlight_key(x, ...)
}
\arguments{
\item{x}{a plotly visualization or a \code{data.frame}.}
\item{...}{arguments passed to
\code{\link[crosstalk:SharedData]{crosstalk::SharedData$new()}}.}
}
\value{
An object of class \code{\link[crosstalk:SharedData]{crosstalk::SharedData}}.
}
\description{
This function simply creates an object of class \code{\link[crosstalk:SharedData]{crosstalk::SharedData}}.
The reason it exists is to make it easier to teach others how to leverage its
functionality in plotly. It also makes it more discoverable if one is already
aware of \code{\link[=highlight]{highlight()}}.
}
\seealso{
\link{highlight}
}
\author{
Carson Sievert
}