Search found 9 matches

by lkchan
Wed Feb 21, 2024 7:14 am
Forum: Module development
Topic: how to display dataframe data in columns?
Replies: 13
Views: 1701

Re: how to display dataframe data in columns?

How do I name a row title? table3 <- self$results$compTable for (rowNom in seq_along(colMeansFuzzyScale)) { values <- as.list(colMeansFuzzyScale[rowNom]) table3$setRow(rowNo=1, values) } I tried this but not sucess. table1 <- self$results$scoreTable for (rowNom in seq_len(nrow(df_combined))) { if (r...
by lkchan
Tue Feb 20, 2024 7:53 am
Forum: Module development
Topic: how to display dataframe data in columns?
Replies: 13
Views: 1701

Re: how to display dataframe data in columns?

Thank you sir
sure, please feel free to add me in Slack group. Plan to develop other modules too.

PS: I am crying and touched because you solved the issue. Thank you so much.
by lkchan
Tue Feb 20, 2024 6:59 am
Forum: Module development
Topic: how to display dataframe data in columns?
Replies: 13
Views: 1701

Re: how to display dataframe data in columns?

https://github.com/lerlerchan/FuzzyDelpiJmv/blob/main/images/desiredOutput.png yes. a table with 5 rows and 6 columns item1 item2 item3 item4 item5 ________________________________________ title1 x x x x x #from df2 title2 x x x x x # from df4 title3 title4
by lkchan
Tue Feb 20, 2024 6:31 am
Forum: Module development
Topic: how to display dataframe data in columns?
Replies: 13
Views: 1701

Re: how to display dataframe data in columns?

https://github.com/lerlerchan/FuzzyDelp ... sampleData

Thank you

can setRow ... display data in columns cells? use for loop columns in the dataframe?
by lkchan
Tue Feb 20, 2024 5:59 am
Forum: Module development
Topic: how to display dataframe data in columns?
Replies: 13
Views: 1701

Re: how to display dataframe data in columns?

Hi

https://github.com/lerlerchan/FuzzyDelpiJmv.git

still trying to understand addColumn() functions
by lkchan
Tue Feb 20, 2024 5:41 am
Forum: Module development
Topic: how to display dataframe data in columns?
Replies: 13
Views: 1701

Re: how to display dataframe data in columns?

this is my r.yaml code - name: scoreTable title: Fuzzy Score Table type: Table rows: 4 columns: - name: var title: '' type: text - name: varScore title: '' type: number here is the .b.R code table1 <- self$results$scoreTable # Assuming you have a dataframe called 'dataframe' with the data you want t...
by lkchan
Tue Feb 20, 2024 3:57 am
Forum: Module development
Topic: how to display dataframe data in columns?
Replies: 13
Views: 1701

how to display dataframe data in columns?

I wish to create a dynamic tables as https://github.com/lerlerchan/FuzzyDelpiJmv/blob/main/images/similarOutput.jpg 1) Is it possible to display a dataframe data in dynamic table? 2) can we loop through the column and dataframe? Currently, I am trying to learn from https://github.com/arcaldwell49/Si...
by lkchan
Mon Jan 08, 2024 7:54 am
Forum: Module development
Topic: match response to fuzzy scales
Replies: 2
Views: 5895

Re: match response to fuzzy scales

Thank you for the response

I will try my best to code it
https://colab.research.google.com/drive ... sp=sharing

PS; all the best ahhhhh
by lkchan
Wed Dec 13, 2023 8:03 am
Forum: Module development
Topic: match response to fuzzy scales
Replies: 2
Views: 5895

match response to fuzzy scales

I am developing Fuzzy Delphi module. I tried to do the determination of triangular fuzzy number. I try to match the user data which is Likert5 to Fuzzy number. However I receive the error Error in nrow(likert5_data) : object 'likert5_data' not found Error: unable to load R code in package 'FuzzyDelp...