plotdnorm: plotdnorm

Description Usage Arguments Value Author(s)

View source: R/statistical_plot.R

Description

This function plot the density function of a normal distribution.

Usage

1
2
3
4
5
6
7
8
9
plotdnorm(
  mean = 0,
  sd = 1,
  from = mean - 5 * sd,
  to = mean + 5 * sd,
  by = 0.01,
  log = FALSE,
  ...
)

Arguments

mean

mean

sd

standard deviations

from, to

x limits

by

number: increment of the sequence

log

logical; if TRUE, probabilities p are given as log(p) (see dnorm)

...

Other rguments to be passed to plot_ly (or plot) functions

Value

An interactive graph if plotly package is available or a basic R plot.

Author(s)

Julien Diot


juliendiot42/rjdiotperso documentation built on Jan. 8, 2020, 3:38 p.m.