Revision a84e9ffb3ac841114d4db4e70036eab333d29d2f authored by R. Wayne Oldford on 10 May 2021, 06:10:05 UTC, committed by cran-robot on 10 May 2021, 06:10:05 UTC
1 parent bb4dcd2
Raw File
l_ng_ranges.measures.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/l_ng_ranges.R
\name{l_ng_ranges.measures}
\alias{l_ng_ranges.measures}
\title{2d Navigation Graph Setup with dynamic node fitering using a slider}
\usage{
\method{l_ng_ranges}{measures}(measures, ...)
}
\arguments{
\item{measures}{object of class measures, see \code{\link{measures1d}},
\code{\link{measures2d}}.}

\item{...}{arguments passed on to configure the scatterplot}
}
\value{
named list with plots-, graph-, plot-, navigator-, and context 
  handle. The list also contains the environment of the the function call in 
  \code{env}.
}
\description{
Measures object is of class measures. When using measure objects
  then the measures can be dynamically re-calculated for a subset of the
  data.
}
\details{
Note that we provide the \code{\link{scagnostics2d}} function to
  create a measures object for the scagnostics measures.

For more information run: \code{l_help("learn_R_display_graph.html#l_ng_ranges")}
}
\examples{
if (interactive()){

# 2d measures
# s <- scagnostics2d(oliveAcids)
# nav <- l_ng_ranges(s, color=olive$Area)

# 1d measures
scale01 <- function(x){(x-min(x))/diff(range(x))}
m1d <- measures1d(sapply(iris[,-5], scale01),
     mean=mean, median=median, sd=sd,
     q1=function(x)as.vector(quantile(x, probs=0.25)),
     q3=function(x)as.vector(quantile(x, probs=0.75)))

m1d()

nav <- l_ng_ranges(m1d, color=iris$Species)

}
}
\seealso{
\code{\link{measures1d}}, \code{\link{measures2d}},
  \code{\link{scagnostics2d}}, \code{\link{l_ng_ranges}},
  \code{\link{l_ng_plots}}
}
back to top