-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Rhistory
58 lines (58 loc) · 1.08 KB
/
.Rhistory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
use_r("plotqq.survival")
library(devtools)
library(roxygen2)
library(testthat)
library(knitr)
use_r("plotqq.survival")
use_r("survivalplotqq")
load_all()
getwd()
loco <- read.csv("./locomotive.csv", header=T)
loco$lnmiles <- log(loco$miles)
data <- loco[loco$tag == 1,] # Use only complete cases
use_package("ggplot2")
use_package("gridExtra")
use_package("rmutil")
load_all()
colnames(data) <- c('x', 'tag', 'lnx')
plotqq.survival(data)
load_all()
plotqq.survival(data)
load_all()
plotqq.survival(data)
load_all()
plotqq.survival(data)
load_all()
plotqq.survival(data)
check()
use_mit_license("Sunmi Ju")
check()
load_all()
plotqq.survival(data)
check()
document()
check()
install()
library(survivalplotqq)
plotqq.survival(data)
use_readme_rmd()
document()
check()
install()
document()
check()
install()
document()
check()
install()
document()
check()
install()
check()
document()
library(survivalplotqq)
loco <- read.csv("./locomotive.csv", header=T)
loco$lnmiles <- log(loco$miles)
data <- loco[loco$tag == 1,] # Use only complete cases
colnames(data) <- c('x', 'tag', 'lnx')
plotqq.survival(data)