Branch creator: Difference between revisions

From Opasnet
Jump to navigation Jump to search
Line 25: Line 25:


Fill in the form below, click to create the content for the page, and copy-paste that onto the page you created in step 1. Save the page.
Fill in the form below, click to create the content for the page, and copy-paste that onto the page you created in step 1. Save the page.
{{attack|# |Code works except that oprint puts and extra space between "< rcode" and that breaks the code created.|--[[User:Jouni|Jouni]] ([[User talk:Jouni|talk]]) 18:15, 5 March 2016 (UTC)}}


<rcode name="fill" label="Create content for the branch" recall_inputs=1 variables="
<rcode name="fill" label="Create content for the branch" recall_inputs=1 variables="
Line 203: Line 205:
text2 <- gsub("@", "<", text2)
text2 <- gsub("@", "<", text2)
text2 <- data.frame(Pagetemplate = text2)
text2 <- data.frame(Pagetemplate = text2)
text2
oprint(text2, include.rownames = FALSE)
oprint(text2, include.rownames = FALSE)
</rcode>
</rcode>

Revision as of 18:15, 5 March 2016



Question

How to create a branch for handprinter?

Answer

Step 1: Create a page for branch

Open two copies of this page to your browser. Give a name to your branch and click to create a new page for it. On the other page, continue from step 2.

<createbox> break=yes width=50 buttonlabel=Create branch align=left </createbox>

Step 2: Fill in data about your branch

Fill in the form below, click to create the content for the page, and copy-paste that onto the page you created in step 1. Save the page.

⇤--#: . Code works except that oprint puts and extra space between "< rcode" and that breaks the code created. --Jouni (talk) 18:15, 5 March 2016 (UTC) (type: truth; paradigms: science: attack)

What was the branch name again?:

Give a short name (no spaces!) to the final outcome variable in the branch model.:

What are the input variables for the outcome variable? Format c('var1', 'var2'):

Give free-text rationale about what the outcome variable is and how it is calculated.:

Give a short name for one input variable (others are added afterwards if needed):

Give a data table for the input variable:

Cancel

Give free-text rationale about what the intermediate variable is and how it is calculated.:

+ Show code