Description Usage Arguments Details Value Slots Examples
The class EX1
stores HMD exposure information in a systematic way.
The header
-method gets the raw header information of an EX1 object
The ex1
-method gets the exposure information of an EX1 object
The content
-method gets the exposure table information of an EX1 object
The region
-method gets the regional information of an EX1 object
The protocol
-method gets the protocol information of an EX1 object
The Exposure1
-constructor creates an EX1 object
The length
-method gets the number of rows int the EX1 ex1 data.table
The selectYears
-method gets a subset of an EX1 object
The readEX1x1
-method reads all information from the file 1x1 exposure table
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ## S4 method for signature 'EX1'
header(object)
## S4 method for signature 'EX1'
ex1(object)
## S4 method for signature 'EX1'
content(object)
## S4 method for signature 'EX1'
region(object)
## S4 method for signature 'EX1'
protocol(object)
Exposure1(header, ex1, content, region, protocol)
## S4 method for signature 'EX1'
length(x)
## S4 method for signature 'EX1'
show(object)
## S4 method for signature 'EX1'
selectYears(object, selectYears)
readEX1x1(infile)
|
object |
EX1-object |
header |
vector |
ex1 |
data.table |
content |
character |
region |
character |
protocol |
character |
x |
EX1-object |
selectYears |
vector |
infile |
character file name |
This EX1
class fits to Human Mortality Database (HMD) 1x1 period exposure tables.
See https://www.mortality.org/ for data details.
An EX1 instance stores the raw header, the content,
the version protocol and regional information and the
exposure table as a data.table object.
The validation adds a pure numeric age AgeLow to the exposure table.
Try demo(EX1) for a demonstration.
The header
-method returns the raw header information
The ex1
-method returns the exposure table
The content
-method returns the content information
The region
-method returns the regional information
The protocol
-method returns the protocol information
The Exposure1
-constructor returns an EX1 object
The length
-method returns the number of rows
The selectYears
-method returns an EX1 object
The readEX1x1
-method returns an EX1 object
content
describes the content
region
regional entity
header
includes the raw header information
ex1
stores the exposure table (data.table)
protocol
contains the protocol information
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.