filmov
tv
Formula interface in R programming: for statistical tests, models and plotting

Показать описание
#rprogramming #datavisualization #rprogrammingforbeginners #formula
Here I have explained the formula of formula interface very commonly used in R programming. Formula interface is used to specify variables and their role in statistical tests, statistical models and plotting applications.
base R and lattice plotting systems use formula interface extensively.
Facebook page:
Mail Id:
youtube playlist:
# Script
head(iris)
df_trunc = iris[1:100,]
summary(df_trunc)
aov(Sepal.Length~Species,iris) #Anova
mod = lm(Sepal.Length~Species,iris) # Linear
summary(mod)
plot(Sepal.Length~Species,iris) #datavisualization
plot(Sepal.Length~Sepal.Width , iris) #datavisualization
library(lattice)
bwplot(~Sepal.Length|Species,iris) #datavisualization
0:00 introduction
0:24 formula - components
1:20 Dataset
2:01 Use for statistical tests
3:07 use for statistical model
3:58 use for plotting graphs
4:58 use for plotting in Lattice
5:14 appeal for subscription
Here I have explained the formula of formula interface very commonly used in R programming. Formula interface is used to specify variables and their role in statistical tests, statistical models and plotting applications.
base R and lattice plotting systems use formula interface extensively.
Facebook page:
Mail Id:
youtube playlist:
# Script
head(iris)
df_trunc = iris[1:100,]
summary(df_trunc)
aov(Sepal.Length~Species,iris) #Anova
mod = lm(Sepal.Length~Species,iris) # Linear
summary(mod)
plot(Sepal.Length~Species,iris) #datavisualization
plot(Sepal.Length~Sepal.Width , iris) #datavisualization
library(lattice)
bwplot(~Sepal.Length|Species,iris) #datavisualization
0:00 introduction
0:24 formula - components
1:20 Dataset
2:01 Use for statistical tests
3:07 use for statistical model
3:58 use for plotting graphs
4:58 use for plotting in Lattice
5:14 appeal for subscription