User:Teemu R: Difference between revisions
Jump to navigation
Jump to search
m (→R code test) |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
THL | THL | ||
==R code test== | ==R code test== | ||
<rcode graphics=1> | |||
<rcode | |||
> | |||
library(OpasnetUtils) | library(OpasnetUtils) | ||
library(ggplot2) | |||
test <- data.frame(a=1:4, b = letters[1:4]) | |||
oprint(test) | oprint(test) | ||
ggplot(test, aes(x = b, y = a, fill= b)) + geom_bar(stat = "identity") | |||
cat("asdasadadd\n") | |||
test <- runif(1e7) | |||
objects.store(test) | |||
qplot(test) | |||
</rcode> | </rcode> | ||
<rcode embed=1 name="embedded" label="embed run" graphics=1> | |||
library(OpasnetUtils) | |||
library(ggplot2) | |||
test <- data.frame(a=1:4, b = letters[1:4]) | |||
oprint(test) | |||
ggplot(test, aes(x = b, y = a, fill= b)) + geom_bar(stat = "identity") | |||
cat("asdasadadd\n") | |||
</rcode> | |||
aaaaa | |||
== T2B test == | |||
<t2b index="Year,Country" unit="#" obs="Mortality" desc="Description,Additional information"> | |||
2001|Finland|1000|data description| | |||
2002|Finland|100|| | |||
2001|Sweden|600||Some additional stuffs | |||
2002|Sweden|800|| | |||
</t2b> | |||
== Test edit == | |||
https://github.com | |||
https://www.facebook.com |
Latest revision as of 08:30, 1 December 2017
Teemu Rintala
THL
R code test
T2B test
Obs | Year | Country | Mortality | Description | Additional information |
---|---|---|---|---|---|
1 | 2001 | Finland | 1000 | data description | |
2 | 2002 | Finland | 100 | ||
3 | 2001 | Sweden | 600 | Some additional stuffs | |
4 | 2002 | Sweden | 800 |