proportion: Grid setting of proportions for each sub-population

Description Usage Arguments Value

View source: R/smoothing.R

Description

This function is to decide the r setting given specific density in each dimension

Usage

1
proportion(m, n_dim)

Arguments

m

integer, the number of grid points in each dimension, and we suggest m around 20 for 3 dimension

n_dim

integer for the dimension, which is equal to the number of sub-population plus 1

Value

matrix of setting the proportion of the population by given specific dimension and density in each dimension


DesignCTPB documentation built on Sept. 21, 2021, 9:07 a.m.