Learn R Programming

MoBPS (version 1.13.1)

get.trafo.p: Export parametrization of fixed effects

Description

Function to export parametrization of the fixed effects in transformation function

Usage

get.trafo.p(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  id = NULL,
  use.id = TRUE,
  include = NULL
)

Value

Parameter input used in the transformation function

Arguments

population

Population list

database

Groups of individuals to consider for the export

gen

Quick-insert for database (vector of all generations to export)

cohorts

Quick-insert for database (vector of names of cohorts to export)

id

Individual IDs to search/collect in the database

use.id

Set to TRUE to use MoBPS ids instead of Sex_Nr_Gen based names (default: FALSE)

include

Which observations to include in the calculation (default: NULL (all))

Examples

Run this code
data(ex_pop)
get.trafo.p(ex_pop, gen = 2)

Run the code above in your browser using DataLab