Skip to content

Commit 295a2ba

Browse files
committed
Update struct_model.Rmd
change from dataset to data.frame
1 parent a414be2 commit 295a2ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/struct_model.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ model_template=setClass('model_template', # replace model_template with ...
297297
params.value_2=20,
298298
299299
# entities can be initialised with populated slots
300-
outputs.result_1=entity(name='Result 1',type='dataset',
301-
description='An example entity object',value=dataset()),
300+
outputs.result_1=entity(name='Result 1',type='data.frame',
301+
description='An example entity object',value=data.frame()),
302302
303303
# outputs dont have to be entity objects but we dont recommend this.
304304
outputs.result_2=2

0 commit comments

Comments
 (0)