Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lie-Piang, Anouk
Functionality-oriented selection of ingredients
Commits
9d2e81a4
Commit
9d2e81a4
authored
Jun 02, 2021
by
Lie-Piang, Anouk
Browse files
Update FractionModel.Rmd
parent
bf11c24e
Changes
1
Hide whitespace changes
Inline
Side-by-side
FractionModel.Rmd
View file @
9d2e81a4
...
...
@@ -12,8 +12,8 @@ attach(FractionData)
#rename data
viscosity = log(`Final viscosity (mPa.s)`)
dehulledcoarse = `Coarse fraction (%)`
#dehulled from Nienke
dehulledfine = `Fine fraction (%)`
#dehulled from Nienke
dehulledcoarse = `Coarse fraction (%)`
dehulledfine = `Fine fraction (%)`
flour = `Flour (%)` #also dehulled
hull = `Hull (%)`
protisol = `Protein isolate (%)`
...
...
@@ -33,21 +33,12 @@ library(car)
library(R2HTML)
library(readxl)
```
#Model with only parameters that make sense
#Create model
```{r}
model= lm(viscosity~ dehulledcoarse + dehulledfine + flour + hull+ protisol + starchisol + fibreisol, data=FractionData)
# model= lm(viscosity~coarse* fine* flour*hull* protisol* starchisol* fibreisol, data=FractionData)
summary(model)
```
```{r}
plot(model)
```
```{r}
HTML2clip(summary(model))
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment