content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_available_datasets.R \name{get_available_datasets} \alias{get_available_datasets} \title{Get the countries data is available for} \usage{ get_available_datasets() } \value{ A list of available countries and the region level data is availa...
/man/get_available_datasets.Rd
permissive
elenanikolova190/covidregionaldata
R
false
true
564
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_available_datasets.R \name{get_available_datasets} \alias{get_available_datasets} \title{Get the countries data is available for} \usage{ get_available_datasets() } \value{ A list of available countries and the region level data is availa...
# plotDist: This function will plot a distribution plotDist <- function(object, xlim = NULL, ylim = NULL, r = 0, var = NULL, contour = TRUE) { if (!is.null(var)) { if (!is.vector(var)) stop("Please specify a vector (no more than two elements) of variables") if (length(var) > 2) ...
/simsem/R/plotDist.R
no_license
simsem/simsem
R
false
false
4,848
r
# plotDist: This function will plot a distribution plotDist <- function(object, xlim = NULL, ylim = NULL, r = 0, var = NULL, contour = TRUE) { if (!is.null(var)) { if (!is.vector(var)) stop("Please specify a vector (no more than two elements) of variables") if (length(var) > 2) ...
\name{print.gamsel} \alias{print.gamsel} \title{ print a gamsel object } \description{ Print a summary of the gamsel path at each step along the path } \usage{ \method{print}{gamsel}(x, digits = max(3, getOption("digits") - 3), ...) } \arguments{ \item{x}{fitted gamsel object} \item{digits}{significant digits in p...
/man/print.gamsel.Rd
no_license
egenn/gamsel2
R
false
false
1,237
rd
\name{print.gamsel} \alias{print.gamsel} \title{ print a gamsel object } \description{ Print a summary of the gamsel path at each step along the path } \usage{ \method{print}{gamsel}(x, digits = max(3, getOption("digits") - 3), ...) } \arguments{ \item{x}{fitted gamsel object} \item{digits}{significant digits in p...
#' Convert Factors to Strings #' #' `step_factor2string` will convert one or more factor #' vectors to strings. #' #' @inheritParams step_center #' @param columns A character string of variables that will be #' converted. This is `NULL` until computed by #' [prep.recipe()]. #' @template step-return #' @keywords data...
/R/factor2string.R
permissive
JaeDukSeo/recipes
R
false
false
3,238
r
#' Convert Factors to Strings #' #' `step_factor2string` will convert one or more factor #' vectors to strings. #' #' @inheritParams step_center #' @param columns A character string of variables that will be #' converted. This is `NULL` until computed by #' [prep.recipe()]. #' @template step-return #' @keywords data...
## Name: Elizabeth Lee ## Date: 11/2/14 ## Function: Draw retrospective zOR choropleth of states ### Extract mean zOR data by state from create_fluseverity_figs_v5/export_zRR_classifState_v5.py ### Filename: /home/elee/Dropbox/Elizabeth_Bansal_Lab/SDI_Data/explore/Py_export/SDI_state_classif_covCareAdj_v5_7st.csv ## D...
/scripts/create_fluseverity_figs_v5/F_zRRstate_choropleth_v5.R
permissive
eclee25/flu-SDI-exploratory-age
R
false
false
2,946
r
## Name: Elizabeth Lee ## Date: 11/2/14 ## Function: Draw retrospective zOR choropleth of states ### Extract mean zOR data by state from create_fluseverity_figs_v5/export_zRR_classifState_v5.py ### Filename: /home/elee/Dropbox/Elizabeth_Bansal_Lab/SDI_Data/explore/Py_export/SDI_state_classif_covCareAdj_v5_7st.csv ## D...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/projMap2Cube.R \name{projMap2Cube} \alias{projMap2Cube} \title{\ reshape a data matrix from projective mapping into a brick of data for a \code{distatis} analysis.} \usage{ projMap2Cube(Data, shape = "flat", nVars = 2, nBlocks = NULL)...
/man/projMap2Cube.Rd
no_license
cran/DistatisR
R
false
true
2,197
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/projMap2Cube.R \name{projMap2Cube} \alias{projMap2Cube} \title{\ reshape a data matrix from projective mapping into a brick of data for a \code{distatis} analysis.} \usage{ projMap2Cube(Data, shape = "flat", nVars = 2, nBlocks = NULL)...
###################################################### # Setup ###################################################### stop() rm(list=ls(all=T)) gc(reset=T) library(pbapply) library(data.table) library(bit64) library(ggplot2) library(Hmisc) library(jsonlite) library(reshape2) library(stringi) library(ggplot2) library(g...
/data-science-scripts/zach/analyze_new_keras.R
no_license
mcohenmcohen/DataRobot
R
false
false
24,003
r
###################################################### # Setup ###################################################### stop() rm(list=ls(all=T)) gc(reset=T) library(pbapply) library(data.table) library(bit64) library(ggplot2) library(Hmisc) library(jsonlite) library(reshape2) library(stringi) library(ggplot2) library(g...
testlist <- list(Rs = numeric(0), atmp = numeric(0), relh = c(7.64681398433536e-304, -4.29227809743625e-307, 1.81037701089217e+87, -2.93112217825115e-158, 9.03412394302482e-46, 7.31195213563656e+256, -1.93925524631599e-68, 2.08343441298214e-168, 1.39098956557385e-309, 4.66631809251609e-301, -4.35371624255136e-143, ...
/meteor/inst/testfiles/ET0_Makkink/AFL_ET0_Makkink/ET0_Makkink_valgrind_files/1615863059-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
643
r
testlist <- list(Rs = numeric(0), atmp = numeric(0), relh = c(7.64681398433536e-304, -4.29227809743625e-307, 1.81037701089217e+87, -2.93112217825115e-158, 9.03412394302482e-46, 7.31195213563656e+256, -1.93925524631599e-68, 2.08343441298214e-168, 1.39098956557385e-309, 4.66631809251609e-301, -4.35371624255136e-143, ...
library(shiny) library(shinydashboard) header <- dashboardHeader(title = "SocraticSwirl", dropdownMenuOutput("progressMenu")) sidebar <- dashboardSidebar( uiOutput("usersessions"), hr(), sidebarMenu( menuItem("Exercise Dashboard", tabName = "exercise_tab", icon = icon("dashboard"))...
/inst/dashboard/ui.R
no_license
chaugustin/socraticswirlInstructor
R
false
false
3,607
r
library(shiny) library(shinydashboard) header <- dashboardHeader(title = "SocraticSwirl", dropdownMenuOutput("progressMenu")) sidebar <- dashboardSidebar( uiOutput("usersessions"), hr(), sidebarMenu( menuItem("Exercise Dashboard", tabName = "exercise_tab", icon = icon("dashboard"))...
##Pengantar Statistika Keuangan 13 Maret 2018## setwd("D:\\Kuliah\\Semester 6\\Pengantar Statistika Keuangan\\Syntax R") #membuat direktori file #membuat fungsi luassegitiga <- function(a, t){ luas = 0.5*a*t return(luas)} #Return: perintah untuk mendefinisikan output fungsi tersebut} #nama fungsi tidak da...
/Membuat Fungsi (Latihan).R
no_license
dededianpratiwi/Sintaks-R-Pengantar-Statistika-Keuangan
R
false
false
1,692
r
##Pengantar Statistika Keuangan 13 Maret 2018## setwd("D:\\Kuliah\\Semester 6\\Pengantar Statistika Keuangan\\Syntax R") #membuat direktori file #membuat fungsi luassegitiga <- function(a, t){ luas = 0.5*a*t return(luas)} #Return: perintah untuk mendefinisikan output fungsi tersebut} #nama fungsi tidak da...
\name{grpregOverlap-internal} \title{Internal functions} \alias{gamma2beta} \description{Internal functions in the package.} \usage{ gamma2beta(gamma, incidence.mat, grp.vec, family) } \author{ Yaohui Zeng <yaohui-zeng@uiowa.edu> } \details{ This function is not intended for use by users. \code{gamma2beta} transforms...
/man/grpregOverlap-internal.Rd
no_license
YaohuiZeng/grpregOverlap
R
false
false
445
rd
\name{grpregOverlap-internal} \title{Internal functions} \alias{gamma2beta} \description{Internal functions in the package.} \usage{ gamma2beta(gamma, incidence.mat, grp.vec, family) } \author{ Yaohui Zeng <yaohui-zeng@uiowa.edu> } \details{ This function is not intended for use by users. \code{gamma2beta} transforms...
##This should detect and install missing packages before loading them ## yang yao and kamil bojanczyk ## motivation: R Shiny gallery and look at urls in ui.R list.of.packages <- c("shiny","ggplot2", "dplyr") new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])] if(length(new.pack...
/inst/shiny/app/global.R
no_license
lupok2001/patentr
R
false
false
980
r
##This should detect and install missing packages before loading them ## yang yao and kamil bojanczyk ## motivation: R Shiny gallery and look at urls in ui.R list.of.packages <- c("shiny","ggplot2", "dplyr") new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])] if(length(new.pack...
#' esSil #' #' Identify and draw sil_width for a clustering pattern. It requires package #' 'cluster'. It adds the NMF cluster and silhouette width in the es dataframe #' (using covar_name + cluster or sil_width) #' #' @export #' @param es expression set #' @param clusters Number of clusters #' @param covar_name cova...
/r/esSil.R
no_license
genomelab/esFunctions
R
false
false
1,633
r
#' esSil #' #' Identify and draw sil_width for a clustering pattern. It requires package #' 'cluster'. It adds the NMF cluster and silhouette width in the es dataframe #' (using covar_name + cluster or sil_width) #' #' @export #' @param es expression set #' @param clusters Number of clusters #' @param covar_name cova...
# WaveLightGLS # # Figure 1 & 2 #--------------------------------- list.data = list.files("./results", pattern=".RData", all.files=FALSE,full.names=TRUE) list.data <- list.data[grepl("SUDA", list.data)] twilight.dev <- list() ## Calibration function calib <- function(twl_c, lat, zenith.start = 96) { z0 <- seq(z...
/Figure_1_and_2.R
no_license
AmedeeRoy/WaveLightGLS
R
false
false
12,264
r
# WaveLightGLS # # Figure 1 & 2 #--------------------------------- list.data = list.files("./results", pattern=".RData", all.files=FALSE,full.names=TRUE) list.data <- list.data[grepl("SUDA", list.data)] twilight.dev <- list() ## Calibration function calib <- function(twl_c, lat, zenith.start = 96) { z0 <- seq(z...
\name{COMeantmp} \alias{COMeantmp} %- Also NEED an '\alias' for EACH other topic documented here. \docType{data} \title{ Mean Monthly Surface Temperature (Celcius) for Colorado, USA } \description{ Mean Monthly Surface Temperature at 10' latitude/longitude spatial resolution cropped to the Spatial extent of Col...
/man/COMeantmp.Rd
no_license
griffithdan/grassmap
R
false
false
775
rd
\name{COMeantmp} \alias{COMeantmp} %- Also NEED an '\alias' for EACH other topic documented here. \docType{data} \title{ Mean Monthly Surface Temperature (Celcius) for Colorado, USA } \description{ Mean Monthly Surface Temperature at 10' latitude/longitude spatial resolution cropped to the Spatial extent of Col...
testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(2.31584307392677e+77, 9.53818252170339e+295, 1.22821294503235e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(10L, 3L))) result <- do.call(CNull:::communities_individual_based_sampling...
/CNull/inst/testfiles/communities_individual_based_sampling_alpha/AFL_communities_individual_based_sampling_alpha/communities_individual_based_sampling_alpha_valgrind_files/1615781178-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
348
r
testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(2.31584307392677e+77, 9.53818252170339e+295, 1.22821294503235e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(10L, 3L))) result <- do.call(CNull:::communities_individual_based_sampling...
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source('../../h2o-runit.R') test.glrm.orthonnmf <- function(conn) { m <- 1000; n <- 100; k <- 10 Log.info(paste("Uploading random uniform matrix with rows =", m, "and cols =", n)) Y <- matrix(runif(k*n), nrow = k, ncol = n) X <- matrix(runi...
/h2o-r/tests/testdir_algos/glrm/runit_glrm_orthonnmf.R
permissive
mrgloom/h2o-3
R
false
false
2,301
r
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source('../../h2o-runit.R') test.glrm.orthonnmf <- function(conn) { m <- 1000; n <- 100; k <- 10 Log.info(paste("Uploading random uniform matrix with rows =", m, "and cols =", n)) Y <- matrix(runif(k*n), nrow = k, ncol = n) X <- matrix(runi...
# init iLAD <- function(y, offset, parms, wt) { if (is.matrix(y) && ncol(y) > 1) stop("Matrix response not allowed") if (!missing(parms) && length(parms) > 0) warning("parameter argument ignored") if (length(offset)) y <- y - offset sfun <- function(yval, dev, wt, ylevel, digits ) { paste0("...
/R/method.R
no_license
cran/rpart.LAD
R
false
false
2,996
r
# init iLAD <- function(y, offset, parms, wt) { if (is.matrix(y) && ncol(y) > 1) stop("Matrix response not allowed") if (!missing(parms) && length(parms) > 0) warning("parameter argument ignored") if (length(offset)) y <- y - offset sfun <- function(yval, dev, wt, ylevel, digits ) { paste0("...
python_has_modules <- function(python, modules) { # write code to tempfile file <- tempfile("reticulate-python-", fileext = ".py") code <- paste("import", modules) writeLines(code, con = file) on.exit(unlink(file), add = TRUE) # invoke Python status <- system2(python, shQuote(file), stdout = FALSE, std...
/R/python-tools.R
permissive
chainsawriot/reticulate
R
false
false
5,487
r
python_has_modules <- function(python, modules) { # write code to tempfile file <- tempfile("reticulate-python-", fileext = ".py") code <- paste("import", modules) writeLines(code, con = file) on.exit(unlink(file), add = TRUE) # invoke Python status <- system2(python, shQuote(file), stdout = FALSE, std...
#install.packages(c("ff","kernlab","ffbase","pracma","AUC"),dep=T) rm(list=ls()) gc() library(ff) library(kernlab) library(ffbase) library(plyr) library(pracma) library(AUC) OptimisedConc=function(indvar,fittedvalues) { Data = cbind(indvar, fittedvalues) ones = Data[Data[,1] == 1,] zeros = Data[Data[,1] == 0,...
/GP US DS Model mghosh/2.Code/DS Model Training SVM v1.R
no_license
ghoshmithun/ImpProjectDoc
R
false
false
7,534
r
#install.packages(c("ff","kernlab","ffbase","pracma","AUC"),dep=T) rm(list=ls()) gc() library(ff) library(kernlab) library(ffbase) library(plyr) library(pracma) library(AUC) OptimisedConc=function(indvar,fittedvalues) { Data = cbind(indvar, fittedvalues) ones = Data[Data[,1] == 1,] zeros = Data[Data[,1] == 0,...
#! /usr/bin/Rscript library(argparse) library(phyloseq) library(ggplot2) library(gridExtra) library(vegan) library(rbiom) options(stringsAsFactors=F) # Command-line arguments parser=ArgumentParser() parser$add_argument("-i", "--infile", help="RDS file containing the phyloseq object to analyze (from step 2a)") parser$...
/Primers_PCoA.r
no_license
wallacelab/paper-giangacomo-16s-methods
R
false
false
6,372
r
#! /usr/bin/Rscript library(argparse) library(phyloseq) library(ggplot2) library(gridExtra) library(vegan) library(rbiom) options(stringsAsFactors=F) # Command-line arguments parser=ArgumentParser() parser$add_argument("-i", "--infile", help="RDS file containing the phyloseq object to analyze (from step 2a)") parser$...
\name{arrayUpdate} \alias{arrayUpdate} \title{ Update array allocation } \description{ Update the allocation of samples on the arrays. This is a subfunction needed for \code{updateDesign}, but is not directly used. } \usage{ arrayUpdate(array.allocation, condition.allocation, nRILs, nSlides) } \arg...
/man/arrayUpdate.Rd
no_license
cran/designGG
R
false
false
1,867
rd
\name{arrayUpdate} \alias{arrayUpdate} \title{ Update array allocation } \description{ Update the allocation of samples on the arrays. This is a subfunction needed for \code{updateDesign}, but is not directly used. } \usage{ arrayUpdate(array.allocation, condition.allocation, nRILs, nSlides) } \arg...
## R code template for analyses reported in Li, Koester, and Lachance et al iScience 2021 ## DOI:https://doi.org/10.1016/j.isci.2021.102508 # calculate geometric means ----------------------------------------------- geo_mean <- function(v.FITC.indiv) { return (sum(v.FITC.indiv * c(1:12))) } # examples using the ...
/geometric_means_calculation.R
no_license
DeyLab/Li_Koester_Lachance_et_al_iScience_2021
R
false
false
719
r
## R code template for analyses reported in Li, Koester, and Lachance et al iScience 2021 ## DOI:https://doi.org/10.1016/j.isci.2021.102508 # calculate geometric means ----------------------------------------------- geo_mean <- function(v.FITC.indiv) { return (sum(v.FITC.indiv * c(1:12))) } # examples using the ...
#logistic.growth.mle.norm logistic.growth.mle.norm<-function(readings, printer=F, upper=2){ if(printer){print(unique(readings$culture))} fitted.readings<-readings start.parameters=c(max(readings$ABS, na.rm=T), 1, min(readings$ABS, na.rm=T),diff(range(readings$ABS, na.rm=T))) #Log likelyhood functio...
/Growth curves/logistic_growth_mle_norm.R
no_license
low-decarie/Useful-R-functions
R
false
false
2,868
r
#logistic.growth.mle.norm logistic.growth.mle.norm<-function(readings, printer=F, upper=2){ if(printer){print(unique(readings$culture))} fitted.readings<-readings start.parameters=c(max(readings$ABS, na.rm=T), 1, min(readings$ABS, na.rm=T),diff(range(readings$ABS, na.rm=T))) #Log likelyhood functio...
query <- biOmics::biOmicsSearch("brain") # Experiments # "Microarray"-"ExpressionArray"-"ExonArray"-"RNASeq" # "MiRNAMicroArray"-"Firehose"-"DNAMethylation "-"miRNASeq"-"RRBS" # "ChipSeq"-"MRESeq"-"Rampage"-"DNAsequencing" # "fiveC"-RepliSeq"-"Others" query <- biOmics::biOmicsSearch("brain", experiment = "ExpressionA...
/inst/examples/biomicsSearch.R
no_license
tiagochst/TCGAbiolinksGUI
R
false
false
327
r
query <- biOmics::biOmicsSearch("brain") # Experiments # "Microarray"-"ExpressionArray"-"ExonArray"-"RNASeq" # "MiRNAMicroArray"-"Firehose"-"DNAMethylation "-"miRNASeq"-"RRBS" # "ChipSeq"-"MRESeq"-"Rampage"-"DNAsequencing" # "fiveC"-RepliSeq"-"Others" query <- biOmics::biOmicsSearch("brain", experiment = "ExpressionA...
# Load dataset into R load_data <- function() { filename <- "HPC.txt" EXP <- read.table(filename,header=TRUE,sep=";",na="?") # convert date and time variables to Date/Time class EXP$Time <- strptime(paste(EXP$Date, EXP$Time), "%d/%m/%Y %H:%M:%S") EXP$Date <- as.Date(EXP$Date, format="%d/%m/%Y") ...
/Plot2A.R
no_license
rajthilakm/Course_Project_1
R
false
false
732
r
# Load dataset into R load_data <- function() { filename <- "HPC.txt" EXP <- read.table(filename,header=TRUE,sep=";",na="?") # convert date and time variables to Date/Time class EXP$Time <- strptime(paste(EXP$Date, EXP$Time), "%d/%m/%Y %H:%M:%S") EXP$Date <- as.Date(EXP$Date, format="%d/%m/%Y") ...
#参数中不存在equity或price 报错 expect_error(totalEquity(ratio=0.1)()) #传入的资金为浮动资金 pos = totalEquity(ratio=0.1)(initeq=10000,price=10) expect_equal(pos,100)
/trade/SNPACKAGE/test/totalEquityTest.R
no_license
zhurui1351/RSTOCK_TRAIL
R
false
false
186
r
#参数中不存在equity或price 报错 expect_error(totalEquity(ratio=0.1)()) #传入的资金为浮动资金 pos = totalEquity(ratio=0.1)(initeq=10000,price=10) expect_equal(pos,100)
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/entrez_info.r \name{entrez_info} \alias{entrez_info} \title{Get information about EUtils databases} \usage{ entrez_info(db = NULL, config = NULL) } \arguments{ \item{db}{character database about which to retrieve information (optional...
/man/entrez_info.Rd
no_license
parthasen/rentrez
R
false
false
1,484
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/entrez_info.r \name{entrez_info} \alias{entrez_info} \title{Get information about EUtils databases} \usage{ entrez_info(db = NULL, config = NULL) } \arguments{ \item{db}{character database about which to retrieve information (optional...
## makecacheMatrix creates a special matrix object that can cache its inverse makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setinverse <- function(inverse) inv <<- inverse getinverse <- function() inv ...
/cachematrix.R
no_license
mlticzon/ProgrammingAssignment2
R
false
false
812
r
## makecacheMatrix creates a special matrix object that can cache its inverse makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setinverse <- function(inverse) inv <<- inverse getinverse <- function() inv ...
library(crunch) ### Name: crunch-cut ### Title: Cut a numeric Crunch variable ### Aliases: crunch-cut cut,NumericVariable-method ### ** Examples ## Not run: ##D ds <- loadDataset("mtcars") ##D ds$cat_var <- cut(ds$mpg, breaks = c(10, 15, 20), ##D labels = c("small", "medium"), name = "Fuel efficiency") ##D ds$...
/data/genthat_extracted_code/crunch/examples/crunch-cut.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
518
r
library(crunch) ### Name: crunch-cut ### Title: Cut a numeric Crunch variable ### Aliases: crunch-cut cut,NumericVariable-method ### ** Examples ## Not run: ##D ds <- loadDataset("mtcars") ##D ds$cat_var <- cut(ds$mpg, breaks = c(10, 15, 20), ##D labels = c("small", "medium"), name = "Fuel efficiency") ##D ds$...
## Converter for Progenesis output ## Thanks Ulrich Omasits : use R scripts by Ulrich Omasits, 2015, version 2.1 ## output from Progenesis : wide format #' @export ProgenesistoMSstatsFormat <- function(input, annotation, useUniquePeptide=T...
/R/ProgenesistoMSstatsFormat.R
no_license
bpolacco/MSstats
R
false
false
10,557
r
## Converter for Progenesis output ## Thanks Ulrich Omasits : use R scripts by Ulrich Omasits, 2015, version 2.1 ## output from Progenesis : wide format #' @export ProgenesistoMSstatsFormat <- function(input, annotation, useUniquePeptide=T...
#' @title gis_advisory #' @description Advisory Forecast Track, Cone of Uncertainty, and #' Watches/Warnings #' @param key Key of storm (i.e., AL012008, EP092015) #' @param advisory Advisory number. If NULL, all advisories are returned. #' Intermediate advisories are acceptable. #' @seealso \code{\link{gis_download}} #...
/R/gis.R
permissive
mraza007/rrricanes
R
false
false
18,564
r
#' @title gis_advisory #' @description Advisory Forecast Track, Cone of Uncertainty, and #' Watches/Warnings #' @param key Key of storm (i.e., AL012008, EP092015) #' @param advisory Advisory number. If NULL, all advisories are returned. #' Intermediate advisories are acceptable. #' @seealso \code{\link{gis_download}} #...
library(arules) install.packages("corrplot") library(corrplot) #load data movies=read.csv(file.choose()) movies head(movies) summary(movies) str(movies) corrplot(cor(movies[,6:15])) #build algorithm movies_rules <- apriori(as.matrix(movies[,6:15]),parameter = list(support = 0.005,confidence= 0.05,minlen=3)) movies_rule...
/movies.R
no_license
karthi-25/Tutorials-on-R-codes
R
false
false
518
r
library(arules) install.packages("corrplot") library(corrplot) #load data movies=read.csv(file.choose()) movies head(movies) summary(movies) str(movies) corrplot(cor(movies[,6:15])) #build algorithm movies_rules <- apriori(as.matrix(movies[,6:15]),parameter = list(support = 0.005,confidence= 0.05,minlen=3)) movies_rule...
# Välj län genom att ange lanskoden för det län du vill göra uttag för Lanskod = 20 # För att mäta hur lång tid körningen tar StartTid <- Sys.time() # Laddar in nödvändiga packages ---------------------------------------------- library(tidyverse) library(RSelenium) library(rvest) library(stringr) # La...
/AF_Rselenium/AF_LedigaPlatser.R
no_license
Analytikernatverket/R
R
false
false
4,384
r
# Välj län genom att ange lanskoden för det län du vill göra uttag för Lanskod = 20 # För att mäta hur lång tid körningen tar StartTid <- Sys.time() # Laddar in nödvändiga packages ---------------------------------------------- library(tidyverse) library(RSelenium) library(rvest) library(stringr) # La...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/public.R \name{DataSetUpdate} \alias{DataSetUpdate} \title{Update local data sets and update R/sysdata.rda file} \usage{ DataSetUpdate(ds = "all", samples = FALSE, use.remote = TRUE, force.update = FALSE, wizard = FALSE) } \arguments{ \item...
/man/DataSetUpdate.Rd
no_license
carlesUdG/net.security
R
false
true
1,416
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/public.R \name{DataSetUpdate} \alias{DataSetUpdate} \title{Update local data sets and update R/sysdata.rda file} \usage{ DataSetUpdate(ds = "all", samples = FALSE, use.remote = TRUE, force.update = FALSE, wizard = FALSE) } \arguments{ \item...
.onLoad <- function(libname, pkgname) { rcudanlp.path <- '/Users/dy/nlp-cuda/bin/librcudanlp.so' sysname <- Sys.info()['sysname'] if (sysname == 'Windows') { path <- 'C:/lib' } print(dyn.load(rcudanlp.path)) }
/R/utils.R
no_license
hack1nt0/rcudanlp
R
false
false
238
r
.onLoad <- function(libname, pkgname) { rcudanlp.path <- '/Users/dy/nlp-cuda/bin/librcudanlp.so' sysname <- Sys.info()['sysname'] if (sysname == 'Windows') { path <- 'C:/lib' } print(dyn.load(rcudanlp.path)) }
# MIT License # # Copyright (c) 2017-2021 TileDB Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modi...
/R/SparseMatrix.R
permissive
dcooley/TileDB-R
R
false
false
5,102
r
# MIT License # # Copyright (c) 2017-2021 TileDB Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/slim_lang.R \name{calcPairHeterozygosity} \alias{calcPairHeterozygosity} \alias{SLiMBuiltin$calcPairHeterozygosity} \alias{.SB$calcPairHeterozygosity} \title{SLiM method calcPairHeterozygosity} \usage{ calcPairHeterozygosity(genome1, genome2,...
/man/calcPairHeterozygosity.Rd
permissive
rdinnager/slimr
R
false
true
4,498
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/slim_lang.R \name{calcPairHeterozygosity} \alias{calcPairHeterozygosity} \alias{SLiMBuiltin$calcPairHeterozygosity} \alias{.SB$calcPairHeterozygosity} \title{SLiM method calcPairHeterozygosity} \usage{ calcPairHeterozygosity(genome1, genome2,...
library(tidyverse) library(rjson); ## Formatted output to the standard out outf <- function(...){ write(sprintf(...),file=stdout()); } ## Load a JSON file and let us know about it read_json_from_file <- function(filename){ outf("input: %s", filename); fromJSON(file=filename); } ## Write a table to a file...
/preamble.R
no_license
VincentToups/ds-pres-repo
R
false
false
916
r
library(tidyverse) library(rjson); ## Formatted output to the standard out outf <- function(...){ write(sprintf(...),file=stdout()); } ## Load a JSON file and let us know about it read_json_from_file <- function(filename){ outf("input: %s", filename); fromJSON(file=filename); } ## Write a table to a file...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/analysis_request.R \name{remove_dataset} \alias{remove_dataset} \title{remove_dataset} \usage{ remove_dataset(x, dataset_name) } \arguments{ \item{x}{The \code{\link{ReactomeAnalysisRequest}} to remove the dataset from} \item{dataset_name}{c...
/man/remove_dataset.Rd
no_license
reactome/ReactomeGSA
R
false
true
501
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/analysis_request.R \name{remove_dataset} \alias{remove_dataset} \title{remove_dataset} \usage{ remove_dataset(x, dataset_name) } \arguments{ \item{x}{The \code{\link{ReactomeAnalysisRequest}} to remove the dataset from} \item{dataset_name}{c...
/Atelier1.R
no_license
Camcor/atelier1
R
false
false
633
r
# K-Nearest Neighbors (KNN) Model # importing the dataset ads <- read.csv('Social_Network_Ads.csv') summary(ads) # removing id and gender columns from independent variables ads <- ads[, 3:5] # Scaling the data ads[, 1:2] <- scale(ads[, 1:2]) # splitting the data into train and test set library(caTools) set.seed(2407...
/KNN Model.R
no_license
jainaniket24/R
R
false
false
2,252
r
# K-Nearest Neighbors (KNN) Model # importing the dataset ads <- read.csv('Social_Network_Ads.csv') summary(ads) # removing id and gender columns from independent variables ads <- ads[, 3:5] # Scaling the data ads[, 1:2] <- scale(ads[, 1:2]) # splitting the data into train and test set library(caTools) set.seed(2407...
setwd("D:/R Examples/Hackathon") a <- read.csv("train.csv") View(a) b <- read.csv("test.csv") View(b) c <- rbind(a[,-81],b) View(c) summary(c) str(c) colnames(c)[colSums(is.na(c))>0] c$MSZoning[is.na(c$MSZoning)] <- "RL" hist(c$LotFrontage) c$LotFrontage[is.na(c$LotFrontage)] <- 68 c$Exterior1st[...
/House_Prices.r
no_license
fegadeharish/House-Price-Prediction
R
false
false
2,654
r
setwd("D:/R Examples/Hackathon") a <- read.csv("train.csv") View(a) b <- read.csv("test.csv") View(b) c <- rbind(a[,-81],b) View(c) summary(c) str(c) colnames(c)[colSums(is.na(c))>0] c$MSZoning[is.na(c$MSZoning)] <- "RL" hist(c$LotFrontage) c$LotFrontage[is.na(c$LotFrontage)] <- 68 c$Exterior1st[...
context("Test get_R") test_that("Test against reference results", { skip_on_cran() ## simulate basic epicurve dat <- c(0, 2, 2, 3, 3, 5, 5, 5, 6, 6, 6, 6) i <- incidence(dat) ## example with a function for SI si <- distcrete("gamma", interval = 1L, shape = 1.5, ...
/tests/testthat/test_get_R.R
no_license
Gulfa/earlyR
R
false
false
1,779
r
context("Test get_R") test_that("Test against reference results", { skip_on_cran() ## simulate basic epicurve dat <- c(0, 2, 2, 3, 3, 5, 5, 5, 6, 6, 6, 6) i <- incidence(dat) ## example with a function for SI si <- distcrete("gamma", interval = 1L, shape = 1.5, ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/common-get_options.R \name{get_rkeops_options} \alias{get_rkeops_options} \title{Get the current \code{rkeops} options in \code{R} global options scope} \usage{ get_rkeops_options(tag = NULL) } \arguments{ \item{tag}{text string being \code{"...
/rkeops/man/get_rkeops_options.Rd
permissive
dvolgyes/keops
R
false
true
2,256
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/common-get_options.R \name{get_rkeops_options} \alias{get_rkeops_options} \title{Get the current \code{rkeops} options in \code{R} global options scope} \usage{ get_rkeops_options(tag = NULL) } \arguments{ \item{tag}{text string being \code{"...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pmse_lm.R \name{pmse_lm} \alias{pmse_lm} \title{Prediction mean squared error for Bayesian regularized regression models} \usage{ pmse_lm(object, ytest = NULL, y = NULL, N_train = NULL) } \arguments{ \item{object}{An object of class `stanfit`...
/man/pmse_lm.Rd
permissive
sara-vanerp/bayesreg
R
false
true
1,111
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pmse_lm.R \name{pmse_lm} \alias{pmse_lm} \title{Prediction mean squared error for Bayesian regularized regression models} \usage{ pmse_lm(object, ytest = NULL, y = NULL, N_train = NULL) } \arguments{ \item{object}{An object of class `stanfit`...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/canon.R \name{Rd_canonize} \alias{Rd_canonize} \alias{Rd_canonize_text} \alias{Rd_canonize_code} \title{Rd Canonical Form} \usage{ Rd_canonize(rd, ..., .check = TRUE) Rd_canonize_text(rd, .check = TRUE, ...) Rd_canonize_code(rd,...
/man/Rd_canonize.Rd
no_license
cran/Rd
R
false
true
2,024
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/canon.R \name{Rd_canonize} \alias{Rd_canonize} \alias{Rd_canonize_text} \alias{Rd_canonize_code} \title{Rd Canonical Form} \usage{ Rd_canonize(rd, ..., .check = TRUE) Rd_canonize_text(rd, .check = TRUE, ...) Rd_canonize_code(rd,...
\name{mycamweather-package} \alias{mycamweather-package} \alias{mycamweather} \docType{package} \title{ What the package does (short line) ~~ package title ~~ } \description{ More about what it does (maybe more than one line) ~~ A concise (1-5 lines) description of the package ~~ } \details{ \tabular{ll}{ Package: \tab...
/man/mycamweather-package.Rd
no_license
cbudjan/mycamweather
R
false
false
1,059
rd
\name{mycamweather-package} \alias{mycamweather-package} \alias{mycamweather} \docType{package} \title{ What the package does (short line) ~~ package title ~~ } \description{ More about what it does (maybe more than one line) ~~ A concise (1-5 lines) description of the package ~~ } \details{ \tabular{ll}{ Package: \tab...
rm(list = ls()) library(Daniel) library(dplyr) library(nnet) CalcCImultinom <- function(fit) { s <- summary(fit) coef <- s$coefficients ses <- s$standard.errors ci.1 <- coef[1,2] + c(-1, 1)*1.96*ses[1, 2] ci.2 <- coef[2,2] + c(-1, 1)*1.96*ses[2, 2] return(rbind(ci.1,ci.2)) } #key # A, B,C,D,E,F - betaE[2] =...
/Simulations/Scripts/R/Rare/Scenario 4/CMPEn50KrareScen4DB.R
no_license
yadevi/CausalMPE
R
false
false
4,215
r
rm(list = ls()) library(Daniel) library(dplyr) library(nnet) CalcCImultinom <- function(fit) { s <- summary(fit) coef <- s$coefficients ses <- s$standard.errors ci.1 <- coef[1,2] + c(-1, 1)*1.96*ses[1, 2] ci.2 <- coef[2,2] + c(-1, 1)*1.96*ses[2, 2] return(rbind(ci.1,ci.2)) } #key # A, B,C,D,E,F - betaE[2] =...
Length<-20 bredth<-30 height<-40 area<-(Length*bredth) print(area) perimeter<-(Length+bredth+height) print(perimeter)
/A2p4.r
no_license
AyushSinghdeo/DA-LAB
R
false
false
123
r
Length<-20 bredth<-30 height<-40 area<-(Length*bredth) print(area) perimeter<-(Length+bredth+height) print(perimeter)
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RHDFql.R \docType{package} \name{RHDFql-package} \alias{RHDFql} \alias{RHDFql-package} \title{RHDFql: Interface to 'HDFql'} \description{ A DBI-like interface to HDF files using HDFql. } \details{ TBD. } \author{ \strong{Maintainer}: Michael ...
/man/RHDFql-package.Rd
no_license
mkoohafkan/RHDFql
R
false
true
369
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RHDFql.R \docType{package} \name{RHDFql-package} \alias{RHDFql} \alias{RHDFql-package} \title{RHDFql: Interface to 'HDFql'} \description{ A DBI-like interface to HDF files using HDFql. } \details{ TBD. } \author{ \strong{Maintainer}: Michael ...
library(shiny) library(r2d3) ui <- fluidPage( inputPanel( sliderInput("bar_max", label = "Max:", min = 0.1, max = 1.0, value = 0.2, step = 0.1) ), d3Output("d3") ) server <- function(input, output) { output$d3 <- renderD3({ r2d3( runif(5, 0, input$bar_max), s...
/src/12. shiny.R
no_license
laurentpellet/meetup2019
R
false
false
437
r
library(shiny) library(r2d3) ui <- fluidPage( inputPanel( sliderInput("bar_max", label = "Max:", min = 0.1, max = 1.0, value = 0.2, step = 0.1) ), d3Output("d3") ) server <- function(input, output) { output$d3 <- renderD3({ r2d3( runif(5, 0, input$bar_max), s...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/unimodularity.R \name{reduceMatrix} \alias{reduceMatrix} \title{Apply reduction method from Scholtus (2008)} \usage{ reduceMatrix(A) } \arguments{ \item{A}{An object of class matrix in \eqn{\{-1,0,1\}^{m\times n}}.} } \value{ The reduction of...
/man/reduceMatrix.Rd
no_license
cran/lintools
R
false
true
1,122
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/unimodularity.R \name{reduceMatrix} \alias{reduceMatrix} \title{Apply reduction method from Scholtus (2008)} \usage{ reduceMatrix(A) } \arguments{ \item{A}{An object of class matrix in \eqn{\{-1,0,1\}^{m\times n}}.} } \value{ The reduction of...
setwd("/project/home17/whb17/Documents/project3/project_files/preprocessing/ex_4/") inp.prot_data <- read.csv("../../data/protein_data.csv") inp.inf_id <- read.csv("../../data/id_info.csv") #Remove weird superfluous columns inp.prot_data <- inp.prot_data[,-c(25,26)] #Separate off info columns Pt <- inp.prot_data$Pt ...
/preprocessing/ex_4/prot_choice4.R
no_license
whtbowers/multiomics
R
false
false
4,784
r
setwd("/project/home17/whb17/Documents/project3/project_files/preprocessing/ex_4/") inp.prot_data <- read.csv("../../data/protein_data.csv") inp.inf_id <- read.csv("../../data/id_info.csv") #Remove weird superfluous columns inp.prot_data <- inp.prot_data[,-c(25,26)] #Separate off info columns Pt <- inp.prot_data$Pt ...
## Put comments here that give an overall description of what your ## functions do # Both these functions used in conjunction with each other allow for storage of the inverse # of a matrix so as to prevent recaclulating over and over again. ## Write a short comment describing this function ## makeCacheMatrix is analo...
/cachematrix.R
no_license
sbhave77/ProgrammingAssignment2
R
false
false
1,699
r
## Put comments here that give an overall description of what your ## functions do # Both these functions used in conjunction with each other allow for storage of the inverse # of a matrix so as to prevent recaclulating over and over again. ## Write a short comment describing this function ## makeCacheMatrix is analo...
"Groups modules by ZSummary and extracts the gene names" Data = read.csv('./Data/Metrics LUSC_Tumor.csv') #Filter Preserved Filter = Data[Data[, 10] > 10, ] modules = Filter$module modules = as.character(modules) dir.create('./Enrichment/Preserved') for (i in modules) { file = list.files('./Data/M...
/Scripts/Enrichment/ExtractGenesForEnrichment.R
no_license
StefanKanan/Analysing-Gene-Networks
R
false
false
755
r
"Groups modules by ZSummary and extracts the gene names" Data = read.csv('./Data/Metrics LUSC_Tumor.csv') #Filter Preserved Filter = Data[Data[, 10] > 10, ] modules = Filter$module modules = as.character(modules) dir.create('./Enrichment/Preserved') for (i in modules) { file = list.files('./Data/M...
test_that("result of function", { expect_equal(class(votes_get_clubs_links("http://www.sejm.gov.pl/Sejm7.nsf/", "http://www.sejm.gov.pl/Sejm7.nsf/agent.xsp?symbol=glosowania&NrKadencji=7&NrPosiedzenia=1&NrGlosowania=1")), "data.frame") }) test_that("columns of table", { expect_equal(ncol(votes_get_clubs_li...
/sejmRP/tests/testthat/test_vottes_get_clubs_links.R
no_license
PaulinaKostrzewa/sejmRP
R
false
false
714
r
test_that("result of function", { expect_equal(class(votes_get_clubs_links("http://www.sejm.gov.pl/Sejm7.nsf/", "http://www.sejm.gov.pl/Sejm7.nsf/agent.xsp?symbol=glosowania&NrKadencji=7&NrPosiedzenia=1&NrGlosowania=1")), "data.frame") }) test_that("columns of table", { expect_equal(ncol(votes_get_clubs_li...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/elementRetrieval.R, R/elementRetrievalDoc.R \name{findElementFromElement} \alias{findElementFromElement} \title{Search for an element on the page, starting from another element} \usage{ findElementFromElement(webElem, using = c("xpath", "css ...
/man/findElementFromElement.Rd
no_license
johndharrison/seleniumPipes
R
false
true
3,400
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/elementRetrieval.R, R/elementRetrievalDoc.R \name{findElementFromElement} \alias{findElementFromElement} \title{Search for an element on the page, starting from another element} \usage{ findElementFromElement(webElem, using = c("xpath", "css ...
# integrate.R # 7-26-2019 # Integrates single cell genomics datasets using Seurat methods # Currently designed to use seurat's reference based CCA method # for integration. The script expects all datasets to be merged # into 1 seurat object # usage: Rscript integrate.r -s "/data/seurat_object.rds" -g "individual" -r "...
/integrate.R
no_license
jasenjackson/singlecell
R
false
false
3,376
r
# integrate.R # 7-26-2019 # Integrates single cell genomics datasets using Seurat methods # Currently designed to use seurat's reference based CCA method # for integration. The script expects all datasets to be merged # into 1 seurat object # usage: Rscript integrate.r -s "/data/seurat_object.rds" -g "individual" -r "...
######################### ## bring fishbase data ## ######################### library(XML) library(Hmisc) theurl <- "http://www.fishbase.de/Topic/List.php?group=29" pagetree <- htmlTreeParse(theurl, error=function(...){}) urltable <- pagetree$children$html$children$body$children$table urls <- vector(mode='chara...
/re-run/database-10-metabolicRates.R
no_license
dbarneche/ELEBarneche
R
false
false
6,984
r
######################### ## bring fishbase data ## ######################### library(XML) library(Hmisc) theurl <- "http://www.fishbase.de/Topic/List.php?group=29" pagetree <- htmlTreeParse(theurl, error=function(...){}) urltable <- pagetree$children$html$children$body$children$table urls <- vector(mode='chara...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/unnest.R \name{dt_unnest} \alias{dt_unnest} \title{Unnest: Fast Unnesting of Data Tables} \usage{ dt_unnest(dt_, col) } \arguments{ \item{dt_}{the data table to unnest} \item{col}{the column to unnest} } \description{ Quickly unnest data tab...
/man/dt_unnest.Rd
no_license
TysonStanley/tidyfast
R
false
true
565
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/unnest.R \name{dt_unnest} \alias{dt_unnest} \title{Unnest: Fast Unnesting of Data Tables} \usage{ dt_unnest(dt_, col) } \arguments{ \item{dt_}{the data table to unnest} \item{col}{the column to unnest} } \description{ Quickly unnest data tab...
# Meta -------------------------------------------------------------------- ## HW 03, Problem 1 checks # # Description: # Check R built-in functions against "my_*" function variants # Load libraries / functions ---------------------------------------------- library(testthat) source("problem_01_functions.R") # ...
/assignment3/solution_spencer/problem_01_checks.R
no_license
hmsuw-learn-r/HomeworkSolutions
R
false
false
2,445
r
# Meta -------------------------------------------------------------------- ## HW 03, Problem 1 checks # # Description: # Check R built-in functions against "my_*" function variants # Load libraries / functions ---------------------------------------------- library(testthat) source("problem_01_functions.R") # ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot-recr-mcmc.R \name{plot_recr_mcmc} \alias{plot_recr_mcmc} \title{Plot MCMC recruitments for iSCAM models} \usage{ plot_recr_mcmc( models, show_ro = TRUE, ro_color = base_color, legend_title = "Models", xlim = NULL, ylim = NULL...
/man/plot_recr_mcmc.Rd
no_license
pbs-assess/gfiscamutils
R
false
true
3,077
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot-recr-mcmc.R \name{plot_recr_mcmc} \alias{plot_recr_mcmc} \title{Plot MCMC recruitments for iSCAM models} \usage{ plot_recr_mcmc( models, show_ro = TRUE, ro_color = base_color, legend_title = "Models", xlim = NULL, ylim = NULL...
#Testing Spatial Effects n=20 graph = gridConstructor(100) #4 connections generations.4graph = c(1) for (i in 1:n) { ga = new.GA.env(GA.base.args=new.GA.base.args(max.gen=500,numPop=2), fitness.args=new.fitness.args(fitness.fn=twoPop.one.max.withCoupling(.5), goal=30, externalConnectionsMatrix=matrix(c(1:100, 1:100)...
/Testing Functions/spatial_oneMax_Experiment.R
no_license
Fozefy/GeneticAlgorithm
R
false
false
13,355
r
#Testing Spatial Effects n=20 graph = gridConstructor(100) #4 connections generations.4graph = c(1) for (i in 1:n) { ga = new.GA.env(GA.base.args=new.GA.base.args(max.gen=500,numPop=2), fitness.args=new.fitness.args(fitness.fn=twoPop.one.max.withCoupling(.5), goal=30, externalConnectionsMatrix=matrix(c(1:100, 1:100)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/od-funs.R \name{line2df} \alias{line2df} \title{Convert straight SpatialLinesDataFrame to a data.frame with from and to coords} \usage{ line2df(l) } \arguments{ \item{l}{A SpatialLinesDataFrame} } \description{ Convert straight SpatialLinesDa...
/man/line2df.Rd
permissive
bestwpw/stplanr
R
false
true
468
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/od-funs.R \name{line2df} \alias{line2df} \title{Convert straight SpatialLinesDataFrame to a data.frame with from and to coords} \usage{ line2df(l) } \arguments{ \item{l}{A SpatialLinesDataFrame} } \description{ Convert straight SpatialLinesDa...
#' Tests the white noise assumption for a VAR model using a portmanteau test on the residuals #' #' This function tests the white noise assumption for the residuals of the endogenous variables in the specified VAR model. This function implements the portmanteau test known as the Ljung-Box test, and results are comparab...
/autovarCore/R/assess_portmanteau.r
no_license
ingted/R-Examples
R
false
false
2,443
r
#' Tests the white noise assumption for a VAR model using a portmanteau test on the residuals #' #' This function tests the white noise assumption for the residuals of the endogenous variables in the specified VAR model. This function implements the portmanteau test known as the Ljung-Box test, and results are comparab...
# Function to test for overdispersion in any model # # source: https://stat.ethz.ch/pipermail/r-sig-mixed-models/2011q1/015392.html dispersion_glmer <- function(modelglmer){ # computing estimated scale ( binomial model) following D. Bates : # That quantity is the square root of the penalized residual sum of...
/R/dispersion_glmer.R
no_license
cran/blmeco
R
false
false
577
r
# Function to test for overdispersion in any model # # source: https://stat.ethz.ch/pipermail/r-sig-mixed-models/2011q1/015392.html dispersion_glmer <- function(modelglmer){ # computing estimated scale ( binomial model) following D. Bates : # That quantity is the square root of the penalized residual sum of...
# ------------- AMR gene analysis - Intrinsic genes --------------- ## This track of the ARIBA analysis script analyses AMR gene reports ## from ARIBA and generates result files based on user input of ## selected genes of interest. # ------------------------- Parameters ---------------------------- args <- commandAr...
/src/intrinsic_script.R
permissive
hkaspersen/VAMPIR
R
false
false
2,709
r
# ------------- AMR gene analysis - Intrinsic genes --------------- ## This track of the ARIBA analysis script analyses AMR gene reports ## from ARIBA and generates result files based on user input of ## selected genes of interest. # ------------------------- Parameters ---------------------------- args <- commandAr...
coef.fittedloop <- function (object,...) object$values
/hysteresis/R/coef.fittedloop.R
no_license
ingted/R-Examples
R
false
false
56
r
coef.fittedloop <- function (object,...) object$values
gbm_train<-function(dat_train){ library(gbm) tm.train<-system.time(gbm.fit<-gbm(emotion_idx~., distribution="multinomial", data=dat_train, n.trees = 200, bag.fraction=0.65, shrinkage = 0.1, cv.folds=3)) return(list(gbm.fit,tm.train)) }
/lib/gbm_train.R
no_license
TZstatsADS/fall2019-proj3-sec2--group5
R
false
false
311
r
gbm_train<-function(dat_train){ library(gbm) tm.train<-system.time(gbm.fit<-gbm(emotion_idx~., distribution="multinomial", data=dat_train, n.trees = 200, bag.fraction=0.65, shrinkage = 0.1, cv.folds=3)) return(list(gbm.fit,tm.train)) }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/check-names.R \name{check_names} \alias{check_names} \title{Check Names} \usage{ check_names( x, names = character(0), exclusive = FALSE, order = FALSE, x_name = NULL ) } \arguments{ \item{x}{The object to check.} \item{names}{A ch...
/man/check_names.Rd
permissive
poissonconsulting/chk
R
false
true
1,098
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/check-names.R \name{check_names} \alias{check_names} \title{Check Names} \usage{ check_names( x, names = character(0), exclusive = FALSE, order = FALSE, x_name = NULL ) } \arguments{ \item{x}{The object to check.} \item{names}{A ch...
#Bern Romey, 04Feb15 ~ ESM567 Term Project #PCA #Data dta<-read.csv("ApochthoniusMorphLatLon04Feb15.csv", header=T) dt <-na.omit(dta) am <- dt[c(6:24)] #Assumptions boxplot(am, main = "Not scaled") boxplot(scale(am), main="Scaled (centered) with Z-score") boxplot(scale(log(am+1)),main="log transformed") cor.matrix(...
/PCA.R
no_license
sydney2/Ev567Proj
R
false
false
1,557
r
#Bern Romey, 04Feb15 ~ ESM567 Term Project #PCA #Data dta<-read.csv("ApochthoniusMorphLatLon04Feb15.csv", header=T) dt <-na.omit(dta) am <- dt[c(6:24)] #Assumptions boxplot(am, main = "Not scaled") boxplot(scale(am), main="Scaled (centered) with Z-score") boxplot(scale(log(am+1)),main="log transformed") cor.matrix(...
#' Construct an overall coverage cohort plot #' #' Given a matrix construct a plot to display sequencing depth acheived #' as percentage bars for a cohort of samples. #' @name covBars #' @param x Object of class matrix with rows representing coverage achieved #' at bases and columns corresponding to each sample in the ...
/R/covBars.R
permissive
cbrueffer/GenVisR
R
false
false
2,741
r
#' Construct an overall coverage cohort plot #' #' Given a matrix construct a plot to display sequencing depth acheived #' as percentage bars for a cohort of samples. #' @name covBars #' @param x Object of class matrix with rows representing coverage achieved #' at bases and columns corresponding to each sample in the ...
\name{fpca} \alias{fpca} \title{Focused Principal Components Analysis} \description{ Graphical representation similar to a principal components analysis but adapted to data structured with dependent/independent variables } \usage{ fpca(formula=NULL,y=NULL, x=NULL, data, cx=0.75, pvalues="No", partial="Yes", input=...
/man/fpca.Rd
no_license
cran/psy
R
false
false
4,534
rd
\name{fpca} \alias{fpca} \title{Focused Principal Components Analysis} \description{ Graphical representation similar to a principal components analysis but adapted to data structured with dependent/independent variables } \usage{ fpca(formula=NULL,y=NULL, x=NULL, data, cx=0.75, pvalues="No", partial="Yes", input=...
library(naniar) ### Name: miss_var_which ### Title: Which variables contain missing values? ### Aliases: miss_var_which ### ** Examples miss_var_which(airquality) miss_var_which(iris)
/data/genthat_extracted_code/naniar/examples/miss_var_which.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
193
r
library(naniar) ### Name: miss_var_which ### Title: Which variables contain missing values? ### Aliases: miss_var_which ### ** Examples miss_var_which(airquality) miss_var_which(iris)
library(shinyShortcut) ### Name: shinyShortcut ### Title: Create Shiny App Shortcut ### Aliases: shinyShortcut ### ** Examples shinyShortcut()
/data/genthat_extracted_code/shinyShortcut/examples/shinyShortcut.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
150
r
library(shinyShortcut) ### Name: shinyShortcut ### Title: Create Shiny App Shortcut ### Aliases: shinyShortcut ### ** Examples shinyShortcut()
## File Name: mlnormal_update_V_R.R ## File Version: 0.28 ############################################## # update matrix V and its inverse mlnormal_update_V_R <- function( Z_index, G, theta, Z_list, use_ginverse, variance_shortcut, freq_id, do_compute, rcpp_args){ dimZ <- dim( Z_index ) ...
/LAM/R/mlnormal_update_V_R.R
no_license
akhikolla/TestedPackages-NoIssues
R
false
false
1,517
r
## File Name: mlnormal_update_V_R.R ## File Version: 0.28 ############################################## # update matrix V and its inverse mlnormal_update_V_R <- function( Z_index, G, theta, Z_list, use_ginverse, variance_shortcut, freq_id, do_compute, rcpp_args){ dimZ <- dim( Z_index ) ...
# 程序名称:土壤肥力综合评价初步研究 算法 # 版本:V3.0,2017.9.5修订 # 作者:Guoqiang Li # E-Mail: agri521#gmail.com # 说明:算法摘自“土壤肥力综合评价初步研究”,浙江大学学报,1999,25(4):378-382 ## 隶属函数定义 fun_Membership <- function(x,xmin,xmax){ result <- rep(0,length(x)) for( i in 1:length(x)){ if ( x[i] < xmax && x[i] >=xmin ){ result[i] <- 0.9*(x[i] - xmi...
/UserDefinedFunction.R
no_license
agri521/SoilFertilityEvaluation
R
false
false
1,011
r
# 程序名称:土壤肥力综合评价初步研究 算法 # 版本:V3.0,2017.9.5修订 # 作者:Guoqiang Li # E-Mail: agri521#gmail.com # 说明:算法摘自“土壤肥力综合评价初步研究”,浙江大学学报,1999,25(4):378-382 ## 隶属函数定义 fun_Membership <- function(x,xmin,xmax){ result <- rep(0,length(x)) for( i in 1:length(x)){ if ( x[i] < xmax && x[i] >=xmin ){ result[i] <- 0.9*(x[i] - xmi...
`clogistLoglike` <- function(n,m,x,beta){ M<-sum(m) N<-sum(n) if (M==0) return(0) else if (M==N) return(0) x<-as.matrix(x) eta<- x %*% beta U<-exp(eta) if (M==1) return(sum(eta*m) - log(sum(U*n)) ) if (M>N/2){ ## for efficiency, keep loop part of calculation to mi...
/R/clogistLoglike.R
no_license
cran/saws
R
false
false
1,050
r
`clogistLoglike` <- function(n,m,x,beta){ M<-sum(m) N<-sum(n) if (M==0) return(0) else if (M==N) return(0) x<-as.matrix(x) eta<- x %*% beta U<-exp(eta) if (M==1) return(sum(eta*m) - log(sum(U*n)) ) if (M>N/2){ ## for efficiency, keep loop part of calculation to mi...
as_df_btprob <- function(m) { # convert to matrix if (!is.matrix(m)) m <- as.matrix(m) m[lower.tri(m, diag = TRUE)] <- NA # make the data frame out <- dplyr::as_data_frame(as.data.frame.table(m, useNA = "no", stringsAsFactors = FALSE)) out <- dplyr::filter(out, !is.na(Freq)) out <- dplyr::renam...
/R/btprob.R
no_license
cran/BradleyTerryScalable
R
false
false
5,861
r
as_df_btprob <- function(m) { # convert to matrix if (!is.matrix(m)) m <- as.matrix(m) m[lower.tri(m, diag = TRUE)] <- NA # make the data frame out <- dplyr::as_data_frame(as.data.frame.table(m, useNA = "no", stringsAsFactors = FALSE)) out <- dplyr::filter(out, !is.na(Freq)) out <- dplyr::renam...
#' Calculates the fence and the loop of a gemplot (i.e. the outer gemstone). #' #' The fence inflates the the bag relative to the depth median by the #' factor inflation. Data points outside the bag and inside the fence #' the loop or outer gemstone are flagged as outliers. Data points #' outside the fence are mar...
/R/loop.R
no_license
cran/RepeatedHighDim
R
false
false
5,683
r
#' Calculates the fence and the loop of a gemplot (i.e. the outer gemstone). #' #' The fence inflates the the bag relative to the depth median by the #' factor inflation. Data points outside the bag and inside the fence #' the loop or outer gemstone are flagged as outliers. Data points #' outside the fence are mar...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_object.R \name{get_object} \alias{get_object} \title{Get a DataONE object} \usage{ get_object(data_pid, as = "parsed", ...) } \arguments{ \item{data_pid}{(character) The data or metadata object PID} \item{as}{desired type of output: raw,...
/man/get_object.Rd
no_license
isteves/dataimport
R
false
true
758
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_object.R \name{get_object} \alias{get_object} \title{Get a DataONE object} \usage{ get_object(data_pid, as = "parsed", ...) } \arguments{ \item{data_pid}{(character) The data or metadata object PID} \item{as}{desired type of output: raw,...
\name{duo_clustering_all_parameter_settings_v2} \alias{duo_clustering_all_parameter_settings_v2} \title{ Hyperparameter values } \arguments{ \item{metadata}{Logical, whether only metadata should be returned} } \description{ Hyperparameter values for all clustering algorithms and data sets in v2 of Duo et al (F1000Rese...
/man/duo_clustering_all_parameter_settings_v2.Rd
no_license
chanwkimlab/DuoClustering2018
R
false
false
882
rd
\name{duo_clustering_all_parameter_settings_v2} \alias{duo_clustering_all_parameter_settings_v2} \title{ Hyperparameter values } \arguments{ \item{metadata}{Logical, whether only metadata should be returned} } \description{ Hyperparameter values for all clustering algorithms and data sets in v2 of Duo et al (F1000Rese...
# ============================ # = Simulate Trophic Cascade = # ============================ set.seed(2) # ================= # = Steve's Notes = # ================= # Treat-and-Halt using the foodweb model, rolling window statistics, and quickest detection # Foodweb model for simulating transients, adapted from FS6_t...
/R/simulate/FWsim.R
no_license
rBatt/edmShift
R
false
false
3,272
r
# ============================ # = Simulate Trophic Cascade = # ============================ set.seed(2) # ================= # = Steve's Notes = # ================= # Treat-and-Halt using the foodweb model, rolling window statistics, and quickest detection # Foodweb model for simulating transients, adapted from FS6_t...
?qplot library(ggplot2) qplot(data=stats, x=Internet.users) # criando um gráfico de barras bem simples qplot(data=stats, x = Income.Group, y = Birth.rate) # nesse caso acrescentei o tamanho dos pontos e também a cor, é importante colocar o I antes para o R entender que vc quer colocar a cor azul e o ...
/R Programming Basic and Intermediate/Introduction to qplot.R
no_license
guilhermeaugusto9/R-Userful-Scripts
R
false
false
673
r
?qplot library(ggplot2) qplot(data=stats, x=Internet.users) # criando um gráfico de barras bem simples qplot(data=stats, x = Income.Group, y = Birth.rate) # nesse caso acrescentei o tamanho dos pontos e também a cor, é importante colocar o I antes para o R entender que vc quer colocar a cor azul e o ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/GOF.control.R \name{get.label} \alias{get.label} \title{Labels for known NONMEM variables} \usage{ get.label(x, trans = NULL) } \arguments{ \item{x}{column to get label for} \item{trans}{transformation} } \description{ get.labe...
/man/get.label.Rd
no_license
cran/nonmem2R
R
false
true
571
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/GOF.control.R \name{get.label} \alias{get.label} \title{Labels for known NONMEM variables} \usage{ get.label(x, trans = NULL) } \arguments{ \item{x}{column to get label for} \item{trans}{transformation} } \description{ get.labe...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \name{example_biotracer_data} \alias{example_biotracer_data} \title{Example biotracer data} \format{A table with 15 rows and 3 columns. Each row is an isotopic sample from one individual. The columns are: \describe{ \item{group}{the ...
/man/example_biotracer_data.Rd
no_license
jimjunker1/EcoDiet
R
false
true
748
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \name{example_biotracer_data} \alias{example_biotracer_data} \title{Example biotracer data} \format{A table with 15 rows and 3 columns. Each row is an isotopic sample from one individual. The columns are: \describe{ \item{group}{the ...
# The code used to clean the data options(width = 120) load("Lesson10SU.RData") library(DT) datatable(movies100lesson10) ## Your R code used to clean movies100lesson10 library(tibble) for (i in c(1:dim(movies100lesson10)[1])){ name = unlist(strsplit(as.character(movies100lesson10[i,"Genre"]),"\n \n ...
/DataCleaning/DataCleaning.R
no_license
ruiwenhe-10/R_practice
R
false
false
2,481
r
# The code used to clean the data options(width = 120) load("Lesson10SU.RData") library(DT) datatable(movies100lesson10) ## Your R code used to clean movies100lesson10 library(tibble) for (i in c(1:dim(movies100lesson10)[1])){ name = unlist(strsplit(as.character(movies100lesson10[i,"Genre"]),"\n \n ...
rankall <- function(outcome, num = "best") { ## Read outcome data data <- read.csv("outcome-of-care-measures.csv", colClasses = "character") # Keep columns only from Hospital.Name, State, Heart.Attack, Heart.Failure and Pneumonia data <- data[, c(2, 7, 11, 17, 23)] ## Check that state and outcome are...
/r-programming/ProgrammingAssignment3/rankall.R
no_license
ngoharry19/datasciencecoursera
R
false
false
1,780
r
rankall <- function(outcome, num = "best") { ## Read outcome data data <- read.csv("outcome-of-care-measures.csv", colClasses = "character") # Keep columns only from Hospital.Name, State, Heart.Attack, Heart.Failure and Pneumonia data <- data[, c(2, 7, 11, 17, 23)] ## Check that state and outcome are...
require("stats") require("tfplot") Sys.info() tmp <- tempfile() z <- ts(matrix(100 + rnorm(200),100,2), start=c(1991,1), frequency=4) tsWrite(z, file=tmp) zz <- tsScan(tmp, nseries=2) file.remove(tmp) cat("max difference ", max(abs(z - zz)) ) if (max(abs(z - zz)) > 1e-10) stop("file write and read comparison...
/tests/utils.R
no_license
cran/tfplot
R
false
false
1,614
r
require("stats") require("tfplot") Sys.info() tmp <- tempfile() z <- ts(matrix(100 + rnorm(200),100,2), start=c(1991,1), frequency=4) tsWrite(z, file=tmp) zz <- tsScan(tmp, nseries=2) file.remove(tmp) cat("max difference ", max(abs(z - zz)) ) if (max(abs(z - zz)) > 1e-10) stop("file write and read comparison...
#' Genotype Data #' #' The data is a list with a SnpMatrix `genotypes` (2000 rows, 50 columns) and a data frame `map`. #' It should be used in the \code{magpa} function to test multivariate correlation. #' #' \itemize{ #' \item genotypes #' \item map #'} #' #' @docType data #' @keywords datasets #' @name geno #' @u...
/R/geno.R
no_license
changebio/MAGPA
R
false
false
479
r
#' Genotype Data #' #' The data is a list with a SnpMatrix `genotypes` (2000 rows, 50 columns) and a data frame `map`. #' It should be used in the \code{magpa} function to test multivariate correlation. #' #' \itemize{ #' \item genotypes #' \item map #'} #' #' @docType data #' @keywords datasets #' @name geno #' @u...
#' @title Compile a data.frame from screening results #' #' @description Check measured pattern plausibility #' #' @param screened_listed #' @param pattern #' @param at_RT #' @param measurements_table #' @param compound_table #' @param cut_score #' @param do_for #' #' @details enviMass workflow function #' get_scre...
/R/get_screening_results.r
no_license
uweschmitt/enviMass
R
false
false
9,206
r
#' @title Compile a data.frame from screening results #' #' @description Check measured pattern plausibility #' #' @param screened_listed #' @param pattern #' @param at_RT #' @param measurements_table #' @param compound_table #' @param cut_score #' @param do_for #' #' @details enviMass workflow function #' get_scre...
## script to clean up original PA WIC source (by fitting to schema); data pulled from PA WIC website ## load libs / set up library(dplyr) write_loc <- "food-data/Cleaned_data_files/" ## ----------------------- read in data_model data_mod <- readxl::read_excel("schema.xlsx", sheet = "master_table") %>% filter(!str...
/data_prep_scripts/prep_source_scripts/prep_wic_sites.R
permissive
cgmoreno/food-access-map-data
R
false
false
1,957
r
## script to clean up original PA WIC source (by fitting to schema); data pulled from PA WIC website ## load libs / set up library(dplyr) write_loc <- "food-data/Cleaned_data_files/" ## ----------------------- read in data_model data_mod <- readxl::read_excel("schema.xlsx", sheet = "master_table") %>% filter(!str...
# Dear ProteoSign user, # Please find below the code that ProteoSign uses to generate the data plots. # The two main functions are: do_results_plots, which produces the Reproducibility plot, the Volcano plot, the MA plot and the Scatterplot (matrix), # and do_limma_plots, which produces the replicates' intensities boxp...
/cgi-bin/Plot_Generator.R
no_license
yorgodillo/ProteoSign
R
false
false
15,820
r
# Dear ProteoSign user, # Please find below the code that ProteoSign uses to generate the data plots. # The two main functions are: do_results_plots, which produces the Reproducibility plot, the Volcano plot, the MA plot and the Scatterplot (matrix), # and do_limma_plots, which produces the replicates' intensities boxp...
#' esoph_ca: Esophageal Cancer dataset #' #' @description #' Data from a case-control study of esophageal cancer in Ille-et-Vilaine, France, evaluating the effects of smoking and alcohol on the incidence of esophageal cancer. Smoking and alcohol are associated risk factors for squamous cell cancer of the esophagus, rat...
/R/esoph_ca.R
permissive
higgi13425/medicaldata
R
false
false
3,031
r
#' esoph_ca: Esophageal Cancer dataset #' #' @description #' Data from a case-control study of esophageal cancer in Ille-et-Vilaine, France, evaluating the effects of smoking and alcohol on the incidence of esophageal cancer. Smoking and alcohol are associated risk factors for squamous cell cancer of the esophagus, rat...
\name{summary.cv.plsRglmmodel} \alias{summary.cv.plsRglmmodel} \title{Summary method for plsRglm models} \description{ This function provides a summary method for the class \code{"cv.plsRglmmodel"} } \usage{ \method{summary}{cv.plsRglmmodel}(object, \dots) } \arguments{ \item{object}{an object of the class \code{"cv....
/man/summary.cv.plsRglmmodel.Rd
no_license
weecology/plsRglm
R
false
false
1,395
rd
\name{summary.cv.plsRglmmodel} \alias{summary.cv.plsRglmmodel} \title{Summary method for plsRglm models} \description{ This function provides a summary method for the class \code{"cv.plsRglmmodel"} } \usage{ \method{summary}{cv.plsRglmmodel}(object, \dots) } \arguments{ \item{object}{an object of the class \code{"cv....
# SYS 6018 Kaggle Competition 4 # Group C4-4 # Navin Kasa # Niharika Reddy # Mengyao Zhang library(tidyverse) library(MASS) library(dplyr) library(jsonlite) library(readr) library(magrittr) library(lubridate) library(purrr) library(ggplot2) library(gridExtra) #install.packages("countrycode") library(c...
/C4-4 OLS.r
no_license
zhang90s/sys6018-competition-revenue-prediction
R
false
false
34,258
r
# SYS 6018 Kaggle Competition 4 # Group C4-4 # Navin Kasa # Niharika Reddy # Mengyao Zhang library(tidyverse) library(MASS) library(dplyr) library(jsonlite) library(readr) library(magrittr) library(lubridate) library(purrr) library(ggplot2) library(gridExtra) #install.packages("countrycode") library(c...
#' Check Template #' #' Checks if the examples of given template can be run without any error. #' #' If everything went fine and you get a list of \code{success} equals to \code{TRUE} values, otherwise \code{success} returns \code{FALSE} with additional \code{message} #' @param fp a character vector containing template...
/R/tpl-check.R
no_license
tothg/rapport
R
false
false
1,272
r
#' Check Template #' #' Checks if the examples of given template can be run without any error. #' #' If everything went fine and you get a list of \code{success} equals to \code{TRUE} values, otherwise \code{success} returns \code{FALSE} with additional \code{message} #' @param fp a character vector containing template...
# OM <- OM_xl(file.path("C:/Users/arhor/Dropbox/CAProject/CACaseStudies/OMs/OMTables.xlsx"), "RSU") # Data <- new("Data", file.path("C:/Users/arhor/Dropbox/CAProject/CACaseStudies/DataObjects/RSU/RSU_data.csv")) Turing <- function(OM, Data) { if (class(OM) != "OM") stop("OM must be class 'OM'") if (class(Data) !=...
/Turing.R
no_license
DLMtool/DLMDev
R
false
false
6,823
r
# OM <- OM_xl(file.path("C:/Users/arhor/Dropbox/CAProject/CACaseStudies/OMs/OMTables.xlsx"), "RSU") # Data <- new("Data", file.path("C:/Users/arhor/Dropbox/CAProject/CACaseStudies/DataObjects/RSU/RSU_data.csv")) Turing <- function(OM, Data) { if (class(OM) != "OM") stop("OM must be class 'OM'") if (class(Data) !=...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/visEarthPole.R \name{visEarthPole} \alias{visEarthPole} \title{usecase for local leaflet projections} \usage{ visEarthPole(dateString="2011-10-04", layerList=c(12,10,11),groupList=NULL,scale=scale500,zoom=5) } \arguments{ \item{dateString}{a ...
/man/visEarthPole.Rd
no_license
gisma/robubu
R
false
true
3,210
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/visEarthPole.R \name{visEarthPole} \alias{visEarthPole} \title{usecase for local leaflet projections} \usage{ visEarthPole(dateString="2011-10-04", layerList=c(12,10,11),groupList=NULL,scale=scale500,zoom=5) } \arguments{ \item{dateString}{a ...