Skip to content

attaching data.frame/list within a function

2 messages · Gardar Johannesson, John Fox

#
Dear Gardar,

You could use with(); to modify your example slightly,
+             with(input, {
+                 print(c(a, b, x))
+                 })
+             }
[1] 10  5  0
I hope that this helps,
 John