Skip to content

Commit ab0d26a

Browse files
Patrick SmithPatrick Smith
Patrick Smith
authored and
Patrick Smith
committed
Updating to include the finished working first version of the relTrain function.
1 parent 91748a4 commit ab0d26a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

relational permutations.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ a <- c("A<B", "B>C")
77
b <- c("A<B", "B>C", "C<D", "E>D", "F>E", "F<G")
88
c <- c("A<B")
99
d <- c("A<B", "B<C", "C<D", "D<E", "E<F", "F<G")
10+
e <- c("A<B", "B<C")
1011
t<- c("gkuj", "h<i", "i<k", "k<j", "l<o", "mkuk", "n=o", "p>o")
12+
u<-c("A<B", "B>C", "C<D", "E>D", "F>E", "F<G","g=j", "h<i", "i<k", "k<j", "l<o", "m=k", "n=o", "p>o", "D=m","i=o")
1113
#The a,b,c, and t variables above are examples of lists of relational statements.
1214
#You can provide as many statements as you like in the form of Single_letter_Relation(=,<,>, or ku)_Single_letter (e.g. A>B)
1315
#Once your list is saved to a variable name, running the v0.1 code at the bottom's relationTrain(variablename)
@@ -125,7 +127,7 @@ relTrain<- function(a){
125127
return(x)
126128
} #This now does all of the below in v0.2 automatically.
127129

128-
x<-relTrain(a) #use the variable name "x" to pass to the visualizer without issue
130+
x<-relTrain(u) #use the variable name "x" to pass to the visualizer without issue
129131

130132
# ############ All of the below until the V0.1 code is just the detailed commenting of the relTrain function internals above.############
131133
# ##The first instances of u,v,w, & x below should only be run once.

0 commit comments

Comments
 (0)