Compute the Negative Binomial Cumulative Density in R Programming - pnbinom() Function Last Updated : 25 Jun, 2020 Comments Improve Suggest changes Like Article Like Report pnbinom() function in R Language is used to compute the value of negative binomial cumulative density. It also creates a density plot of the negative binomial cumulative distribution. Syntax: pnbinom(vec, size, prob) Parameters: vec: x-values for binomial density size: Number of trials prob: Probability Example 1: Python3 1== # R program to compute # Negative Binomial cumulative Density # Vector of x-values x <- seq(0, 10, by = 1) # Calling pnbinom() Function y <- pnbinom(x, size = 10, prob = 0.5) y Output: [1] 0.0009765625 0.0058593750 0.0192871094 0.0461425781 0.0897827148 [6] 0.1508789063 0.2272491455 0.3145294189 0.4072647095 0.5000000000 [11] 0.5880985260 Example 2: Python3 1== # R program to compute # Negative Binomial Cumulative Density # Vector of x-values x <- seq(0, 100, by = 1) # Calling pnbinom() Function y <- pnbinom(x, size = 10, prob = 0.5) # Plot a graph plot(y) Output: Comment More infoAdvertise with us Next Article Compute the Negative Binomial Cumulative Density in R Programming - pnbinom() Function N nidhi_biet Follow Improve Article Tags : R Language R Statistics Similar Reads Compute the Negative Binomial Density in R Programming - dnbinom() Function dnbinom() function in R Language is used to compute the value of negative binomial density. It also creates a plot of the negative binomial density. Syntax: dnbinom(vec, size, prob) Parameters: vec: x-values for binomial density size: Number of trials prob: Probability Example 1: Python3 1== # R pro 1 min read Compute the Cumulative Poisson Density in R Programming - ppois() Function ppois() function in R Language is used to compute the cumulative density function for Poisson distribution. Syntax: ppois(vec, lambda) Parameters: vec: Sequence of integer values lambda: Average number of events per interval Example 1: Python3 1== # R program to compute # Cumulative Poisson Density 1 min read Compute Cumulative Logistic Density in R Programming - plogis() Function plogis() function in R Language is used to compute logistic cumulative density of the distribution. It also creates a plot of the density of the logistic cumulative distribution. Syntax: plogis(vec) Parameters: vec: Vector of x-values for density Example 1: Python3 1== # R program to calculate # cum 1 min read Compute Cumulative Chi Square Density in R Programming - pchisq() Function pchisq() function in R Language is used to compute cumulative chi square density for a vector of elements. It also creates a density plot for chi square cumulative distribution. Syntax: pchisq(vec, df) Parameters: vec: Vector of x-values df: Degree of Freedom Example 1: Python3 1== # R program to co 1 min read Compute Cumulative Cauchy Density in R Programming - pcauchy() Function pcauchy() function in R Language is used to calculate the cumulative cauchy density. It also creates a density plot of cauchy cumulative distribution. Syntax: pcauchy(vec, scale) Parameters: vec: x-values for cauchy function scale: Scale for plotting Example 1: Python3 1== # R Program to compute cum 1 min read Like