Helpful Functions for YVW Study

between_condition_correct | Get between condition stats for correctness data |

between_condition_flip | Get between condition stats for flip data |

between_condition_helpful | Get between condition stats for helpfulness data |

between_condition_response | Get between conditions stats for first response data |

between_condition_stats | Returns a tibble summarizing the results of a between... |

format_data | Format choice data |

format_for_between_stats | Create a tibble with the number and percentage of children in... |

format_for_within_stats | Helper function that formats data for binomial tests |

format_sr_data | Format social referencing data |

get_binom_p_value | Returns p-value from a binomial test |

get_fishers_p_value | Get a p-value from a Fisher's exact test |

get_num_excluded | Create a tibble with counts of excluded kids for different... |

get_percentage_female | Calculate the percentage of female participants |

get_summ_stat | Calculate the mean or standard deviation of a variable in a... |

summary_tibble | Create a tibble various summary statistics (mean and sd ages;... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.