Search
 
SCRIPT & CODE EXAMPLE
 

R

negative binomial distribution rstudio

dnbinom(x, size, prob, mu, log = FALSE)  #P(X = x)
pnbinom(q, size, prob, mu, lower.tail = TRUE, log.p = FALSE)  #P(X <= x)
qnbinom(p, size, prob, mu, lower.tail = TRUE, log.p = FALSE)  #returns x where P(X <= x)=p
rnbinom(n, size, prob, mu)  #Generate a sample of n elements
Comment

PREVIOUS NEXT
Code Example
R :: r set dataframe column names 
R :: how to use recursion in r 
R :: exponent R 
R :: r change row names of a dataframe 
R :: r bar plot 
R :: rename columns based on a variable in r 
R :: how to read a vector input in r 
R :: r dictionary 
R :: convert a row to a column in r 
R :: r library tidyverse 
R :: libpath r 
R :: convert a matrix to a vector in r 
R :: change all columns type in R 
R :: what is factor in r programming 
R :: r as.numeric all columns except 
R :: remove_all_labels(x) 
R :: combine ro columns in r 
R :: if in r 
R :: R check object dimensions 
R :: not displaying prints and on.exit in r 
R :: list variables r 
R :: L in r 
R :: r select column names starting with 
R :: print in r 
Rust :: bevy window descriptor 
Rust :: assert rust 
Rust :: rust multiline comment 
Rust :: rust cube root 
Rust :: string and str to string rust 
Rust :: armanriazi•rust•error•[E0596]: cannot borrow `x` as mutable, as it is not declared as mutable 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =