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
## Put comments here that give an overall description of what your ## functions do ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { m <- NULL ## Set function set <- function(y) { x <<- y ...
/cachematrix.R
no_license
cton3508/ProgrammingAssignment2
R
false
false
1,427
r
## Put comments here that give an overall description of what your ## functions do ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { m <- NULL ## Set function set <- function(y) { x <<- y ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{meta_std_ts_2021} \alias{meta_std_ts_2021} \title{Metadata for 2021 Quality of Government institute Standard Data - time-series} \format{ A data frame with 2347 rows and five columns \describe{ \item{code}{Indi...
/man/meta_std_ts_2021.Rd
permissive
rOpenGov/rqog
R
false
true
2,473
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{meta_std_ts_2021} \alias{meta_std_ts_2021} \title{Metadata for 2021 Quality of Government institute Standard Data - time-series} \format{ A data frame with 2347 rows and five columns \describe{ \item{code}{Indi...
# Read the file if(!file.exists("exdata-data-household_power_consumption.zip")) { temp <- tempfile() download.file("http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp) file <- unzip(temp) unlink(temp) } power <- read.table(file, header=T, sep=";")...
/plot4.R
no_license
datanalyst/ExData_Plotting1
R
false
false
2,096
r
# Read the file if(!file.exists("exdata-data-household_power_consumption.zip")) { temp <- tempfile() download.file("http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp) file <- unzip(temp) unlink(temp) } power <- read.table(file, header=T, sep=";")...
#install.packages("tidyverse") library(tidyverse) cannabis <- tibble( t = seq(-pi,pi, length.out=1000), r1 = (1+.9*cos(8*t)), ## this number determines number of leafs! r2 = r1 * (1+.1*cos(24*t)), ## this make it pointy r3 = r2 * (.9+0.5*cos(200*t)), ## this makes it jaggy r4 = r3 * (1+sin(t)), ## ...
/R_Projects/Cannabis/cannabisGraph.R
no_license
DevilEars/Optics
R
false
false
2,298
r
#install.packages("tidyverse") library(tidyverse) cannabis <- tibble( t = seq(-pi,pi, length.out=1000), r1 = (1+.9*cos(8*t)), ## this number determines number of leafs! r2 = r1 * (1+.1*cos(24*t)), ## this make it pointy r3 = r2 * (.9+0.5*cos(200*t)), ## this makes it jaggy r4 = r3 * (1+sin(t)), ## ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Readdata.R \name{Readdata} \alias{Readdata} \title{Read raw data} \usage{ Readdata( file = NULL, fileFormat = NULL, method = NULL, filecov = NULL, MCIMmap = NULL, MultiEnv = FALSE ) } \arguments{ \item{file}{Dataset input} \item{...
/man/Readdata.Rd
no_license
cran/QTL.gCIMapping
R
false
true
747
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Readdata.R \name{Readdata} \alias{Readdata} \title{Read raw data} \usage{ Readdata( file = NULL, fileFormat = NULL, method = NULL, filecov = NULL, MCIMmap = NULL, MultiEnv = FALSE ) } \arguments{ \item{file}{Dataset input} \item{...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/makeSeeAlso.R \name{makeSeeAlso} \alias{makeSeeAlso} \title{FUNCTION_TITLE} \usage{ makeSeeAlso(obj, cutOFF = 3) } \arguments{ \item{obj}{PARAM_DESCRIPTION} \item{cutOFF}{PARAM_DESCRIPTION, Default: 3} } \value{ OUTPUT_DESCRIPTION } \descrip...
/man/makeSeeAlso.Rd
no_license
lbusett/sinew
R
false
true
427
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/makeSeeAlso.R \name{makeSeeAlso} \alias{makeSeeAlso} \title{FUNCTION_TITLE} \usage{ makeSeeAlso(obj, cutOFF = 3) } \arguments{ \item{obj}{PARAM_DESCRIPTION} \item{cutOFF}{PARAM_DESCRIPTION, Default: 3} } \value{ OUTPUT_DESCRIPTION } \descrip...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 51670 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 51496 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 51496 c c Input Parameter (command line, ...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Herbstritt/blackbox-01X-QBF/biu.mv.xl_ao.bb-b003-p020-MIF04-c05.blif-biu.inv.prop.bb-bmc.conf05.01X-QBF.BB1-Zi.BB2-01X.BB3-Zi.with-IOC.unfold-006/biu.mv.xl_ao.bb-b003-p020-MIF04-c05.blif-biu.inv.prop.bb-bmc.conf05.01X-QBF.BB1-Zi.BB2-01X.BB3-Zi.with-IOC.unfol...
no_license
arey0pushpa/dcnf-autarky
R
false
false
1,652
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 51670 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 51496 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 51496 c c Input Parameter (command line, ...
g.part5.wakesleepwindows = function(ts, summarysleep_tmp2, desiredtz, nightsi, sleeplog, ws3new, Nts, ID, Nepochsinhour) { #======================================================== # DIURNAL BINARY CLASSIFICATION INTO NIGHT (onset-wake) OR DAY (wake-onset) PERIOD findIndex ...
/R/g.part5.wakesleepwindows.R
permissive
jhmigueles/GGIR
R
false
false
6,359
r
g.part5.wakesleepwindows = function(ts, summarysleep_tmp2, desiredtz, nightsi, sleeplog, ws3new, Nts, ID, Nepochsinhour) { #======================================================== # DIURNAL BINARY CLASSIFICATION INTO NIGHT (onset-wake) OR DAY (wake-onset) PERIOD findIndex ...
`kin.cohort` <- function(...,method=c("marginal","mml","chatterjee", "moments","km","watcholder")){ if (tolower(method[1]) %in% c("marginal","mml","chatterjee") ) o<- kc.marginal(...) else if (tolower(method[1]) %in% c("moments","km","watcholder") ) o<- kc.moments(...) else stop("please provide a va...
/kin.cohort/R/kin.cohort.R
no_license
ingted/R-Examples
R
false
false
342
r
`kin.cohort` <- function(...,method=c("marginal","mml","chatterjee", "moments","km","watcholder")){ if (tolower(method[1]) %in% c("marginal","mml","chatterjee") ) o<- kc.marginal(...) else if (tolower(method[1]) %in% c("moments","km","watcholder") ) o<- kc.moments(...) else stop("please provide a va...
visreg <- function(fit, xvar, by, overlay=FALSE, breaks=3, type=c("conditional", "contrast", "effect"), trans=I, scale=c("linear","response"), xtrans, alpha=.05, nn=101, cond=list(), print.cond=missing(by) & (max(attr(terms(formula(fit)), "order"))>1), whitespace=0.2, partial=(!r...
/R/visreg.R
no_license
Tavpritesh/visreg
R
false
false
1,766
r
visreg <- function(fit, xvar, by, overlay=FALSE, breaks=3, type=c("conditional", "contrast", "effect"), trans=I, scale=c("linear","response"), xtrans, alpha=.05, nn=101, cond=list(), print.cond=missing(by) & (max(attr(terms(formula(fit)), "order"))>1), whitespace=0.2, partial=(!r...
# Utils ------------------------------------------------------------------- # Loading packages # function from https://gist.github.com/stevenworthington/3178163 ipak <- function(pkg){ new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])] if (length(new.pkg)) install.packages(new.pkg, dependencies = T...
/R/dm01_utils.R
permissive
davgyl/school_sim
R
false
false
1,683
r
# Utils ------------------------------------------------------------------- # Loading packages # function from https://gist.github.com/stevenworthington/3178163 ipak <- function(pkg){ new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])] if (length(new.pkg)) install.packages(new.pkg, dependencies = T...
rich.colors.short <- function(n,alpha=1){ x <- seq(0, 1, length = n) r <- 1/(1 + exp(20 - 35 * x)) g <- pmin(pmax(0, -0.8 + 6 * x - 5 * x^2), 1) b <- dnorm(x, 0.25, 0.15)/max(dnorm(x, 0.25, 0.15)) rgb.m <- matrix(c(r, g, b), ncol = 3) rich.vector <- apply(rgb.m, 1, function(v) rgb(v[1], v[2], v[3], alpha=al...
/Presentation/tables/catch.R
no_license
chantelwetzel-noaa/Petrale_2019
R
false
false
1,890
r
rich.colors.short <- function(n,alpha=1){ x <- seq(0, 1, length = n) r <- 1/(1 + exp(20 - 35 * x)) g <- pmin(pmax(0, -0.8 + 6 * x - 5 * x^2), 1) b <- dnorm(x, 0.25, 0.15)/max(dnorm(x, 0.25, 0.15)) rgb.m <- matrix(c(r, g, b), ncol = 3) rich.vector <- apply(rgb.m, 1, function(v) rgb(v[1], v[2], v[3], alpha=al...
library(shiny) library(MPV) library(ggimage) library(ggplot2) library(corrplot) library(RColorBrewer) ui <- shinyUI(fluidPage( # Application title titlePanel("Car Dataset Analysis"), # Sidebar with a slider input for number of bins sidebarLayout( sidebarPanel( selectInput("Car.Char", "Car Chara...
/app.R
no_license
Ritayu09/Shiny-App-CarsData
R
false
false
5,389
r
library(shiny) library(MPV) library(ggimage) library(ggplot2) library(corrplot) library(RColorBrewer) ui <- shinyUI(fluidPage( # Application title titlePanel("Car Dataset Analysis"), # Sidebar with a slider input for number of bins sidebarLayout( sidebarPanel( selectInput("Car.Char", "Car Chara...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/xmu.R \name{xmu_make_mxData} \alias{xmu_make_mxData} \title{Upgrade a dataframe to an mxData type.} \usage{ xmu_make_mxData( data = NULL, type = c("Auto", "FIML", "cov", "cor", "WLS", "DWLS", "ULS"), manifests = NULL, numObs = NULL, ...
/man/xmu_make_mxData.Rd
no_license
Davidpjmp/umx
R
false
true
6,083
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/xmu.R \name{xmu_make_mxData} \alias{xmu_make_mxData} \title{Upgrade a dataframe to an mxData type.} \usage{ xmu_make_mxData( data = NULL, type = c("Auto", "FIML", "cov", "cor", "WLS", "DWLS", "ULS"), manifests = NULL, numObs = NULL, ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/LatentDigraph.R \name{observedNodes} \alias{observedNodes} \alias{observedNodes.LatentDigraph} \title{Get all observed nodes in the graph.} \usage{ observedNodes(this, ...) \method{observedNodes}{LatentDigraph}(this, ...) } \arguments{ \item...
/man/observedNodes.Rd
no_license
Lucaweihs/SEMID
R
false
true
421
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/LatentDigraph.R \name{observedNodes} \alias{observedNodes} \alias{observedNodes.LatentDigraph} \title{Get all observed nodes in the graph.} \usage{ observedNodes(this, ...) \method{observedNodes}{LatentDigraph}(this, ...) } \arguments{ \item...
# global setting
/global.R
no_license
takewiki/statdesc
R
false
false
16
r
# global setting
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CESAnalysis.R \name{get_signature_weights} \alias{get_signature_weights} \title{Get table of signature weights by tumor} \usage{ get_signature_weights(cesa = NULL, artifacts_zeroed = T) } \arguments{ \item{cesa}{CESAnalysis object} \item{art...
/man/get_signature_weights.Rd
no_license
sbidochko/cancereffectsizeR
R
false
true
653
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CESAnalysis.R \name{get_signature_weights} \alias{get_signature_weights} \title{Get table of signature weights by tumor} \usage{ get_signature_weights(cesa = NULL, artifacts_zeroed = T) } \arguments{ \item{cesa}{CESAnalysis object} \item{art...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rasterSource.R \name{rasterSource} \alias{rasterSource} \title{Distribution of emissions by a georeferenced image} \source{ Exemple data is a low resolution cutting from image of persistent lights of the Defense Meteorological Satellite Progr...
/man/rasterSource.Rd
permissive
ctfysh/EmissV
R
false
true
1,468
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rasterSource.R \name{rasterSource} \alias{rasterSource} \title{Distribution of emissions by a georeferenced image} \source{ Exemple data is a low resolution cutting from image of persistent lights of the Defense Meteorological Satellite Progr...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fig_table.R \name{fig_table} \alias{fig_table} \title{Writes out a figr table} \usage{ fig_table(fig_tbl, show_all = FALSE) } \arguments{ \item{fig_tbl}{A figr_table} \item{show_all}{If TRUE long filename output too} } \value{ Returns fig_tb...
/man/fig_table.Rd
permissive
ianhandel/figr
R
false
true
515
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fig_table.R \name{fig_table} \alias{fig_table} \title{Writes out a figr table} \usage{ fig_table(fig_tbl, show_all = FALSE) } \arguments{ \item{fig_tbl}{A figr_table} \item{show_all}{If TRUE long filename output too} } \value{ Returns fig_tb...
#:# libraries library(digest) library(mlr) library(OpenML) library(farff) #:# config set.seed(1) #:# data dataset <- getOMLDataSet(data.name = "hutsof99_logis") head(dataset$data) #:# preprocessing head(dataset$data) #:# model task = makeRegrTask(id = "task", data = dataset$data, target = "Quality") lrn = makeLearn...
/models/openml_hutsof99_logis/regression_Quality/4150a0596fff36fcf613aedd2e02830f/code.R
no_license
lukaszbrzozowski/CaseStudies2019S
R
false
false
667
r
#:# libraries library(digest) library(mlr) library(OpenML) library(farff) #:# config set.seed(1) #:# data dataset <- getOMLDataSet(data.name = "hutsof99_logis") head(dataset$data) #:# preprocessing head(dataset$data) #:# model task = makeRegrTask(id = "task", data = dataset$data, target = "Quality") lrn = makeLearn...
repsalefourier <- function(price0,time0,price1,time1,mergefirst=1,q=1, graph=TRUE,graph.conf=TRUE,conf=.95,stage3=FALSE,stage3_xlist=~timesale,print=TRUE) { dy <- price1-price0 timevar <- levels(factor(c(time0,time1))) nt = length(timevar) n = length(dy) time0 <- ifelse(time0<=as.numeric(timevar[mergefirs...
/McSpatial/R/repsalefourier.R
no_license
albrizre/spatstat.revdep
R
false
false
2,692
r
repsalefourier <- function(price0,time0,price1,time1,mergefirst=1,q=1, graph=TRUE,graph.conf=TRUE,conf=.95,stage3=FALSE,stage3_xlist=~timesale,print=TRUE) { dy <- price1-price0 timevar <- levels(factor(c(time0,time1))) nt = length(timevar) n = length(dy) time0 <- ifelse(time0<=as.numeric(timevar[mergefirs...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/internal.R \name{panel_cor} \alias{panel_cor} \title{Correlation panel for use un correlation matrix} \usage{ panel_cor(x, y, digits = 2, prefix = "") } \description{ Correlation panel for use un correlation matrix }
/man/panel_cor.Rd
no_license
faustovrz/bugcount
R
false
true
295
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/internal.R \name{panel_cor} \alias{panel_cor} \title{Correlation panel for use un correlation matrix} \usage{ panel_cor(x, y, digits = 2, prefix = "") } \description{ Correlation panel for use un correlation matrix }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/equitysheet.R \name{equitysheet} \alias{equitysheet} \title{Generate Grading Equity Report for Instructor and All Faculty by course taught} \usage{ equitysheet(data, coursecol, instructorcol, instructorid, gradecol, racecol, gendercol, limi...
/man/equitysheet.Rd
no_license
tylerrollinsphd/arccair
R
false
true
3,076
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/equitysheet.R \name{equitysheet} \alias{equitysheet} \title{Generate Grading Equity Report for Instructor and All Faculty by course taught} \usage{ equitysheet(data, coursecol, instructorcol, instructorid, gradecol, racecol, gendercol, limi...
printCI = function(x, fmt){ if(length(x)!=2) stop("x must have be a vector of length 2") strFmt = paste('(',fmt,', ',fmt,')',sep='') strResult = sprintf(strFmt, x[1], x[2]) return(strResult) }
/R/printCI.R
no_license
cran/dafs
R
false
false
224
r
printCI = function(x, fmt){ if(length(x)!=2) stop("x must have be a vector of length 2") strFmt = paste('(',fmt,', ',fmt,')',sep='') strResult = sprintf(strFmt, x[1], x[2]) return(strResult) }
testlist <- list(x = structure(c(2.31584307392677e+77, 9.53818252170339e+295, 1.22810536108214e+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, 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 = 8:7)) result <- do.call(mult...
/multivariance/inst/testfiles/doubleCenterBiasCorrected/AFL_doubleCenterBiasCorrected/doubleCenterBiasCorrected_valgrind_files/1613140361-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
379
r
testlist <- list(x = structure(c(2.31584307392677e+77, 9.53818252170339e+295, 1.22810536108214e+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, 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 = 8:7)) result <- do.call(mult...
# produces n random numbers from t with df=2 and with specified mean set.seed(seed) x=true_loc+rt(n,df=2)
/vignettes/one_sample_location_winsor/R/rt.R
permissive
stephenslab/dsc
R
false
false
107
r
# produces n random numbers from t with df=2 and with specified mean set.seed(seed) x=true_loc+rt(n,df=2)
# one association model on game play data gameend_dt.v1 <- left_join(gameend_dt, game.user) gameend_dt.v1 <- filter(gameend_dt.v1, duration >5) gameend_dt.v1 <- select(gameend_dt.v1, channeluserid, min.date, now_2) gameend_dt.v1$now_2 <- as.Date.character(gameend_dt.v1$now_2) #wholedata <- left_join(gameend_dt.v1, gam...
/association_all.R
no_license
poweryong8/R
R
false
false
1,089
r
# one association model on game play data gameend_dt.v1 <- left_join(gameend_dt, game.user) gameend_dt.v1 <- filter(gameend_dt.v1, duration >5) gameend_dt.v1 <- select(gameend_dt.v1, channeluserid, min.date, now_2) gameend_dt.v1$now_2 <- as.Date.character(gameend_dt.v1$now_2) #wholedata <- left_join(gameend_dt.v1, gam...
##AEN generic-or rm(list=ls()) #Load libraries library(reshape2) library(bootstrap) library(dplyr) library(ggplot2) library(rjson) library(readr) library(tidyr) library(lattice) ## number of unique subs n.unique <- function (x) { length(unique(x)) } #CDM data #Kid data d <- read.csv("../long_data/long_data_cdm.csv...
/02_analysis/02_scripts/neginhib_checkNs.R
no_license
ejyoon/neginhib
R
false
false
933
r
##AEN generic-or rm(list=ls()) #Load libraries library(reshape2) library(bootstrap) library(dplyr) library(ggplot2) library(rjson) library(readr) library(tidyr) library(lattice) ## number of unique subs n.unique <- function (x) { length(unique(x)) } #CDM data #Kid data d <- read.csv("../long_data/long_data_cdm.csv...
% Generated by roxygen2 (4.0.2): do not edit by hand \name{timeseries} \alias{timeseries} \title{Test function} \usage{ timeseries(endpoint, id) } \arguments{ \item{endpoint}{An object of class \code{SensorwebEndpoint}} \item{id}{The identifier of the timeseries to request from the endpoint} } \description{ Test funct...
/man/timeseries.Rd
permissive
nuest/sensorweb4R
R
false
false
327
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{timeseries} \alias{timeseries} \title{Test function} \usage{ timeseries(endpoint, id) } \arguments{ \item{endpoint}{An object of class \code{SensorwebEndpoint}} \item{id}{The identifier of the timeseries to request from the endpoint} } \description{ Test funct...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/model-class.R \docType{methods} \name{getFeatures,model-method} \alias{getFeatures,model-method} \title{Get Features} \usage{ \S4method{getFeatures}{model}(object) } \arguments{ \item{object}{Object of class \linkS4class{model}.} } \descripti...
/man/getFeatures-model-method.Rd
no_license
BussemakerLab/SelexGLM
R
false
true
389
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/model-class.R \docType{methods} \name{getFeatures,model-method} \alias{getFeatures,model-method} \title{Get Features} \usage{ \S4method{getFeatures}{model}(object) } \arguments{ \item{object}{Object of class \linkS4class{model}.} } \descripti...
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(ggplot2) # Define UI for application that draws a histogram ui <- fluidPage( ...
/Population_growth_1/app.R
no_license
Stu-dem/pop-g
R
false
false
1,839
r
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(ggplot2) # Define UI for application that draws a histogram ui <- fluidPage( ...
#Ejemplo RStudio Cloud summary(mtcars)
/S7.R
no_license
Laborico/BSS7
R
false
false
39
r
#Ejemplo RStudio Cloud summary(mtcars)
##' Model the data for coordinates ##' ##' ##' @title data.model ##' @param df.mrg merged data frame ##' @param formula the formula to fit over time and space ##' @return the fit object ##' @author James E. Marca data.model <- function(df.mrg,formula=n.aadt.frac~1){ site.coords<-unique(cbind(df.mrg$Longitude,df.mrg$...
/R/data.model.R
no_license
jmarca/grid_data
R
false
false
23,243
r
##' Model the data for coordinates ##' ##' ##' @title data.model ##' @param df.mrg merged data frame ##' @param formula the formula to fit over time and space ##' @return the fit object ##' @author James E. Marca data.model <- function(df.mrg,formula=n.aadt.frac~1){ site.coords<-unique(cbind(df.mrg$Longitude,df.mrg$...
x<- 1:5 y<- 1:5 a<- data.frame(x,y) plot(a)
/123.R
no_license
zoe0303/4864-project
R
false
false
44
r
x<- 1:5 y<- 1:5 a<- data.frame(x,y) plot(a)
#!/usr/bin/R --silent -f source("common/set_up_data.R"); epc = GetData(); png( "plot4.png" ); par( mfcol = c( 2, 2 ) ); plot( epc$DateTime, epc$Global_active_power, type = "l", xlab = "", ylab = "Global Active Power (kilowats)", ); plot( epc$DateTime, epc$Sub_metering_1, type = "n"...
/plot4.R
no_license
wwitzke/ExData_Plotting1
R
false
false
913
r
#!/usr/bin/R --silent -f source("common/set_up_data.R"); epc = GetData(); png( "plot4.png" ); par( mfcol = c( 2, 2 ) ); plot( epc$DateTime, epc$Global_active_power, type = "l", xlab = "", ylab = "Global Active Power (kilowats)", ); plot( epc$DateTime, epc$Sub_metering_1, type = "n"...
# Graphical Plots for Random Forest Analysis------------------------------------------------------ # Classification Accuracy for each Class/Segment. All level accuracy is provided # Used for both Test & Train Classification Accuracy classAccuracyPlot <- function(accuracy, confusion_table, celltextsize, fontsize, ...
/3 Graphic Plots.R
no_license
praneethj13/App_Random_Forest
R
false
false
5,013
r
# Graphical Plots for Random Forest Analysis------------------------------------------------------ # Classification Accuracy for each Class/Segment. All level accuracy is provided # Used for both Test & Train Classification Accuracy classAccuracyPlot <- function(accuracy, confusion_table, celltextsize, fontsize, ...
library(animint2) library(data.table) data(ozone, package="ElemStatLearn") plot(ozone) plot(ozone ~ temperature, data=ozone) ozone.sc <- scale(ozone) X.mat <- cbind(1, ozone.sc[, "temperature"]) y.vec <- ozone.sc[, "ozone"] set.seed(3) fold.vec <- sample(rep(1:2, l=nrow(X.mat))) validation.fold <- 1 is.train <- fold....
/2019-02-14-L2-regularization/viz.R
no_license
tdhock/cs499-spring2019
R
false
false
10,859
r
library(animint2) library(data.table) data(ozone, package="ElemStatLearn") plot(ozone) plot(ozone ~ temperature, data=ozone) ozone.sc <- scale(ozone) X.mat <- cbind(1, ozone.sc[, "temperature"]) y.vec <- ozone.sc[, "ozone"] set.seed(3) fold.vec <- sample(rep(1:2, l=nrow(X.mat))) validation.fold <- 1 is.train <- fold....
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common new_handlers new_service set_config NULL #' AWS Resource Groups Tagging API #' #' @description #' Resource Groups Tagging API #' #' This guide describes the API operations for the resource groups tagging. #' #' A tag is a labe...
/paws/R/resourcegroupstaggingapi_service.R
permissive
TWarczak/paws
R
false
false
14,877
r
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common new_handlers new_service set_config NULL #' AWS Resource Groups Tagging API #' #' @description #' Resource Groups Tagging API #' #' This guide describes the API operations for the resource groups tagging. #' #' A tag is a labe...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FeaturesEstimationFunctions.R \name{cvm.testGals} \alias{cvm.testGals} \title{cvm.testGals} \usage{ cvm.testGals(group) } \arguments{ \item{group}{Data frame with the galaxies of the cluster.} } \value{ Vector with the properties of the subst...
/man/cvm.testGals.Rd
no_license
Martindelosrios/MeSsI
R
false
true
483
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FeaturesEstimationFunctions.R \name{cvm.testGals} \alias{cvm.testGals} \title{cvm.testGals} \usage{ cvm.testGals(group) } \arguments{ \item{group}{Data frame with the galaxies of the cluster.} } \value{ Vector with the properties of the subst...
with(a27020ddb0afd4a1e87b4aa3def15cdd4, {ROOT <- 'C:/Users/Administrator/Downloads/SEMOSS_v4.0.0_x64_r353/semosshome/db/MovieDatabase__b56f3ef8-8f40-4580-8d6b-2723f9e7dd16/version/2d1a4bf0-a1c4-46ac-88f2-4148104e99b8';rm(list=ls())});
/2d1a4bf0-a1c4-46ac-88f2-4148104e99b8/R/Temp/a5ld37yfrcHI5.R
no_license
masgreene/MovieDB
R
false
false
234
r
with(a27020ddb0afd4a1e87b4aa3def15cdd4, {ROOT <- 'C:/Users/Administrator/Downloads/SEMOSS_v4.0.0_x64_r353/semosshome/db/MovieDatabase__b56f3ef8-8f40-4580-8d6b-2723f9e7dd16/version/2d1a4bf0-a1c4-46ac-88f2-4148104e99b8';rm(list=ls())});
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stream_network_analysis.R \name{wbt_extract_valleys} \alias{wbt_extract_valleys} \title{Extract valleys} \usage{ wbt_extract_valleys( dem, output, variant = "LQ", line_thin = TRUE, filter = 5, wd = NULL, verbose_mode = FALSE ) }...
/man/wbt_extract_valleys.Rd
permissive
gitWayneZhang/whiteboxR
R
false
true
1,081
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stream_network_analysis.R \name{wbt_extract_valleys} \alias{wbt_extract_valleys} \title{Extract valleys} \usage{ wbt_extract_valleys( dem, output, variant = "LQ", line_thin = TRUE, filter = 5, wd = NULL, verbose_mode = FALSE ) }...
setwd("/Users/zhangh24/GoogleDrive/multi_ethnic/result/GLGC/analysis_result/") source("/Users/zhangh24/GoogleDrive/multi_ethnic//code/LD_simulation_large/theme_Publication.R") library(ggplot2) library(ggsci) library(dplyr) library(RColorBrewer) library(grid) library(gridExtra) library(data.table) #library(RColorBrewer)...
/code/GLGC_analysis/15_generate_comparasion_plot_test.r
no_license
andrewhaoyu/multi_ethnic
R
false
false
1,699
r
setwd("/Users/zhangh24/GoogleDrive/multi_ethnic/result/GLGC/analysis_result/") source("/Users/zhangh24/GoogleDrive/multi_ethnic//code/LD_simulation_large/theme_Publication.R") library(ggplot2) library(ggsci) library(dplyr) library(RColorBrewer) library(grid) library(gridExtra) library(data.table) #library(RColorBrewer)...
library(dplyr) library(dummies) library(caTools) library(glmnet) library(DAAG) library(ggplot2) servo_df <- read.csv("C:\\Users\\Sharang\\Documents\\Assignment Sem 2\\Random Forrest\\servo.data", header = FALSE) head(servo_df) #Renaming the colnames colnames(servo_df) <- c('motor', 'screw', 'pgain', 'vgai...
/Linear.R
no_license
sharangdev75/Multiple-Linear-Reg
R
false
false
3,938
r
library(dplyr) library(dummies) library(caTools) library(glmnet) library(DAAG) library(ggplot2) servo_df <- read.csv("C:\\Users\\Sharang\\Documents\\Assignment Sem 2\\Random Forrest\\servo.data", header = FALSE) head(servo_df) #Renaming the colnames colnames(servo_df) <- c('motor', 'screw', 'pgain', 'vgai...
require(tcltk) require(svMisc) require(svSocket) library(gmp) library(homomorpheR) load("~/Documents/Fed_GLMM/pub_key.RData") # parameters or computing coefficient loading from file load("~/Documents/Fed_GLMM/initial_parameters.RData") # debug load("~/Documents/Fed_GLMM/priv_key.RData") BigzMean <- function(BigZ) { ...
/Fed_GLMM_server.r
no_license
chao92/Fed_GLMM
R
false
false
6,444
r
require(tcltk) require(svMisc) require(svSocket) library(gmp) library(homomorpheR) load("~/Documents/Fed_GLMM/pub_key.RData") # parameters or computing coefficient loading from file load("~/Documents/Fed_GLMM/initial_parameters.RData") # debug load("~/Documents/Fed_GLMM/priv_key.RData") BigzMean <- function(BigZ) { ...
.dagitty.cache <- new.env() .crossprod <- function( vx, vy, wx, wy ) vx*wy-vy*wx .autoControlPoint <- function( x1, y1, x2, y2, asp, delta=.2 ){ mx <- (x1+x2)/2 my <- (y1+y2)/2 omy <- (x1-x2)*asp omx <- (y2-y1)/asp list(x=mx+delta*omx,y=my+delta*omy) } .supportsTypes <- function( x, y ){ gt <- graphType( x ) ...
/R/internal.r
no_license
cran/dagitty
R
false
false
7,404
r
.dagitty.cache <- new.env() .crossprod <- function( vx, vy, wx, wy ) vx*wy-vy*wx .autoControlPoint <- function( x1, y1, x2, y2, asp, delta=.2 ){ mx <- (x1+x2)/2 my <- (y1+y2)/2 omy <- (x1-x2)*asp omx <- (y2-y1)/asp list(x=mx+delta*omx,y=my+delta*omy) } .supportsTypes <- function( x, y ){ gt <- graphType( x ) ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mackWolfeTest.R \name{mackWolfeTest} \alias{mackWolfeTest} \alias{mackWolfeTest.default} \alias{mackWolfeTest.formula} \title{Mack-Wolfe Test for Umbrella Alternatives} \usage{ mackWolfeTest(x, ...) \method{mackWolfeTest}{default}(x, g, p = ...
/man/mackWolfeTest.Rd
no_license
cran/PMCMRplus
R
false
true
4,282
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mackWolfeTest.R \name{mackWolfeTest} \alias{mackWolfeTest} \alias{mackWolfeTest.default} \alias{mackWolfeTest.formula} \title{Mack-Wolfe Test for Umbrella Alternatives} \usage{ mackWolfeTest(x, ...) \method{mackWolfeTest}{default}(x, g, p = ...
library(hetGP) ### Name: ato ### Title: Assemble To Order (ATO) Data and Fits ### Aliases: ato X Z Xa Xtrain Xtrain.out Ztrain Ztrain.out train mult reps ### kill Zm Zv out Xtest Ztest nc ato.a Xa Za out.a ### Keywords: datasets datagen ### ** Examples data(ato) ## Not run: ##D ## ##D ## the code below was used...
/data/genthat_extracted_code/hetGP/examples/ato.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
3,853
r
library(hetGP) ### Name: ato ### Title: Assemble To Order (ATO) Data and Fits ### Aliases: ato X Z Xa Xtrain Xtrain.out Ztrain Ztrain.out train mult reps ### kill Zm Zv out Xtest Ztest nc ato.a Xa Za out.a ### Keywords: datasets datagen ### ** Examples data(ato) ## Not run: ##D ## ##D ## the code below was used...
local({ port <- "" snowlib <- Sys.getenv("R_SNOW_LIB") outfile <- Sys.getenv("R_SNOW_OUTFILE") ##**** defaults to ""; document args <- commandArgs() pos <- match("--args", args) args <- args[-(1 : pos)] for (a in args) { pos <- regexpr("=", a) name <- substr(a, 1, pos - 1) ...
/inst/RSOCKnode.R
no_license
jpritikin/snow
R
false
false
809
r
local({ port <- "" snowlib <- Sys.getenv("R_SNOW_LIB") outfile <- Sys.getenv("R_SNOW_OUTFILE") ##**** defaults to ""; document args <- commandArgs() pos <- match("--args", args) args <- args[-(1 : pos)] for (a in args) { pos <- regexpr("=", a) name <- substr(a, 1, pos - 1) ...
library(tidyverse) library(ggpubr) setwd("C:/github/MIMICS_HiRes/MC/Cross-Validation") source("C:/github/MIMICS_HiRes/Figures/plot_theme.R") mc1 <- readRDS("MC_MIMICS_output_ssamp12_500k.rds") mc2 <- readRDS("MC_MIMICS_output_ssamp13_500k.rds") mc3 <- readRDS("MC_MIMICS_output_ssamp23_500k.rds") best_parms <- read.cs...
/MC/Cross-Validation/MC_CrossVal_Distribution_plots.R
permissive
piersond/MIMICS_HiRes
R
false
false
2,436
r
library(tidyverse) library(ggpubr) setwd("C:/github/MIMICS_HiRes/MC/Cross-Validation") source("C:/github/MIMICS_HiRes/Figures/plot_theme.R") mc1 <- readRDS("MC_MIMICS_output_ssamp12_500k.rds") mc2 <- readRDS("MC_MIMICS_output_ssamp13_500k.rds") mc3 <- readRDS("MC_MIMICS_output_ssamp23_500k.rds") best_parms <- read.cs...
# Coursera: Getting and Cleaning Data Course Final Project. # creating a Tidy DataSet # Section: 1 # Understanding the multiple text files. # Section: 1.1 # Understanding Common text files in the "UCI HAR Dataset" folder ActivityLabels <- read.table("./activity_labels.txt", header = FALSE) View(ActivityLabels) # ...
/run_analysis.R
no_license
bobby86/GetCleanDataWeek4Assigment
R
false
false
10,729
r
# Coursera: Getting and Cleaning Data Course Final Project. # creating a Tidy DataSet # Section: 1 # Understanding the multiple text files. # Section: 1.1 # Understanding Common text files in the "UCI HAR Dataset" folder ActivityLabels <- read.table("./activity_labels.txt", header = FALSE) View(ActivityLabels) # ...
## Test trait assignment ## Get the trait values and bin them for each species dat = read.csv("./NativeCarana_6traitsBIEN.csv") dat = dat %>% select(sppID = ID, scrubbed_species_binomial, leafarea, plantheight, seedmass) dat$leafarea[dat$leafarea == -9999] <- NA dat$plantheight[dat$plantheight == -9999] <- NA dat$...
/00_testAssignment.R
no_license
simonbrewer/carana_traits
R
false
false
2,590
r
## Test trait assignment ## Get the trait values and bin them for each species dat = read.csv("./NativeCarana_6traitsBIEN.csv") dat = dat %>% select(sppID = ID, scrubbed_species_binomial, leafarea, plantheight, seedmass) dat$leafarea[dat$leafarea == -9999] <- NA dat$plantheight[dat$plantheight == -9999] <- NA dat$...
\name{signals} \alias{signals} %- Also NEED an '\alias' for EACH other topic documented here. \title{ An example of an association signals. } \description{ An example of an association signals for 1000 genes randomly generated from TCGA KIRP gene expression data. } \references{ DiSNEP: a Disease-Specific gene Network...
/man/signals.Rd
no_license
pfruan/DiSNEP
R
false
false
556
rd
\name{signals} \alias{signals} %- Also NEED an '\alias' for EACH other topic documented here. \title{ An example of an association signals. } \description{ An example of an association signals for 1000 genes randomly generated from TCGA KIRP gene expression data. } \references{ DiSNEP: a Disease-Specific gene Network...
\name{xtable.A3} \alias{xtable.A3} \title{Nicely Formatted Fit Results} \usage{ \method{xtable}{A3} (x, ...) } \arguments{ \item{x}{an A3 object.} \item{...}{additional arguments passed to the \code{\link{xtable}} function.} } \description{ Creates a LaTeX or HTML table of results. Depends on the \pkg{xtab...
/man/xtable.a3.Rd
no_license
scottfr/A3
R
false
false
407
rd
\name{xtable.A3} \alias{xtable.A3} \title{Nicely Formatted Fit Results} \usage{ \method{xtable}{A3} (x, ...) } \arguments{ \item{x}{an A3 object.} \item{...}{additional arguments passed to the \code{\link{xtable}} function.} } \description{ Creates a LaTeX or HTML table of results. Depends on the \pkg{xtab...
ser <- function(input, output) { datasetInput <- reactive({ switch(input$dataset, "rock" = rock, "pressure" = pressure, "cars" = cars) }) output$table <- renderTable({ datasetInput() }) output$downloadData <- downloadHandler( filename = function() { paste(i...
/010-download/all.r
permissive
dmpe/shiny-examples
R
false
false
778
r
ser <- function(input, output) { datasetInput <- reactive({ switch(input$dataset, "rock" = rock, "pressure" = pressure, "cars" = cars) }) output$table <- renderTable({ datasetInput() }) output$downloadData <- downloadHandler( filename = function() { paste(i...
## Chandler Lutz ## Questions/comments: cl.eco@cbs.dk ## $Revisions: 1.0.0 $Date: 2018-11-18 ##Clear the workspace ##Delete all objects and detach packages rm(list = ls()) suppressWarnings(CLmisc::detach_all_packages()) suppressMessages({library(CLmisc); library(lfe); library(stargazer); library...
/R-loan_level_forc_costs/10-forc_costs_non_judicial.R
no_license
Allisterh/Replication_CFPLCode
R
false
false
6,755
r
## Chandler Lutz ## Questions/comments: cl.eco@cbs.dk ## $Revisions: 1.0.0 $Date: 2018-11-18 ##Clear the workspace ##Delete all objects and detach packages rm(list = ls()) suppressWarnings(CLmisc::detach_all_packages()) suppressMessages({library(CLmisc); library(lfe); library(stargazer); library...
#' @rdname tracking #' @export #' @examples #' angularVelocity() angularVelocity <- function(xy, bin=5, interval=1){ # dir is the direction of a displacement vector # dir is zero for x-axis plus direction # dir is 180 for x-axis minus direction # dir is between -180 to 180 degrees # clockwise is minus, count...
/R/angularVelocity.R
permissive
tkatsuki/dipr
R
false
false
1,099
r
#' @rdname tracking #' @export #' @examples #' angularVelocity() angularVelocity <- function(xy, bin=5, interval=1){ # dir is the direction of a displacement vector # dir is zero for x-axis plus direction # dir is 180 for x-axis minus direction # dir is between -180 to 180 degrees # clockwise is minus, count...
% Generated by roxygen2 (4.0.2): do not edit by hand \name{topten} \alias{topten} \title{Building a Model with Top Ten Features} \usage{ topten(x, y) } \arguments{ \item{x}{a n x p matrix of n observations and p predictors} \item{y}{a vector of length n representing the response} } \value{ a vector of coefficients fro...
/man/topten.Rd
no_license
pgpalla/topten
R
false
false
657
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{topten} \alias{topten} \title{Building a Model with Top Ten Features} \usage{ topten(x, y) } \arguments{ \item{x}{a n x p matrix of n observations and p predictors} \item{y}{a vector of length n representing the response} } \value{ a vector of coefficients fro...
#menus_reduced = readRDS('./data/rds_menus_reduced')
/global.R
no_license
djepstein87/menu_scrapy
R
false
false
52
r
#menus_reduced = readRDS('./data/rds_menus_reduced')
# help add class tag in front of others, if not already .append_class <- function(x, newclass){ classes <- class(x) if (!(newclass %in% classes) && newclass != classes[1]) class(x) <- c(newclass, classes) x } .msg_info <- cli::cli_alert_info # standardizes message when no method not_defined <- function(f...
/R/zzz_utils.R
no_license
MomX/Momit
R
false
false
401
r
# help add class tag in front of others, if not already .append_class <- function(x, newclass){ classes <- class(x) if (!(newclass %in% classes) && newclass != classes[1]) class(x) <- c(newclass, classes) x } .msg_info <- cli::cli_alert_info # standardizes message when no method not_defined <- function(f...
# Mainscript test test <- 1:10
/test_.R
no_license
steffiesz/collegedag1
R
false
false
31
r
# Mainscript test test <- 1:10
#Clustering - Simple dataset - Marks in 2 subjects A=c(1,1.5,3,3.5,3.5,4.5,3.5) B=c(1,2,4,7,5,5.5,4.5) length(A): length(B) marks=data.frame(A,B) marks ?kmeans (c1 = kmeans(marks, 3)) #?? c1$iter cbind(marks, c1$cluster) plot(marks, pch=10,col = c1$cluster) c1$centers #mean of that particular cluster, this comand tells...
/clustering.R
no_license
Alauki/analytics1
R
false
false
419
r
#Clustering - Simple dataset - Marks in 2 subjects A=c(1,1.5,3,3.5,3.5,4.5,3.5) B=c(1,2,4,7,5,5.5,4.5) length(A): length(B) marks=data.frame(A,B) marks ?kmeans (c1 = kmeans(marks, 3)) #?? c1$iter cbind(marks, c1$cluster) plot(marks, pch=10,col = c1$cluster) c1$centers #mean of that particular cluster, this comand tells...
testlist <- list(id = NULL, score = NULL, id = NULL, booklet_id = integer(0), item_score = integer(0), person_id = c(0L, 0L, 0L, 0L, 0L, 0L)) result <- do.call(dexterMST:::mutate_booklet_score,testlist) str(result)
/dexterMST/inst/testfiles/mutate_booklet_score/libFuzzer_mutate_booklet_score/mutate_booklet_score_valgrind_files/1612727116-test.R
no_license
akhikolla/updatedatatype-list1
R
false
false
224
r
testlist <- list(id = NULL, score = NULL, id = NULL, booklet_id = integer(0), item_score = integer(0), person_id = c(0L, 0L, 0L, 0L, 0L, 0L)) result <- do.call(dexterMST:::mutate_booklet_score,testlist) str(result)
library(ape) testtree <- read.tree("6876_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="6876_0_unrooted.txt")
/codeml_files/newick_trees_processed/6876_0/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
135
r
library(ape) testtree <- read.tree("6876_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="6876_0_unrooted.txt")
require(plyr) require(ape) require(ggplot2) require(WGCNA) options(stringsAsFactors = FALSE) dirw = file.path(Sys.getenv("misc2"), "grn23") diro = file.path(Sys.getenv("misc2"), "grn23", "52.wgcna") fi = file.path(dirw, "37.rpkm.filtered.tsv") ti = read.table(fi, sep = "\t", header = T, as.is = T) #allowWGCNAThread...
/archive/grn.3.R
permissive
orionzhou/rmaize
R
false
false
3,607
r
require(plyr) require(ape) require(ggplot2) require(WGCNA) options(stringsAsFactors = FALSE) dirw = file.path(Sys.getenv("misc2"), "grn23") diro = file.path(Sys.getenv("misc2"), "grn23", "52.wgcna") fi = file.path(dirw, "37.rpkm.filtered.tsv") ti = read.table(fi, sep = "\t", header = T, as.is = T) #allowWGCNAThread...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/emmeans_tidiers.R \name{emmeans_tidiers} \alias{emmeans_tidiers} \alias{tidy.lsmobj} \alias{tidy.ref.grid} \alias{tidy.emmGrid} \title{Tidy estimated marginal means (least-squares means) objects from the emmeans and lsmeans packages} \usage{ ...
/man/emmeans_tidiers.Rd
no_license
talgalili/broom
R
false
true
3,274
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/emmeans_tidiers.R \name{emmeans_tidiers} \alias{emmeans_tidiers} \alias{tidy.lsmobj} \alias{tidy.ref.grid} \alias{tidy.emmGrid} \title{Tidy estimated marginal means (least-squares means) objects from the emmeans and lsmeans packages} \usage{ ...
% Generated by roxygen2 (4.0.2): do not edit by hand \name{TopCountries} \alias{TopCountries} \title{Identifiers of largest spatial units} \usage{ TopCountries(x, var, t, n = 10) } \arguments{ \item{x}{A data frame.} \item{var}{The variable or item for which highest realizations shall be taken into account.} \item{t}...
/man/TopCountries.Rd
no_license
nroming/NRmisc
R
false
false
630
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{TopCountries} \alias{TopCountries} \title{Identifiers of largest spatial units} \usage{ TopCountries(x, var, t, n = 10) } \arguments{ \item{x}{A data frame.} \item{var}{The variable or item for which highest realizations shall be taken into account.} \item{t}...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/P.R \name{P} \alias{P} \title{odsetek rekordów o zadanych wartościach} \usage{ P(x, w = TRUE, wyrownaj = NA, dokl = 1, znakProcent = NA) } \arguments{ \item{x}{wektor wartości} \item{w}{wektor zliczanych wartości} \item{wyrownaj}{czy wyrówn...
/man/P.Rd
permissive
zozlak/MLAK
R
false
true
660
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/P.R \name{P} \alias{P} \title{odsetek rekordów o zadanych wartościach} \usage{ P(x, w = TRUE, wyrownaj = NA, dokl = 1, znakProcent = NA) } \arguments{ \item{x}{wektor wartości} \item{w}{wektor zliczanych wartości} \item{wyrownaj}{czy wyrówn...
#' A calista Function #' #' @param #' @keywords calista #' @export #' @examples #' readinteger() readinteger<-function(){ #print(paste('Optimal number of cluster according to max. eigenvalue', # toString(x) )) #print("If you want to use this value enter 'y' " ) n=readLines(n=1) #return(as.integer...
/CALISTA-R/calista/R/readinteger.R
permissive
CABSEL/CALISTA
R
false
false
339
r
#' A calista Function #' #' @param #' @keywords calista #' @export #' @examples #' readinteger() readinteger<-function(){ #print(paste('Optimal number of cluster according to max. eigenvalue', # toString(x) )) #print("If you want to use this value enter 'y' " ) n=readLines(n=1) #return(as.integer...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/vis_meshes.R \name{vis.coloredmeshes} \alias{vis.coloredmeshes} \title{Visualize a list of colored meshes in a single scene.} \usage{ vis.coloredmeshes( coloredmeshes, background = "white", skip_all_na = TRUE, style = "default", rgl...
/man/vis.coloredmeshes.Rd
permissive
iPsych/fsbrain
R
false
true
2,253
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/vis_meshes.R \name{vis.coloredmeshes} \alias{vis.coloredmeshes} \title{Visualize a list of colored meshes in a single scene.} \usage{ vis.coloredmeshes( coloredmeshes, background = "white", skip_all_na = TRUE, style = "default", rgl...
################################################################################ ## ## Estimating crown dimensions and shapes ## ## - Ellipsoids for deciduous trees ## - Cones for conifers ## ## NOTE: all data from East aspect ## #########################################################################...
/surround/rewrite/crowns.R
no_license
nverno/neighborhoods
R
false
false
6,295
r
################################################################################ ## ## Estimating crown dimensions and shapes ## ## - Ellipsoids for deciduous trees ## - Cones for conifers ## ## NOTE: all data from East aspect ## #########################################################################...
library(shiny) ui <- fluidPage( h1("Treinando a construção de módulos"), br(), fluidRow( column( width = 6, histograma_ui("hist") ), column( width = 6, dispersao_ui("disp") ) ) ) server <- function(input, output, session) { histograma_server("hist") dispersao_server("...
/pratica/20-modulo-1/app.R
no_license
arpanosso/dashboard
R
false
false
353
r
library(shiny) ui <- fluidPage( h1("Treinando a construção de módulos"), br(), fluidRow( column( width = 6, histograma_ui("hist") ), column( width = 6, dispersao_ui("disp") ) ) ) server <- function(input, output, session) { histograma_server("hist") dispersao_server("...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lambda_operations.R \name{lambda_update_function_configuration} \alias{lambda_update_function_configuration} \title{Modify the version-specific settings of a Lambda function} \usage{ lambda_update_function_configuration(FunctionName, Role, Ha...
/paws/man/lambda_update_function_configuration.Rd
permissive
sanchezvivi/paws
R
false
true
6,020
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lambda_operations.R \name{lambda_update_function_configuration} \alias{lambda_update_function_configuration} \title{Modify the version-specific settings of a Lambda function} \usage{ lambda_update_function_configuration(FunctionName, Role, Ha...
# # Download and extract from zip file temp <- tempfile() download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", temp) df_power<- read.table(unz(temp, "household_power_consumption.txt"), header = TRUE, sep=";", na.strings = "?") unlink(temp) # # Convert to POSIX date / ti...
/plot3.R
no_license
bbaczyk/ExData_Plotting1
R
false
false
1,083
r
# # Download and extract from zip file temp <- tempfile() download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", temp) df_power<- read.table(unz(temp, "household_power_consumption.txt"), header = TRUE, sep=";", na.strings = "?") unlink(temp) # # Convert to POSIX date / ti...
cpdag <- function(incidence){ z <- order.edges(incidence) new_mat <- cbind(z,numeric(nrow(z))) # edges, parents, children, order, zeros n_mat <- new_mat[order(new_mat[,4]),] # sort the edges by its order vec <- numeric(nrow(z)) while(any(vec==0)){ # while there a...
/src/greedy_search/Utils_Q1_3.R
no_license
charx7/statisticalGenomics
R
false
false
11,150
r
cpdag <- function(incidence){ z <- order.edges(incidence) new_mat <- cbind(z,numeric(nrow(z))) # edges, parents, children, order, zeros n_mat <- new_mat[order(new_mat[,4]),] # sort the edges by its order vec <- numeric(nrow(z)) while(any(vec==0)){ # while there a...
#' Estimate ICC of a data.frame #' #' @description Given a \code{data.frame} in long format #' estimate ICC from the \code{irr} package #' #' @usage #' intra_icc(x, id.var = c("sample", "analyte"), value.var = "dil.fitted.conc", #' by = NULL, ...) #' #' @param x a \code{data.frame} in long format with analyte,...
/R/intra_icc.R
no_license
cran/drLumi
R
false
false
3,185
r
#' Estimate ICC of a data.frame #' #' @description Given a \code{data.frame} in long format #' estimate ICC from the \code{irr} package #' #' @usage #' intra_icc(x, id.var = c("sample", "analyte"), value.var = "dil.fitted.conc", #' by = NULL, ...) #' #' @param x a \code{data.frame} in long format with analyte,...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_start_end.R \name{plot_start_end} \alias{plot_start_end} \title{Plot both the starting frequencies and the final frequencies in one plot} \usage{ plot_start_end(results, picked_ancestor = "ALL", picked_population = 1) } \arguments{ \item...
/man/plot_start_end.Rd
no_license
thijsjanzen/GenomeAdmixR
R
false
true
1,503
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_start_end.R \name{plot_start_end} \alias{plot_start_end} \title{Plot both the starting frequencies and the final frequencies in one plot} \usage{ plot_start_end(results, picked_ancestor = "ALL", picked_population = 1) } \arguments{ \item...
with(aec630d18e4bf4abdbcd3b0fd3b467d68, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/1c4fa71c-191c-4da9-8102-b247ffddc5d3';options(digits.secs=NULL);FRAME481253[,(c('DATA_COLLECTION_TIME')) := lapply(.SD, function(x) as.POSIXct(fast_strptime(x, fo...
/1c4fa71c-191c-4da9-8102-b247ffddc5d3/R/Temp/aV2JoD7VhNSxr.R
no_license
ayanmanna8/test
R
false
false
388
r
with(aec630d18e4bf4abdbcd3b0fd3b467d68, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/1c4fa71c-191c-4da9-8102-b247ffddc5d3';options(digits.secs=NULL);FRAME481253[,(c('DATA_COLLECTION_TIME')) := lapply(.SD, function(x) as.POSIXct(fast_strptime(x, fo...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/knapsack_dynamic.R \name{knapsack_dynamic} \alias{knapsack_dynamic} \title{Dynamic programming search for knapsack problem} \usage{ knapsack_dynamic(x, W) } \arguments{ \item{x}{An object of data.frame with 2 columns with colnames w and v.} ...
/man/knapsack_dynamic.Rd
no_license
hugkn566/knapsack
R
false
true
730
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/knapsack_dynamic.R \name{knapsack_dynamic} \alias{knapsack_dynamic} \title{Dynamic programming search for knapsack problem} \usage{ knapsack_dynamic(x, W) } \arguments{ \item{x}{An object of data.frame with 2 columns with colnames w and v.} ...
bartalone<-function(xtr,ytr,xte){ bartps<-bart(x.train=xtr,y.train=ytr,x.test=xte) ppd_test<-pnorm(bartps$yhat.test) ppd_train<-pnorm(bartps$yhat.train) ppd_test_mean<-apply(ppd_test,2,mean) ppd_train_mean<-apply(ppd_train,2,mean) ## individual causal effects ## iceavg<-rep(NA,length(ytr)) iceavg[...
/simulation_supp/functions/bartalone_binary.R
no_license
rachelnethery/overlap
R
false
false
969
r
bartalone<-function(xtr,ytr,xte){ bartps<-bart(x.train=xtr,y.train=ytr,x.test=xte) ppd_test<-pnorm(bartps$yhat.test) ppd_train<-pnorm(bartps$yhat.train) ppd_test_mean<-apply(ppd_test,2,mean) ppd_train_mean<-apply(ppd_train,2,mean) ## individual causal effects ## iceavg<-rep(NA,length(ytr)) iceavg[...
###########################################################################/** # @RdocClass VComments # # @title "The VComments class" # # \description{ # @classhierarchy # # @get "title". # } # # @synopsis # # \arguments{ # \item{letter}{The smart letter.} # \item{verboseName}{The name of the verbose object.} #...
/R/VComments.R
no_license
muschellij2/R.utils
R
false
false
8,124
r
###########################################################################/** # @RdocClass VComments # # @title "The VComments class" # # \description{ # @classhierarchy # # @get "title". # } # # @synopsis # # \arguments{ # \item{letter}{The smart letter.} # \item{verboseName}{The name of the verbose object.} #...
# Combined Plots #plot, histogram, pie, boxplot, linechart, correlation plot #plot women plot(women) plot(women, type='p', pch=17) plot(women, type='l') plot(women, type='b', pch=18, lty=2, col=2) plot(women, xlim=c(30,100), ylim=c(min(women$weight)-10, 200), pch=10) #more features with plot plot(x=women$weight, y=...
/graphs.R
no_license
pradeepsadu/Analytics
R
false
false
1,259
r
# Combined Plots #plot, histogram, pie, boxplot, linechart, correlation plot #plot women plot(women) plot(women, type='p', pch=17) plot(women, type='l') plot(women, type='b', pch=18, lty=2, col=2) plot(women, xlim=c(30,100), ylim=c(min(women$weight)-10, 200), pch=10) #more features with plot plot(x=women$weight, y=...
\name{rescue.rectangle} \alias{rescue.rectangle} \title{Convert Window Back To Rectangle} \description{ Determines whether the given window is really a rectangle aligned with the coordinate axes, and if so, converts it to a rectangle object. } \usage{ rescue.rectangle(W) } \arguments{ \item{W}{A window (object...
/man/rescue.rectangle.Rd
no_license
cuulee/spatstat
R
false
false
1,487
rd
\name{rescue.rectangle} \alias{rescue.rectangle} \title{Convert Window Back To Rectangle} \description{ Determines whether the given window is really a rectangle aligned with the coordinate axes, and if so, converts it to a rectangle object. } \usage{ rescue.rectangle(W) } \arguments{ \item{W}{A window (object...
# post hoc comparisons for friedman test # set up to run on voxels that were p <= .05 # for voxel-by-voxel analysis Args <- Sys.getenv("R_ARGS") print(noquote(strsplit(Args," ")[[1]])) print(length(noquote(strsplit(Args," ")[[1]]))) group <- noquote(strsplit(Args," ")[[1]][1]) voxels <- as.matrix(read.table(paste(Sys...
/modularity_conn/.svn/text-base/21.friedmanposthoc.R.svn-base
no_license
michaelandric/steadystate
R
false
false
2,142
# post hoc comparisons for friedman test # set up to run on voxels that were p <= .05 # for voxel-by-voxel analysis Args <- Sys.getenv("R_ARGS") print(noquote(strsplit(Args," ")[[1]])) print(length(noquote(strsplit(Args," ")[[1]]))) group <- noquote(strsplit(Args," ")[[1]][1]) voxels <- as.matrix(read.table(paste(Sys...
# Clear workspace rm(list = ls()) # Setup ################################################################################ # Packages library(sf) library(lubridate) library(tidyverse) # Directories codedir <- "models/popdy/v3/functions" outputdir <- "output/processed/set6" plotdir <- "figures" # Read data total_or...
/code/figures/Fig2_overall_results.R
no_license
cfree14/dungeness
R
false
false
9,092
r
# Clear workspace rm(list = ls()) # Setup ################################################################################ # Packages library(sf) library(lubridate) library(tidyverse) # Directories codedir <- "models/popdy/v3/functions" outputdir <- "output/processed/set6" plotdir <- "figures" # Read data total_or...
library(tidyverse) library(stringr) library(forcats) library(ggpubr) # Set WD ---------------------------------------------------------------------------------------------- OMIM_wd <- Sys.getenv("OMIM_wd") setwd(OMIM_wd) # Load data ------------------------------------------------------------------------------------...
/analyse_ER_annotation/validate_ERs_v87_vs_v92.R
no_license
dzhang32/ER_paper_2020_supp_code
R
false
false
13,478
r
library(tidyverse) library(stringr) library(forcats) library(ggpubr) # Set WD ---------------------------------------------------------------------------------------------- OMIM_wd <- Sys.getenv("OMIM_wd") setwd(OMIM_wd) # Load data ------------------------------------------------------------------------------------...
#' Operations on a file endpoint #' #' Get, list, create, or delete file shares. #' #' @param endpoint Either a file endpoint object as created by [storage_endpoint], or a character string giving the URL of the endpoint. #' @param key,token,sas If an endpoint object is not supplied, authentication credentials: either a...
/R/file_client_funcs.R
permissive
hamspaldo/AzureStor
R
false
false
13,819
r
#' Operations on a file endpoint #' #' Get, list, create, or delete file shares. #' #' @param endpoint Either a file endpoint object as created by [storage_endpoint], or a character string giving the URL of the endpoint. #' @param key,token,sas If an endpoint object is not supplied, authentication credentials: either a...
# show the plot by calling <source ("ben-runForT10-11.R")> in the R Console unit <- read.csv("ben-runUnitForest.csv") xrange = range(10:3011) yranges <- c(0,7) yrange = range(yranges) plot( main="Performance of Creating (Unit) Top Forests" , xrange, yrange , xlab = "" , ylab = "" , lwd = 0 , cex.lab=1...
/R/Top/forests/benTop-Unit.R
no_license
jcsaenzcarrasco/thesis
R
false
false
690
r
# show the plot by calling <source ("ben-runForT10-11.R")> in the R Console unit <- read.csv("ben-runUnitForest.csv") xrange = range(10:3011) yranges <- c(0,7) yrange = range(yranges) plot( main="Performance of Creating (Unit) Top Forests" , xrange, yrange , xlab = "" , ylab = "" , lwd = 0 , cex.lab=1...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lgcpSimSpatioTemporal.R \name{lgcpSim} \alias{lgcpSim} \title{lgcpSim function} \usage{ lgcpSim(owin = NULL, tlim = as.integer(c(0, 10)), spatial.intensity = NULL, temporal.intensity = NULL, cellwidth = 0.05, model.parameters = lgcppars(s...
/man/lgcpSim.Rd
no_license
goldingn/lgcp
R
false
true
5,075
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lgcpSimSpatioTemporal.R \name{lgcpSim} \alias{lgcpSim} \title{lgcpSim function} \usage{ lgcpSim(owin = NULL, tlim = as.integer(c(0, 10)), spatial.intensity = NULL, temporal.intensity = NULL, cellwidth = 0.05, model.parameters = lgcppars(s...
## SEEDS EXAMPLE OPENBUGS library(ggplot2) library(rstan) data_raw <- list(r = c(10, 23, 23, 26, 17, 5, 53, 55, 32, 46, 10, 8, 10, 8, 23, 0, 3, 22, 15, 32, 3), n = c(39, 62, 81, 51, 39, 6, 74, 72, 51, 79, 13, 16, 30, 28, 45, 4, 12, 41, 30, 51, 7), x1 = c(0, 0, 0, 0, 0, 0, 0, 0...
/seeds.R
no_license
albcab/Stan-OpenBugs-Examples
R
false
false
1,005
r
## SEEDS EXAMPLE OPENBUGS library(ggplot2) library(rstan) data_raw <- list(r = c(10, 23, 23, 26, 17, 5, 53, 55, 32, 46, 10, 8, 10, 8, 23, 0, 3, 22, 15, 32, 3), n = c(39, 62, 81, 51, 39, 6, 74, 72, 51, 79, 13, 16, 30, 28, 45, 4, 12, 41, 30, 51, 7), x1 = c(0, 0, 0, 0, 0, 0, 0, 0...
#Necesario instalar shinyapps, devtools, galton data. # input: altura madre, altura padre/ # Proceso: Generar LM, sumar alturas, divdir y predecir library(shiny) library(HistData) data(Galton) galton_model <- lm(child ~ parent, data=(Galton)) shinyServer( function(input, output) { x <- reactive({}) ; output$...
/server.R
permissive
carojasq/DevDataProducts_Project
R
false
false
578
r
#Necesario instalar shinyapps, devtools, galton data. # input: altura madre, altura padre/ # Proceso: Generar LM, sumar alturas, divdir y predecir library(shiny) library(HistData) data(Galton) galton_model <- lm(child ~ parent, data=(Galton)) shinyServer( function(input, output) { x <- reactive({}) ; output$...
# 2019-nCOV_incubation.R # The study approach is baesd on the paper # Backer et al. 2020. The incubation period of 2019-nCoV infections among travellers from Wuhan, China # https://www.medrxiv.org/content/10.1101/2020.01.27.20018986v1 library(tidyverse) library(rstan) library(bayestestR) library(loo) rstan_options(a...
/2019-nCoV_incubation_v2.R
no_license
nanhung/2019-nCoV
R
false
false
4,208
r
# 2019-nCOV_incubation.R # The study approach is baesd on the paper # Backer et al. 2020. The incubation period of 2019-nCoV infections among travellers from Wuhan, China # https://www.medrxiv.org/content/10.1101/2020.01.27.20018986v1 library(tidyverse) library(rstan) library(bayestestR) library(loo) rstan_options(a...
# Formula to test Hypoyhesis about population mean : # z = sample_mean - pop_mean/(sd/sqrt(n)) pop_mean = 4.30 sample_mean = 4.156 sd = .574 n = 32 a = .05 # alpha value # Calcultaed value of test statistic : z1 = (sample_mean - pop_mean)/(sd/sqrt(n)) z1 # Critical Z value associated with alpha = 0.05 ...
/Business_Statistics_For_Contemporary_Decision_Making_by_Ken_Black/CH9/EX9.1/Ex9_1.R
permissive
FOSSEE/R_TBC_Uploads
R
false
false
446
r
# Formula to test Hypoyhesis about population mean : # z = sample_mean - pop_mean/(sd/sqrt(n)) pop_mean = 4.30 sample_mean = 4.156 sd = .574 n = 32 a = .05 # alpha value # Calcultaed value of test statistic : z1 = (sample_mean - pop_mean)/(sd/sqrt(n)) z1 # Critical Z value associated with alpha = 0.05 ...
####profile ctd netCDF template#### # obj <- read.odf('C:/Users/ChisholmE/Documents/sample files/ctd/CTD_BCD2017666_01_01_DN.ODF', header = 'list') # upcast <- read.odf('C:/Users/ChisholmE/Documents/sample files/ctd/CTD_BCD2017666_01_01_UP.ODF', header = 'list') # metadata <- ('C:/Users/ChisholmE/Documents/sample fi...
/ctd_nc.R
no_license
EOGrady21/netCDF
R
false
false
76,615
r
####profile ctd netCDF template#### # obj <- read.odf('C:/Users/ChisholmE/Documents/sample files/ctd/CTD_BCD2017666_01_01_DN.ODF', header = 'list') # upcast <- read.odf('C:/Users/ChisholmE/Documents/sample files/ctd/CTD_BCD2017666_01_01_UP.ODF', header = 'list') # metadata <- ('C:/Users/ChisholmE/Documents/sample fi...
#' Returns useful information about a fusedlasso model fit #' This function was adapted from Martin Fahrenberger's sflST package #' (https://github.com/Martin-Fahrenberger/sflST) #' #' @details This function calculates the RSS, BIC and explained variance of a genlasso model #' @param full_model takes an object of the...
/R/calc_BICs.R
permissive
tmirus/TTT
R
false
false
782
r
#' Returns useful information about a fusedlasso model fit #' This function was adapted from Martin Fahrenberger's sflST package #' (https://github.com/Martin-Fahrenberger/sflST) #' #' @details This function calculates the RSS, BIC and explained variance of a genlasso model #' @param full_model takes an object of the...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotNeighborsOrientation.R \name{plotNeighborsOrientation} \alias{plotNeighborsOrientation} \title{Stacked barplot of gene orientations for upstream and downstream genes.} \usage{ plotNeighborsOrientation(orientationStats) } \arguments{ \...
/man/plotNeighborsOrientation.Rd
permissive
pgpmartin/GeneNeighborhood
R
false
true
1,728
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotNeighborsOrientation.R \name{plotNeighborsOrientation} \alias{plotNeighborsOrientation} \title{Stacked barplot of gene orientations for upstream and downstream genes.} \usage{ plotNeighborsOrientation(orientationStats) } \arguments{ \...
source("visualize.R") # Preparing Input Object MakeInputObject <- function(inputs) { x <- list( original.counts = as.matrix(inputs$counts), numSegs = inputs$numSegs, useFreqs = inputs$useFreqs, negativeBinomial1 = inputs$negativeBinomial1, withInflatedZeros = inputs$withInflatedZeros, hurdle ...
/algorithm.util.R
no_license
kulmatitskiy/corrcount-r
R
false
false
11,812
r
source("visualize.R") # Preparing Input Object MakeInputObject <- function(inputs) { x <- list( original.counts = as.matrix(inputs$counts), numSegs = inputs$numSegs, useFreqs = inputs$useFreqs, negativeBinomial1 = inputs$negativeBinomial1, withInflatedZeros = inputs$withInflatedZeros, hurdle ...
makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() {x} setInverse <- function(inverse) {inv <<- inverse} getInverse <- function() {inv} list(set = set, get = get, se...
/cachematrix.R
no_license
Ritwik-Derhgawen/ProgrammingAssignment2
R
false
false
679
r
makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() {x} setInverse <- function(inverse) {inv <<- inverse} getInverse <- function() {inv} list(set = set, get = get, se...
##cell_type_of_origin_by_lincrna.R ##by: Rocco Lucero ##started: July 3, 2017 ##last updated: July 3, 2017 ## ##Objective: Identify tissue of origin, or cell type of origin signatures ## in extracellular RNA component of various biofluids ##Input: ExceRpt processed EnTEX small RNA-seq data; exRNA Atlas Data ##Output...
/analysis/cell_type_of_origin/src/blood_ev_cell_type_of_origin_by_lincrna.R
no_license
RoccoDLucero/exrna_atlas
R
false
false
14,230
r
##cell_type_of_origin_by_lincrna.R ##by: Rocco Lucero ##started: July 3, 2017 ##last updated: July 3, 2017 ## ##Objective: Identify tissue of origin, or cell type of origin signatures ## in extracellular RNA component of various biofluids ##Input: ExceRpt processed EnTEX small RNA-seq data; exRNA Atlas Data ##Output...
testlist <- list(A = structure(c(2.31584307392677e+77, 9.53818252170338e+295, 1.22810536108214e+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, 0, 0, 0, 0, 0), .Dim = c(5L, 7L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_row...
/multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613099042-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
343
r
testlist <- list(A = structure(c(2.31584307392677e+77, 9.53818252170338e+295, 1.22810536108214e+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, 0, 0, 0, 0, 0), .Dim = c(5L, 7L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_row...
# nested function exp(1) log(exp(1)) ?log args(log) log(x = 8, base = 3) CO2 co2 pi Inf
/functions_in_r.R
no_license
parlad/Basic_to_intermediatre_R_learning
R
false
false
95
r
# nested function exp(1) log(exp(1)) ?log args(log) log(x = 8, base = 3) CO2 co2 pi Inf