[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-511678-105":59,"doc-detail-511678-en":130,"doc-similar-511678":163},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","dungeons-dragons-functions-for-players-and-dungeon-masters-version-3-initial-package-description","Dungeons & Dragons Functions for Players and Dungeon Masters - Version 3 - Initial package description","","dndR is an R package providing a suite of Dungeons & Dragons functions for both players and Dungeon Masters. It includes utilities that are broadly useful across tabletop RPGs, such as dice rolling, and also focuses on Fifth Edition support where possible for both the 2014 and 2024 rule versions. The package supplies generators and calculators for ability scores and single rolls, class-based ability assignment, and a large set of related game elements including monsters, NPCs, characters, encounters, damage and spell data.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/dungeons-dragons-functions-for-players-and-dungeon-masters-version-3-initial-package-description/511678/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/dungeons-dragons-functions-for-players-and-dungeon-masters-version-3-initial-package-description/511678.png","ImageObject",300,407,{"name":92,"@type":93},"ahduag","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-14","2026-10-06",true,{"@type":102,"interactionType":103,"userInteractionCount":39},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is dndR designed to do for Dungeons & Dragons players and Dungeon Masters?","Question",{"text":112,"@type":113},"dndR provides a suite of Dungeons & Dragons-related R functions useful to both players and Dungeon Masters, including general utilities like dice rolling as well as Fifth Edition focused features.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which dice-rolling methods are supported by ability_scores()?",{"text":117,"@type":113},"ability_scores(method) accepts methods such as \"4d6\" (with drop-l lowest before summing), \"3d6\", and \"1d20\"/\"d20\". It can optionally suppress warnings via the quiet argument.",{"name":119,"@type":110,"acceptedAnswer":120},"How does class_block() relate to ability scores and class building rules?",{"text":121,"@type":113},"class_block assigns rolled ability scores based on recommendations for quick class building from the Player’s Handbook (PHB) in the 2014 version of the rules.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},511678,1791298205,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":39,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},3985747870414,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Package ‘dndR’  \nSeptember 19, 2026  \nType Package  \nTitle Dungeons & Dragons Functions for Players and Dungeon Masters Version 3.1.1  \nDate 2026-09-17  \nMaintainer Nicholas Lyon \u003C[nickjlyon@gmail.com](nickjlyon@gmail.com)>  \nDescription The goal of 'dndR' is to provide a suite of Dungeons & Dragons related functions.  \nThis package is meant to be useful both to players and Dungeon Masters (DMs) .  \nSome functions apply to many tabletop role-playing games (e.g., dice rolling), but others are focused on Fifth Edition (a.k.a. ``5e'') and where possible both the 2014 and 2024 ver  \nsions are supported.  \nLicense MIT + file LICENSE Encoding UTF-8 LazyData true  \nLanguage en-US  \nURL [https://njlyon0.github.io/dndR/](https://njlyon0.github.io/dndR/), [https://github.com/njlyon0/dndR](https://github.com/njlyon0/dndR)[ ](https://github.com/njlyon0/dndR)BugReports [https://github.com/njlyon0/dndR/issues](https://github.com/njlyon0/dndR/issues)  \nDepends R (>= 3.5)  \nImports dplyr, ggplot2, magrittr, purrr, stringr, tidyr Suggests knitr, rmarkdown, testthat (>= 3.0.0)  \nVignetteBuilder knitr Config/testthat/edition 3 Config/roxygen2/version 8.1.0 NeedsCompilation no  \nAuthor Nicholas Lyon [aut, cre, cph](ORCID:  \n\u003C[https://orcid.org/0000-0003-3905-1078](https://orcid.org/0000-0003-3905-1078)>),  \nTim Schatto-Eckrodt [aut]([https://kudusch.de](https://kudusch.de)),  \nHumberto Nappo [aut](ORCID: \u003C[https://orcid.org/0000-0001-7810-1635](https://orcid.org/0000-0001-7810-1635)>), Billy Mitchell [aut]([https://wj-mitchell.github.io/](https://wj-mitchell.github.io/))  \nRepository CRAN  \nDate/Publication 2026-09-18 22:50:14 UTC  \nContents  \nability_scores ........................................ 3  \nability_singular ....................................... 3  \nclass_block ......................................... 4  \ncoin ............................................. 5  \ncreatures ........................................... 5  \ncreature_list ......................................... 7  \ncreature_text ........................................ 8  \ncr_convert .......................................... 9  \nd10 ............................................. 9  \nd100 ............................................. 10  \nd12 ............................................. 10  \nd2 .............................................. 10  \nd20 ............................................. 11  \nd3 .............................................. 11  \nd4 .............................................. 11  \nd6 .............................................. 12  \nd8 .............................................. 12  \ndnd_classes ......................................... 12  \ndnd_damage_types ..................................... 13  \ndnd_races .......................................... 13  \nencounter_creator ...................................... 14  \nfirst_names_fem ....................................... 15  \nfirst_names_masc ...................................... 16  \nmod_calc .......................................... 16  \nmonster_creator ....................................... 17  \nmonster_stats ........................................ 18  \nmonster_table ........................................ 18  \nnpc_creator ......................................... 19  \nparty_diagram ........................................ 20  \npc_creator .......................................... 21  \npc_level_calc ........................................ 22  \nprobability_plot ....................................... 23  \nrace_mods .......................................... 23  \nreroll ............................................. 24  \nroll .............................................. 25  \nspells ............................................ 26  \nspell_list ........................................... 27  \nspell_text .......................................... 28  \nsurnames .......................................... 29  \nxp_cost ........................................... 29  \nxp_pool ..............","cbCair9xAWteP57K","https://ap.wps.com/l/cbCair9xAWteP57K","pdf",162099,32,"English","# ability_scores\n## class_block\n# coin\n# creatures\n# creature_list\n# creature_text\n# cr_convert\n# d10\n# d12\n# d2\n# d20\n# d3\n# d4\n# d6\n# d8\n# dnd_classes\n# dnd_damage_types\n# dnd_races\n# encounter_creator\n# first_names_fem\n# first_names_masc\n# mod_calc\n# monster_creator\n# monster_stats\n# monster_table\n# npc_creator\n# party_diagram\n# pc_creator\n# pc_level_calc\n# probability_plot\n# race_mods\n# reroll\n# roll\n# spells\n# spell_list\n# spell_text\n# surnames\n# xp_cost\n# xp_pool","[{\"question\":\"What is dndR designed to do for Dungeons \\u0026 Dragons players and Dungeon Masters?\",\"answer\":\"dndR provides a suite of Dungeons \\u0026 Dragons-related R functions useful to both players and Dungeon Masters, including general utilities like dice rolling as well as Fifth Edition focused features.\"},{\"question\":\"Which dice-rolling methods are supported by ability_scores()?\",\"answer\":\"ability_scores(method) accepts methods such as \\\"4d6\\\" (with drop-l lowest before summing), \\\"3d6\\\", and \\\"1d20\\\"/\\\"d20\\\". It can optionally suppress warnings via the quiet argument.\"},{\"question\":\"How does class_block() relate to ability scores and class building rules?\",\"answer\":\"class_block assigns rolled ability scores based on recommendations for quick class building from the Player’s Handbook (PHB) in the 2014 version of the rules.\"}]","Dungeons & Dragons Functions for Players and Dungeon Masters - Version 3 - Initial package description | PDF",1791256005,81,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/25e25dcb586a08a1c58ecba696d047e8.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/18051a3fbb90b535090d868725add629.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/09f8d52fd1302ae40c580c5e22466976.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/193d39b9b277659662b2440244defac9.webp",980,1268,{"list":164,"token":66},[165,171,178,184,190,197,203,209,216,222],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":44,"category_name":30,"create_tm":170},512747,"Dungeons & Dragons Functions for Players and Dungeon Masters - Version 3.1.1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229936435116/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=FpgNbPVHWCGDWvDQ1kFPE%2BXrVXc%3D","dungeons-dragons-functions-for-players-and-dungeon-masters-version-311",1791275156,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":30,"create_tm":177},510199,"Dungeons and dragons 2nd edition dungeon generator pdf - game tools","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935336867/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=cQ9ZUeMa34CrJ1eR%2F5uWipwiVIE%3D","dungeons-and-dragons-2nd-edition-dungeon-generator-pdf-game-tools",12,1791239615,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":14,"category_name":30,"create_tm":183},761744,"A MAGIC:THE GATHERING TO D&D 5TH EDITION CONVERSION - v1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230045917133/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=CpmBGVlOH4MW8DIwiLBWqMmDJfE%3D","a-magicthe-gathering-to-dd-5th-edition-conversion-v1",1795987356,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":39,"category_name":30,"create_tm":189},511525,"Dungeons and dragons dm guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935731094/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=SrgDG%2BbIX1BzQ2a9jAcG4USLaTU%3D","dungeons-and-dragons-dm-guide",1791253891,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":30,"create_tm":196},510409,"Free5e - Open-License D&D Rulebooks - Download Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935342568/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=NS5b5yTgoKnxJGLQiBf7AwhogEk%3D","free5e-open-license-dd-rulebooks-download-guide",11,1791240998,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":52,"category_name":30,"create_tm":202},511754,"Session Record Sheet - game session tracking - record NPCs and treasure","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935812440/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=OB8VDIkG%2F14KDw0Vxh6D1%2BJOVDM%3D","session-record-sheet-game-session-tracking-record-npcs-and-treasure",1791257561,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":34,"category_name":30,"create_tm":208},512581,"Critical Fail Deck - How to Use the Deck - Make and Use It in Play","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229936061027/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=ZODlrwENTrcVma0uRE3aIfg7o%2BM%3D","critical-fail-deck-how-to-use-the-deck-make-and-use-it-in-play",1791272731,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":214,"category_name":30,"create_tm":215},510657,"Integratable Alchemy System for D&D 5e - Dungeon Master Guidelines","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935361565/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=O9wKToVGlnQtEMuzrTNHzOpqVBI%3D","integratable-alchemy-system-for-dd-5e-dungeon-master-guidelines",17,1791243608,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":195,"category_name":30,"create_tm":221},511140,"Assistive Magic Item and Potion Generator - TTRPG Resources","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935521003/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=3KOR%2FrQV78QGGkwJBSYaWI9nxbY%3D","assistive-magic-item-and-potion-generator-ttrpg-resources",1791248597,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":44,"category_name":30,"create_tm":227},509171,"Arctic Encounters - Tables - How to Use","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935320149/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=JoB46CgmNqwODa%2Fyvno0CUqoPKE%3D","arctic-encounters-tables-how-to-use",1791234563]