Wikisym 2013 Demo: Difference between revisions

From Opasnet
Jump to navigation Jump to search
Line 7: Line 7:
b <-4
b <-4
a +b
a +b
</rcode>
===Parameter example===
<rcode name="tt" embed=1 variables="name:num1|description:Number 1|name:num2|description:Number 2">
sum <- num1 + num2
mul <- num1 * num2
cat(paste("<span style='font-size: 1.5em;font-weight:bold;'>Sum: ",sum,"</span>\n",sep=''))
cat(paste("<span style='font-size: 1.5em;font-weight:bold;'>Mul: ",mul,"</span>\n",sep=''))
</rcode>
</rcode>



Revision as of 10:27, 1 August 2013


R examples

Very basic example

+ Show code

Parameter example

Number 1:

Number 2:

+ Show code

Mapping buildings of Kuopio into GoogleMaps

+ Show code

Reading data from Opasnet Base to R

+ Show code

Opasnet Base Examples

Narcolepsy in Finland

Table2Base Examples

WikiSym participants(#)
ObsYearCountryParticipants
12010Poland700
22011USA800
32012Austria900
42013Hong Kong1000
WikiMania participants(#)
ObsYearCountryParticipants
12010Poland700
22011Israel800
32012USA900
42013Hong Kong1000

Upload example