Error trying to use the function rbern in [R] [duplicate]
-
19-04-2021 - |
Pergunta
I'm trying to use rbern function in R, but it says the following message
rbern (10, 0.1)
Error: Could not find the "rbern"
I even tried to load the library (Rlab) and will not let me, I'm doing wrong?. I remember a few days use the same function smoothly. Please I need help with this.
library(Rlab)
Error en library(Rlab) : there is no package called ‘Rlab’
Solução
install.packages('Rlab')
will help
Outras dicas
An rbern
is also available in the extraDistr
package.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow