# NOT RUN {
# Create an Excel OM template and rmd file called 'myOM.xlsx' and 'myOM.rmd':
OMinit('myOM')
# Create an Excel OM template and text file called 'myOM.rmd' and 'myOM.rmd', using
another OM as a template:
OMinit('myOM', myOM)
# Create an Excel OM template and text file called 'myOM.rmd' and 'myOM.rmd', using
the Stock object 'Herring' as a template:
OMinit('myOM', Herring)
# Create an Excel OM template and text file called 'myOM.rmd' and 'myOM.rmd', using
the Stock object 'Herring', and Obs object 'Generic_obs' as templates:
OMinit('myOM', Herring, Generic_obs)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab