The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
library(MedLEA)
library(ggplot2)
library(dplyr)
library(tidyr)
library(wordcloud2)
library(patchwork)
library(tm)
#unique(medlea$Family_Name)
<- medlea$Family_Name
text1 <- Corpus(VectorSource(text1))
docs <- docs%>% tm_map(stripWhitespace)
docs <- TermDocumentMatrix(docs)
dtm <- as.matrix(dtm)
matrix <- sort(rowSums(matrix), decreasing = TRUE)
words <- data.frame(word = names(words), freq = words)
df <- wordcloud2(data = df, size = 0.9,color = 'random-dark', shape = 'pentagon')
p1 p1
<- medlea %>% filter(Arrangements == "Simple")
medlea
<- as.data.frame(table(medlea$Shape))
d11 names(d11) <- c('Shape_of_the_leaf', 'No_of_leaves')
<- ggplot(d11, aes(x= reorder(Shape_of_the_leaf, No_of_leaves), y=No_of_leaves)) + labs(y="Number of leaves", x="Shape of the leaf") + geom_bar(stat = "identity", width = 0.6) + ggtitle("Composition of the Sample by the Shape Label") + coord_flip() p2
<- as.data.frame(table(medlea$Edges))
d11 names(d11) <- c('Edges', 'No_of_leaves')
#d11 <- d11 %>% mutate(Percentage = round(No_of_leaves*100/sum(No_of_leaves),0))
#ggplot(d11, aes(x= reorder(Shape_of_the_leaf, Percentage), y=Percentage)) + labs(y="Percentage", x="Shape of the leaf") + geom_bar(stat = "identity", width = 0.5) + geom_label(aes(label = paste0(Percentage, "%")), nudge_y = -3, size = 3.25, label.padding = unit(0.175,"lines")) + ggtitle("Composition of the Sample by the Shape Label") + coord_flip()
<- ggplot(d11, aes(x= reorder(Edges, No_of_leaves), y=No_of_leaves)) + labs(y="Number of leaves", x="Edge type of the leaf") + geom_bar(stat = "identity", width = 0.6) + ggtitle("Composition of the Sample by the Edge Type") + coord_flip()
p3
+ p3 + plot_layout(ncol = 1) p2
<- filter(medlea, Shape != "Scale-like shaped")
medlea
<- as.data.frame(table(medlea$Shape,medlea$Edges))
d29 names(d29) <- c('Shape','Edges','No_of_leaves')
ggplot(d29, aes(fill = Edges, x=Shape , y=No_of_leaves)) + labs(y="Number of leaves", x="Shape of the leaf") + geom_bar(stat = "identity", width = 0.5, position = position_dodge()) + coord_flip() + ggtitle("Composition of the sample by Shape Label and Edge type") + scale_fill_brewer(palette = "Set1") + coord_flip()
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.