oreodesign.blogg.se

Primefiles
Primefiles













primefiles

primefiles

To plot a scatter plot one can use the plot function. For qualitative variables, the summary( ) function will provide the frequency of each group. summary(Duncan)įor quantitative variables, the summary( ) function will provide five-number summary statistics with the mean value. It will help to understand the structure of the dataset. The head( ) function will display the top six observations with their variable names in table type format. Let us make some functions on this dataset. After attaching the Duncan dataset one can access the variable say education instead of writing Duncan$education. The attach( ) function makes accessible each variable without writing the variable name with the respective dataset name. Note your system should be connected to the internet. If the car package is not installed on your system, you can install using the following command. Note that the car package must be installed to make use of the Duncan dataset.

primefiles

To use Duncan data, first, you have to load the car package. For example, the car package contains a Duncan dataset that can be used for learning and implementing different R functions.

PRIMEFILES HOW TO

Here we will discuss how to read data from the R library.















Primefiles