Posts by Lucimar • 41 points
2 posts
-
1
votes1
answer1223
viewsQ: Function tapply - arguments must have the same length
Hello, good night! I have a data frame with thousands of rows and 58 columns containing, for example, supplier, material, quantity of material and total value of material. I made an example below,…
-
3
votes1
answer695
viewsQ: How to count different lines in R
I have the following table: Material Fornecedor 1 A 1 B 1 A 1 C 1 C 2 B 2 D 2 E 3 A 3 B 3 C 3 F 3 G 3 A 4 A I need to create a new column of 1 and 0, where 0 will indicate that that supplier has…