About Dataset

row

Dataset Description

[1] "Dataset Description"
[1] "The data given in data frame Insurance consist of the numbers of policyholders of an insurance company who were exposed to risk, and the numbers of car insurance claims made by those policyholders in the third quarter of 1973. "

View dataset

[1] "View Dataset"

Statistical Inference

Column

Dataset - structure

[1] "Structure of insurance dataset"
'data.frame':   64 obs. of  5 variables:
 $ District: Factor w/ 4 levels "1","2","3","4": 1 1 1 1 1 1 1 1 1 1 ...
 $ Group   : Ord.factor w/ 4 levels "<1l"<"1-1.5l"<..: 1 1 1 1 2 2 2 2 3 3 ...
 $ Age     : Ord.factor w/ 4 levels "<25"<"25-29"<..: 1 2 3 4 1 2 3 4 1 2 ...
 $ Holders : int  197 264 246 1680 284 536 696 3582 133 286 ...
 $ Claims  : int  38 35 20 156 63 84 89 400 19 52 ...

link to About Dataset

Dataset -summary

[1] "Summary"
 District    Group       Age        Holders            Claims      
 1:16     <1l   :16   <25  :16   Min.   :   3.00   Min.   :  0.00  
 2:16     1-1.5l:16   25-29:16   1st Qu.:  46.75   1st Qu.:  9.50  
 3:16     1.5-2l:16   30-35:16   Median : 136.00   Median : 22.00  
 4:16     >2l   :16   >35  :16   Mean   : 364.98   Mean   : 49.23  
                                 3rd Qu.: 327.50   3rd Qu.: 55.50  
                                 Max.   :3582.00   Max.   :400.00  

link to About Dataset

---
title: "Data manipulation for diamonds dataset"
output: 
  flexdashboard::flex_dashboard:
    orientation: columns
    vertical_layout: scroll
    theme: paper
    social: menu
    source_code: embed
---

```{r setup, include=FALSE}
library(flexdashboard)
library(MASS)
library(DT)
```

# About Dataset

row {data-width=100}
-----------------------------------------------------------------------

### Dataset Description

```{r}
print("Dataset Description")
print("The data given in data frame Insurance consist of the numbers of policyholders of an insurance company who were exposed to risk, and the numbers of car insurance claims made by those policyholders in the third quarter of 1973. ")
```
### View dataset

```{r}
print("View Dataset")
datatable(Insurance)
```


#  Statistical Inference

Column {data-width=100, .tabset}
-----------------------------------------------------------------------

### Dataset - structure

```{r}
print("Structure of insurance dataset")
str(Insurance)

```
link to [About Dataset]

### Dataset -summary

```{r}
print("Summary")
summary(Insurance)
```


link to [About Dataset]