Permalink
Browse files

added packages namespace to examples

  • Loading branch information...
1 parent 7682df2 commit a7ce953bb5fe3aebd838ab09d371721d2b512509 @schloerke schloerke committed Jul 15, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 R/ggcorr.r
  2. +1 −1 R/ggnet.r
View
@@ -33,7 +33,7 @@ if(getRversion() >= "2.15.1") {
#' label = TRUE,
#' label_alpha = TRUE,
#' name = "") +
-#' theme(legend.position = "bottom")
+#' ggplot2::theme(legend.position = "bottom")
#' # Custom options.
#' ggcorr(
#' nba[, -1],
View
@@ -45,7 +45,7 @@ if(getRversion() >= "2.15.1") {
#' dimnames(nw.mat) <- list(1:x, 1:x)
#' nw.mat[row(nw.mat) != col(nw.mat)] <- runif(ndyads) < density
#' nw.mat
-#' rnd <- network(nw.mat)
+#' rnd <- network::network(nw.mat)
#' rnd
#'
#' # random network

0 comments on commit a7ce953

Please sign in to comment.