+ Show code- Hide code
library(OpasnetUtils)
library(ggplot2)
# Fetch the stored raw data (requires a password to open it).
objects.get("Gygi7pqJFrngDdbx")
data <- objects.decode(etable, key)
# Print and plot examples of the cleaned data.
titles <- c(
"- ",
"- ",
"- ",
"- ",
"Anthropology or archaeology",
"Biology (animal physiology, anatomy or morphology) ",
"Biology (ecology) ",
"Biology (evolution) ",
"Biology (genetics or molecular biology) ",
"Biology (other, please specify) ",
"Geology ",
"Human cardiovascular or respiratory system ",
"Human musculoskeletal system ",
"Human nervous system ",
"Human nutrition ",
"Other aspects of human biology (please specify) ",
"Paleoanthropology ",
"Paleontology ",
"Other, please specify ",
"Peer reviewed articles in scientific journals ",
"Articles or books targeted at the general public ",
"Peer reviewed articles in scientific journals ",
"Articles or books targeted at the general public ",
"- ",
"- ",
"When covering long distances on the ground, walking or running erect on two legs is energetically more efficient than walking or running on four legs. ",
"In the canopy, walking erect facilitates using multiple supports (as in orangutans) and hence makes it possible to move on thinner branches than when brachiating or moving quadrupedally. ",
"In a littoral habitat, walking erect allows wading in deeper water with the nostrils above the surface (apes cross water bodies bipedally), and the same posture increases streamlining when swimming and diving for food (as in penguins). ",
"Walking erect helps in thermoregulation in the savanna by exposing less skin to the midday sun and more skin to cooling wind. ",
"Walking erect makes it possible to see above the savanna grass and hence spot danger from further away. ",
"Walking erect makes foraging more efficient, because hands are not needed for locomotion. ",
"Walking erect makes it easier for a male to carry high-quality food such as meat to the female and infants. ",
"Walking erect makes it possible for a female to carry its offspring in its arms. ",
"Walking erect makes it easier to use tools and weapons. ",
"Walking erect is favored by sexual selection, as it makes the genitals more visible. ",
"A shift in diet towards eating more meat triggers encephalization, because meat is rich in energy. ",
"A shift in diet towards eating more fish and other seafood triggers encephalization, because seafood is rich in both energy and the omega-3 fatty acids that are an essential component of brain tissue. ",
"The use of fire triggers encephalization, because cooking increases the nutritional value of plant foods. ",
"Complex social organization causes pressure for greater intelligence and hence triggers encephalization. ",
"Collaborative hunting causes pressure for greater intelligence and hence triggers encephalization. ",
"Spoken language causes pressure for greater intelligence and hence triggers encephalization. ",
"Warfare causes pressure for greater intelligence and hence triggers encephalization. ",
"Encephalization is a secondary effect of neoteny (the retention of juvenile features into adulthood), which is advantageous when specialized adult morphology adapted to one environment has become maladaptive in a new environment. ",
"Encephalization is triggered by bipedalism, which changes the blood circulation and provides a cooling mechanism for the larger brain. ",
"Encephalization is triggered by nakedness, which provides a cooling mechanism for the larger brain. ",
"Direct skin-to-skin contact strengthens the emotional bond between a female and its nursing offspring. ",
"Direct skin-to-skin contact makes sex more enjoyable, and is favored by sexual selection. ",
"In animals that feed messily on carrion, naked skin stays cleaner than hairy skin (or feather-covered skin as in vultures). ",
"In mammals that live in permanent nests, naked skin helps to avoid a high ectoparasite load. ",
"In mammals that live partly or entirely in water, fur is often lost because it causes drag when swimming but fails to provide efficient insulation when wet (e.g. walrus, hippopotamuses, dolphins). ",
"In mammals that hunt on the savanna, naked skin dissipates heat more efficiently and reduces the risk of becoming overheated. ",
"Large mammals can regulate their body temperature without investing in hair, and humans are relatively large compared to other primates. ",
"Once the use of clothes has become common, fur becomes unnecessary. ",
"In conditions of variable food supply, subcutaneous fat can store energy for times of food scarcity, and in infants it secures the development of the large brain. ",
"In wet conditions, subcutaneous fat provides more efficient insulation than hair does, and it makes swimming easier by increasing buoyancy and streamlining of the body. ",
"Subcutaneous fat is an adaptation to thermoregulation in the savanna, together with nakedness and sweating. ",
"Subcutaneous fat defines the body shape and its evolution is driven by sexual selection. ",
"Articulate speech requires a descended larynx, because this makes it possible to produce a wider variety of sounds. ",
"A descended larynx makes the voice stronger and more impressive, and can evolve through sexual selection (as in the males of some deer). ",
"A descended larynx can evolve as an adaptation to diving (as in some aquatic mammals), because it makes it possible to close the air passages when under water and to inhale rapidly through the mouth when surfacing. ",
"Speech is triggered by the descended larynx, which allows making a wider variety of sounds. ",
"Speech requires voluntary breath control, which can evolve as an adaptation to diving. In water, visual and olfactory cues are inadequate and therefore liable to be replaced by vocal communication (as in whales). ",
"Speech requires voluntary breath control, which can evolve after bipedalism frees breathing from the constraint posed by the mechanics of locomotion. ",
"Speech provides a means for females to reassure their offspring who have to be put down while foraging. ",
"Social pressure for more elaborate communication triggers evolution of speech. ",
"Collective hunting requires a means of effective communication and therefore triggers evolution of speech. ",
"Transmitting cultural tradition (e.g., how to cope with unusually severe droughts) from one generation to the next requires a means of effective communication and therefore triggers evolution of speech. ",
"Human babies can be taken for a swim long before they can walk. They are comfortable in water and capable of holding their breath when submerged. ",
"Unlike apes, humans have an arched nose and flexible nostrils. These help prevent water from entering the respiratory tract when diving. ",
"Humans have a relatively weak sense of smell, as aquatic mammals often do. ",
"Humans have partial webbing between their fingers and toes. Webbed feet are common among semi-aquatic animals (such as otters and ducks), but are not found in non-human primates. ",
"Cooling sweat is excreted from eccrine glands in humans but from apocrine glands in other primates. Apocrine glands could have lost their thermoregulatory function in human ancestors during a period when dip-cooling replaced sweat-cooling. ",
"Humans sweat more profusely than any other primate. Since this can lead to fatal loss of water and electrolytes in a few hours, the trait probably evolved in conditions of abundant water and salt supply. ",
"Compared to other primates, humans are stronger swimmers and can dive both deeper and further. ",
"The diving reflex (slowing down of heartbeat and oxygen usage in water) increases the resistance of the brain to apnea, and its magnitude in human divers is comparable to that in semi-aquatic mammals such as otters and beavers. ",
"Compared to other primates, humans are unusually fond of immersing themselves in water. This is manifested in the popularity of beach holidays, swimming and bathing. ",
"AAH conflicts with what is known about evolutionary processes in general. ",
"A major problem with AAH is that it is based on extreme environmental determinism. ",
"AAH is not needed, because all human traits can be explained by terrestrial scenarios. ",
"AAH is merely an exercise in comparative anatomy, not a scientific hypothesis. ",
"Not all aquatic mammals have naked skin, so hairlessness cannot be considered an aquatic adaptation. ",
"Humans may be similar to aquatic mammals in some traits, but this is only a coincidence and has no evolutionary relevance. ",
"According to AAH, humans should swim better than apes and have more streamlined bodies, but they do not. ",
"AAH lacks credibility, because the evidence presented in its favor is false. ",
"AAH is not supported by fossil evidence, because this shows no skeletal adaptations to an aquatic environment. ",
"AAH is contradicted by the fossil record, because this suggests a permanently non-aquatic environment. ",
"AAH lacks credibility, because its proponents do not agree on when and where the supposed aquatic phase took place. ",
"There has not been enough time for an aquatic phase. ",
"AAH is too simplistic to be taken seriously. ",
"AAH is less parsimonious than other proposed hypotheses: it has to explain both how human traits evolved in water, and how they were retained after return to land. ",
"AAH is internally less consistent than other proposed hypotheses. ",
"AAH is unscientific, because it cannot make predictions. ",
"AAH is unscientific, because it has been used in feministic argumentation. ",
"AAH can be ignored, because it was not published in a peer reviewed journal, and because it is mostly discussed in forums other than scientific journals. ",
"AAH can be ignored, because its main proponents are not professionals in the field of human evolution. ",
"AAH is pseudoscience comparable to creationism. ",
"- ",
"Articles in scientific journals ",
"Books by Elaine Morgan ",
"Books by other authors ",
"Articles or programs in popular media (press, TV, radio) ",
"University courses on human evolution ",
"Personal communication from someone who knew the hypothesis ",
"Blogs or other personal web pages ",
"Wikipedia ",
"AAH was rejected as implausible. ",
"AAH was mentioned or described, but no opinion on its validity was expressed. ",
"AAH was found more plausible than alternative hypotheses. "
)
# oprint(head(data))
X <- colnames(data)[X]
graph <- function(data, x, fillcol) {
fillname <- colnames(data)[fillcol]
my_title <- wrapper(titles[fillcol], width = 50)
out <- ggplot(data, aes_string(x = x, weight = 1, fill = fillname)) +
geom_bar(position = "fill", na.rm = TRUE) +
theme_grey(base_size = 24) +
labs(title = my_title)
return(out)
}
wrapper <- function(x, ...) paste(strwrap(x, ...), collapse = "\n")
if(is.null(fillcol)) fillcol <- 26:108 # If not defined, show all result columns as graphs.
for(i in fillcol) {
print(graph(data, X, i))
}
| |