Professional Documents
Culture Documents
Bba603a
Bba603a
Bba603a
At its core, R Studio streamlines the R programming experience by offering a dedicated script
editor, interactive console, and an array of tools for data visualization. The IDE's versatility is
evident in its support for project management, version control integration with Git, and
seamless package management, making it easy for users to extend R's functionality with
various libraries.
R Studio's appeal lies not only in its ability to facilitate coding and data exploration but also in
its support for reproducible research through R Markdown. This feature enables the creation
of dynamic documents that seamlessly combine code, text, and results, enhancing the
communication and documentation of data-driven insights.
Analyzed Data of Subway
Question No. 1: Find out the minimum, maximum, mean, and standard deviation:
1.OVERALL SATISFACTION
>result.min <- min(CUSTOMER_SATISFACTION_DATASET$'OVERALL SATISFACTION’)
> print(result.min)
[1] 0
> result.max <- max(CUSTOMER_SATISFACTION_DATASET$'OVERALL SATISFACTION’)
> print(result.max)
[1] 7
> result.mean <- mean(CUSTOMER_SATISFACTION_DATASET$'OVERALL SATISFACTION’)
> print(result.mean)
[1] 5.227695
> result.sd <- sd(CUSTOMER_SATISFACTION_DATASET$'OVERALL SATISFACTION’)
> print(result.sd)
[1] 1.419513
2.FOOD LOOKS APPETIZING
>result.min <- min(CUSTOMER_SATISFACTION_DATASET$'FOOD LOOKS APPETIZING’)
> print(result.min)
[1] 0
> result.max <- max(CUSTOMER_SATISFACTION_DATASET$'FOOD LOOKS APPETIZING’)
> print(result.max)
[1] 7
> result.mean <- mean(CUSTOMER_SATISFACTION_DATASET$'FOOD LOOKS APPETIZING’)
> print(result.mean)
[1] 5.4335
> result.sd <- sd(CUSTOMER_SATISFACTION_DATASET$'FOOD LOOKS APPETIZING’)
> print(result.sd)
[1] 1.533085
Analyzed Data of Subway
Question No. 1: Find out the minimum, maximum, mean, and standard deviation:
3.HAS FOOD THAT TASTES GOOD
> result.min <- min(CUSTOMER_SATISFACTION_DATASET$'HAS FOOD THAT TASTES GOOD’)
> print(result.min)
[1] 0
> result.max <- max(CUSTOMER_SATISFACTION_DATASET$'HAS FOOD THAT TASTES GOOD’)
> print(result.max)
[1] 7
> result.mean <- mean(CUSTOMER_SATISFACTION_DATASET$'HAS FOOD THAT TASTES GOOD’)
> print(result.mean)
[1] 5.455389
> result.sd <- sd(CUSTOMER_SATISFACTION_DATASET$'HAS FOOD THAT TASTES GOOD’)
> print(result.sd)
[1] 1.501577
4.HAS FOOD I CRAVE
> result.min <- min(CUSTOMER_SATISFACTION_DATASET$'HAS FOOD I CRAVE’)
> print(result.min)
[1] 0
> result.max
[1] 7
> result.max <- max(CUSTOMER_SATISFACTION_DATASET$'HAS FOOD I CRAVE’)
> print(result.max)
[1] 7
> result.mean <- mean(CUSTOMER_SATISFACTION_DATASET$'HAS FOOD I CRAVE’)
> print(result.mean)
[1] 5.147752
> result.sd <- sd(CUSTOMER_SATISFACTION_DATASET$'HAS FOOD I CRAVE’)
> print(result.sd)
[1] 1.710986
Analyzed Data of Subway
Question No. 1: Find out the minimum, maximum, mean, and standard deviation: