0 votes
23 views
in Technology by (228k points)

What arguments are required in the R6Class?

1 Answer

0 votes
by (228k points)

In order to create an R6 class in R, the following arguments are required –

  • The first argument in the R6 class is the classname itself. It improves the error messages and allows us to make use of R6 objects with the given S3 generics.
  • The second argument of the R6 argument is ‘public’. This argument provides several methods and fields which make use of snake_case.

Related questions

0 votes
1 answer 37 views
0 votes
1 answer 28 views
+1 vote
1 answer 24 views
0 votes
1 answer 17 views
0 votes
1 answer 34 views
0 votes
1 answer 18 views
0 votes
1 answer 20 views
0 votes
1 answer 18 views
...