logistic: logistic

Description Usage Arguments Value Examples

View source: R/DCARS.R

Description

The logistic function calculates the (inverse) logistic for a given p, where p lies between 0 and 1. Large values indicates many zeros.

Usage

1

Arguments

x

numeric vector of non-negative data x

y

numeric vector of non-negative data y

offset

should 1 be added when pospos is 0 or all

Value

numeric of weighted correlations for the sequence of weights given

Examples

1
2
3
p = seq(0.1,0.9, length.out = 100)
l = logistic(p)
plot(p,l)

shazanfar/DCARS documentation built on Oct. 14, 2020, 11:11 a.m.