bfa_wrapper: Wrapper for the bfa package.

Description Usage Arguments Author(s) See Also

View source: R/ruvb.R

Description

This is just a wrapper for using the bfa_gauss from the bfa package. Default settings are used.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
bfa_wrapper(
  Y21,
  Y31,
  Y32,
  k,
  nsamp = 10000,
  burnin = round(nsamp/4),
  keep = 20,
  print_status = 500
)

Arguments

Y21

Top left of matrix.

Y31

Bottom left of matrix.

Y32

Top right of matrix.

k

The rank of the mean matrix.

nsamp

A positive integer. The number of samples to draw.

burnin

A positive integer. The number of early samples to discard.

keep

A positive integer. We will same the updates of Y22 every keep iteration of the Gibbs sampler.

print_status

How often should bfa print updates?

Author(s)

David Gerard

See Also

bfa_gauss for the workhorse function.


dcgerard/vicar documentation built on July 7, 2021, 1:08 p.m.