Compute value of Logistic Quantile Function in R Programming – qlogis() Function

qlogis() function in R Language is used to compute the value of logistic quantile function. It also creates a plot of the quantile function of logistic density distribution.

Syntax: qlogis(vec)

Parameters:
vec: x-values for normal density

Example 1:

filter_none

edit
close

play_arrow

link
brightness_4
code

# R program to compute value of
# logistic quantile function
  
# Creating x-values for density
x <- seq(0, 1, by = 0.2)
  
# Calling qlogis() function
y <- qlogis(x)
y

chevron_right


Output:

[1]       -Inf -1.3862944 -0.4054651  0.4054651  1.3862944        Inf

Example 2:

filter_none

edit
close

play_arrow

link
brightness_4
code

# R program to compute value of
# logistic quantile function
  
# Creating x-values for density
x <- seq(0, 1, by = 0.02)
  
# Calling qlogis() function
y <- qlogis(x)
  
# Plot a graph
plot(y)

chevron_right


Output:

My Personal Notes arrow_drop_up

Recommended Posts:


Check out this Author's contributed articles.

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.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.