Block Design {NMVANOVA}R Documentation

Block Design

Description

Due to 'Rstudio's' status as open source software, we believe it will be utilized frequently for future data analysis by users whom lack formal training or experience with 'R'. The block design is a linear modeling which accounts for blocking with a one-way analysis of variance without downloading multiple libraries or packages. Users can easily manipulate the data block, n-value, k-value, and factor to optimize analysis for any data set.

Usage


BlockD(r,k,f,n)

Arguments

r

The dataset or source you want to examine

k

The parameter for the model to help account for blocking

f

The factor,subject, and/or category that is being examined.

n

The sample size number

Details

This function has a built in model were we create the treatment response with also including the blocking of the data(response~treatment) and (response~treatment+blocking). This allows you to see if the baseline model is the best or if blocking truly indeed helps. Also, this gives you diagnostics residual plots, and a TUKEY HSD so you can go past the anova table.

Value

Anova analysis of the model with a TukeyHSD with diagnostic plots

Note

More Packages to come to accommadate all models and designs in library called Novice ANOVA.

Author(s)

Joseph V. Lipoff, Will Pauls, Kaylin C. Dobbs, Jordan L. Jensen, Kevin Woods, Evan T. Johnson, Wyatt Fowler, Scott D. Zimmerman,and Paul Plummer

Examples


House<-as.character(c(1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4))
life<-c(100:115)
data<-cbind.data.frame(House,life)
data(BostonHousing)
r=data$life
k=4
f=c("Person A", "Person B", "Person C", "Person D")
n=4

BlockD(r,k,f,n)




[Package NMVANOVA version 1.1.0 Index]