projects
/
valse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add automatic code formatter following https://google.github.io/styleguide/Rguide.xml
[valse.git]
/
pkg
/
R
/
plot_valse.R
diff --git
a/pkg/R/plot_valse.R
b/pkg/R/plot_valse.R
index
0963946
..
0a6fa9e
100644
(file)
--- a/
pkg/R/plot_valse.R
+++ b/
pkg/R/plot_valse.R
@@
-2,6
+2,8
@@
#'
#' It is a function which plots relevant parameters
#'
#'
#' It is a function which plots relevant parameters
#'
+#' @param X matrix of covariates (of size n*p)
+#' @param Y matrix of responses (of size n*m)
#' @param model the model constructed by valse procedure
#' @param n sample size
#' @return several plots
#' @param model the model constructed by valse procedure
#' @param n sample size
#' @return several plots
@@
-10,7
+12,7
@@
#'
#' @export
#'
#'
#' @export
#'
-plot_valse = function(model,n, comp = FALSE, k1 = NA, k2 = NA){
+plot_valse = function(
X,Y,
model,n, comp = FALSE, k1 = NA, k2 = NA){
require("gridExtra")
require("ggplot2")
require("reshape2")
require("gridExtra")
require("ggplot2")
require("reshape2")