scan 0.55

new functions

coef(plm(exampleAB$Johanna))

New features

design <- design(
  n = 1, phase_design = list(A = 6, B = 9),
  rtt = 0.8, level = 1.0, trend = 0.05
)

power_test(
  design, ci = 0.95, binom_test = TRUE
)

Bug fixes

Changes to functions

scan 0.54.1

Bug fixes

scan 0.54

new functions

reanmed functions (old functionnames still work)

Complete rework - as new

Extended functions

Anna:
  values:
    A: [1, 3, 4, 5, 6, 7]
    B: [8, 9, 10, 10, 11]

Toni:
  values:
    A: [2, 3, 4, 5, 6, 7]
    B: [3, 9, 10, 10,11]
  control_var: [1,2,3,4,5,6,7,8,1,2,3]

Solved error in functions

scan 0.53

Major changes

New functions

names(exampleAB) <- sample_names(3)

-add_l2(): Adds the variables from a second level 2 data frame to an scdf matched by an id variable (default is case).

Leidig2018 %>%
  add_l2(Leidig2018_l2) %>%
  hplm(update.fixed = .~. + gender + migration + ITRF_TOTAL*phaseB, 
       slope = FALSE, random.slopes = FALSE, lr.test = FALSE)
exampleA1B1A2B2 %>% 
  select_phases(A = c(1, 3), B = c(2, 4)) %>%
  overlap()
exampleAB_add %>%
  set_vars(dv = "depression") %>%
  overlap()
# Create a syntax to code the scdf exampleAB and write it into an R file
convert(exampleAB, file = "cases.R")
cdc(Beretvas2008)
cdc(exampleAB_decreasing, decreasing = TRUE, trend.method = "bisplit")

Changes in functions

plot(exampleAB_50[8], lines = "trendA_bisplit")
plot(example_A24, lines = "trendA_trisplit")
plot(
  exampleAB, 
  lines = list(
    list(type = "median", col = "red", lwd = 0.5),
    list(type = "trend", col = "blue", lty = "dashed", lwd = 2),
    list(type = "loreg", f = 0.2, col = "green", lty = "solid", lwd = 1)
  )
)

Deleted deprecated functions

The following functions were deprecated since 2017 and are now removed from scan:

Bugs

scan 0.52

Major changes

new_style <- style_plot()
new_style$names$side <- 3
new_style$names$line <- -1.7
new_style$names$col <- "darkred"
new_style$names$cex <- 1.5
new_style$names$at <- 20
new_style$names$adj <- 1
new_style$names$font <- 3
plot(exampleAB_decreasing, style = new_style)
new_style <- style_plot()
new_style$fill.bg <- c("aliceblue", "mistyrose1", "honeydew")
new_style$lty.seperators <- 0
plot(exampleABC, style = new_style)
plot(exampleABAB, style = c("default", "phase_shade"))

scan 0.50.5

Major changes

scan 0.50.4

Major changes

subset(exampleAB, (values < 60 & phase == "A") | (values >= 60 & phase == "B"))
subset(exampleAB_add, select = c(-cigarrets, -depression))
subset(exampleA1B1A2B2, phase %in% c("A1", "B2"), cases = Pawel:Moritz)

scan 0.50.2

Major changes

select_cases(exampleAB, "Johanna", "Karolina")
select_cases(exampleAB, 1,2)
select_cases(exampleAB, "-Johanna")

scan 0.50

Major changes

see: https://jazznbass.github.io/scan-Book/the-scan-package.html#changes-with-version-0.50

scan 0.40

CRAN release 2019-08-11

scan 0.20

CRAN release 2016-10-15