[{"data":1,"prerenderedAt":334},["ShallowReactive",2],{"/sr/set-data-frame":3,"/sr/set-data-frame-surround":323},{"id":4,"title":5,"body":6,"description":289,"extension":290,"meta":291,"navigation":309,"path":319,"seo":320,"stem":321,"__hash__":322},"content/sr/set-data-frame.md","Simple R Extension Dictionary: set-data-frame",{"type":7,"value":8,"toc":278},"minimark",[9],[10,11,15,16,15,26,72,76],"div",{"className":12,"id":14},[13],"dict_entry","set-data-frame","\n  ",[17,18,20,21,15],"h3",{"id":19},"srset-data-frame","\n    ",[22,23,25],"a",{"href":24},"#set-data-frame","sr:set-data-frame",[27,28,32],"h4",{"id":29,"className":30},"srset-data-frame-r-variable-name-column-name-list-or-anything-srset-data-frame-variable-name-column-name1-list-or-anything-1-column-name2-list-or-anything-2",[31],"section-heading",[22,33,20,37,20,54,15],{"className":34,"href":36},[35],"section-anchor","#----srset-data-frame-r-variable-name-column-name-list-or-anything----srset-data-frame-variable-name-column-name1-list-or-anything-1-column-name2-list-or-anything-2--",[38,39,42,43,47,48,47,51],"span",{"className":40},[41],"prim_example","sr:set-data-frame ",[44,45,46],"i",{},"r-variable-name"," ",[44,49,50],{},"column-name",[44,52,53],{},"list or anything",[38,55,42,57,47,60,47,63,47,66,47,69],{"className":56},[41],[44,58,59],{},"variable-name",[44,61,62],{},"column-name1",[44,64,65],{},"list or anything 1",[44,67,68],{},"column-name2",[44,70,71],{},"list or anything 2...",[73,74,75],"p",{},"Creates a new data frame in R with the given variable name.  The columns will have the names given.  If the value for a column is a list, those will be the values for that column.  If the value is a non-list, it will be used as the single item in that column.  You can add additional column names and values by surrounding the command in parenthesis.",[77,78,79],"pre",{},[80,81,82,88,91,96,98,47,102,106,107,47,112,47,116,47,120,124,125,127,47,130,106,134,47,139,47,143,47,146,124,149,151,47,154,106,158,47,163,47,167,47,171,124,175,177,178,47,181,47,185,47,189,47,192,47,196,47,199,47,203,206,207,209,47,213,217,219,224,226,47,229,233,235,239,241,47,244,248,250,254,256,260,262,266,268,272,274],"code",{},[38,83,87],{"className":84},[85,86],"token","command","clear-all",[89,90],"br",{},[38,92,95],{"className":93},[85,94],"variable","sr:setup",[89,97],{},[38,99,101],{"className":100},[85,86],"let",[38,103,105],{"className":104},[85,94],"l1"," [",[38,108,111],{"className":109},[85,110],"number","10",[38,113,115],{"className":114},[85,110],"20",[38,117,119],{"className":118},[85,110],"30",[38,121,123],{"className":122},[85,110],"40","]",[89,126],{},[38,128,101],{"className":129},[85,86],[38,131,133],{"className":132},[85,94],"l2",[38,135,138],{"className":136},[85,137],"constant","false",[38,140,142],{"className":141},[85,137],"true",[38,144,138],{"className":145},[85,137],[38,147,138],{"className":148},[85,137],[89,150],{},[38,152,101],{"className":153},[85,86],[38,155,157],{"className":156},[85,94],"l3",[38,159,162],{"className":160},[85,161],"string","\"orange\"",[38,164,166],{"className":165},[85,161],"\"green\"",[38,168,170],{"className":169},[85,161],"\"blue\"",[38,172,174],{"className":173},[85,161],"\"purple\"",[89,176],{},"(",[38,179,25],{"className":180},[85,94],[38,182,184],{"className":183},[85,161],"\"df1\"",[38,186,188],{"className":187},[85,161],"\"score\"",[38,190,105],{"className":191},[85,94],[38,193,195],{"className":194},[85,161],"\"enabled\"",[38,197,133],{"className":198},[85,94],[38,200,202],{"className":201},[85,161],"\"color\"",[38,204,157],{"className":205},[85,94],")",[89,208],{},[38,210,212],{"className":211},[85,94],"sr:run",[38,214,216],{"className":215},[85,161],"\"print(typeof(df1))\"",[89,218],{},[38,220,223],{"className":221},[85,222],"comment",";; [1] \"list\"",[89,225],{},[38,227,212],{"className":228},[85,94],[38,230,232],{"className":231},[85,161],"\"print(is.data.frame(df1))\"",[89,234],{},[38,236,238],{"className":237},[85,222],";; [1] TRUE",[89,240],{},[38,242,212],{"className":243},[85,94],[38,245,247],{"className":246},[85,161],"\"print(df1)\"",[89,249],{},[38,251,253],{"className":252},[85,222],";;   score enabled  color",[89,255],{},[38,257,259],{"className":258},[85,222],";; 1    10   FALSE orange",[89,261],{},[38,263,265],{"className":264},[85,222],";; 2    20    TRUE  green",[89,267],{},[38,269,271],{"className":270},[85,222],";; 3    30   FALSE   blue",[89,273],{},[38,275,277],{"className":276},[85,222],";; 4    40   FALSE purple",{"title":279,"searchDepth":280,"depth":281,"links":282},"",5,3,[283],{"id":19,"depth":281,"text":284,"children":285},"\n    sr:set-data-frame\n  ",[286],{"id":29,"depth":287,"text":288},4,"\n    sr:set-data-frame r-variable-name column-name list or anything\n    sr:set-data-frame variable-name column-name1 list or anything 1 column-name2 list or anything 2...\n  ","Documentation for the set-data-frame primitive.","md",{"source":292,"metadataOutputPath":293,"projectConfig":294,"language":302,"inheritFrom":310,"output":309,"version":295,"layout":311,"dictionaryDisplayName":312,"dictionaryHomeDirectory":313,"indexFileURI":314,"currentItemId":14,"currentItemLabel":25,"primRoot":315,"icon":316,"extensionName":317,"assetsRoot":297},"../../external/extensions/sr/sr/set-data-frame.md","content/sr/set-data-frame.metadata.yaml",{"version":295,"projectRoot":296,"scanRoot":297,"outputRoot":298,"defaults":299,"engine":305,"partials":306,"dedupeIdenticalDiskWrites":309},"7.0.4",".","/home/runner/work/Helio/Helio/external/extensions/sr","content",{"inheritFrom":300,"language":302,"output":303,"extension":290,"title":304,"version":295},[301],0,"en",false,"NetLogo User Manual","mustache",{"directoryPaths":307,"extensions":308},[296],[305,290],true,[301],"catalog","Simple R Extension Dictionary","/sr.html","/_index/extensions/sr.txt","sr","logos:r-lang",{"shortName":315,"fullName":318},"Simple R","/sr/set-data-frame",{"title":5,"description":289},"sr/set-data-frame","kh49uDVqzp_8bd-F4PEVV-6XkcjdnMCEb335fIiy0xY",[324,329],{"title":325,"path":326,"stem":327,"description":328},"Simple R Extension Dictionary: set-agent-data-frame","/sr/set-agent-data-frame","sr/set-agent-data-frame","Documentation for the set-agent-data-frame primitive.",{"title":330,"path":331,"stem":332,"description":333},"Simple R Extension Dictionary: set-list","/sr/set-list","sr/set-list","Documentation for the set-list primitive.",1777657901556]