Compute the Value of F Density in R Programming - df() Function Last Updated : 25 Jun, 2020 Comments Improve Suggest changes Like Article Like Report df() function in R Language is used to compute the density of F Distribution over a sequence of numeric values. It also plots a density graph for F Distribution. Syntax: df(x, df1, df2) Parameters: x: Numeric Vector df: Degree of Freedom Example 1: Python3 1== # R Program to compute # F Density # Creating a sequence of x-values x <- seq(1, 30, by = 2) # Calling df() Function y <- df(x, df1 = 2, df2 = 3) y Output: [1] 0.2788548009 0.0641500299 0.0255826045 0.0130822015 0.0077135607 [6] 0.0049883063 0.0034419784 0.0024918293 0.0018719698 0.0014482499 [11] 0.0011475506 0.0009274979 0.0007622781 0.0006355006 0.0005363874 Example 2: Python3 1== # R Program to compute # F Density # Creating a sequence of x-values x <- seq(1, 30, by = 0.2) # Calling df() Function y <- df(x, df1 = 3, df2 = 7) # Plot a graph plot(y) Output: Comment More infoAdvertise with us Next Article Compute the Value of F Density in R Programming - df() Function N nidhi_biet Follow Improve Article Tags : R Language R Statistics Similar Reads Compute the Value of Poisson Density in R Programming - dpois() Function dpois() function in R Language is used to compute the Poisson Density for a set of Integer values. It also creates a density plot of poisson distribution. Syntax: dpois(vec, lambda)Parameters: vec: Sequence of integer values lambda: Average number of events per interval Example 1: Python3 # R pro 1 min read Compute the Value of Weibull Density in R Programming - dweibull() Function dweibull() function in R Language is used to compute the value of Weibull Density over different numeric values for Weibull Distribution. Syntax: dweibull(x, shape) Parameters: x: Numeric Vector shape: Shape Parameter Example 1: Python3 1== # R Program to compute # Weibull Density # Creating a seque 1 min read Compute the Logistic Density in R Programming - dlogis() Function dlogis() function in R Language is used to compute logistic density of the distribution. It also creates a plot of the density of the logistic distribution. Syntax: dlogis(vec) Parameters: vec: Vector of x-values for density Example 1: Python3 1== # R program to calculate # logistic density # Create 1 min read Compute Randomly Drawn F Density in R Programming - rf() Function rf() function in R Language is used to compute random density for F Distribution. Syntax: rf(N, df1, df2) Parameters: N: Sample Size df: Degree of Freedom Example 1: Python3 1== # R Program to compute random values # of F Density # Setting seed for # random number generation set.seed(1000) # Set sam 1 min read Compute Density of the Distribution Function in R Programming - dunif() Function dunif() function in R Language is used to provide the density of the distribution function. Syntax: dunif(x, min = 0, max = 1, log = FALSE) Parameters: x: represents vector min, max: represents lower and upper limits of the distribution log: represents logical value for probabilities Example 1: r # 1 min read Compute the value of F Cumulative Distribution Function in R Programming - pf() Function pf() function in R Language is used to compute the density of F Cumulative Distribution Function over a sequence of numeric values. It also plots a density graph for F Cumulative Distribution. Syntax: pf(x, df1, df2) Parameters: x: Numeric Vector df: Degree of Freedom Example 1: Python3 1== # R Prog 1 min read Compute the Value of Cumulative Weibull Density in R Programming - pweibull() Function pweibull() function in R Language is used to compute the value of Cumulative Distribution Function for Weibull Distribution. It also plots a density graph for Cumulative Weibull Function. Syntax: pweibull(x, shape) Parameters: x: Numeric Vector shape: Shape Parameter Example 1: Python3 1== # R Progr 1 min read Compute value of Quantile Chi Square Density in R Programming - qchisq() Function qchisq() function in R Language is used to compute value of chi square quantile function. It creates a quantile function plot for chi square distribution. Syntax: qchisq(vec, df) Parameters: vec: Vector of x-values df: Degree of Freedom Example 1: Python3 1== # R program to compute # Quantile Chi Sq 1 min read Compute the value of Quantile Function over F Distribution in R Programming - qf() Function qf() function in R Language is used to compute the value of quantile function over F distribution for a sequence of numeric values. It also creates a density plot of quantile function over F Distribution. Syntax: qf(x, df1, df2) Parameters: x: Numeric Vector df: Degree of Freedom Example 1: Python3 1 min read Compute Chi Square Density in R Programming - dchisq() Function dchisq() function in R Language is used to compute chi square density for a vector of elements. It also creates a density plot for chi square distribution. Syntax: dchisq(vec, df) Parameters: vec: Vector of x-values df: Degree of Freedom Example 1: Python3 1== # R program to compute # Chi Square Den 1 min read Like