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) |
chevron_right
filter_none
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") |
chevron_right
filter_none
Output:

Recommended Posts:
- Perform the Inverse Probability Cumulative Density Analysis on t-Distribution in R Programming - qt() Function
- Perform Probability Density Analysis on t-Distribution in R Programming - dt() Function
- Compute Cumulative Log Normal Probability Density in R Programming - plnorm() Function
- Compute Cumulative Chi Square Density in R Programming - pchisq() Function
- Compute Cumulative Cauchy Density in R Programming - pcauchy() Function
- Compute Cumulative Logistic Density in R Programming - plogis() Function
- Compute the Negative Binomial Cumulative Density in R Programming - pnbinom() Function
- Compute the Cumulative Poisson Density in R Programming - ppois() Function
- Compute the Value of Cumulative Weibull Density in R Programming - pweibull() Function
- Getting Kernel Density Estimates in R Programming - density() Function
- Compute Log Normal Probability Density in R Programming - dlnorm() Function
- Perform Linear Regression Analysis in R Programming - lm() Function
- Compute the Value of Empirical Cumulative Distribution Function in R Programming - ecdf() Function
- Compute the value of F Cumulative Distribution Function in R Programming - pf() Function
- Compute Density of the Distribution Function in R Programming - dunif() Function
- Calculate Cumulative Product of a Numeric Object in R Programming – cumprod() Function
- Calculate Cumulative Sum of a Numeric Object in R Programming - cumsum() Function
- Calculate the Cumulative Minima of a Vector in R Programming - cummin() Function
- Calculate the Cumulative Maxima of a Vector in R Programming - cummax() Function
- Compute Randomly Drawn F Density in R Programming - rf() Function
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

