Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jalbert, Joe
JoeTools
Commits
a25673de
Commit
a25673de
authored
Jul 08, 2020
by
Jalbert, Joe
Browse files
Fix to simplify (now simplifyAppend)
parent
bf1d27c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/JoeToolFunctions.R
View file @
a25673de
...
...
@@ -22,7 +22,7 @@ se=function(data){
#' @export
#'
#' @examples
simplify
<-
function
(
input
)
{
simplify
Append
<-
function
(
input
)
{
x
=
match
(
"Signif"
,
colnames
(
input
))
+1
y
=
as.numeric
(
ncol
(
input
))
df
=
input
%>%
...
...
@@ -161,7 +161,7 @@ appendInteraction=function(report,df, Measures,Factor,Interaction, Simplify=T){
output
=
report
%>%
left_join
(
anova
,
by
=
"Measure"
)
if
(
Simplify
==
T
){
output
=
simplify
(
output
)
output
=
simplify
Append
(
output
)
}
}
else
{
warning
(
"Error in ANOVA, No comparison added."
)
...
...
Write
Preview
Markdown
is supported
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