OneSite: Calculate a site on a right hyperbola.

View source: R/OneSite.R

OneSiteR Documentation

Calculate a site on a right hyperbola.

Description

This function is designed to work internally to functions within SynExtend so it works on relatively simple atomic vectors and has little overhead checking.

Usage

OneSite(X,
        Bmax,
        Kd)

Arguments

X

Numeric; an x coordinate value.

Bmax

Numeric; an asymptotic value.

Kd

Numeric; the half-max of the right hyperbola.

Details

OneSite calculates the Y-value for a given X-value on a right hyperbola.

Value

A numeric of length 1.

Author(s)

Nicholas Cooley npc19@pitt.edu

See Also

NucleotideOverlap, SummarizePairs, WithinSetCompetition, RejectionBy

Examples

x <- OneSite(X = 3,
             Bmax = 10,
             Kd = 3)
             
# plot(x = 1:10, y = vapply(X = 1:10, FUN = function(x) {OneSite(X = x, Bmax = 5, Kd = 2)}, FUN.VALUE = vector(mode = "numeric", length = 1)))

npcooley/SynExtend documentation built on June 8, 2025, 5:24 a.m.