mspline: Fit monotonous smooth spline

Description Usage Arguments Value Examples

View source: R/DECODER_function.R

Description

This function is used to fit monotonous smooth spline.

Usage

1
mspline(x, y, k = 8, lower = NA, upper = NA)

Arguments

x

the independent variables

y

the dependent variables

k

number of knots. Default=8

lower

the lower bound of spline. Default=NA

upper

the upper bound of spline. Default=NA

Value

sm

smooth condition

p

spline

Examples

1
2
3
4
## Not run: 
fv<-mspline(anchor.bulk,anchor.locus,k=8)

## End(Not run)

jwyang16/DECODER documentation built on Nov. 4, 2019, 3:28 p.m.