FielDHub is an R Shiny design of experiments (DOE) app that aids in the creation of traditional, unreplicated, augmented and partially replicated (p-rep) designs applied to agriculture, plant breeding, forestry, animal and biological sciences.
Hi,
I created a new argument to keep the data frame's factors labels when data is provided. If TRUE keeps data labels; otherwise, FALSE, the original numeric labels are kept.
Please, review my changes and adapt them to your own convenience.
2. Latin Square
- I included the functions class, summary and print
- Note I have included the output infoDesign (I think it should be important to standardize all functions to return this argument).
3. Class - I suggest you include all classes as "fielDHub" - see Files Changed
Again, all I have done here are suggestions that I think are important to contribute to the package's output for the end-user.
Hi, I created a new argument to keep the data frame's factors labels when data is provided. If TRUE keeps data labels; otherwise, FALSE, the original numeric labels are kept.
Please, review my changes and adapt them to your own convenience.
Original output (
factorLabels = FALSE
):New output (
factorLabels = TRUE
):ID LOCATION PLOT REP FACTOR_A FACTOR_B FACTOR_C TRT_COMB 1 1 Loc1 101 1 a1 b0 c0 a1b0c0 2 2 Loc1 102 1 a1 b2 c0 a1b2c0 3 3 Loc1 103 1 a0 b2 c1 a0b2c1 4 4 Loc1 104 1 a0 b0 c1 a0b0c1 5 5 Loc1 105 1 a1 b1 c1 a1b1c1 6 6 Loc1 106 1 a1 b1 c0 a1b1c0 7 7 Loc1 107 1 a0 b0 c0 a0b0c0 8 8 Loc1 108 1 a1 b2 c1 a1b2c1 9 9 Loc1 109 1 a0 b2 c0 a0b2c0 10 10 Loc1 110 1 a1 b0 c1 a1b0c1