Posts by taunus • 93 points
4 posts
-
1
votes1
answer56
viewsA: Problem with the "sum" in Rstudio
The issue was resolved with the support of Lucas Miranda and the solution was to clear the memory of Rstudio through the command rm(sum)because there was a function called sumthat was creating…
-
1
votes1
answer56
viewsQ: Problem with the "sum" in Rstudio
I have a problem with the function sum in Rstudio that returns the error attached. I know it is an error that should not occur because it is not from the code. I have already reinstalled Rstudio and…
-
3
votes2
answers144
viewsQ: cycle for calculation of a function
I intend to cycle for but it’s not working. My R knowledge is still poor. I intend to calculate a function F(y, x) = 1 + y + y^2 + ... + y^x = sum(y^(0:x)). I wrote the following code, but it is…
-
4
votes2
answers121
viewsQ: calculate a probability function in R
Good afternoon. It’s my first intervention in the stack, I’m a beginner in the R, and my doubts are quite basic. I need to generate a sample of 1000 observations of a distribution function W. W is a…