Files
shiny/man/mainPanel.Rd
2012-07-29 05:15:08 -07:00

25 lines
501 B
R

\name{mainPanel}
\alias{mainPanel}
\title{Create a main panel}
\usage{
mainPanel(...)
}
\arguments{
\item{...}{Ouput elements to include in the main panel}
}
\value{
A main panel that can be passed to \link{pageWithSidebar}
}
\description{
Create a main panel containing output elements that can
in turn be passed to \link{pageWithSidebar}.
}
\examples{
# Show the caption and plot of the requested variable against mpg
mainPanel(
h3(textOutput("caption")),
plotOutput("mpgPlot")
)
}