Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hideLocation

hideLocation Obfuscating the true location of the real data.


Description

Hides the true location of the data as a non-obvious calculation string.

Usage

hideLocation(trueLoc, nSubjects)

Arguments

trueLoc

A vector of one or more numbers in the set 1, 2, ..., nSubjects whose locations are to be hidden.

nSubjects

An integer larger than 1 used to define the set 1, 2, ..., nSubjects.

Value

Returns a character vector, each element being a string containing an obscure calculation which, if parsed and evaluated, would return the value of the corresponding number in trueLoc.

See Also

Examples

trueLoc <- hideLocation(3,100)
trueLoc
revealLocation(trueLoc)

n <- 200
trueLoc <- sample(1:n, 3)
trueLoc
ans <- hideLocation(trueLoc , n)
ans
revealLocation(ans)

qqtest

Self Calibrating Quantile-Quantile Plots for Visual Testing

v1.2.0
GPL-3
Authors
Wayne Oldford [aut, cre]
Initial release
2020-03-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.