Fetching contributors…
Cannot retrieve contributors at this time
34 lines (30 sloc) 903 Bytes
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bootstrap.R
\title{Create a sidebar panel}
sidebarPanel(..., width = 4)
\item{...}{UI elements to include on the sidebar}
\item{width}{The width of the sidebar. For fluid layouts this is out of 12
total units; for fixed layouts it is out of whatever the width of the
sidebar's parent column is.}
A sidebar that can be passed to \code{\link{sidebarLayout}}
Create a sidebar panel containing input controls that can in turn be passed
to \code{\link{sidebarLayout}}.
# Sidebar with controls to select a dataset and specify
# the number of observations to view
selectInput("dataset", "Choose a dataset:",
choices = c("rock", "pressure", "cars")),
numericInput("obs", "Observations:", 10)