initialize_grid: Creates grid of mu and lambda values to optimize estimation...

Description Usage Arguments Value

View source: R/initialize_grid.R

Description

Creates grid of mu and lambda values to optimize estimation equation

Usage

1
2
3
4
5
6
7
initialize_grid(
  data,
  mu_grid_length = 20,
  lambda_grid_length = 20,
  mu_tolerance = 20,
  lambda_tolerance = 20
)

Arguments

data

dataset containing the activity profiles

mu_grid_length

number describing how long the mu grid should be

lambda_grid_length

number describing how long the lambda grid should be

mu_tolerance

number describing how fine the different mus should be in the grid

lambda_tolerance

number describing how fine the different mus should be in the grid

Value

a tibble with all of the valid mu-lambda combinations from the data


thecbp/ActivityProfileR documentation built on April 10, 2021, 6:44 p.m.