f_plot_linERR: plot the likelihood

Description Usage Arguments Value Examples

View source: R/f_14_plot_fitERR.r

Description

plot the partial log likelihood function in the case of one dimension in the linear part

Usage

1
2
f_plot_linERR(object, formula, data, rsets, n_lin_vars, n_loglin_vars, id_name,
  time_name)

Arguments

object

An rERR class object

formula

Surv(entry_time,exit_time,outcome)~loglin(loglin_var1,..,loglin_varn)+
lin(lin_var1,..,lin_varm)+strata(strat_var1,...strat_varp)

data

data set returned from f_to_model_data

rsets

list of risksets, output of f_risksets

n_lin_vars

number of linear variables (attribute of the to_model_data)

n_loglin_vars

number of loglinear varaibles (attribute of the to_model_data)

id_name

name of variable containing the names of subjects

time_name

name of the time variable

Value

rERR object with the estimation

Examples

1
f_fit_linERR(formula,data,rsets,n_lin_vars,n_loglin_vars,id_name,time_name)

rERR documentation built on May 2, 2019, 11:10 a.m.

Related to f_plot_linERR in rERR...