prior_cyclic: Estimate priors for cyclic spline

Description Usage Arguments Value

View source: R/pre_proc.R

Description

This is where you describe the function itself contains the rownames and the subsequent columns are the sample identifiers. Any rows with duplicated row names will be dropped with the first one being

Usage

1
prior_cyclic(data, knot_loc, lambda_shape)

Arguments

data

Dataframe with the underlying data. Columns must include variable names

knot_loc

List of knot locations

spline_type

List of spline types. Either cc or cr are accepted. Names must agree with knot_loc

Value

A matrix of the infile


staggelab/spibayes documentation built on Nov. 17, 2020, 8:19 a.m.