get_sd_quant: get_sd_quant

Description Usage Arguments Value Author(s) Examples

View source: R/scsR.R

Description

This method scan the quantile standard deviation matrix (produced by create-sd-matrix function) and finds the quantile of the given standard deviation and average score

Usage

1
get_sd_quant(sdval, score, sd_matrix)

Arguments

sdval

standard deviation (number)

score

average score (number)

sd_matrix

standard deviation quantile matrix (matrix)

Value

number from 1 to 20 that represents the quantile of the standard deviation in the given score range (1 corresponds to 0.05 percent). (integer)

Author(s)

Andrea Franceschini

Examples

1
2
3
4
5
6
7
8
	data(uuk_screen)

	# to speed up the example we use only the first 2500 rows
	uuk_screen_reduced = uuk_screen[1:2500,]

	screen = add_seed(uuk_screen_reduced)
	sd_matrix = create_sd_matrix(screen)
	quant <- get_sd_quant(0.3, 0.9, sd_matrix)

scsR documentation built on April 28, 2020, 7:11 p.m.