A holder of a discrete probability distribution of the infectivity profile

Version: 0.03

Generated: 2022-05-24T22:12:30.975050

Arguments

discretePdf

discretePdf - A discrete pdf of probabilities over time of secondary infection given priamry infection where probability at time 0 is 0 - (java expects a RNumericVector)

id

id - a numeric index or id for this profile - (java expects a int)

Details

A holder of a discrete probability distribution of the infectivity profile

Methods

Constructors

Static methods

  • none

Instance methods

  • none

  • instance$clone()

  • instance$print()


Method new()

no description

Usage

J = jepidemic::JavaApi$get()
J$InfectivityProfile$new(discretePdf, id)
        

Arguments

  • discretePdf - A discrete pdf of probabilities over time of secondary infection given priamry infection where probability at time 0 is 0 - (java expects a RNumericVector)

  • id - a numeric index or id for this profile - (java expects a int)

Returns

R6 InfectivityProfile object:

Examples

not available
			

Examples

if (FALSE) { J = jepidemic::JavaApi$get(); instance = J$InfectivityProfile$new(discretePdf, id) }