Schmitt, Corinna wrote:
> Dear R-Experts,
>
> how can I divide the number 0.285 with 2. I need a function.
> Result: 0.285 / 2 = 0.1425
Just get the / operator:
> divide = get("/")
>
> divide(0.285,2)
[1] 0.1425
Is that what you want?
Barry
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.