Description Usage Arguments Value Examples
It is often needed to make minor changes (for dead plants etc.) to the output of MakeMainPlan
using PlotFieldPlan
is a good way to do that.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | PlotFieldPlanAdvanced(
List,
rowPlantSpacing = 0.66,
colPlantSpacing = 0.75,
rowBlockSapcing = 0.66,
colBlockSapcing = 0.75,
rowBlockFreq = 15,
colBlockFreq = 4,
DefaultCols = c(`Mb 311` = "#000000"),
SZ = 1.5,
TD = 0,
FlipR = FALSE,
PlantPos = TRUE
)
|
List |
Is the dater frame output from |
rowPlantSpacing |
Spacing typically in m between plants in each row. This can be a list of all the spacings if they are complex. |
colPlantSpacing |
Spacing typically in m between plants in each column. This can be a list of all the spacings if they are complex. |
rowBlockSapcing |
If there are blocks this is the spacing between there rows. This can be a list if it is the same length as the number of expected row paths. |
colBlockSapcing |
If there are blocks this is the spacing between there columns. This can be a list if it is the same length as the number of expected column paths. |
rowBlockFreq |
There is a new block every n rows of plants. |
colBlockFreq |
There is a new block every n columns of plants. |
DefaultCols |
Are a list of key value pair sets for any pre-defined colures to use. |
SZ |
This is the text size in the graph this defaults to 1.5 but can be adjusted for large and small field plans. |
TD |
This allows the text in the field plan to be rotated by n degrees (default = 0). |
FlipR |
This flips the rows (default = FALSE). |
PlantPos |
This sets if to label the plant or the plot in the tick marks. |
A ggplot2
heatmap style graph that can be saved with ggave
. This shows the spacing of all of the plants.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
PlotFieldPlanAdvanced(MakeMainPlan(LETTERS[1:12], 1:3, 1:4), SZ = 5)
PlotFieldPlanAdvanced(MakeMainPlan(LETTERS[1:12], 1:3, 1:4), rowPlantSpacing = 1.5, colPlantSpacing = 0.5, colBlockSapcing = 1, colBlockFreq = 2, SZ = 5)
PlotFieldPlanAdvanced(MakeMainPlan(LETTERS[1:14], 1:4, 1:4, 2,2), rowPlantSpacing = 1.5, colPlantSpacing = 0.5, colBlockSapcing = 0.5, colBlockSapcing = 0.5, colBlockFreq = 2, rowBlockFreq = 2, SZ = 5, PlantPos = F)
PlotFieldPlanAdvanced(MakeMainPlan(LETTERS[1:12], 1:3, 1:4, 4, 4),rowBlockFreq = 4, colBlockSapcing = 0.5, colBlockFreq = 8, SZ = 5, PlantPos = F)
PlotFieldPlanAdvanced(MakeMainPlan(c(LETTERS[1:12],LETTERS[1:4]), 1:4, 1:4), colPlantSpacing = c(2,1,1,2), rowPlantSpacing = c(2,1,1,2), colBlockFreq = 2, SZ = 5, PlantPos = F)
PlotFieldPlanAdvanced(MakeMainPlan(c(LETTERS[1:12],LETTERS[1:4]), 1:4, 1:4, 2,2), colPlantSpacing = c(.5,.5,1,1,1,1,.5,.5), rowPlantSpacing = c(.5,.5,1,1,1,1,.5,.5), colBlockFreq = 2, SZ = 5, PlantPos = T)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.