search for: pastsaldo

Displaying 2 results from an estimated 2 matches for "pastsaldo".

Did you mean: passalgo
2018 Jan 02
3
Help with first S3-class
...below and my problems are: 1. What should be added some plot.default() calls the account$plot() method ? 2. What should the account$plot() be implemented to show some kind of plot ? 3. How can one function inside "me"-list called another function. Eg. How can account$plot() call account$pastSaldo() ? Here are my code. Feel free to comment on any aspect of the code. ps. I hope I have manage to strip HTML. Regards Martin account <- function(owner = NULL) { thisEnv <- environment() pastSaldo <- vector() saldo <- 0 owner <- owner me <- list( this...
2018 Jan 02
0
Help with first S3-class
...should the account$plot() be implemented to show some kind of plot ? The plot.account function could call account$plot(); it can do whatever you want to plot the object. > 3. How can one function inside "me"-list called another function. Eg. > How can account$plot() call account$pastSaldo() ? There's no particular support for having them see each other the way you've defined them. A better way to define them would be as local functions within the account body; then they'd be able to see each other without any prefix. Duncan Murdoch > > Here are my code. Feel...