Nothing
#' iGAP to MM
#'
#' @name iGAP_to_MM
#' @aliases iGAP_to_MM
#' @description To convert iGAP files to CSV files.
#' @usage iGAP_to_MM(data, location)
#' @param data The iGAP file.
#' @param location The location of the symbolic variable in the data.
#' @returns A CSV data file.
#' @importFrom tidyr separate
#' @importFrom magrittr %>%
#' @examples
#' data(Abalone.iGAP)
#' Abalone <- iGAP_to_MM(Abalone.iGAP, c(1, 2, 3, 4, 5, 6, 7))
#' @export
iGAP_to_MM <- function(data, location = NULL){
location <- sort(location)
x <- 0
for (i in location){
y <- i + x
data <- data %>%
tidyr::separate(names(data)[y], c(paste(names(data)[y], '_min', sep = ''),
paste(names(data)[y], '_max', sep = '')), ",")
x <- x + 1
}
return(data)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.