Perform the Probability Cumulative Density Analysis on t-Distribution in R Programming – pt() Function Last Updated : 19 Jun, 2020 Improve Improve Like Article Like Save Share Report pt() function in R Language is used to return the probability cumulative density of the Student t-distribution. Syntax: pt(x, df) Parameters: x: Random variable df: Degree of Freedom Example 1: # R Program to perform # Cumulative Density Analysis # Calling pt() Function pt(2, 10) pt(.542, 15) Output: [1] 0.963306 [1] 0.7021105 Example 2: # R Program to perform # Cumulative Density Analysis # Creating a vector x <- seq(1, 10, by = 1) # Calling pt() Function y <- pt(x, 2) # Plotting probability distribution graph plot(x, y, type ="l") Output: Like Article Suggest improvement Next Perform the Inverse Probability Cumulative Density Analysis on t-Distribution in R Programming - qt() Function Share your thoughts in the comments Add Your Comment Please Login to comment...