...
In
R you can generate a variable filled with 100 random values from a
normal distribution centered at mean 0 with a standard deviation of 1
You can also utilize some functions in package 'pastecs' or 'psych' to obtain descriptive statistics.
or ...
you
can generate a frequency histogram of this generated sample either as a
histogram, a density plot, or a cumulative distribution function ...
you can overlay the histogram with a normal distribution of the sample's mean and SD ... and test for significant deviations from normality using Shapiro-Wilks
to save any of these generated graphs into an editable .svg document flank them with svg() ... and dev.off() ...
|