Learn R Programming

sommer (version 4.4.3)

logspace: Decreasing logarithmic trend

Description

logspace creates a vector with decreasing logaritmic trend.

Usage

logspace(x, p=1)

Value

$res

a vector of length n with logarithmic decrease trend.

Arguments

x

sequence of values to pass through the function.

p

power to be applied to the values.

Author

Giovanny Covarrubias-Pazaran

References

Covarrubias-Pazaran G (2016) Genome assisted prediction of quantitative traits using the R package sommer. PLoS ONE 11(6): doi:10.1371/journal.pone.0156744

See Also

The core functions of the package mmes

Examples

Run this code

plot(logspace(1:100,p=1))
plot(logspace(1:100,p=2))
plot(logspace(1:100,p=3))

Run the code above in your browser using DataLab