findTssOnFactorScorePlot: Find TSS on plot of factor scores

Description Usage Arguments Value

View source: R/findTssOnFactorScorePlot.R

Description

This function plots the factor scores. The user then uses the mouse to click on a point on the plot. The function returns the tss id of that point.

Usage

1
findTssOnFactorScorePlot(fscores, latentVars, newPlot = TRUE)

Arguments

fscores

a data frame of factor scores, plus associated tss ids

latentVars

the names of the latent variables in the factor score data frame; note this vector must be of length 2

newPlot

logical value indicating whether a new plot should be created in the plot window

Value

The tss id of the point selected by the user.


Timothy-Barry/coproanalysis documentation built on Feb. 12, 2020, 7:33 a.m.