blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
53db15ef751b117f01db0ea87c40cbca54bf8ec2 | 79fd75167bfc21f7a75440ae2ee1a2f9561e7ae1 | /inst/doc/swephR.R | 0d224698b33cd440dc58e5d1a1b13d743a53b41e | [] | no_license | cran/swephR | b970020d3fa5dbaee8f68416641639dc954786fa | 81599261243cd9b8b2194e0dc05c1ecc047b116f | refs/heads/master | 2023-05-11T13:39:54.331061 | 2023-05-08T08:50:05 | 2023-05-08T08:50:05 | 168,393,116 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,392 | r | swephR.R | ## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## -----------------------------------------------------------------------------
library(swephR)
## ---- eval = FALSE-----------------------------------------------------------... |
26151b264eb5ecb525400afcfb4705a8543dada4 | 2a3f50853c6e3b404329e98076428f60629cca75 | /R/Scratch/TestWeekPlots.r | 79659fbc29181498b80a7f54ba33fbd5a47de5b6 | [] | no_license | wmchad/NetworkResearch | dc9d8f210325e58fa27c2bf52ad9c4dc4a917d0b | 9826d2442f291238c4d89bdca4046e93ee05b77e | refs/heads/master | 2021-01-17T06:34:14.150982 | 2014-09-08T19:15:36 | 2014-09-08T19:15:36 | 18,338,256 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,273 | r | TestWeekPlots.r | setwd("C:/Code/NetworkResearch/R/Functions");
source("Data/TowerFunctions.r");
source("Plotting/TowerVolumePlots.r");
source("Plotting/PlotUtilities.r");
year <- 11;
month <- 12;
towerId <- 405;
calls <- GetTowerAggregatedCalls(towerId, year, month);
subdata <- calls[calls$Day >= 1 & calls$Day <= 7,];
PlotMultipleDa... |
6ebeaf4820dafe2c766666597420d849fd6370de | 5ed42045b81d6070b79fbe7dcf16a5cd54a5add4 | /tests/testthat/test_toZipCode.R | edffa9dd42b4883b6d7aca8c0dde632177fe6e12 | [] | no_license | atajti/data.cleaning.HU | f123d43745fecccce88323e4b267074aeb294963 | f5b7cc567055d8260936719c0c213616ab194fc6 | refs/heads/master | 2021-01-24T03:07:10.520724 | 2018-11-17T20:10:37 | 2018-11-17T20:10:37 | 122,875,778 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,113 | r | test_toZipCode.R | library(data.cleaning.HU)
context("toZipCode")
test_that("hosszok_egyeznek",{
expect_equal(length(toZipCode(character(0))),
0)
expect_equal(length(toZipCode("2011 Budakal\u00E1sz, Kinizsi utca 33.")),
1)
expect_equal(length(toZipCode(c("2011 Budakal\u00E1sz, Kinizsi utca 33.",
... |
940ab0f1d7af9aa3c9d3c2fec1cda7e65d2c2169 | e20533fc38ede71c197d20355315a0e41feb00d0 | /man/predict.jtharm.Rd | 41c557c62a4ecf57887e300512d9f01a49e8d827 | [] | no_license | cran/SemiSupervised | b533d5757b37a53ec4fc238ec1de3b5a9af32be5 | 1b0bf4d3ff6ef3b4d80e536ded4e8e69dc58750f | refs/heads/master | 2020-03-16T22:01:04.233684 | 2018-05-11T08:59:25 | 2018-05-11T08:59:25 | 133,023,529 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,812 | rd | predict.jtharm.Rd | \name{predict.jtharm}
\alias{predict.jtharm}
\alias{predict,jtharm-method}
\title{Out-of-Sample Predict Procedure for \code{jtharm}}
\description{
This implements the out-of-sample prediction for an
\sQuote{jtharm} object.
}
\usage{\S4method{predict}{jtharm}(object,xnew,gnew,type=c("vector","response","prob"),pow=... |
dc667aef1c611d5b8a3e28eb0c184a8d46555198 | 8c2004d5b4e567fc71539e19911a4b4d37504b9a | /Data-Preprocessing.R | 88571784df996ee8dc3e1cdb04f7670fd310518e | [] | no_license | Teerapon789/Gene-Co-Expression-Network-of-Whole-Cancer-Cell-Lines | 72957be6c55cd489d078071613c8a8c6cfeb49f1 | 9ea0479ea3891e259bad53c8bc5c37492b5f8921 | refs/heads/main | 2023-01-29T12:22:55.859724 | 2020-12-09T15:26:51 | 2020-12-09T15:26:51 | 308,499,856 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,866 | r | Data-Preprocessing.R | ### title: "GeneNetworkAnalysis"
###author: "Teerapon Sahwangarrom"
source("/Users/teeraponsahwangarrom/Desktop/RNASeq/FunctionFiles/networkFunctions.R")
source("/Users/teeraponsahwangarrom/Desktop/RNASeq/FunctionFiles/preprocessing.R")
source("/Users/teeraponsahwangarrom/Desktop/RNASeq/FunctionFiles/outlierRemovalFun... |
005d22265bfcb3fd5806014b018beeb8ff410201 | 24325e9e235f53546d026a97dd6e2c3e037c0bfc | /Modeling_Accuracy_with_Survey_data.R | 6e8da0c71483d7636c7c5d94d4aa8e89e25b6650 | [] | no_license | Andy-Powell/SciCast_Andy | de51b47971b2ea02eb40f5db19fb8c1769bc68fa | db1740000f25ea41be7bc5c1a23f62d86daacb75 | refs/heads/master | 2021-01-16T18:06:15.410377 | 2015-04-01T22:21:46 | 2015-04-01T22:21:46 | 30,318,812 | 1 | 1 | null | 2015-03-25T19:00:09 | 2015-02-04T20:13:47 | R | UTF-8 | R | false | false | 1,775 | r | Modeling_Accuracy_with_Survey_data.R | pid <- rep(0,length(un))
for (i in 1:length(un)) {
if (length(pus[pus==un[i]])>0) {
pid[i] <- pip[pus==un[i]]
}
# else { pid[i] <- NA }
}
#pid <- pid[complete.cases(pid)==TRUE]
acis <- acdis <- acisr <- acdisr <- rep(-1,length(pid))
for (i in 1:length(pid)) {
if (length(aci[pio==pid[i]])==0) {
acis[i] <- acdis[... |
751be32103b0e6c3e610237a9da4bcd3fb439af8 | 2689f1610a38608c1bf69fd38a612d6e113b0673 | /code/randomForest/randomForest.R | 89cb7115c5c1bc3dff9687566de2554bd4e68d1c | [
"MIT"
] | permissive | ctufts/PPFA | 49acef5f643eb36106ed091afb17db9cf4e40105 | 48f5d837d9eecaaf4218ab97eb1790a196e2b0f1 | refs/heads/master | 2021-01-25T09:53:38.306185 | 2015-04-13T18:48:17 | 2015-04-13T18:48:17 | 32,410,627 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,731 | r | randomForest.R | rm(list = ls())
library(caret)
library(gbm)
library(doMC)
# registerDoMC(2)
att.importance <- read.csv("Data/attributeSummary.csv")
# error function/metric
llfun <- function(actual, prediction) {
epsilon <- .000000000000001
yhat <- pmin(pmax(prediction, epsilon), 1-epsilon)
logloss <- -mean(actual*log(yhat)
... |
67171a446b9f19d2707afb14786cec04da89c1cc | 81354954be61599eae884b0fa9f6ce4bccdd06b0 | /R/install_magma.R | 2c2d2185a9b9ee33f772706d1f519d7da1210857 | [] | no_license | obada-alzoubi/MAGMA_Celltyping | 272631794f31733c24c6384fd2f181a0972eca9c | f931877dedcde103723f14242d5242fdca7b3af6 | refs/heads/master | 2023-07-10T15:53:22.307531 | 2021-08-20T09:19:22 | 2021-08-20T09:19:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,708 | r | install_magma.R |
#' Install the MAGMA command line tool
#'
#' @source [MAGMA website](https://ctg.cncr.nl/software/magma)
#' @source [MAGMA.celltyping documentation](https://github.com/NathanSkene/MAGMA_Celltyping)
install_magma <- function(dest_dir="~"){
get_os <- function () {
OS=""
switch(Sys.info()[... |
b20f4143e684741615ff5405eeaf15bfc7ec63c5 | 8c72041186b9b7e233b13fcb677462b9b4d3dd70 | /R/create_recurrence_heatmap.R | 27a73c0d56e460ed41670de44519a1edc3f5e1ae | [] | no_license | Bio-Core/BioCore.Annotation | 920b3062b0a8d1fa5d15f0db8e699b704b16176f | 859d12c35d8f5eb67779626a007bcbe272e077c0 | refs/heads/master | 2021-05-12T02:46:21.125052 | 2020-02-03T15:51:10 | 2020-02-03T15:51:10 | 117,597,906 | 0 | 0 | null | 2020-02-03T15:51:11 | 2018-01-15T21:36:07 | R | UTF-8 | R | false | false | 494 | r | create_recurrence_heatmap.R | create_recurrence_heatmap <- function(data=NULL) {
if (is.null(data)) stop("Mandatory argument data is missing")
trellis_object <- lattice::levelplot(
x = as.matrix(t(data)),
xlab=NULL,
ylab=NULL,
col.regions=colorRampPalette(c('white', 'steelblue')),
scales=list(
x = list(
at = seq... |
617dc43d53f76f76cb346c6223b7eb16229118da | f857705b2aa6f56e4c277c386effed7ee63acec7 | /r/shiny.r | 99cb971a6ecf9b59686d586644cecd9f6ae4ea40 | [
"MIT"
] | permissive | ballance/HackathonCLT2017 | 5fe36fb624a747836750e0c18e04b78b3dedaffa | e453afbf3288c6816dee321b4d0d6dacc8adda9f | refs/heads/master | 2021-01-23T03:48:26.331675 | 2017-03-26T22:44:35 | 2017-03-26T22:44:35 | 86,126,104 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 613 | r | shiny.r | library(shiny)
library(DBI)
ui <- fluidPage(
numericInput("nrows", "Enter the number of rows to display:", 5),
tableOutput("tbl")
)
server <- function(input, output, session) {
output$tbl <- renderTable({
conn <- dbConnect(
drv = RMySQL::MySQL(),
user = 'droptables',
password = 'g6... |
fbb47809cfaba0e0c4a0e98437986ba7793e4ef5 | cddaba3a09c2ec3e289998fad9572258fc746711 | /inst/examples/loess-shiny/loess-shiny/server.R | b37b868815774cd5dfdd56c32896942f45492c0b | [] | no_license | sjp/sjpMScThesis | 0b8a51d50ccda0c40f6fffb4efae8172048b5259 | cfe9418a2f0014466b7eb8aceb1dab00e359517b | refs/heads/master | 2021-01-19T02:13:51.056403 | 2014-05-25T10:00:37 | 2014-05-25T10:00:37 | 10,752,889 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,413 | r | server.R | suppressPackageStartupMessages({
library(grid)
library(XML)
library(shiny)
library(selectr)
library(ggplot2)
library(gridSVG)
})
# Create randomly generated data
xs <- seq(-10, 10, length.out = 100)
ys <- xs^2 + 15 * rnorm(100)
# Create a ggplot2 plot that will be treated as a constant
svgplot... |
c3bea0ee2195c9918ee5ddc41e0ff9f0323ebf4e | 59df2cca07a082ea005dfdea161322ce0ac4d3de | /paste.R | 5a4e10ac582128bfc1b7049a7f3dbfef162b682e | [] | no_license | vishwajeet993511/datasciencecoursera | fdeff752311ca63f1ad3d3df632268920dc4b512 | 7f0b8d1319953dad4abd699c8b50cb3f4f892938 | refs/heads/master | 2021-01-11T07:43:13.094360 | 2017-03-18T18:10:17 | 2017-03-18T18:10:17 | 68,915,555 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 95 | r | paste.R | x <- read.csv("data.csv")
url <-paste("http://www.unitedstateszipcodes.org/",x[,1],"/",sep="") |
0ae5e10f334afa4e668deb3fe752330a197339e2 | 4f59527ddd189517932e82cdf16e07e7a514cd45 | /rdf/tp10/functions.R | cfe42c6d73f8f8ae59533c7fa385d026070a56af | [] | no_license | HugoAlder/m1s2 | b335270022bf27bff073cd65efd36fed6a3bea04 | 925238884594f785a3c67643ef1e7539be7e64ae | refs/heads/master | 2021-05-11T23:32:47.656966 | 2018-04-16T15:09:42 | 2018-04-16T15:09:42 | 117,513,994 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 3,871 | r | functions.R | library ("EBImage")
# Chargement d'une image en niveaux de gris
rdfReadGreyImage <- function (nom) {
image <- readImage (nom)
if (length (dim (image)) == 2) {
image
} else {
channel (image, 'red')
}
}
# Remplissage d'une matrice 40*33*400
stackedFaces <- function(allFaces) {
res = array(0, dim=c(40,... |
0f32daa4660450afb0e60077e22653aa7ad64c0d | 1679bf45175566aec338b46eb0c968879cae2343 | /R/pca_plots.R | 084356a42f40b44d5cdd6bc22a5bf0f9b37f2163 | [] | no_license | UW-GAC/QCpipeline | e485044355e74dae3de324fc5985f82b9b41cb2b | f60319122d0842852acaa410eb977344be2bf4dc | refs/heads/master | 2021-07-10T00:17:13.832045 | 2020-05-27T00:01:50 | 2020-05-27T00:01:50 | 97,990,389 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 10,855 | r | pca_plots.R | ##########
# PCA plots
# Usage: R --args config.file pca.type < pca_plots.R
##########
library(GWASTools)
library(QCpipeline)
library(RColorBrewer)
library(MASS)
library(ggplot2)
library(GGally)
library(ggExtra)
sessionInfo()
# read configuration
args <- commandArgs(trailingOnly=TRUE)
if (length(args) < 1) stop("miss... |
054f0b1374a7fdf07a0caf3b391ba839f53e3f28 | c9bb58667be902f360232477246c3b218fe6eefa | /rpfister-quick-tree-classification-115ff25eaed8/script.R | 6747e6a6f5d7129810030627b56513cf791ba2e4 | [] | no_license | JoyOfTech/Playtime_Projects | 0cb3f49e30f90ca706a9d19872f37eecda4ae320 | 9ca4240c39e6a77bf7dd22c73dea87af2ceb11f5 | refs/heads/master | 2021-01-17T07:03:20.071032 | 2016-04-02T18:44:36 | 2016-04-02T18:44:36 | 24,542,640 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,372 | r | script.R | #EDIT THIS TO YOUR WORKING DIRECTORY
setwd("C:/source/titanic/quick-tree-classification")
#import dataset - EDIT THIS FILENAME
data <- read.csv("train.csv")
#split the last 400 rows off into their own dataset;
#set the training data to the remaining rows
numberOfTrainingDataRows <- 400
train <- head(data, n = numberO... |
a1f9cd226658cd2f8ace628adfce865706d335b1 | fdca452f475e69d59291668e764dfeef7e9063ca | /run_analysis.R | be9df9efb6df4246aa747542b4a9085dbdb8f5cc | [] | no_license | cmcsjc/GCD | 2e093b2d56005ab558a0ffd3de7bbfbea95572d8 | 4485d40b6b499ac1352cb881e8d52bd2b50df29d | refs/heads/master | 2016-08-11T16:13:59.929157 | 2016-01-28T18:28:39 | 2016-01-28T18:28:39 | 50,601,026 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,193 | r | run_analysis.R | ## Check if the package "reshape2" is installed, if not do so..
if (!("reshape2" %in% rownames(installed.packages())) ) {
installed.packages("reshape2")
} else {
## If the package "reshape2" is installed...
library(reshape2)
## Read all data files
activity_labels <- read.table("./activity_labels.txt... |
f1d13ba3660b4666a035d94a3694b85ff34736af | c6fe5eba437a3887edd5547b0907cc3ea73ccd51 | /Plot3.R | c611e896eb122218ba577d14a7f6e721d8378c24 | [] | no_license | heikehv/datasciencecoursera | 80ae4579033ed8e0437adface02247acab96c59e | 5c733c5dc6b924c8435f5ebe6ddd5a4dd1796425 | refs/heads/master | 2021-01-11T01:24:58.868863 | 2017-07-02T09:15:23 | 2017-07-02T09:15:23 | 70,709,684 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,217 | r | Plot3.R | # Presuming the file has been downloaded and saved in the working directory - using file.info() to check the size.
file.info("household_power_consumption.txt")
# Reading file into R, setting header to TRUE and separator sep to ;
HouseholdPower <- read.table("household_power_consumption.txt", header = TRUE, sep= ";")
# ... |
7f82b27cb48365464cc9ceef883796ade21d3502 | 7d17e7958149ae4d9850863d3ff78f069c626382 | /.Rprofile | 31264fac5051eab60056aba1900613acb10054c9 | [] | no_license | raffdoc/dotfiles-1 | 53ab46626a76e899d4e7e939f105674d30f83015 | 902fbeadc026eb2a37e7567ea50a7146515fc612 | refs/heads/master | 2021-01-17T05:26:59.504807 | 2012-11-16T17:23:26 | 2012-11-16T17:23:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 406 | rprofile | .Rprofile | .First <- function() {
options("device" = "quartz")
options("editor" = "mate -w")
options("repos" = c(CRAN = "http://cran.r-project.org/"))
Sys.setenv("PATH" = paste(Sys.getenv("PATH"),"/usr/texbin",sep=":"))
}
.Last <- function () {
if (!any(commandArgs() == '--no-readline') && interactive()) {
... |
bf4c3a6778d383e60f018f05a4d334c86272aa89 | d0e22df57097ebe1431aba9a2f5ff89ad1d552a0 | /Assignment 1 Resubmit Materials/map_template.R | 8f1a3598ed5a24680f0564f9d5e75997260499db | [] | no_license | ellenrjacobs/BIO-442 | a0b82dbda2c09b89b79f1df2c0d844ecf457a8aa | 7b520ef843d48a07a5406e19fdde742c872f71f5 | refs/heads/main | 2023-01-01T03:34:20.667245 | 2020-10-24T16:20:24 | 2020-10-24T16:20:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 617 | r | map_template.R | ##Assignment 1 Map Plotting Template
library(sp)
library(rgdal)
clean_data <- read.csv("my_clean_data.csv")
plotting_data <- SpatialPoints(clean_data[, c("Longitude", "Latitude")])
#Map of DC neighborhoods from maps2.dcgis.dc.gov
dc <- readOGR("Neighborhood_Clusters-shp", "Neighborhood_Clusters")
#Plot the map of ... |
a4bc5b09bb047014283b74dc17cf6840a003ab64 | 0b37c7d2d4cdafe6ee3ed9773271d1978282ebc1 | /src/grafica_iris.R | c6329c96edf142da60d7310a5bd5dac40701aa89 | [] | no_license | davidmacer/aprende_ggplot2 | e26a336ceae9bd8d0ddaf62bac3a696f1857b761 | f6b102f5c9ddf197759f86038c17ab2ba6e9d7fb | refs/heads/main | 2023-04-08T07:58:35.319402 | 2021-04-20T22:14:03 | 2021-04-20T22:14:03 | 359,964,182 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 683 | r | grafica_iris.R | ## Carga librerías
library(ggplot2)
## Carga datos
data(iris)
## Prepocesamiento / Limpieza de datos
## Análisis exploratorio de datos
## Creación de resultados
p <- ggplot(data = iris, aes(x=Sepal.Length, y=Sepal.Width))
p + geom_point(aes(colour=Species)) +
scale_colour_brewer(palette = "Set1") +
labs(title... |
6c5d1f96d930c14c414786e34d1176e3ef246a8d | 2a7655dc0c233967a41b99369eed3eb4a6be3371 | /2-Get_PM25_Observations/process_PM25_UDEQ_data_source_functions.R | 23afddc66b01741f197127dbaf06c64c7dfaa790 | [
"MIT"
] | permissive | earthlab/Western_states_daily_PM2.5 | 0977b40d883842d7114139ef041e13a63e1f9210 | 3f5121cee6659f5f5a5c14b0d3baec7bf454d4bb | refs/heads/master | 2023-02-25T14:32:20.755570 | 2021-02-04T00:08:03 | 2021-02-04T00:08:03 | 117,896,754 | 2 | 1 | null | 2021-01-27T22:19:14 | 2018-01-17T21:48:29 | R | UTF-8 | R | false | false | 25,122 | r | process_PM25_UDEQ_data_source_functions.R | #process_PM25_UDEQ_data_source_functions.R
process_PM25_UDEQ_data_source.fn <- function(input_header, data_set_counter, this_plotting_color) {
# combine UDEQ PM2.5 data files into 1 dataframe
data_source_counter <- data_set_counter#data_source_counter + 1 # counter to distinguish between the various data source... |
2541821c2882abf3f8efd74323042f161be6575f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gamlss.cens/examples/gamlss.cens-package.Rd.R | 773e6bf0df216db61326edb22058adae10bf747d | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,459 | r | gamlss.cens-package.Rd.R | library(gamlss.cens)
### Name: gamlss.cens-package
### Title: Fitting an Interval Response Variable Using 'gamlss.family'
### Distributions
### Aliases: gamlss.cens-package gamlss.cens
### Keywords: package
### ** Examples
library(survival)
library(gamlss)
library(gamlss.dist)
# comparing results with package sur... |
a0717f316b9957f21c49ab3ceb4c7b9f6b7d94cc | 854428a9085dfe1555c037e4e71a0bb0ba57a31a | /master_project_arima (1).r | 482aa49ac4d261cc4f54d2304ca49a47cceb4298 | [] | no_license | singhals912/Time-series-forecasting | bb3df1910224bc404b9865d28de1630172f3f00a | 61e7242a8f7bb2ae25312a45cdd23e5f2d80ffb2 | refs/heads/main | 2023-08-14T18:29:36.461216 | 2021-09-21T19:58:07 | 2021-09-21T19:58:07 | 408,939,482 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,214 | r | master_project_arima (1).r | library(forecast)
library(readxl)
library(dplyr)
salesdata <- read_excel("C://Users//geeti//Downloads//SalesData.xlsx", sheet=1, col_names = TRUE)
View(salesdata)
salest<-data.frame(salesdata$OrderDate,salesdata$Sales)
####salests<-ts(salest[,-1],frequency =24,start=c(2014, 01),end=c(2018, 01))
salests<-ts... |
4cdf4cb7c925e406d98d806679f8de98a31f8b5c | b7978c1a62cb3c8b76a3597e0bb6f03dc1c2c703 | /CodeFile.R | 7ba70c57b1450b89b439900b776a8b984dfb92f0 | [] | no_license | sowmi546/Reproducible-Research | 4a96e67792ebb4f69b46ab7f99045dfb50212886 | ce06cbfd0c2435e30e8ba3408ddb17defa34f55c | refs/heads/master | 2021-01-20T19:49:06.858670 | 2016-02-04T15:17:59 | 2016-02-04T15:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,591 | r | CodeFile.R | #1.loading and preprocessing of data
library(lattice)
myData<- read.csv("activity.csv")
summary(myData)
myData$date <- as.Date(myData$date,"%Y-%m-%d")
#2.What is mean total number of steps taken per day?
names(myData)
plot(steps~date,myData)
#tail(myData$date)
stepsByDay <- aggregate(steps~date,data=myData,sum,na.rm=... |
f1da2ab9b24d9cfdcce9a4769bccbf24ee8c6c2d | 9ea6e8002beed284ebb0e7d33e788ce64812cd93 | /scripts/exploration_dist.R | e91e182ba8975c17e6134468259d2266bd73b24a | [] | no_license | AimeeRose/conflicts_analysis_project | 97985d644a8d7689dfe09fa015665cbce00faa31 | 29a707fe482535b2eec6d89eacb79062dbb46108 | refs/heads/master | 2021-01-24T23:41:28.205850 | 2015-11-17T14:34:10 | 2015-11-17T14:34:10 | 46,353,040 | 0 | 0 | null | 2015-11-17T14:41:25 | 2015-11-17T14:41:25 | null | UTF-8 | R | false | false | 2,863 | r | exploration_dist.R | library(RMySQL)
library(ggmap)
library(fields)
con <- dbConnect(MySQL(), user="root", password="3442", dbname = "gdelt")
res <- dbSendQuery(con, "select * from random_events")
data <- dbFetch(res, n = -1)
geodata <- subset(data, select=c(GLOBALEVENTID, EventRootCode, NumMentions, ActionGeo_Lat, ActionGeo_Long))
geodat... |
1b0c0e13ba0b139c40d3551ffc98cf47a2af4f33 | de911eb1f603ed40516b8a3827ce996062e21c07 | /dataController/postgresController.R | 9a60b3fcaf536b7e978c645af93dcf578c5a16f0 | [] | no_license | josegerar/examen-final-garcia-it | c2c8d56a828a7c82e286efee393884ae2970c9ab | fe4fa0e1fd2a5f319f116e708c07a55c569d3e42 | refs/heads/main | 2023-03-19T08:36:40.337188 | 2021-03-13T22:26:28 | 2021-03-13T22:26:28 | 346,424,570 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 336 | r | postgresController.R | library(DBI)
library(odbc)
openConnectionPostgres <- function(){
return( DBI::dbConnect(
odbc::odbc(),
#Driver = "PostgreSQL Unicode",
Driver = "PostgreSQL ODBC Driver(UNICODE)",
Server = "localhost",
Database = "radiodifusora",
UID = "postgres",
PWD = "123456",
Port ... |
f410cbc0eb56b66d6207aec4ece10f64140e635f | 6e1001104bba35f0e9ba085c88e9c30da0694a77 | /cohort_boot_functions/taxa_list_split_function.R | d698ab80a4931d2f50b1d66a9736cd33779afd62 | [
"MIT"
] | permissive | jimjunker1/bootstrap_growth | f888e0fec66aa90fc69006dbb614072844198577 | b47ff739a16891e7a896ce496d82697bdd511093 | refs/heads/master | 2020-03-28T04:41:35.211391 | 2019-01-04T22:55:09 | 2019-01-04T22:55:09 | 147,730,771 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 266 | r | taxa_list_split_function.R | taxa_list_split = function(site_data_list, taxa_list, envir = parent.frame(),...){
site_list = c(rep(unique(site_data_list$SITE),length(taxa_list)))
future_map2(list(site_list),taxa_list, function(x,y){
site_data_list %>% filter(SITE == x, TAXON == y)
})
} |
efc877eab37cc7383f4b2dad27b5429deac5e005 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/roptim/vignettes/article.R | 0225d957dd14a4dcce01530822e77f7387e18565 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | article.R | ### This is an R script tangled from 'article.pdf.asis'
|
cb88fc439f1f673ec36c298e11a3be1c5647f626 | 00cff0ee84a3bed9b6309ff507c17fb1a769942f | /4. Detailed GAM Examples/day-3-exercise-solution/Ch-3-Day-3-exercises.R | eaa0a61d8f7b50ffaaeddb76a13d3ceb5e195422 | [] | no_license | perkygva/LM-GLM-GAM-Udemy- | b4fc0d78c12ee4ea8fe40be1e440be5f35e25a50 | 485d9711d96e29fcefa5ff824284c2467b5ec1f1 | refs/heads/master | 2021-01-22T11:00:03.323939 | 2017-02-15T13:46:25 | 2017-02-15T13:46:25 | 82,062,297 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,208 | r | Ch-3-Day-3-exercises.R | ############## CHAPTER 3 QUESTION #1
## polynomial fits
## create some data:
set.seed(1)
## uniform x from approx .xx to 3.14:
x <- sort(runif(40)*10)^.5
## uniform y from approx .68 to 1
y <-sort(runif(40))^0.1
## create a sequence of 200 equally spaced values from min(x) to max(x)
xx <- seq(min(x),max(x),length=200)... |
2182c3c3ca4be9b95b20f63f8522ce21839e5562 | aae7f08360ee40b6a5fb633f5f59f1bfe675eccd | /APB-ML-Feature importance-learn.R | ba4556d063acb0dd32e955fc9f620a64961d693b | [] | no_license | IanShi1996/BCB410-DataScience | ed4a785ff5b5b6032fbd10ee7a7f3c1199305163 | 99e7d33023901fbc4de597e8b962f20b76a3d58d | refs/heads/master | 2021-07-10T08:23:58.455016 | 2017-10-11T14:21:17 | 2017-10-11T14:21:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,337 | r | APB-ML-Feature importance-learn.R | # ___ID___.R
#
# Purpose: A Bioinformatics Course:
# R code accompanying the Assessing Feature Importance unit.
#
# Version: 0.1
#
# Date: 2017 MM DD
# Author: yuqing zou (yuqing.zou@mail.utoronto.ca)
#
# Versions:
# 0.1 (Describe ...)
#
# TODO:
#
#
# == DO NOT SIMPLY source() THI... |
1e352e5853e26faba9b55611a18c67f797e6bdcb | a344e881871bcc2e703f82b741de8e325efc70e3 | /man/dot-checkContrastMatrix.Rd | 642ebb6fa5501d283e4720e7cae0601010b249e0 | [] | no_license | Vitek-Lab/MSstatsTMT | b697e5337ea8953b180924cbd3aa4a1aa9130c91 | 6fda14b3be54a965cd7caff9d67136c153dfe532 | refs/heads/master | 2023-06-07T23:09:23.792869 | 2023-02-26T23:49:33 | 2023-02-26T23:49:33 | 106,858,130 | 22 | 18 | null | 2023-04-21T13:24:17 | 2017-10-13T18:12:43 | R | UTF-8 | R | false | true | 431 | rd | dot-checkContrastMatrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_group_comparison.R
\name{.checkContrastMatrix}
\alias{.checkContrastMatrix}
\title{check whether pairwise comparison. If pairwise, generate a contrast matrix.}
\usage{
.checkContrastMatrix(contrast_matrix)
}
\value{
a contrast matrix
}
... |
1d59b7916790c8f85d15f462bfcaf18d2afdd705 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/gwfa/man/marie_galante.Rd | daee4a6900820ee63c70c69a5752e81bb8ad6b32 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,085 | rd | marie_galante.Rd | \name{mariegalante}
\alias{mariegalante}
\docType{package}
\title{
Centroids of buildings of Marie-Galante (French Island in Caribbean). Marie-Galante is a dependency of Guadeloupe
}
\description{
The Marie-Galante centroids has been extracted from OpenStreetMap.
Map data copyrighted OpenStreetMap contribut... |
c807c9f876fa97cdf0e054c2bea00f684fcdcc76 | 4eb5cda5f02f054d64745ce91923dd1fa4ea9095 | /MAMU/eck1_MAMU_juvRatio.R | 5d3da6a4535358f912eb81ba23888783290c469f | [] | no_license | mczapanskiy-usgs/WERC-SC | e2e7cb68616ef0492144c0ef97629abb280103ae | caec92b844c9af737dcfc8d6dbb736de79c3e71c | refs/heads/master | 2021-12-02T16:42:16.529960 | 2021-12-01T16:58:20 | 2021-12-01T16:58:20 | 36,815,737 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,074 | r | eck1_MAMU_juvRatio.R | ### JUVENILE RATIO
# this script calculates the ratio of HY to AHY MAMU on surveys
# last updated: Nov 14, 2018 by E Kelsey and J Yee
## SET WORKING DIRECTORY
setwd("~/WERC-SC/MAMU")
## LOAD LIBRARIES
library(data.table)
library(dplyr)
library(lubridate)
library(mosaic)
### READ IN OBSERVATIONS FILES
## all previous... |
90ecd7cb8d8f1a0d310b96bfafb29a5fbb0f4668 | 50a50158132409e19368ec09446e3405fbdafff0 | /R/quantize.R | 4b6993fdbc18f0b1dafe01b79e5754695369e1bb | [
"MIT"
] | permissive | leonawicz/imgpalr | f48a017bea258c1058e6ca777f31f54b468de180 | 8d0fb8fc50d790ed776b576d13d20aa0770c494b | refs/heads/master | 2023-05-23T12:11:32.478857 | 2021-02-20T23:09:06 | 2021-02-20T23:09:06 | 195,685,492 | 45 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,220 | r | quantize.R | #' Quantize an image using an existing color palette
#'
#' Quantize image colors by mapping all pixels to the nearest color in RGB space, respectively, given an arbitrary palette.
#'
#' The palette \code{pal} does not need to be related to the image colors.
#' Each pixel will be assigned to whichever color in \code{pal... |
eeeaefa9d8c88a7b50b0517aa2e6357496bda26f | c739d6ead9a9521ed999935108cbfd68bdf14071 | /R_kmooc2/3weeks/3-2.과제.R | e613e11021e422259b9bf541869c025bf013b4a1 | [] | no_license | HeeSeok-Kwon/R_study | 526489c31bcf6c3eddb1b6f9e483cd2fafe28ac0 | 796fa69d4653ccf877abcfe6e986efb80c12b741 | refs/heads/main | 2023-03-19T09:58:21.909280 | 2021-03-20T08:49:35 | 2021-03-20T08:49:35 | 349,654,245 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 247 | r | 3-2.과제.R | #1
df <- data.frame(id=c(10,20,30,40,50),name=c("John","Tom","Paul","Jane","Grace"),
score=c(95,46,98,74,85))
df
#2
df$score
df[,3]
df[,'score']
df['score']
#3
df['id']
df['score']
#4
df[2:3,]
#5
df[2,3]
|
b5c112b522ba89b5e21b110b1319a9db68035776 | b5da81c1aab3e4b5731c515d4544eea9d5c3dd4b | /R/ggplot_layers.R | aa473a04d4f61ba3defe8a4c6e8356c9e33290a3 | [] | no_license | mikeod38/dauergut | 7e71818ae6933bef8ced064f892d4e4533d99af5 | aa4596a83ea21b0661d61e8dd44465bdaf886a88 | refs/heads/master | 2021-01-19T23:01:11.064417 | 2018-04-25T22:23:33 | 2018-04-25T22:23:33 | 88,909,918 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,176 | r | ggplot_layers.R | #' ggplot_layers
#'
#' adds layers to ggplots
#'
#' @section
#'
#' @param width optional width for median lines
#' @examples p <- ggplot(aes(x=genotype, y=pct)
#' p + add.scatter
#' @name ggplot_layers
NULL
#' @export
#' @rdname ggplot_layers
#'
add.scatter <- function() {
geom_quasirandom(aes(y=cell.norm),col... |
7e5242918931401b0f7678c637231a0d46d63094 | 33fa7ba1b68ea3401812fa958bb4122d81098826 | /PyTorch_UNetPP_wvlcDL/point_based_eval.R | d9020c4774a9a278499788adbd44e502b12a227e | [] | no_license | carlos-alberto-silva/wvview_geodl_examples | 7a415e3e52155804fb7a6c494cbba772aae21e7e | b70eb4540105fac07f6be5091ef97047b961b237 | refs/heads/master | 2023-06-21T08:56:26.064154 | 2021-07-28T14:27:14 | 2021-07-28T14:27:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 970 | r | point_based_eval.R | # Read in libraries ===========================
library(dplyr)
library(terra)
library(caret)
library(rfUtilities)
# Read in data ===================================
lc <- rast("C:/Users/amaxwel6/Downloads/accuracy_assessment/accuracy_assessment/WV_Spectral_classes_NAIP_2016.tif")
val_pnts <- vect("C:/Users/amaxwel6/Do... |
330041a3b5f8512cd3d94fa93336ce67dd30459a | 63e353ffd3539c69fab7d816ca4ac5e4d8f13e7a | /MakeFig1.R | 848b973db350b4c931a1488ef81231fdd55b60e5 | [] | no_license | cduron1/ETV5 | 5c8deee4d5fbebd32ec47784e80d558282cd9c18 | 8b780a13aed4b415691d667aed54d0d81fa75ec3 | refs/heads/master | 2020-04-16T01:32:42.768954 | 2019-01-11T04:15:53 | 2019-01-11T04:15:53 | 165,177,805 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,472 | r | MakeFig1.R | # Need to run CompleteETV5Anlaysis.Rnw through calculation of
# data_thresh (line 250)
I1=which(V(miceDESeqComplex$tumorg)$name %in% rownames(data_thresh))
HighBetween = induced_subgraph(miceDESeqComplex$tumorg,I1)
title1 = 'High Betweeness Subgraph'
#L = layout.auto(normalmax)
#L = layout.reingold(normalmax)
L1 = la... |
f8f6fd8c8def78413c1be9bad6d2468f9906b913 | 4a0350925583ac1cec0a424ae06e0f35af75ac75 | /misc/tcga_functions.R | 7309cd71f9e45103e7889d876a83950b15098570 | [] | no_license | apatil1/MethylAnalyser | 225b80acb33e993ec337c4b1c713d485043d798c | cd437bc37d91201a2a27a9225744203bc27216db | refs/heads/master | 2021-01-19T21:28:03.022713 | 2015-07-06T14:42:44 | 2015-07-06T14:42:44 | 38,624,366 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,471 | r | tcga_functions.R |
#Function to read level 3 data from TCGA methylation data. Returns table of beta values combining all the samples.
read_level3 <- function(path, type) {
file <- list.files(path) #gets list of files
#write.csv(file, paste(type,".csv", sep=""))
#reads data from all the files
for (i in 1:length(f... |
2a056e1eae6b5a2665d87c22db3d571cd1c670f2 | 0f530de60e70ff81f4d3d43a6f4bb5ebbabd0cb0 | /R/pleiotropy-2traits.R | 5ee0ba67bc1ee4132b47f0be1476f24316d9a1dd | [
"MIT"
] | permissive | fboehm/QTLfigs | 62b2b266b6593eadfb94f3cff697c29b6953b83f | f3a0a6843c784698c5f930c0210a2426220a9022 | refs/heads/master | 2020-04-17T13:21:46.684913 | 2019-04-15T19:48:06 | 2019-04-15T19:48:06 | 166,612,446 | 0 | 0 | null | 2019-01-20T01:44:04 | 2019-01-20T01:44:03 | null | UTF-8 | R | false | false | 807 | r | pleiotropy-2traits.R | library(broman)
bgcolor <- brocolors("bg")
iArrows <- igraph:::igraph.Arrows
par(fg="white",col="white",col.axis="white",col.lab="white",col.main="white",
bg=bgcolor, mar=rep(0.1, 4), bty="n")
plot(0,0, xaxt="n", yaxt="n", xlab="", ylab="", type="n",
xlim=c(-16-2/3, 150), ylim=c(0, 100), xaxs="i", yaxs="i")
... |
dbc35cfc7acd6b4bbfcb22805eb485e3c9dea17f | 68cc383997f56bc65b22ce7c0fd37409da054ce9 | /plot2.R | 59ebfd7a38db345f07d74ada0b338d923c30582e | [] | no_license | andcos/ExData_Plotting1 | 75466ab732fea73361ed1f06c96b7d1692d2a4f5 | 78240a97da346031249fb8d39408a7341ab8a138 | refs/heads/master | 2020-12-25T13:33:53.056844 | 2015-02-08T08:05:06 | 2015-02-08T08:05:06 | 30,464,271 | 0 | 0 | null | 2015-02-07T17:52:56 | 2015-02-07T17:52:55 | null | UTF-8 | R | false | false | 694 | r | plot2.R | ##========================================================
## FILE 3
##========================================================
##PLOT2
##========================================================
## NOTE
## My system environment is set to German, therefore the
## weekdays are written in German.
## Do = Thursday
## Fr... |
ba3a05b4a89bd7053022da39206716b9230b687f | fce46ef9ed1e6471e40bfaad9ba5ac5299c9ca5d | /man/show_ractive.Rd | 4f2616446d89a921bb533b01eef49310761ca4ba | [] | no_license | timelyportfolio/clickme | b73a630026006483428c4a1c304a2dd3260c2ff3 | 2781a88a4beb1ca0624bece95b1e5d1017d2970e | refs/heads/master | 2021-01-25T00:29:02.888994 | 2019-04-20T22:54:04 | 2019-04-20T22:54:04 | 9,228,937 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 285 | rd | show_ractive.Rd | \name{show_ractive}
\alias{show_ractive}
\title{Get information about a ractive}
\usage{
show_ractive(ractive, fields = NULL)
}
\arguments{
\item{ractive}{ractive name}
\item{fields}{any of the fields in template_config.yml}
}
\description{
Get information about a ractive
}
|
fc610174d5f8e28ae5dd239d1ef5d948f38b5e01 | ec645e548b35202da0be095d6f1795ceea2d0c8b | /Plot6.R | fa7257e1e914f1a86382f1d96c7067fed1ce27c1 | [] | no_license | JahlaJazz/EDA_Proj2 | 3b25eb9e219fe012852e943abefee0ca9e197b08 | fc046a94d4d00f3d13833c18ff51868bf8773771 | refs/heads/master | 2021-01-20T22:28:14.550157 | 2016-06-17T16:10:09 | 2016-06-17T16:10:09 | 61,383,394 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,214 | r | Plot6.R | # Compare emissions from motor vehicle sources in Baltimore City with emissions from motor vehicle sources in
# Los Angeles County, California (fips == "06037"). Which city hss seen greater changes over time in motor vehicle emissions?
library(dplyr)
# read the relevant data for years 1999, 2002, 2005 and 2008
N... |
291b1552bc4f9d4ec8a556ec64f8a8fe5594ed85 | c1a50c3baaaa559c0ba49490e219371b5b614e0d | /02-basic stats.R | 5099f8619137809d23f2c2df650be820aa309458 | [] | no_license | adambondarzewski/titanic | 49c06b04c65734349baf57b1a4131b215fd6ca39 | 3f0471ebda5601cce7c72869785423cd5671add4 | refs/heads/master | 2021-01-20T20:18:46.888186 | 2016-07-10T15:10:42 | 2016-07-10T15:10:42 | 62,999,118 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 722 | r | 02-basic stats.R |
#data structure
str(DT_train)
str(DT_test)
# Survival rates in absolute numbers
table(DT_train$Survived)
# Survival rates in proportions
prop.table(table(DT_train$Survived))
# Two-way comparison: Sex and Survived
table(DT_train$Sex, DT_train$Survived)
# Two-way comparison: row-wise proportions
prop.table(table(DT... |
4626c32d6a523e471844722a3c56105bf94abf8f | a5a1dfa861d42495ea1013c42f8edd460ca89561 | /160715/find_housekeeping_genes.2.R | b404caf2ea3a5409abd8e7b4343b130ce241f7bf | [] | no_license | chanibravo/hcasmc_eqtl | 4cca8abab75d63196d005294bf42d291128fac24 | 0c4f25b5a336349d8e590f2ac357ce0519e16032 | refs/heads/master | 2021-09-20T05:52:29.831159 | 2018-08-05T05:23:01 | 2018-08-05T05:23:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,422 | r | find_housekeeping_genes.2.R | # find housekeeping genes with mean and variance analysis:
# libraries:
source('/srv/persistent/bliu2/HCASMC_eQTL/scripts/utils.R')
# read input:
hcasmc_file='/srv/persistent/bliu2/HCASMC_eQTL/processed_data/160519_rpkm/combined.rpkm'
hcasmc=read.table(hcasmc_file,header=T,check.names=F)
hcasmc_sub=subsample_gct(hc... |
d48e4aa4d58343b8b6e050bfc5f639e14778bc0f | 64c71251ad5df390e5954c3919d7c1fc10a443bb | /1.Data_assembly.R | a81e2c6c6183b62e7e620ef695c7fca59a5b20d3 | [] | no_license | robwschlegel/Trend_Analysis | 767631a11f88b2610f43a4e3a3a1f2f417422b53 | e84da681b67e880d374e9ced12965207cd7f39ea | refs/heads/master | 2021-06-11T13:05:51.885285 | 2017-01-29T12:57:44 | 2017-01-29T12:57:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,620 | r | 1.Data_assembly.R | # This script takes the SACTN data and assembles two expanded data files:
# 1. First the data are detrended.
# 2. No interpolation takes place to fill missing temperatures.
# 3. It grows the dataset to four levels of precision and five decadal trends.
# 4. Produces one set of only the 'natural' lengths (the lengths of ... |
8d5eae2d2157afe8f86a02ac1f60836a66a0daba | ce4e30b45edb6ca97abfbc6ba50696e0fed3ed97 | /cachematrix.R | f19fc1a96ebe01c72926a6cf382d36c027af8e4c | [] | no_license | vasilBonev/ProgrammingAssignment2 | 2d27fc73b7aafc7f96cdd34c9f17a50ab424a4b5 | 9921bc8c3d690e10849245a48b9a6d0d1f7ce0ad | refs/heads/master | 2021-01-20T16:28:44.234529 | 2015-01-24T10:11:53 | 2015-01-24T10:11:53 | 29,702,073 | 0 | 0 | null | 2015-01-22T21:49:05 | 2015-01-22T21:49:05 | null | UTF-8 | R | false | false | 1,631 | r | cachematrix.R | ## Functions below are used to calculate the inverse of a given matrix x.
## Since matrix inversion is seen as costly computation there are benefits in caching the results
## instead of doing the calculation each and every time. The following two functions are used to calculate
## the inverse of a matrix
## makeCacheMa... |
ea3a5a63377287d26fb7b27a2748611d8377192f | 4c50e336c95095ce3fac4e6333fc3a83db35dbc6 | /man/create_Points.Rd | c790ac0d29bd8e14433e284452f3208d7c72f230 | [] | no_license | rsbivand/CCAMLRGIS | ee0a55cda86401d7904f86b03ee8c8b27f3c2006 | 8fd07db6efbab3983deeb5ebf260afb80be62782 | refs/heads/master | 2020-11-26T09:25:29.588205 | 2020-05-25T10:38:54 | 2020-05-25T10:38:54 | 229,028,616 | 0 | 0 | null | 2019-12-19T10:14:41 | 2019-12-19T10:14:40 | null | UTF-8 | R | false | true | 3,059 | rd | create_Points.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create.R
\name{create_Points}
\alias{create_Points}
\title{Create Points}
\usage{
create_Points(
Input,
OutputFormat = "ROBJECT",
OutputName = NULL,
Buffer = 0,
Clip = FALSE,
SeparateBuf = TRUE
)
}
\arguments{
\item{Input}{the nam... |
989de5369248c6d46e6a20a6548b265d9a851522 | fbf1d063ad668c576f6f098df532869d15f33369 | /scripts/summarize_rnaseqreads_byexon.R | 7cb8de12268ae270ad70e03b274ac5722bc89093 | [] | no_license | jrflab/modules | b2b061d6a50e06ebf7a03fca18e28bbc8de27908 | dfc6133817ae26b035bf742fc840868249196489 | refs/heads/master | 2023-07-19T11:29:50.802907 | 2023-07-11T16:03:43 | 2023-07-11T16:03:43 | 10,337,846 | 17 | 10 | null | 2021-08-13T22:47:06 | 2013-05-28T14:45:57 | Jupyter Notebook | UTF-8 | R | false | false | 3,632 | r | summarize_rnaseqreads_byexon.R | #!/usr/bin/env Rscript
suppressPackageStartupMessages(library("optparse"))
suppressPackageStartupMessages(library("GenomicFeatures"))
suppressPackageStartupMessages(library("Rsamtools"))
suppressPackageStartupMessages(library("GenomicAlignments"))
suppressPackageStartupMessages(library("TxDb.Hsapiens.UCSC.hg19.knownGe... |
d5246bc0088f193c16c2811b550d4483dcb629e0 | f4379ce632a4f110028c8a26a43565b5f2d28585 | /plot.R | bff91eca7d18c68a1b43140f15d0555410502b45 | [] | no_license | yu2peng/ExData_Plotting1 | 1e1dc5df29a73b285539a9c98c0ea322c87ce090 | 0ef69d2db636b30b3388001814c3de87d05d2957 | refs/heads/master | 2021-01-18T03:12:03.853318 | 2014-07-13T10:58:12 | 2014-07-13T10:58:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,593 | r | plot.R | # read data
power <- read.csv("household_power_consumption.txt", sep=";", stringsAsFactors = FALSE)
power <- power[power$Date=="1/2/2007" | power$Date=="2/2/2007",]
head(power)
str(power)
summary(power)
#power$Date <- as.Date(power$Date, "%d/%m/%Y")
power$Global_active_power <- as.numeric(power$Global_active_power)
p... |
ff0ebca963e29d134cc7a311858b2441f319e6ca | 89ef1d10dbcf03e7ac7a1dcf1ae04643de662cc4 | /R/outbreaker_data.R | c9b9df691b507ee963ed8e496ecdbdae8f33695d | [] | no_license | cran/outbreaker2 | b13ddc66d650b1ffaf9de46dcdf4776a5fc41c1c | 45597077c99506c0415bd280a0b6788f3ee23e2e | refs/heads/master | 2022-06-08T12:11:11.054415 | 2022-05-23T11:20:02 | 2022-05-23T11:20:02 | 112,343,503 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,418 | r | outbreaker_data.R | #' Process input data for outbreaker
#'
#' This function performs various checks on input data given to outbreaker. It
#' takes a list of named items as input, performs various checks, set defaults
#' where arguments are missing, and return a correct list of data input. If no
#' input is given, it returns the def... |
8f0004b743244688cca22f4ce0a4bf7578875382 | ffe7b55a975d6ea398e2a10a39ee3e3d41273ced | /prediction_file.R | 4891d3e0c722ba2ce3ccffe01a85dfb0af145711 | [] | no_license | NikhilsCodeHub/PredMacLearn-035 | 25e7514d748f02f8e60cb5a4b1de805969ac4df4 | 23ca7fc7d00177ca76fcfc38283fd302e10d132c | refs/heads/master | 2021-01-10T15:03:47.050214 | 2015-12-26T18:53:05 | 2015-12-26T18:53:05 | 48,502,843 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 550 | r | prediction_file.R | #### PRediction Over Test Data
pred_pml_test <- predict(d_fit3, pml_test, type="class")
## Output
## 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
## B A B A A E D B A A B C B A E E A B B B
## 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
## B A B A A E D B A ... |
5387b40a363ba0fd9d6b43fa83c6fdcb6b6998cd | 20c4d95568d991915590ce548020d089cfb1b955 | /man/gmm_replication.Rd | 55c1601d8c62c0ce92aa68fe4c806e60a17497aa | [] | no_license | t-sager/pubias | e690a2c6987b874e2fe493f226bbf66e35b5a669 | b31c49fc199153f63ae4b05595a2b3371f9ae014 | refs/heads/master | 2023-05-13T13:51:15.342523 | 2021-05-06T07:36:03 | 2021-05-06T07:36:03 | 355,796,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,599 | rd | gmm_replication.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gmm_replication.R
\name{gmm_replication}
\alias{gmm_replication}
\title{Computing the publication probability in replication studies}
\usage{
gmm_replication(Z, sigmaZ2, symmetric, cluster_ID, cutoffs, studynames)
}
\arguments{
\item{Z}{A \ve... |
afa9a1ad1cdbfba988254cf8b8b3a66c38fd39fc | 4ce79b9b9d9d6b30576b3a05898d65f1c455cd25 | /examples/ex1.R | 0e6025a524274256bd577f8d3d3f576ac106caee | [] | no_license | beartell/R2Time | 7e00035619c13bc6f439e723e5bea762aca75366 | 19f4faf770c5a568b19d555293c828d56097e091 | refs/heads/master | 2021-05-31T05:45:22.565033 | 2016-05-03T09:04:32 | 2016-05-03T09:04:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,958 | r | ex1.R | #########################################################################################
# Author: Bikash Agrawal
# Date: 06-07-2013
# Description: This example is used to calculate mean running MapReduce for timeseries data
#stored by OpenTSDB
##########################################################################... |
9faaac01b63cc3beeebd59ebc062c080438548a3 | 0bcecf297a8bc807a02666cf835d734b2bb8c8c7 | /Toyota Corolla.R | 5ebfcf180e2faeb1d3ed8e607d1a98268b0edc99 | [] | no_license | Bharathyramakrishnan/Machine-Learning-Algorithms | 4e4d0aa79d157fc5a28e3939e57f3b882fb081de | 41c732757c264df764faffd665998f14d7f89ca5 | refs/heads/master | 2020-04-29T03:18:40.055082 | 2019-03-27T13:47:55 | 2019-03-27T13:47:55 | 175,804,279 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,304 | r | Toyota Corolla.R | #3.Consider only the below columns and prepare a prediction model for predicting Price.
#Corolla<-Corolla[c("Price","Age_08_04","KM","HP","cc","Doors","Gears","Quarterly_Tax","Weight")]
#Output->Continuous - price, Input - > X - Multiple - Age_08_04,KM,HP,cc,Doors,Gears,Quarterly_Tax,Weight
#Continuous Output and Mu... |
d8f5811b67973616df2455796d3f905f0ef8ebbb | 209601cd3a949606041ea1902cbfc7d42fa35b0d | /bikestations.R | 651354d1b92f41189e083d36e8965ddea2bbd6ff | [] | no_license | tts/mapchallenge | 11be7ee807b80300d4a187b38da6ec11c8797c75 | 84c61cc71061a21abba39afa21c5f473ebcbd9fb | refs/heads/master | 2020-09-02T06:25:04.996462 | 2020-04-12T13:01:15 | 2020-04-12T13:01:15 | 219,154,769 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,808 | r | bikestations.R | library(tidyverse)
library(ggrepel)
bikestations <- "https://opendata.arcgis.com/datasets/1b492e1a580e4563907a6c7214698720_0.csv"
temp <- tempfile()
download.file(bikestations, temp)
stations <- read.csv(temp, encoding = "UTF-8")
unlink(temp)
stations_cleaned <- stations %>%
rename(x = X.U.FEFF.X,
... |
0e7a05055e103a8904e7c6b8121ca1fe3763810b | abbe9809ce60ee3dc9a1db74b0ec41da9475cd0f | /tests/testthat/test_edges_nodes.R | d725834bff12afa2c32520b6fc17dea8ae72e886 | [
"Apache-2.0"
] | permissive | luukvdmeer/sfnetworks | e2bf953487038b4cf5c8b625579a15b1c7b27058 | 23a4125030178f5c42ebb48d2547052a31a3cdea | refs/heads/main | 2023-05-10T18:55:53.430210 | 2023-03-22T16:08:27 | 2023-03-22T16:08:27 | 164,439,774 | 305 | 25 | NOASSERTION | 2023-08-11T10:43:19 | 2019-01-07T13:52:56 | R | UTF-8 | R | false | false | 5,723 | r | test_edges_nodes.R | library(sf)
library(dplyr)
library(igraph)
# toynet
p1 = st_point(c(0, 1))
p2 = st_point(c(1, 1))
p3 = st_point(c(2, 1))
p4 = st_point(c(3, 1))
p5 = st_point(c(4, 1))
p6 = st_point(c(3, 2))
p7 = st_point(c(3, 0))
p8 = st_point(c(4, 3))
p9 = st_point(c(4, 2))
p10 = st_point(c(4, 0))
p11 = st_point(c(5, 2))
p12 = st_poi... |
672d022521e820fef3430a53b01043f544f9b078 | ee6e4d67425b493fe9f67fce795ee058a26cfadd | /Problem 7.R | 55e80f06dcee169711bb389af2e2254162ae1e6e | [] | no_license | wkfunk/project-euler | d282513c0544a9428f711a9ba22e7867ce091591 | 8f9399bf5fe3d0522b25932fa51e9e65d793f798 | refs/heads/master | 2021-01-25T10:06:35.702630 | 2011-12-01T23:25:29 | 2011-12-01T23:25:29 | 2,884,658 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 441 | r | Problem 7.R | ##############################Problem 7:##############################
# Find the 10001st prime.
findPrimeNumbers <- function (num) {
primeNums <- c(2,3,4,7)
init <- 11
while (length(primeNums) < num) {
max <- sqrt(init)
digg <- seq(3,max,2)
if (all((init/digg)%%1 != 0)) {
primeNums = append(pri... |
ecc7301058c533fd0ed41f8bf17585a9e60b5297 | 492be04a3393fcbcf80b2f867d9cda9b7ed16430 | /10-Fall2020/Projects_StarterCodes/Project3-ImbalancedClassification/lib/test.R | 4c3d33e85d75c40f53170a675cb61cf833dad8e6 | [] | no_license | TZstatsADS/ADS_Teaching | 84276d8c7817718c410f466b749f0d5742348d73 | 2755c04a8fc501d9b285ba59e2e6d341906f220d | refs/heads/master | 2023-09-04T19:33:41.673025 | 2023-09-04T15:51:01 | 2023-09-04T15:51:01 | 49,824,541 | 205 | 415 | null | 2020-10-14T02:55:16 | 2016-01-17T16:08:51 | HTML | UTF-8 | R | false | false | 365 | r | test.R | ###########################################################
### Make predictions with test features ###
###########################################################
test <- function(model, features, pred.type){
res <- predict(model, newx = features, type = pred.type)
return(res)
}
# This function is not necessary.... |
34dd0c964ee385741f3c55378aef95748c3ffccc | 86f9af514b1cd5f1393da9e07d33fd974cfe0223 | /R/main_splash_point.R | e0e9290b32a3647397905f0fc12f450d1d58bf3f | [] | no_license | prenticelab/SPLASH_R_DSandoval | dc15abbe0f9b1ded4cbd47677b20592d3ad489be | 6eba75cf5475924b7bb3279857b31806f665d6aa | refs/heads/master | 2020-07-17T13:16:23.941519 | 2019-09-01T20:17:48 | 2019-09-01T20:17:48 | 206,026,816 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 16,405 | r | main_splash_point.R | #' splash.point
#'
#' Apply splash algorithm
#' @param sw_in, lon
#' @param tc, lon
#' @param pn, lon
#' @param elev, lon
#' @return a matrix xts type
#' @import Rcpp
#' @import xts
#' @keywords splash
#' @export
#' @examples
#' splash.grid()
splash.point<-function(sw_in, tc, pn, lat,elev,slop,asp,soil_data,Au... |
dda1b72482ddcc368856ab8d1fa7773e4c71a6ba | 20036893929f5078bf99a066775d5ebcd37cac49 | /code/Expression_Matrix_Compile.R | 249d680231bf7b1525d1f244fdc905f0d404dab5 | [] | no_license | zehualilab/RNAseq_singlecellfetal | f88da23b8a1b2ba1d1c47d60f51d28f9cd237d21 | fb71ea75c29ea114861105e6f52c81a38df038d4 | refs/heads/master | 2020-09-11T00:45:28.481841 | 2019-01-17T03:50:49 | 2019-01-17T03:50:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,895 | r | Expression_Matrix_Compile.R | # Damon Polioudakis
# 2016-10-12
# Clustering of Drop-seq cells by digital gene expression
# Must load modules:
# module load gcc/4.9.3
# module load R/3.3.0
################################################################################
rm(list = ls())
sessionInfo()
### Digital gene expression - merged lanes
# ... |
2ac999abc55d03570767b61278d2835dc1fe7db8 | 67d04319bc2ecb0ab773f44e15888cd154585cc7 | /plot3.R | e6e173c80cb7633719b7c8e868564762b6ffaf93 | [] | no_license | Ellaqyzeng/ExDataAnalysis_Project_2 | 1d72880f55545c72c6549f64656ddfe306bfc5d7 | cccd3d266d588a8850c6056ddbb7918176af96a2 | refs/heads/master | 2022-12-16T23:58:13.120554 | 2020-09-26T20:11:27 | 2020-09-26T20:11:27 | 298,799,248 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 512 | r | plot3.R | if(!exists("NEI")){
NEI <- readRDS("summarySCC_PM25.rds")
}
if(!exists("SCC")){
SCC <- readRDS("Source_Classification_Code.rds")
}
#downloadin data
library(ggplot2)
#importing ggplot2
bal<-subset(NEI,fips=="24510")
dbal<-aggregate(Emissions ~ year + type, bal, sum)
#extracting and tidying data
g<-ggplo... |
ad7d9b645393a784fafec09c1819c11a7a57bd0a | 0d31fc55c8391cd45e38a7e1a40c00853176b536 | /run_analysis.R | 516a96e42d7fb7660084f59e288b03288bfbda5e | [] | no_license | yuliangzhang/Getting-and-Cleaning-Data-Course-Project | 75178b92b9373d04e3f545197388e5cbae373035 | e43e2e8108b1f1026293e7f376a318843bad6650 | refs/heads/master | 2020-07-06T07:33:27.729493 | 2016-09-12T07:06:08 | 2016-09-12T07:06:08 | 67,977,720 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,922 | r | run_analysis.R | ##Set workspace and create special file to store data
setwd("D:\\Rworkspace");
if(!file.exists("./data")){
dir.create("./data")
}
## download project data set and unzip it
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip";
download.file(fileUrl, destfile = ".... |
710a20bd6367c6bb91a181c81cc8136910ac8638 | 9c222adf00fbc29ec24cc620fcf789680957ab2c | /app.R | e45c6cb9a688182fe968eb809970ac633388b643 | [] | no_license | yeqiaoling/Web-Based-Email | 3877f910a526c48522fe6e866942880ff44d92d9 | 9c60ddebc07617d153cb3c28f5f185013bb3ffec | refs/heads/master | 2022-12-07T15:16:11.256995 | 2020-08-22T05:59:42 | 2020-08-22T05:59:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,066 | r | app.R | library(shiny)
library(shinydashboard)
library(DT)
library(shinyjs)
# library(sodium)
# pages
loginpage <- div(id = "loginpage", style = "width: 500px; max-width: 100%; margin: 0 auto; padding: 20px;",
wellPanel(
tags$h2("SIGN IN", class = "text-center", style = "padding-top: 0;col... |
6584815892014a29d42282b0255d846d31b8a6c1 | 8d4b2f0ec29916d0e9c0b72aa6d3d37d6afa1dcd | /man/get_posterior.Rd | 68dd739007a0b0eefe9be46a227d5677cc6b9e7b | [] | no_license | EpiModel/EpiABC | fbffee553b2d384990dba43c18fac790bb56f5bf | ad80ccb31734e24d42d282232796716afbd00383 | refs/heads/master | 2021-06-24T00:03:20.664401 | 2020-12-05T14:09:47 | 2020-12-05T14:09:47 | 164,778,789 | 3 | 2 | null | null | null | null | UTF-8 | R | false | true | 698 | rd | get_posterior.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/slurm.R
\name{get_posterior}
\alias{get_posterior}
\title{Extracts Posterior Distribution for Parameters and Summary Statistics}
\usage{
get_posterior(wave, input = "data/")
}
\arguments{
\item{wave}{If \code{input} is a character string, the... |
b9b682ac4e992939da3218c1b7bc639580557f6f | ebe187244f13f3d118bd24ad75f9d80ea89de00d | /R/hypothesis_test_equal_tailed.R | 3877ad2ad3def912028a0b9cb42a0d696bf97148 | [
"MIT"
] | permissive | adviksh/winference | d12c811daaa91580aec4c12ea9f77a2ed31813ce | 765229f2bdc251c8fc127f4cccbbcba6ec95f03e | refs/heads/master | 2022-09-05T14:48:00.150154 | 2020-05-31T03:44:28 | 2020-05-31T03:44:28 | 268,204,277 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,109 | r | hypothesis_test_equal_tailed.R | equal_tailed_test_rejects <- function(mu, y, sigma, alpha = 0.05,
trunc_lo = -Inf, trunc_hi = Inf) {
# Immediately reject if observation falls outside the truncation set
if (is_contained(y, c(trunc_lo, trunc_hi)) == FALSE) return(TRUE)
left_test <- one_sided_test_rejects(mu... |
de24f6543f9b66a64649ea42eb6e68acdcbeb2a4 | 0dcce8658bd17f8e896120c13eafcf82264d1e73 | /hpv.icc.correllation/hpv.icc.correlation.R | 0b584c3ac4253b5a1186df5595d6085251b3d263 | [] | no_license | rojjsf/hpv.icc.correllation.hub | bd506106ef7784d118dcac721b393ae3c867632d | 0e99f2990d06fb8150740ec0f95e88fbea0554cf | refs/heads/master | 2020-03-25T18:31:11.620650 | 2018-08-08T15:56:22 | 2018-08-08T15:56:22 | 144,034,645 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,234 | r | hpv.icc.correlation.R |
#### age-stratified correlation of hpv in several countries ####
#### read in data ####
library(haven)
library(Epi)
library(dplyr)
library(xlsx)
library(writexl)
alg.data <- read_dta("C:/Users/schultefrohlinder/Documents/HPV_Prevalence/Data/Algeria/pooled_db/algeriapool.dta")
str(alg.data)
# organize the... |
0dec1ed7e7d34d8f896b650cb7c657004550d2e9 | 0ba08455f27022f23296c06f57a6da24fdd1168d | /RSPCMA/R/rsplus5.r | be214679b250977e30de3ddc4421dcb782ea6790 | [] | no_license | lbraun/applied_mathematics | ba44c1f1f15387c9c5b80be99639d4cac2b0f8d8 | a077b676e34c90d2f3e5858efc15d1d5e57aef79 | refs/heads/master | 2021-05-11T18:13:24.544412 | 2018-02-05T08:39:27 | 2018-02-05T08:39:27 | 117,818,125 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,113 | r | rsplus5.r | airline.dist<-source("c:\\allwork\\rsplus\\chap5airdist.dat")$value
#
airline.mds<-cmdscale(as.matrix(airline.dist),k=9,eig=T)
airline.mds$eig
#
sum(abs(airline.mds$eig[1:2]))/sum(abs(airline.mds$eig))
sum(airline.mds$eig[1:2]^2)/sum(airline.mds$eig^2)
#
par(pty="s")
plot(-airline.mds$points[,1],airline.mds$points[,2],... |
cb3e77c941c4237701e792016eda760ba82d5d4d | 0abb72f6b1db11a876ee9a8342139c6c48cec587 | /_clutter/week1_code.r | 59d8c97245e4d42f5b000a0cef6b53abf35249b4 | [] | no_license | lefft/r_norc_minicourse | 9d0cac94f18c72e9dedf94c250182641c4dc5508 | 9ef70a95710d4e942e52919c1a3cdbd7f6ac946f | refs/heads/master | 2021-01-18T23:32:43.427790 | 2017-06-09T18:44:48 | 2017-06-09T18:44:48 | 87,112,614 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,461 | r | week1_code.r | #'---
#'title: "week 1 notes etc."
#'author: "timothy leffel may19/2017"
#'date: ""
#'css: css/notes.css
#'---
#'<hr>
# THIS IS THE DOC TO CANNIBALIZE
# THIS IS THE DOC TO CANNIBALIZE
# THIS IS THE DOC TO CANNIBALIZE
# THIS IS THE DOC TO CANNIBALIZE
# THIS IS THE DOC TO CANNIBALIZE
#'<hr>
#'
... |
bf72b6c8d4f0e96c07c18bf9798125a501a30b1c | a5ee8b73b277c3bc2c1c8f9898b6e9da88b308f5 | /R/vimpPlot.R | 10c133a98e56f13356200d2360a383c3f4455414 | [] | no_license | cran/boostmtree | 341d83fdf088d162e6dfedea09508ca55939f5e3 | b402ee8976f8846c45ec996fdb435cf7bb311e88 | refs/heads/master | 2022-05-15T01:10:15.088762 | 2022-03-10T08:40:05 | 2022-03-10T08:40:05 | 54,140,236 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,965 | r | vimpPlot.R | ####**********************************************************************
####**********************************************************************
####
#### BOOSTED MULTIVARIATE TREES FOR LONGITUDINAL DATA (BOOSTMTREE)
#### Version 1.5.1 (_PROJECT_BUILD_ID_)
####
#### Copyright 2016, University of Miami
####
####... |
6b10611dbadc467f15a435c0fcbf9833d09a2996 | e6708b6ab96e58cd359419563c3da4448f080cbc | /plot3.R | 8816f929aa2381c37f755d7789c6ca361e656a35 | [] | no_license | eudeseduR/Exploratory-Data-Analysis | e0ce6afd23482b502b43144999188e6f068945fb | 5378ed93d293ebf1b8521afb5307231bddbf625c | refs/heads/master | 2021-01-21T02:21:16.248752 | 2015-12-13T20:47:49 | 2015-12-13T20:47:49 | 47,934,395 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 845 | r | plot3.R | setwd("~/Documents/Coursera/Data Science/04 - Exploratory Data Analysis/Project 1")
dataset <- read.table("./household_power_consumption.txt", header=T, sep=";", na.strings="?", stringsAsFactors=F)
View(dataset)
datefilter <- dataset[dataset$Date %in% c("1/2/2007","2/2/2007") ,]
View(datefilter)
newdatetime <- strpt... |
5f72cbde444ff4cc9ada2081802428fe94670a3f | 2e075a0fe5b46c8a2643cff3032c370f5c4e8c9a | /R_scripts/diamond_princess_tidied.R | 50601cbe92fa063b105975e0cd62c30029c84585 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | laasousa/COVID19_CFR_submission | 17f8032e93f50326466779e93d52f89aa103d899 | af183448e4d58ddf9b68ccb7f8e48e134a91498d | refs/heads/master | 2021-04-08T22:10:32.071065 | 2020-03-18T15:35:28 | 2020-03-18T15:35:28 | 248,814,057 | 1 | 0 | MIT | 2020-03-20T17:26:52 | 2020-03-20T17:26:51 | null | UTF-8 | R | false | false | 2,552 | r | diamond_princess_tidied.R | ##########################################################
# ESTIMATE IFR ON THE DIAMOND PRINCESS
##########################################################
library(binom)
logit<-function(x) log(x/(1-x))
invlogit<-function(x) exp(x)/(1+exp(x))
tests<-read.csv("data/test_dates_dp.csv")
date_format <- "%d/%m... |
ac28fc92dcd558f429e5058e6cf680394fe1d45c | fa782fbc6cef7e575fcd137a41eecbd6886812d1 | /man/rowCounts.Rd | 353839b9d03aa407fcba3b9482435dcef405a2b3 | [] | no_license | kaushikg06/matrixStats | 6f5ae3032cfeb30ade1d88d6b53e5effae9770bd | 87d3a6eeefcd37571214af7f1700ca98be7b9703 | refs/heads/master | 2021-01-21T06:47:28.960648 | 2016-10-09T15:35:30 | 2016-10-09T15:35:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,996 | rd | rowCounts.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% rowCounts.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{rowCounts}
\alias{rowCou... |
9a8d9281a160bf507281e3910cc35286f8bafa7c | 10b73702a67647732753a696da393b2ac1d7f78d | /Raster_afstande.R | 861068a982eb4bc1fd22cfa6967ff7adf3ff52de | [] | no_license | JohanFunder/Kirkeugle | 929a1f72e63f3309c20a6429f11932ec1d102cd8 | b82052c00594770b501acfa71d9f984dd2532e73 | refs/heads/main | 2023-02-02T02:06:31.815939 | 2020-12-23T04:51:44 | 2020-12-23T04:51:44 | 317,076,340 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,777 | r | Raster_afstande.R | #install.packages('raster')
#install.packages('sf')
library(sf)
library(raster)
library(plotly)
library(lattice)
library(plot3D)
library(rgl)
require(rgdal)
# Indlæs shp pointdata for de forskellige individer
points_45067 <- readOGR(dsn="D:/GIS_Kirkeugle/shp_filer_ugledata/Sidste_positioner", layer="45067_sidste_posit... |
f2bf1b0f3afb77d241a379928ee629ea192b3f5c | 9578bd1bf4ebe7fd4cf2779449214379d5399fb2 | /R/condition_fun.R | 6052f195ebe5ff94f1eac4ce97cc96e74edca26d | [
"MIT"
] | permissive | yanheluke/scorecard | b6c44f6bed5fa19b8624eed5981447fa2c626e20 | 81bddfd43831a909e12f9cc9d190574da5c61ed8 | refs/heads/master | 2020-03-17T05:34:01.256856 | 2018-05-12T07:46:33 | 2018-05-12T07:46:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,163 | r | condition_fun.R | # conditions # https://adv-r.hadley.nz/debugging
# remove date time # rm_datetime_col
# remove columns if len(x.unique()) == 1
rmcol_datetime_unique1 = function(dt) {
dt = setDT(dt)
unique1_cols = names(which(dt[,sapply(.SD, function(x) length(unique(x))==1)]))
if (length(unique1_cols > 0)) {
warning(paste0... |
52aa752d4dca62e534d5b0b1dfe159af9fca2848 | e2ecbae6733ba2c9246b0f6f1d889340d3460137 | /GeneBook/man/f.dir.create.Rd | 8efe685b209152cb78920211227679f243c1db20 | [] | no_license | siyanc/GeneBook-Package | 628e95ed226359dac9a8f41688514dc97fb77f27 | e2f4ec6246f417bf1cacd90b45981da156302275 | refs/heads/master | 2020-06-15T15:19:34.300338 | 2020-06-05T20:11:55 | 2020-06-05T20:11:55 | 195,330,228 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 156 | rd | f.dir.create.Rd | \name{f.dir.create}
\alias{f.dir.create}
\title{
Create Output Path for a folder
}
\description{
function to create output path
}
\usage{
f.dir.create()
}
|
d6beff12b9dfdd626b1e67fdb30bb45aaec3b34a | 4f77baba507831ee4e171727796de6b3326da785 | /weatherApp/man/get_forecast.Rd | e90b17b66974bdb46654a0fd95a424cd72ecf929 | [
"MIT"
] | permissive | Programming-The-Next-Step/weather_app | 4032fef148452522bef035bf3d8c920a766dca98 | 5daac9e5eacaee15cdfba6a19c679a593cf9e91e | refs/heads/master | 2022-10-06T04:22:22.651798 | 2020-05-29T09:03:00 | 2020-05-29T09:03:00 | 260,908,608 | 0 | 0 | null | 2020-05-29T09:03:01 | 2020-05-03T12:18:02 | R | UTF-8 | R | false | true | 781 | rd | get_forecast.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/weather_app_functions.R
\name{get_forecast}
\alias{get_forecast}
\title{get_forecast gets the current/hourly/daily weather forecast for a location.}
\usage{
get_forecast(cur_hour_day = "current", location, api_key)
}
\arguments{
\item{cur_hou... |
9191f1d817c274b9731ab262d8085c6fb61cfb28 | fe34071285a5367525db81f26d459ed64af2fbe0 | /src/armodel.r | a93efe5711e344e7262fb4a4412bd5b5190718e5 | [] | no_license | xiangzhu/fmclst | 12f6f047f0bb28af06c613a28a8febb69d66471d | 504a44260ade90a31876cbe79a407bcbaa6a2082 | refs/heads/master | 2021-03-12T21:24:05.897200 | 2016-01-24T22:08:20 | 2016-01-24T22:08:20 | 25,955,011 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,970 | r | armodel.r | # The six models that are used to define the factor process in the simulation.
# Model 1: AR
aur <- function(L,sigma){
XD <- NULL
XD[1] <- 0
for (i in 2:100){
XD[i] <- XD[i-1] * 0.6 + rnorm(1,mean=0,sd=sigma)
}
XD[1] <- XD[100]
for (i in 2:L){
XD[i] <- XD[i-1] * 0.6 + rnorm(1,mean=0,sd=sigma)
}
return(XD)... |
171ac2fe7251b730d6e6d56b96500f25ce7f268f | 1249a147bbd4c426633ccf6ee2e150acae374291 | /R/art.R | 05bd5e569ff4f9e69972a507319b09240201e49f | [] | no_license | analythium/assets | 28e004931e606dae6b6742aabc68b3fa4ff491ab | 0cdf4f0d5721e84439d34ce3b11dc03b8e20a16b | refs/heads/master | 2023-07-09T09:00:25.471993 | 2023-07-08T18:36:15 | 2023-07-08T18:36:15 | 253,088,391 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,635 | r | art.R | library(tidyverse)
library(magick)
# functions from https://github.com/djnavarro/ashtree
# helper functions --------------------------------------------------------
radians <- function(degree) {
2 * pi * degree / 360
}
adjust_scale <- function(s, scales) {
s * sample(x = scales, size = length(s), replace = TRUE)... |
295d5aa71f042ccad5202c3da5185a1c29c4826b | 42dedcc81d5dc9a61a79dbcea9bdd7363cad97be | /simulations/archive/10_gather_subjects.R | d79fd043e7064d3a11393f07ae773a8e49d12c04 | [] | no_license | vishalmeeni/cwas-paper | 31f4bf36919bba6caf287eca2abd7b57f03d2c99 | 7d8fe59e68bc7c242f9b3cfcd1ebe6fe6918225c | refs/heads/master | 2020-04-05T18:32:46.641314 | 2015-09-02T18:45:10 | 2015-09-02T18:45:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,427 | r | 10_gather_subjects.R | #!/usr/bin/env Rscript
#' # Overview
#'
#' For these, simulations we have decided to make use of real data. We will
#' take the residuals from real resting-state data and then add varying amounts
#' of group differences to simulate group effects. The data I will be using will
#' be from 5 different sites (found on F... |
2fabb55d176d61b1baa903caf340de3859400223 | 77da83540db02cfa5c0caf0e470c2d50e9201e63 | /DomacaNaloga1/arhiv/brilej_3naloga.r | 8f1c0d4e768ce3cd80b7d74cba266833711107cf | [] | no_license | tinarazic/machine_learning | 1d42a8ee5d209a988407e73385a03f4ddd898379 | 9e8f9c73079ae8f8b2fd8e2b4ef35ab0737b2bf2 | refs/heads/master | 2021-01-26T03:41:57.676366 | 2020-06-16T21:11:04 | 2020-06-16T21:11:04 | 243,295,247 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,247 | r | brilej_3naloga.r | #####################################
# nalozi knjiznice, ki jih potrebujes
# load the libraries you need
#####################################
library(caret)
library(dplyr)
library(pROC)
library(traineR)
library(matlib)
# nalozi jih tukaj, ne po klicu RNGkind spodaj
# load them here and not after the call of the RNGk... |
e9bd6a67c0ce9c6e0049e07a93b073084268c48e | ce7b5f60b1628f0d6b4f1b1fc03b092a13cf185a | /quiz_3.R | c52553bae79c2d3b4d175e5bed35e90466505599 | [] | no_license | jjanzen/statistical_inference | 29e767e1b6d3bf66236411038c10b7c92af75a10 | cb96da702dca580d52d1284f6bca44436eed2142 | refs/heads/master | 2020-06-29T03:29:07.244980 | 2015-05-17T13:45:58 | 2015-05-17T13:45:58 | 35,767,750 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,231 | r | quiz_3.R | In a population of interest, a sample of 9 men yielded a sample average brain volume of 1,100cc and a standard deviation of 30cc.
What is a 95% Student's T confidence interval for the mean brain volume in this new population?
# http://www.cyclismo.org/tutorial/R/confidence.html
# normal diest
mean <- 1100
n <- 9
sd <-... |
ed8c57c495b087b090db4d5559afd92a15dc59f6 | 1e2580d2b2771ea6f5d5c07827d9679507af1011 | /R/new_project.R | ccc3dbcf4f6f6f55b1d407e5eca53e66afec9dcf | [] | no_license | louisahsmith/louisahstuff | 5500e7476f62903059d357927e43550df0d5ce43 | 75ee938ce59551999e17145580de2aec33add646 | refs/heads/master | 2022-08-29T00:53:32.687843 | 2022-08-03T15:46:16 | 2022-08-03T15:46:16 | 170,620,522 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 777 | r | new_project.R | #' Create a new project
#'
#'
#' @name new_project
new_project <- function(path, use_targets = TRUE, use_renv = TRUE, use_git = TRUE,
packages = c("tidyverse"), ...) {
dir.create(path, recursive = TRUE, showWarnings = FALSE)
setwd(path)
if (use_targets) {
if (!require(targets)) sto... |
07a5be416a9e206bcfc83d456ba70a7836ecb488 | 32eee8dc776f6f0e9a40a23a1791a756e227889f | /man/RunDESeq2.Rd | 9da1c08c7f0d75eb4c227991361d0dddd0239a43 | [] | no_license | elqumsan/RNAseqMVA | 52508368d17404270c099c93b59c2ec338f8d2a3 | 7490110c7866a69346a2e440ee5e3b53562f343d | refs/heads/master | 2021-06-02T21:36:20.956517 | 2021-02-24T14:59:12 | 2021-02-24T14:59:12 | 104,486,547 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 584 | rd | RunDESeq2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/study_case.R
\name{RunDESeq2}
\alias{RunDESeq2}
\title{run DESeq2 to test differential expression on each feature of a data table.}
\usage{
RunDESeq2(self)
}
\arguments{
\item{self}{object belong to StudyCase class}
}
\value{
an object of the... |
eab9e36331a543cf91c259fff57c88b543a2b37f | d466cef62ea4433a3ecd4c2a24a95a86dcf4eb94 | /tests/testthat/test-modes.R | ed8e1a8eb1baa78dc50c1e0c280564fe35fe9b25 | [
"MIT"
] | permissive | cran/tabr | 8b79b13871d715a864bd5e60c6ecfad3abda016c | baf94c11dc91af8406612f9e26252a2c60e66c6c | refs/heads/master | 2021-06-15T18:22:23.832218 | 2021-02-20T21:20:06 | 2021-02-20T21:20:06 | 130,035,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,365 | r | test-modes.R | context("modes")
test_that("mode helpers return as expected", {
expect_equal(mode_ionian(), mode_modern())
expect_equal(mode_dorian(), mode_modern("dorian"))
expect_equal(mode_phrygian(), mode_modern("phrygian"))
expect_equal(mode_lydian(), mode_modern("lydian"))
expect_equal(mode_mixolydian("b_"), mo... |
112bfa0085b9cca88c05c8851a508f95af313ea0 | 68a91a962f9990052a896f6737f9385062b2336a | /simuOtherMethod.R | 4c69d78d2b2b30b549fdd7651d974d1b18463501 | [] | no_license | Alterock13/ProbaP3 | 922b6268d303f0b73fc46d00385f380af3d1f01e | f138d25144ae1359ba5cf39249252d7f73eacfb6 | refs/heads/master | 2020-03-18T04:05:10.474557 | 2018-06-05T16:24:06 | 2018-06-05T16:24:06 | 134,268,608 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,226 | r | simuOtherMethod.R | ## Simul
simulationServeur2 = function(lambda,mu,N,p1,p2,p3,duration,nbServeurs){
## N : capacité maximale de stockage (en service + file d'attente)
## p1,p2,p3 : proportion de priorités (p1+p2+p3 = 1)
## lambda : intensité, lambda>0
## 1/mu : temps de traitement, mu>0
## nbServeurs : nombre de... |
9868dbdbcb544ec8c8e18cb5c215dffd32495507 | 73356fed9beb3870100c792820325631bb99062a | /TGR_calculator.R | 5c74cb36ae1009b9ec4f6dcf4f50a14ed7c642e8 | [] | no_license | chferte/TumorGrowthRate | ce6ca9c21e9ff6484dcbd9372360d926553b4960 | ea1cbbf947351cd190ca197d27f3ecee7079f3c4 | refs/heads/master | 2021-01-15T18:50:47.807308 | 2013-11-26T23:03:42 | 2013-11-26T23:03:42 | 10,672,376 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,403 | r | TGR_calculator.R | ## Charles Ferté
## Institut Gustave Roussy, Villejuif, France
## Asessment of Tumor Growth Rates TGR) in the clinical setting
## Performed under the supervision of Serge Koscielny, Bernard Escudier and Jean-Charles Soria
## With the great help of Antoine Hollebecque (Gustave Roussy), Mariana Fernandez (Gustave Roussy)... |
e7eeced734847fadb8a4e5f09bcf957f80d978b0 | ebab9db9bb33c548b003d421380b9aa804117e57 | /R/helpers.R | f9d992637aaad85cd1c2f916e8e7b652e1924ccb | [] | no_license | xiaoxiaozhangx/featureImportance | 9d6227ba16e8c6e40860bae500b1f5223d0d0118 | cf064ddc757f73db1efbc7e9722869fbfff8e6ba | refs/heads/master | 2023-05-09T08:50:15.609474 | 2021-05-30T08:17:52 | 2021-05-30T08:17:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,191 | r | helpers.R | assertMeasure = function(measures) {
if (inherits(measures, "Measure"))
measures = list(measures)
assertList(measures, "Measure")
mid = BBmisc::vcapply(measures, function(x) x$id)
measures = setNames(measures, mid)
return(measures)
}
assertResampleResultData = function(object, data, target) {
td = mlr:... |
ed865092a42f9a454d61549dc8e8eae34d8e84a7 | 239726c28c1f28341559f9cf4dded61ddd4c7800 | /Fase 2/Sesion 1/Reto3.R | 2090f5fd65e3dc81edc441dff45055dfd79af090 | [] | no_license | Laborico/BEDU-SANTANDER | f8c928470f39b1b58b37c43c5c9b10b0d6553d80 | 34650a9efd7decc81980ebb272b3bb138ebc61ba | refs/heads/master | 2023-02-18T16:18:06.706838 | 2021-01-19T17:18:07 | 2021-01-19T17:18:07 | 308,212,756 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 568 | r | Reto3.R | #Almacenalo en un data frame que se llame amazon.best
amazon.best <-read.csv("https://raw.githubusercontent.com/beduExpert/Programacion-con-R-Santander/master/Sesion-01/Data/bestsellers%20with%20categories.csv")
#Calcula el data frame transpuesto, asígnale el nombre de tAmazon y conviértelo en un data frame
tAmazon <-... |
16934d5209298f9220e580535ade2cb0ff5396bb | 6adf748adac8e279adeccfae1b49195893034125 | /man/matchMeanSD.Rd | bb1c46e1925d83eb530369d74a313c18eb4536ab | [] | no_license | cran/raincin | 1c9b5fb73023a6a705c83556579f652a983ccecb | 59ad7c5121e24eeec96363a59a1b1afbb4496e9f | refs/heads/master | 2022-09-30T09:12:59.469857 | 2020-06-04T15:10:02 | 2020-06-04T15:10:02 | 269,669,514 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 655 | rd | matchMeanSD.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Rfun_matchMeanSD.R
\name{matchMeanSD}
\alias{matchMeanSD}
\title{Transform Data to Desired Mean and Standard Deviation}
\usage{
matchMeanSD(data, mean = 0, sd = 1)
}
\arguments{
\item{data}{a vector includeing data to be transformed}
\item{m... |
b3f2b1c82260e44d11390cb0b30df7ee02178123 | a3c78700a65f10714471a0d307ab984e8a71644d | /modules/data.atmosphere/man/noaa_grid_download.Rd | 8d48f18e485a74a90188bab8235fd46d52b8c64f | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | PecanProject/pecan | e42a8a6a0fc9c0bb624e0743ab891f6cf131ed3f | ce327b92bf14498fa32fcf4ef500a7a5db5c9c6c | refs/heads/develop | 2023-08-31T23:30:32.388665 | 2023-08-28T13:53:32 | 2023-08-28T13:53:32 | 6,857,384 | 187 | 217 | NOASSERTION | 2023-09-14T01:40:24 | 2012-11-25T23:48:26 | R | UTF-8 | R | false | true | 816 | rd | noaa_grid_download.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GEFS_helper_functions.R
\name{noaa_grid_download}
\alias{noaa_grid_download}
\title{Download gridded forecast in the box bounded by the latitude and longitude list}
\usage{
noaa_grid_download(
lat_list,
lon_list,
forecast_time,
foreca... |
ade42f483b9014199cc32bb093acec12c5553797 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/intkrige/man/utsnow_dtl2.Rd | 379c47b4e3762533ea96b73259eb9d96487cc73e | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,008 | rd | utsnow_dtl2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{utsnow_dtl2}
\alias{utsnow_dtl2}
\title{An interval-valued design ground snow load dataset for Utah that only
considers depth to load conversions.}
\format{A data frame with 415 rows and 8 variables:
\describe{... |
865207e6f89cc3d7e2588652d88f2dfb3ff55b6c | 680c36c7ef9031bc389fd51a99f2e2505593f97f | /man/kpegasos-module.Rd | bd5cb7c1cd3b4db9f0622821e849054ca6bcfbf4 | [] | no_license | pkimes/glmargin | 2b8ed887ca3c2ccd962511ca55c3beae6545d28e | 00fc5d56d810442d9275b0d355c9f5d848861f09 | refs/heads/master | 2021-01-22T05:11:10.940778 | 2015-10-28T06:57:54 | 2015-10-28T06:57:54 | 45,015,017 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 566 | rd | kpegasos-module.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/zzz.R
\name{KPEGASOS}
\alias{KPEGASOS}
\title{KPEGASOS Reference Class}
\description{
Exposed Rcpp module class
}
\section{Fields}{
\describe{
\item{\code{b}}{a numeric vector}
\item{\code{W}}{a numeric vector}
}}
\section{Methods}{... |
f6506ba3898c4086327d1a91789858e0d4328ec7 | b2f256c584aa071a58d8905c3628d4a4df25a506 | /utils/R/GUD_exploration_tools/data_options.R | de2435fd4180d9b1e586a2ee2ff5979f9bb5ea54 | [
"MIT"
] | permissive | maximebenoitgagne/wintertime | 6865fa4aff5fb51d50ea883b2e4aa883366227d8 | 129758e29cb3b85635c878dadf95e8d0b55ffce7 | refs/heads/main | 2023-04-16T22:08:24.256745 | 2023-01-10T20:15:33 | 2023-01-10T20:15:33 | 585,290,944 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,984 | r | data_options.R | #'@title Read GUD_OPTIONS.h input file for MITgcm GUD module.
#'@description
#'Read GUD_OPTIONS.h input file and create a list of keys (code options).
#'
#'@param none for now
#'@return opt list
#'@author
#'F. Maps 2020
#'@export
require("dplyr")
read.options <- function() {
# Read GUD_OPTIONS.h input file with de... |
446f7441fdd0f4c8959eb729832606fc736c6f36 | f02ffb8350d83842355277288ea0dcbe74010f96 | /r/main.R | 2aaab1dc774b086a1ca22c4f713823c7ef38da8f | [] | no_license | mayer79/plumber | ca96b7be2f115448da0ab44f6dcc11367ca5d713 | e63f26adff828b767ed152c95ddd2f8bb6770ec7 | refs/heads/master | 2020-05-04T23:13:37.212262 | 2019-06-13T07:17:00 | 2019-06-13T07:17:00 | 179,536,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 278 | r | main.R | library(plumber)
r <- plumb("r/rest_controller.R")
r$run(port = 8000, host='0.0.0.0')
# curl -X GET "http://localhost/predict_price?carat=0.4" -H "accept: application/json"
# curl -H "Content-Type: application/json" -X GET -d "{\"carat\":0.7}" "http://localhost/predict_price" |
fcf764c483e71ede249f2c35157d9f09cd9e438c | 682cb749025a52b9cbccd6d1e1063589b4edb127 | /R/meanPseudoBoost.R | 1d331a3ac15c3cb855176c7c34de465d01079997 | [
"BSD-3-Clause"
] | permissive | danielazoeller/PseudoBoost | 849118e97809883a64872862c34642daeb128519 | 7c5e20a8a3a1dda73b21f0f91531d1f2bb394a95 | refs/heads/master | 2021-01-02T08:40:49.132502 | 2015-06-25T07:04:04 | 2015-06-25T07:04:04 | 35,098,711 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,273 | r | meanPseudoBoost.R | #' Perform smoothed stagewise pseudo-value regression for the first risk in a competing risk setting
#'
#' Creates RepMean modified datasets with the help of pairwise switches of the observation times with on observation time smaller than switch.t. For these dataset the function PseudoBoost will be called seperately a... |
ae4974f8eb224cea514e8ffb505852023f6073fc | 90c2365749baa1d1d8d0839fbc8b71c8fe628154 | /r.R | be9af4cb110efadb592d4a5eb747a2dab183aff7 | [] | no_license | annachen368/r_language | 4ad2cc79041455305e7d7cf93a15da2fd5eff0e8 | fb63889f957c926ea26288d55733b8583eb7bc72 | refs/heads/master | 2021-01-01T05:59:34.536047 | 2014-09-28T22:45:04 | 2014-09-28T22:45:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,831 | r | r.R | # Creating a Graph
windows()
plot(aimp$V1, aimp$r1,type = "l", xlab="epsilon",ylab="avg reward",cex=.4,xaxt="n",col="red")
points(aimp$V1, aimp$r2,type = "l", xlab="epsilon",ylab="avg reward",cex=.5,xaxt="n",col="blue")
points(aimp$V1, aimp$r3,type = "l", xlab="epsilon",ylab="avg reward",cex=.5,xaxt="n",col="green") ... |
4bc2b328f519aa208ea3adde5eacc7c55b61c6d2 | 78d7ee805619bcb552206c336430a6e34e5911d4 | /overview/src/hmp1-ii_comparisons.r | d970c0c9ab43e7446aaec7e92e568fb46b21da91 | [] | no_license | biobakery/hmp2_analysis | 2178965fa84c8218610846f181d6b6072e8585b9 | 663bf7285e808aa09f27d4ddc09b3ebf89ec6a97 | refs/heads/master | 2022-07-28T16:47:53.875629 | 2019-05-28T01:20:27 | 2019-05-28T01:20:27 | 265,696,875 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,466 | r | hmp1-ii_comparisons.r |
library(plyr)
library(dplyr)
source("./common/disease_colors.r")
source("./common/load_bugs.r")
hmp12_bugs.pcl <- pcl.read(file.path(HMP2_data, "hmp1-ii/hmp1-II_metaphlan2-mtd-qcd.tsv"), metadata.rows=8) %>%
pcl.filter.s(STSite == "Stool")
# Merge the datasets
hmp12_bugs.pcl$meta$diagnosis <- "HMP1-I... |
b399c2803ba54b6135c227681b25a639c12b07c9 | 94f308855bf8e8101bacfff76e7b5cc3f60cc174 | /WCHC_Analyses/2.3.0.processVCF.platypus.R | 7203fe44e91b798b056a81b5dc37a6b3200fd81b | [] | no_license | BCI-EvoCa/Evo_history_CACRC | a823ecf6f276b2a01a8bc02167a97c13b0a7fe28 | e89a05f2d7355641e7e41cbd0dd5ff993e1f7000 | refs/heads/master | 2020-03-18T21:26:18.611399 | 2018-05-29T10:22:41 | 2018-05-29T10:22:41 | 135,280,267 | 1 | 1 | null | 2018-05-29T10:32:21 | 2018-05-29T10:32:20 | null | UTF-8 | R | false | false | 8,269 | r | 2.3.0.processVCF.platypus.R | #get sample list information
sampleList <- read.csv(file="~/Projects/IBDproject/masterSampleList.csv", header=TRUE, stringsAsFactors=FALSE)
setNames <- unique(sampleList[["setID"]])
platDir <- "~/Projects/IBDproject/annoPlatypusCalls/exomes/"
vcfName <- ".merged_indels.vcf"
mutType <- "snv"
#mutType <- "indel"
outA... |
8565377b67b3719d9ebf7a8290d65175c109a356 | 9a2384f2062f1db180d7dfd2651c998b39e0dce9 | /Rcode matrix to raster.R | 0ef9e5c67686ddc7f440da6d5e0fa76d9a2001d2 | [] | no_license | wadehobbs/Matrix-to-Raster-for-spatial-stats- | 8d0a44f798d76ba6f48340234e277140bbf293c9 | 13cd348b8f3a67d7c098c274d85086791b99670b | refs/heads/master | 2020-03-07T08:37:06.346658 | 2018-08-21T08:17:49 | 2018-08-21T08:17:49 | 127,383,694 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,625 | r | Rcode matrix to raster.R | #Creating a SpatialGridDataFrame in package sp
#Create the base grid
# - the smallest coordinates for each dimension, here: 0,0
# - cell size in each dimension, here: 1,1
# - number of cells in each dimension, here: 5,5
bbgrid = GridTopology(c(1,1), c(1,1), c(4,8))
#Import data - Data must be a data.frame (worked as... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.