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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1fadc29e610aaa6580c886a5b233a25569173a79 | 73b6f86a2336d8e0b419f4ee9cd6718882546d2e | /postprocesing/extract_pp_acum.R | a325e308c7032a404534f60b8ead508bfc877ce2 | [] | no_license | paocorrales/Analisis_2018112022 | 058559dbdc088270ddc97906586dcae396bc8fda | f562c8899bdf178b9bc27a1cc55191ada3980a30 | refs/heads/master | 2021-12-28T17:57:46.800503 | 2021-12-01T23:44:36 | 2021-12-01T23:44:36 | 200,736,204 | 0 | 1 | null | 2020-04-15T02:01:58 | 2019-08-05T22:16:22 | HTML | UTF-8 | R | false | false | 1,751 | r | extract_pp_acum.R | library(tidyverse)
library(metR)
library(reticulate)
library(lubridate)
wrf <- import("wrf")
ncdf <- import("netCDF4")
np <- import("numpy")
xr <- import("xarray")
ini_date <- "20181122060000"
exp <- "E6"
fcst_long <- 30
files <- list.files(path = paste0("/glade/scratch/jruiz/EXP/", exp, "/FCST/det", ini_date, "/")... |
50c0c7da3bf1d3afb95103a07519fdadc36323e6 | 1dc1a1a4e717c20112517501c43f9a966ab0c0e5 | /R/as_sf_fun.R | f7f9c7e264ce6556668b0c7ca26a99bcad389a94 | [
"MIT"
] | permissive | Robinlovelace/stplanr | 5d11640b9b644e40d81b97ee1a2debb77ffb4e26 | d1f10fe2335c2494ba153fd09675756e2c1572b3 | refs/heads/master | 2021-01-23T09:02:00.128500 | 2018-09-13T08:19:36 | 2018-09-13T08:19:36 | 30,063,520 | 14 | 4 | null | null | null | null | UTF-8 | R | false | false | 692 | r | as_sf_fun.R | #' Convert functions support sf/sp
#'
#' @param input Input object - an sf or sp object
#' @param FUN A function that works on sp/sf data
#' @param ... Arguments passed to \code{FUN}
#' @aliases as_sp_fun
as_sf_fun <- function(input, FUN, ...) {
if(is(object = input, class2 = "sf")) {
input <- as(object = input, ... |
92e8fbc94b9819a4ca95169faaa46a633d479fd4 | 72f8342f7931b743eaafe9035108e5fce080e844 | /query_urine.R | 9e95b6477caa42827f7e92ccb4c69232573e5868 | [] | no_license | harshblue/shockalert-documented | c01ebac1ad9b4df6cd1c6467b5e2aa81f799d76e | 87d05f108b0c6e95ec3b680e0be1c78ac9b2f7db | refs/heads/master | 2022-02-19T23:24:18.021333 | 2019-08-20T21:30:37 | 2019-08-20T21:30:37 | 214,829,084 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,103 | r | query_urine.R | rm(list=ls())
library(RPostgreSQL)
library(pracma)
library(tictoc)
user = "postgres"
password = "postgres"
db = "mimic"
urine.items = c(40405,40428,40534,41857,42001,42362,42463,42507,42510,42556,42676,43171,43173,43175,40288,42042,42068,42111,42119,42209,40715,40056,40061,40085,40094,40096,43897,43931,43966,44080,4... |
8731f5ef17f60673a5d8de20555613f692fdfd8f | f91f4e92e92c53987a9e647fe99d13d24a40fbdb | /Cover.R | f050917b2e69fee6a87f04f2a7f97732d8bd89d6 | [] | no_license | jwillou/lab-coding-project | 243a38ea16a592c97690621148234ecf55e97ae0 | bca525b61f006bbf0f3f99ce2411348a49e84227 | refs/heads/main | 2023-06-23T05:54:17.314262 | 2021-07-14T15:55:26 | 2021-07-14T15:55:26 | 368,275,134 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,013 | r | Cover.R | #setup
setwd("/Users/jannawilloughby/GDrive/Willoughby lab/summer coding project/lab-coding-project/") #set working directory
directory = getwd()
outdir = paste(directory,"/output/",sep="") #directory to save model output
source(paste(directory, "/source/Functio... |
12d96b395d12068babb4a3937e54220740621a08 | 25298b75d8e54e34261ce7816c9ed95774566dbc | /man/ci_normal.Rd | ea184b0ccd26e756e9591ba70d88703105e11213 | [] | no_license | BroadbentJim/MendelianRandomization | 7946787c662beee9c5f7d69189f655c1b4b2425d | 100d624bae0c5ac296887493c46b0b64ed656d8f | refs/heads/master | 2022-12-07T02:10:17.287876 | 2020-09-03T11:30:24 | 2020-09-03T11:30:24 | 289,373,305 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 666 | rd | ci_normal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ExtraFunctions.R
\name{ci_normal}
\alias{ci_normal}
\title{Calculate confidence intervals using the normal distribution}
\usage{
ci_normal(type, mean, se, alpha)
}
\arguments{
\item{type}{"l" for lower, "u" for upper.}
\item{mean}{Causal est... |
8884ce5a10c9d1872cdc06d4b85a1d7d61147687 | 53f63e15f76212a7a3fb5417458c09d96a84cd1b | /project.R | ef6045d6437d183993e5a522a0da57ec9496f647 | [] | no_license | codemaster94sb/MiningAndManagingBigData | e82c82301fca790a21c36170ba1ba0249d3f820f | f1b9da42ce4dbea9694ae65169b4ebca1bc510d7 | refs/heads/master | 2020-04-29T18:36:28.749670 | 2019-03-18T16:49:43 | 2019-03-18T16:49:43 | 176,328,980 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,168 | r | project.R | # import data from csv
data = read.csv("crimes2017.csv")
# remove all the lines with NA
data.clean = na.omit(data)
# get summary of the field primary type
summary_primaryType = summary(data.clean$Primary.Type,maxsum = 10)
# calculate the percentage of each category
piepercent = paste(round(100*summary_primaryT... |
da6776c97d03e5a075a6ea990bcd0c19610bfc59 | 4f781c1417ab399d68a7c37057ec2be91fc0330f | /examples/example_getPairwiseDistance.R | 2744f131b02ec3db0920998acbf1880da4ce7a09 | [] | no_license | ocouriot/TuktuTools | 6ed1142887c13bb49fe958507593204833339397 | eac29a9bdbebcdaf9e8cff848af4b3652512e3dc | refs/heads/main | 2023-06-23T18:41:51.620062 | 2023-06-16T18:16:03 | 2023-06-16T18:16:03 | 333,524,590 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,057 | r | example_getPairwiseDistance.R | data(caribou)
# subset on the two individuals which have monitoring the same year (Vixen and Comet, in 2007)
# and transform into Simple Feature object
b.subset <- caribou %>% plyr::mutate(yday = yday(Time)) %>%
arrange(ID, Time) %>% subset(Year == 2007) %>%
st_as_sf(coords = c("Lon","Lat")) %>% st_set_crs(4326) ... |
fa60af9513a7f6404271d984729cfc6e5a008c74 | 726a77aaedf2fe3025763952545b7d8f2955cebc | /cachematrix.R | 94e79d19e5b6c48e13a2ed7b4839cf98e9f4ce9b | [] | no_license | tjzeeman/ProgrammingAssignment2 | f6e2216b0b27c11072dfb16e926ba881aac8682f | b8af8fa8887bf6157de0e581dee28be43eaca728 | refs/heads/master | 2021-01-18T02:33:45.105940 | 2015-06-21T17:14:14 | 2015-06-21T17:14:14 | 37,780,759 | 0 | 0 | null | 2015-06-20T18:26:12 | 2015-06-20T18:26:12 | null | UTF-8 | R | false | false | 970 | r | cachematrix.R | ## Module for working with matrices and their inverse where inverted matrices
## are cached for performance reasons.
## Create a new instance of a matrix which can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
x <<- y
m <<- NULL
}
get <-... |
50ccf3e7fe460240cd22f28b837647610d4051d9 | 93ccc9369c0d6c1b6f2ddb4a76165efdbe61a8a5 | /man/graphiT.Rd | 778d18dab80af0bf5adcfb7f4d87eb54b8fbfc26 | [] | no_license | lvaudor/graphiT | 4e02dca47d9ba15b249e619548283871d4822a07 | 53b4d1ddbcf9bf672fb4bc37eb257ce923f9fad1 | refs/heads/master | 2020-05-21T12:28:18.003907 | 2017-07-03T09:03:50 | 2017-07-03T09:03:50 | 54,575,749 | 7 | 0 | null | null | null | null | UTF-8 | R | false | true | 442 | rd | graphiT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/graphiT.R
\name{graphiT}
\alias{graphiT}
\title{Launch the Graphic ToolKat}
\usage{
graphiT()
}
\description{
This function allows you to launch the Graphic ToolKat interface. This is a Shiny App designed to help users produce graphics.
For m... |
d19b3efbb2d80b26aef0ff31b6cba4a45bf60a09 | 1d87df99223ca911dde7b14e37ce0e748dce5b7d | /man/lle.Rd | d0539393b85bb4b8f962ca5fe7bb8be9205ea824 | [] | no_license | xinyic324/StatComp20039 | bfa40a673cadc6e734710495bde35d790c2042d0 | 1fe65b8a572365020acba7b49a880f2622c7dc24 | refs/heads/master | 2023-02-02T17:32:36.770515 | 2020-12-20T13:21:45 | 2020-12-20T13:21:45 | 323,040,965 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 438 | rd | lle.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/StatCompR.R
\name{lle}
\alias{lle}
\title{Locally linear embedding using R}
\usage{
lle(X, d, k)
}
\arguments{
\item{X}{the Sample matrix(numeric)}
\item{d}{the number of dimension of sample matrix}
\item{k}{the number of nearest neighbors}... |
a21ce1a1b06c6fb720f648f3e675c34d734ea91b | 2267ad83d4ec90d656332f2d47a6d431785b01d5 | /run_analysis.R | 365a54867755c4456919db7ad9f7de0afbb7e4b0 | [] | no_license | seslava/GettingAndCleaningData | 6c201929fa50c35b5cedc24df847e784d9bacf4a | 2f4a2fd9e39531d0f204a27253d4a684d262c11b | refs/heads/master | 2021-07-09T05:32:33.162105 | 2017-10-09T02:36:32 | 2017-10-09T02:36:32 | 106,225,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19 | r | run_analysis.R | ## run_analysis.R
|
3cbb9bf547f42347e7c7e5b9397c64ff30ec5361 | 72338e12782d6b456b747daf83b41a9775edcded | /R Code/Data_Manipulation.R | b6086a116561776d1018f4e4feaaa2558b2d4440 | [] | no_license | claredoc/EEES_Seminar | c157d6d012fa5972ebdadb53795c21ec943fe0bb | c7ebb6e66f305461df87d101d55d532cb327bbd6 | refs/heads/master | 2020-03-08T16:44:13.277630 | 2018-04-05T18:26:35 | 2018-04-05T18:26:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 501 | r | Data_Manipulation.R | #R code for Data Manipulation
#Created by JAB March 2018
# Load Libraries ####
library(tidyverse)
library(lubridate)
tidyverse_packages()
library(hms)
# Please add a comment below with your name to try using git actions ####
# Braden testing push #
# Morgan testing push #
<<<<<<< HEAD
# Clare testing push #
||||... |
b3d6a4b34ae37a4e3ea9571cfaf40a91434439a0 | c3e693beafe67e6fb20afd158e9876770a3d3d3c | /Exhaustive-search/totvar/lt_dijkstra_uniuni_master.r | c75057f258cc0131028cb42578fee70069c6c458 | [] | no_license | rmuraglia/Schmidler | 8fd307f7393283d454c38600c29cc8f0adce6279 | 3026a84bf56da1477e2bf7f78d20c0f752de82cb | refs/heads/master | 2020-12-25T17:01:08.116539 | 2016-08-11T23:55:41 | 2016-08-11T23:55:41 | 57,866,522 | 0 | 0 | null | 2016-06-15T17:44:25 | 2016-05-02T04:44:07 | R | UTF-8 | R | false | false | 2,495 | r | lt_dijkstra_uniuni_master.r | # lt_dijkstra_uniuni_master.r
# run dijkstra search for total variation distance in a grid indexed by lambda and temperature (here represented as sigma)
# initial and target distributions are normal distributions
###########
# PART 1: set run parameters
###########
# store first time point for book keeping
time1<-pr... |
da90b4b8bcf1e7ab87e97c567403acc9d3bc9ec1 | 42c2727741417413b6126a7e8e5c8922e0204446 | /BCconf/man/est.conf.num.Rd | fa12d17178b13a28ae9f71500c608e7f059d20dd | [] | no_license | chrismckennan/BCconf | 9ad610e6e5bb93e6d7dfc737d55e53dd7ea4283e | b1b5d7b690f07f175014d7e27b42627a4d8edafa | refs/heads/master | 2022-04-30T15:44:23.695070 | 2022-04-20T18:33:13 | 2022-04-20T18:33:13 | 136,989,579 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,178 | rd | est.conf.num.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ConfounderCorrection.R
\name{est.conf.num}
\alias{est.conf.num}
\title{Estimate the number of latent factors}
\usage{
est.conf.num(Y, X, method = c("bcv", "ed"), max.r, nRepeat = 20, ...)
}
\arguments{
\item{Y}{a p x n data matrix, where p = ... |
686f26ec007cf8f8aa2d53717c6cc16fd25140fb | 0224b084d380102289bd1cddca27e2e720037f9d | /tests/testthat/test_formatLongTable.R | d3d2e4715987b41b98173dce28b5730a37c6ff01 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kaleydodson/SOCDRaHR2 | be655ed52956dbedd46477ccb46f9c6171d8329e | f1ba546d879b1fc6bfb1f1d43a6a8d626557ce31 | refs/heads/master | 2023-08-03T02:38:32.299285 | 2021-09-20T15:39:00 | 2021-09-20T15:39:00 | 377,954,407 | 0 | 0 | BSD-2-Clause | 2021-09-15T19:44:32 | 2021-06-17T20:33:59 | null | UTF-8 | R | false | false | 20,173 | r | test_formatLongTable.R | #To run just this file
#test_file('tests/testthat/test_formatLongTable.R')
library(testthat)
context('formatLongTable.R')
testthat::test_that("test one variable one table",{
testInput <- list(T1 = data.table::as.data.table(
tibble::tribble(~siteID, ~sampleID, ~SOC,
'river', 'S1', ... |
c7ddeed991e9970ed65b6678ef891d2a17d08d98 | 7bce9556c1dee17fa6067599acf81f3b1fb8b336 | /src/main.R | 241b4cb11d301b00935a69dc9a4fa799c97c5d1b | [] | no_license | cesare-spinoso/UltimateTTT | 2e5ee93decd39613669d7f4baeca6783283a7343 | 5b4076bce5f8292635e1949aa24b69590ffe8b8f | refs/heads/master | 2022-12-01T13:03:42.098329 | 2020-08-24T16:52:51 | 2020-08-24T16:52:51 | 289,972,641 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 47,055 | r | main.R | ######### Game Dynamics ########
# All the functions that are used to play the game
hasWonBoard <- function(board,player){
hasWon <- F
dimension <- length(board[1,])
# First check horizontal
for(row in 1:dimension){
if(board[row,1] == board[row,2] && board[row,2] == board[row,3] && board[row,2] =... |
9466d61548e3d536964a4b715516213df9e850d4 | 7e0f4777f4e06b0ac72b90422ac0d9c765767755 | /projects/josm-trend/josm-trend.R | 6adfa0404c935e57881601e3a8b7cd3a2fe4b676 | [] | no_license | psolymos/abmianalytics | edd6a040082260f85afbf4fc25c4f2726b369392 | 9e801c2c564be155124109b4888d29c80bd1340d | refs/heads/master | 2023-01-30T05:00:32.776882 | 2023-01-21T05:36:23 | 2023-01-21T05:36:23 | 34,713,422 | 0 | 7 | null | 2017-01-20T19:07:59 | 2015-04-28T06:39:37 | R | UTF-8 | R | false | false | 21,376 | r | josm-trend.R | library(parallel)
library(mefa4)
library(RColorBrewer)
ROOT <- "e:/peter/AB_data_v2016/out/birds"
#ROOT <- "~/Dropbox/Public"
level <- 0.9
up <- function() {
source("~/repos/bragging/R/glm_skeleton.R")
source("~/repos/abmianalytics/R/results_functions.R")
source("~/repos/bamanalytics/R/makingsense_functi... |
39e66f3488385164799e87b01375a601ec408a9f | 601e1baf3d4bae3a102a224cab1a0a8e6ce3af9b | /R/calculateGrm.R | 8775ce17582d8246730fbcea131d9e3710d86d5a | [] | no_license | jellily/PCAseq | c9ebc21eec16f71b1eaf078831bec15d452f1cde | 908f98cf984de67ea06aab67db3ebef3d0be0935 | refs/heads/master | 2020-12-25T17:03:30.994503 | 2018-02-04T18:29:19 | 2018-02-04T18:29:19 | 29,374,307 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,922 | r | calculateGrm.R | # Functions to calculate the GRMs
# runGRM -----------------------------------------------------------------------
# Open the GDS file and check the orientation of the genotype data; call the
# appropriate GRM method
runGRM <- function(gdsobj, weights, sampleId, snpId, autosomeOnly,
removeMonosnp, m... |
2a09de29d7fac1525f218b61ba9af48fdc18b139 | 0c01d291ffc39a0bc5b66c32630141c164e7bc3b | /server.R | 4c3a34e077310b1c3c5f4f8399e1d468241c3d08 | [] | no_license | gringer/conference-bingo | 94bc59caeea64ae772a133d073711297d0182bf7 | d47efe205c8f66d98d17da6a6b9bf8bc6da6fcfb | refs/heads/master | 2021-01-20T06:31:27.647284 | 2017-05-01T10:57:42 | 2017-05-01T10:57:42 | 89,889,588 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,825 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(digest)
# Define server logic required to draw a histogram
shinyServer(function... |
476c2e68c4476d917097ceb9257591b59be0a3f3 | a5623ca69f24f073f2c43469081c4bf3bbaa2825 | /man/redis.connect.Rd | 2d157e2fdc2ca7e16e3450e79822fee4e95db161 | [] | no_license | att-bdpaas/rediscc | a4b8e6183505d63145bca5b2dcc480d329ce1b92 | f43420964ea326e2bc35a24362273ec1437b38d9 | refs/heads/master | 2021-01-20T16:48:11.815902 | 2014-09-14T03:06:05 | 2014-09-14T03:06:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,270 | rd | redis.connect.Rd | \name{redis.connect}
\alias{redis.connect}
\alias{redis.close}
\title{
Manage connections to a Redis database
}
\description{
\code{redis.connect} creates a new connection to a Redis database and
returns the handle.
\code{redis.close} closes a Redis database connection.
}
\usage{
redis.connect(host = "localhos... |
8cdf3a07b8744e107dc60cbc886621d116fee405 | 146d7de2db9f1bffeaa24e7f01200c38ea2e9d75 | /man/center.buoyancy.Rd | fa0a9ce80eca5d4966d89bd64ab764ef640425f5 | [] | no_license | lawinslow/rLakeAnalyzer | 13e9b11da4b44042fea0dd88210d7e47a9557c5c | 69749f58a665358dac8263a2d08d92f9100f1ff3 | refs/heads/master | 2021-01-21T03:13:08.229100 | 2018-09-13T19:49:51 | 2018-09-13T19:49:51 | 25,272,757 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,223 | rd | center.buoyancy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/center.buoyancy.R
\name{center.buoyancy}
\alias{center.buoyancy}
\title{Calculates the center of buoyancy.}
\usage{
center.buoyancy(wtr, depths)
}
\arguments{
\item{wtr}{a numeric vector of water temperature in degrees C}
\item{depths}{a num... |
72dea7e460186c1bea45d12f5b011ea9750c6c13 | b7f0d300ee724bf170f08394257391ea12703945 | /c4exda-proj-2/plot2.R | edbb13c7eb72784f95ddc1a88e24d01f52242f81 | [] | no_license | TheYuanLiao/datasciencecoursera | c36a62d1f4af6e4cad2d9188cb9814d0d8ed6bd1 | e227991e3ab6169f01476557a8987d1e840b5d64 | refs/heads/master | 2023-01-23T19:02:49.647831 | 2020-10-24T15:31:28 | 2020-10-24T15:31:28 | 281,198,019 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 533 | r | plot2.R | library(data.table)
library(dplyr)
# Load data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
# Calculate the total by fips x year
total_fips <-
NEI %>% group_by(fips, year) %>%
summarize(total = sum(Emissions)) %>%
filter(fips == "24510")
# Plot and save to .png
png("... |
8f2e3a0c90f2c4e373d91a6a278eb4d7c8d0cb05 | a4ee306ac560fc2f92d3e45ff47a63aa49eae085 | /scripts/graph1.R | f5c41c2ca648aacde1b04a27bedac93dac36aa8d | [
"MIT"
] | permissive | albertklam/final-project-INFO201 | 917cc404062568eec9aa9fe1a30f143f3e69c405 | 925a364df4164a75a52c59644d8cc0b1f9ba0125 | refs/heads/master | 2022-10-27T02:35:08.984885 | 2020-06-16T21:25:20 | 2020-06-16T21:25:20 | 272,814,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,657 | r | graph1.R | # Graph 1 Tab Panel for Shiny.io
graph_1 <- tabPanel("First Graph",
mainPanel(h1("Graph 1 Title")))
library(dplyr)
library(plotly)
#load data
co2_data <- read.csv("data/global.1751_2014.csv", stringsAsFactors = FALSE)
# Returns a stacked bar chart for the co2_data, given specified
# years
build_... |
6233a6a7e72d35c67a8942c252b2ee4016e00f05 | 4bcb27b3b8f6d8f7fb2de20e08943e05d6aeaf84 | /Waterquality_timeseries.r | 99160b4fd3107b989c4f1711fec2bce113cf8f80 | [] | no_license | shoumikgoswami/IIM-A-Capstone | 161bb54968d784d3ce7e75336781ac4b8193eb85 | 7bab12ddc90d3c0f6f7673f149dde8d4f6810686 | refs/heads/master | 2020-04-03T03:08:41.330972 | 2018-10-27T15:10:23 | 2018-10-27T15:10:23 | 154,977,458 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,300 | r | Waterquality_timeseries.r |
library(forecast)
library(fpp)
library(TTR)
library(ggplot2)
data <- read.csv("waterqualitydata.csv")
row.has.na <- apply(data, 1, function(x){any(is.na(x))})
sum(row.has.na)
final_data <- data[!row.has.na,]
head(final_data)
final_data$mean_temp <- as.numeric(as.double(final_data$mean_temp))
final_data$mean_ph <... |
781d3c414d1d596a8611eecdba213fc7af60722c | c74585b6ce68a1363bd9fe8f2eabd1b0c81a8ce0 | /MonteCarloUnique.r | 33de8c2210fd93f07016ee0cf2176aabcb143069 | [] | no_license | ccrismancox/PSRM_signalingGames | f2e94ffe3fc3c474b35b5d799089968333bd558c | 24c133053e9400b18962505b33c1ad24179c178a | refs/heads/master | 2020-06-27T07:39:38.058843 | 2019-11-30T22:26:07 | 2019-11-30T22:26:07 | 199,887,265 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,228 | r | MonteCarloUnique.r | ############################################
############################################
######## Estimating Signaling Games ########
######## Monte Carlo Experiment ########
######## Unique Equilibrium ########
############################################
############################################
rm(... |
0a6d215302649540d72209ea8a1c176d8d287cfc | 2bc59a2d2a9b7562e66b1108b7ff87c2aee1a506 | /ch04/ch04_3_graph.R | 822fe8020e14e5124d1d2ebeab982c5d9eb102ea | [] | no_license | ckiekim/R-Statistics | 4bb78296b9e59761bdfac63433a44abf19c4e386 | d7b6f1bb32a15b310254e524ab4cf277a124a6f0 | refs/heads/master | 2020-06-05T03:35:42.388304 | 2019-07-05T08:35:39 | 2019-07-05T08:35:39 | 192,299,631 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,412 | r | ch04_3_graph.R | # 다양한 표본분포 그래프
windowsFonts(malgun = "맑은 고딕")
par(mfrow=c(1,1), family="malgun", oma = c(0, 0, 0, 0))
# 그림 4.10 카이제곱 분포
df <- c(1, 3, 5, 10)
x <- seq(0, 20, by=0.01)
chi2.1 <- dchisq(x, df[1])
chi2.3 <- dchisq(x, df[2])
chi2.5 <- dchisq(x, df[3])
chi2.10 <- dchisq(x, df[4])
plot(x, type="n", xlim=c(0, 20), ylim=c(0, ... |
91efb5ec29751ec93fd44c8a9b4a5422c62a8aa6 | da6b648740a173faf93e5aa468750faaf043403c | /create_gene_coexpression_categories_for_gowinda.R | c6152f501bdab537f55badb810d8f804cfad0a16 | [] | no_license | griffinp/desiccation-selection | 2567959dd5f21c3af0ea783142fae4fc336362ec | 2e8a76f62a92cef602ccbbf56183dfdac6ebb97a | refs/heads/master | 2021-01-21T19:28:39.535345 | 2016-11-14T00:47:33 | 2016-11-14T00:47:33 | 41,017,204 | 0 | 0 | null | 2015-09-14T04:12:21 | 2015-08-19T06:27:35 | R | UTF-8 | R | false | false | 2,882 | r | create_gene_coexpression_categories_for_gowinda.R | # This script aims to make a 'gene category' file for use in Gowinda
# using the modules of co-expressed genes reported in Huang et al. (2015) PNAS
setwd("~/Documents/Drosophila Selection Experiment/gowinda_gene_category_enrichment")
female_modules <- read.csv("Huang_et_al_female_modules.csv", header=TRUE,
... |
39f15ab017f4764ebda41b4fb08647da6c932957 | 6dd721bd95b9508b07f764fa1b0b456fde903fed | /Projekt_MS/Zajęcki/MS/acceleraion_jap_vs_eu.R | b138e30e8a63e9c8f7daaa91222a2870b393c9e8 | [] | no_license | MacPiston/MS_Proj_2020 | 7e56ea05826432a8d5f5aec3f23df176b451891d | 19895d457a03d7171d860006e72e526135a74a2b | refs/heads/master | 2022-09-02T04:04:42.187321 | 2020-05-31T20:35:50 | 2020-05-31T20:35:50 | 263,100,065 | 1 | 0 | null | 2020-05-31T16:04:31 | 2020-05-11T16:39:13 | R | UTF-8 | R | false | false | 653 | r | acceleraion_jap_vs_eu.R | #CZY AUTA JAPOŃSKIE (origin == 3) PRZYSPIESZAJĄ LEPIEJ OD EUROPEJSKICH (origin == 2)?
#Przyspieszenia dla obu typów
acceleration.japan <- Autko$acceleration[Autko$origin == 3]
acceleration.european <- Autko$acceleration[Autko$origin == 2]
#Przeprowadzenie testu
acceleration_jap_vs_eu.test <- t.test(acceleration.japan,... |
6d97974d93e261c127240825c748479a062d75f8 | d48e34adc6063a5ca3dbfd772ad186fb93922f50 | /package/clinDataReview/tests/testthat/test_skeleton.R | 84bf6cb9b284d20a201466fbdc1cbca51bc637dd | [] | no_license | Lion666/clinDataReview | 080832a95b74bebb595d59796758b9e8b4cf4e18 | 2876140f36c6bfe94d8626038d32b2f3f9477697 | refs/heads/master | 2023-08-05T18:55:26.658847 | 2021-10-01T16:55:27 | 2021-10-02T10:41:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,095 | r | test_skeleton.R | context("Test report skeleton")
library(tools)
test_that("Example xpt files are correctly extracted to the specified folder", {
dirData <- tempfile("data")
clinDataReview:::moveXpt(dirData)
res <- list.files(dirData)
expect_length(res, 8)
expect_setequal(object = file_ext(res), expected = "xpt")
})
t... |
20141df97bc05949a16e63d33f808e2474a9fd6d | 221fd3b98e991eef661fabc72a40c3b64979e2b2 | /shiny.R | 73685fd30d0b59596d3b0f4c70e9155fa6ab2402 | [] | no_license | Kamil32323/Projekt-R | 9fbfb2287a02abd448654513c155d898798c9c4b | 8d2f26b2582f3c1072fc8a3b10f68ea83112eabb | refs/heads/master | 2021-01-13T04:34:34.419061 | 2017-01-20T11:22:17 | 2017-01-20T11:22:17 | 79,553,213 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,426 | r | shiny.R | library(rvest)
library(shinythemes)
library(ggplot2)
library(shiny)
library(leaflet)
library(RColorBrewer)
library(knitr)
library(maps)
library(rvest)
library(stringr)
library(stringi)
library(ggmap)
url1 <- read_html("https://www.olx.pl/praca/informatyka/")
oferty <- url1 %>%
html_nodes('.link stro... |
0925a97d1fa292ab03a69a179924423ea994ecee | 23738ffa9afb0151a822adf9f3f1a9664a827790 | /asu/math205/week05/hw/hw05.r | f257a7532d871abf0220b65ecd49ec3d1de51c72 | [] | no_license | etellman/ubb | 83eb84dba9d03d8c22e5a84c2509ce9eaff4e087 | 1320f5597042681dc67f608c468f72aa2b86f417 | refs/heads/master | 2020-03-29T20:10:54.783175 | 2015-11-09T02:05:36 | 2015-11-09T02:05:36 | 10,315,509 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,277 | r | hw05.r | math205.dir <- '~/Documents/U/ubb/asu/math205'
data.dir <- paste(math205.dir, 'data', 'bps', 'PC-Text', 'ch05', sep = '/')
setwd(data.dir)
week.dir <- paste(math205.dir, 'week05', sep = '/')
figure.dir <- paste(week.dir, 'hw', 'figures', sep = '/')
# exercise 27
dd <- function(d) 2.69 + 0.0138 * d
plot <- ggplot(dat... |
8f0d12d4a03c563a8ff4df59b23bfa4779c61380 | a561c75d192118d304a9df7504f9bbcc8847b27b | /R/outlier_filtering.R | 6bb14c9380efad1e2e7d83d7428d55cdc81f17ae | [] | no_license | nkurzaw/TPP2D | abd9815772cd9ef88fd6efef678047030fe9c3af | 007e79f700ad4ae8c7beae04de3c3443e8c3afb0 | refs/heads/master | 2023-05-10T08:17:11.587895 | 2023-04-25T15:10:18 | 2023-04-25T15:10:18 | 162,263,308 | 8 | 1 | null | 2020-01-16T16:15:06 | 2018-12-18T09:27:58 | R | UTF-8 | R | false | false | 3,990 | r | outlier_filtering.R | #' @import dplyr
.removeAmbiguousMeasurements <- function(in_df,
qualColName = "qupm"){
representative <- temperature <- conc <- value <-
raw_value <- NULL
out_df <- in_df %>%
group_by(representative, temperature, conc) %>%
filter_(paste(... |
ad452201ed4aa02d5a823c4617bc97a40e18cba8 | e0fb4c6dc56cd73d1b4346ca6f0a973f2c63e8dd | /02_heatwave.R | 2fcc3030431fc5bc516ef313dbb3d4fd79634f82 | [] | no_license | Sugirlstar/CDHEs-in-China | ee8e169d395573336d052d85ecd321f05a3ebcfd | c59e96fd60bffcc00c62354d2b5341eff3b23dee | refs/heads/main | 2023-04-14T14:16:28.292602 | 2022-05-10T14:04:13 | 2022-05-10T14:04:13 | 457,317,774 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,574 | r | 02_heatwave.R | # Note:
# 1. This script was written in Rstudio (Version 1.4.1717),
# but was recommended to be ran in the original R for saving memory space.
#
# 2. We use foldable code sections in Rstudio
# to break the large source file into a set of discrete regions
# for easy navigation between them.
# Each secti... |
599398074823249d5f9bf5e813a3cd25157336b5 | 032e5462c5aaed41b7c12f12abdf24a60c6da416 | /TP06_2/MLperceptronTP06_3.R | b8afb9a75467992737ec91a1d15a7219b75c4a8f | [] | no_license | antonioanunciacao/Redes-Neurais-Artificiais | f8a98c963acb52688502d1e5d719769211629f88 | 0e87a60bc81c9ab005e975eb583bd1cf5bb9ab2d | refs/heads/main | 2023-07-13T23:28:09.880983 | 2021-08-14T05:44:51 | 2021-08-14T05:44:51 | 341,011,263 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,924 | r | MLperceptronTP06_3.R | rm(list=ls())
dev.off()
library('plot3D')
library('roccv')
library('mlbench')
# Multi Layer Perceptron:
MLPerceptron <- function(xin, yd, eta, tol, maxepocas, neuronios, xtest, ytest, fold) {
dimxin <- dim(xin)
N <- dimxin[1]
n <- dimxin[2]
wo <- matrix( runif( (n+1)*neuronios, -0.5, 0.5), nrow ... |
0ef652e6de5db3645ee86e8e137273da8ef45c10 | 17fa6070d713cc2e4a0ce6d60c255703c4c2b6f2 | /data mining/lab/party.r | 62377275fb6e4f9f40d9643ff2a09a819245224d | [] | no_license | IT-H1/6Sem | 464cd38958c6b951e80c00fc35c1594e9531d52d | 768cb217af42c394f0fd98b2f2b354651a347bc0 | refs/heads/master | 2022-03-24T04:22:51.026831 | 2019-11-07T04:57:48 | 2019-11-07T04:57:48 | 117,665,087 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 992 | r | party.r | library(readr)
library(dplyr)
library(party)
library(rpart)
library(rpart.plot)
library(ROCR)
set.seed(1200)
titanic3="https://goo.gl/At238b"%>%
read.csv%>%#read in the data
select(survived,embarked,sex,sibsp,parch,fare)%>%
mutate(embarked=factor(embarked),
sex=factor(sex))
summary(titanic3$fare)
summary... |
ee1cf54fe811ca334708d6dbec36809e752a4fd7 | 0284cda1023b82fcb23f46373fe8d406273494dd | /man/simmLW.Rd | 3b04405d995692f7ef615de91d88cc097240eeaa | [] | no_license | flyingxiang/CCRWvsLW | b206569dd094a795a391c1bda8f8e821bf221f5b | fdccfa229695f7d92ffd6a709cb524a43d25e013 | refs/heads/master | 2021-01-22T17:39:56.325678 | 2016-06-10T20:36:30 | 2016-06-10T20:36:30 | 65,390,605 | 1 | 0 | null | 2016-08-10T14:45:43 | 2016-08-10T14:45:42 | null | UTF-8 | R | false | false | 1,054 | rd | simmLW.Rd | \name{simmLW}
\alias{simmLW}
\title{Simulate a Levy Walk (LW)}
\description{Simulate a Levy Walk (LW). This model represent the movement of the Levy search strategy.}
\usage{
simmLW(n, mu, a)
}
\arguments{
\item{n}{one integer value for the sample size. Note that this sample size represent the number of final step le... |
075206047c5b5d4bfd882370a41116ba8f6f4e1b | 8c9e734b89de7c252d968631ba2cc57b43403497 | /man/detectMultipleExcursions.Rd | c43a2b99adfd7ed5fd0c18f60858ed90bf57c8fb | [
"MIT"
] | permissive | LinkedEarth/actR | 2e5e630fb24d0ed4b66f2a8e798edbdf5a2a3082 | 08bf459531002ab8520e59afc83457c922427e76 | refs/heads/main | 2023-06-24T02:42:36.839094 | 2023-06-16T23:37:07 | 2023-06-16T23:37:07 | 359,257,314 | 5 | 0 | NOASSERTION | 2023-03-30T22:58:10 | 2021-04-18T21:34:02 | HTML | UTF-8 | R | false | true | 3,295 | rd | detectMultipleExcursions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/excursion.R
\name{detectMultipleExcursions}
\alias{detectMultipleExcursions}
\title{Detect an excursion in many timeseries}
\usage{
detectMultipleExcursions(
ltt = NA,
n.ens = 100,
surrogate.method = "isospectral",
null.hypothesis.n =... |
066d20d7dc9686df125fd7efca296842303c3b4c | 0217dd9843c9462108ebf43d5b5f6feff1bbb65c | /man/add_privilege_to_cohort.Rd | 9b3af058162d262ddbbd8962176d8f85e477f39f | [] | no_license | aneuraz/DWHtools2 | 44f833f07dc15735d4134e57ce119a90949ec38c | 4c3eb585c331c680b4212352215708a763a54c71 | refs/heads/master | 2021-03-30T17:20:43.931314 | 2019-09-06T09:55:33 | 2019-09-06T09:55:33 | 90,238,636 | 0 | 1 | null | 2019-09-06T09:54:38 | 2017-05-04T08:18:04 | R | UTF-8 | R | false | true | 523 | rd | add_privilege_to_cohort.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/queries.R
\name{add_privilege_to_cohort}
\alias{add_privilege_to_cohort}
\title{add_privilege_to_cohort
For Dr. Warehouse}
\usage{
add_privilege_to_cohort(num_cohorte, username, privilege, config)
}
\arguments{
\item{num_cohorte}{cohort numbe... |
c7eeb96c41c4d0407e32d8b30094743f1b1c5bbc | 5e6caa777731aca4d6bbc88fa92348401e33b0a6 | /man/data_ratings.Rd | ce7c464d208a01d68fcd07fbd22b2466ebbc5025 | [
"MIT"
] | permissive | metamelb-repliCATS/aggreCAT | e5c57d3645cb15d2bd6d2995992ad62a8878f7fb | 773617e4543d7287b0fca4a507ba4c94ee8f5e60 | refs/heads/master | 2023-05-22T19:51:20.949630 | 2023-03-31T05:21:39 | 2023-03-31T05:21:39 | 531,484,296 | 6 | 1 | NOASSERTION | 2023-03-31T05:03:05 | 2022-09-01T11:15:36 | R | UTF-8 | R | false | true | 1,144 | rd | data_ratings.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{data_ratings}
\alias{data_ratings}
\title{P1_ratings}
\format{
A table with 6880 rows and 7 columns:
\describe{
\item{round}{character string identifying whether the round was 1 (pre-discussion) or 2 (post-discussi... |
da2ff07192b4d045d4e57c36d84d55499755b9c4 | ff06aa938c67437e4c65bb65d23851254e287cd3 | /man/scoreMDscan.Rd | 11265e16944f88febf71c60f55920e7e734ee401 | [] | no_license | mikepipo/MEET | dc9acad5dad5d89b2c55295f60e5f699b5ade613 | c5c94fddbbe4188dd5234bd3229d94e1810a548d | refs/heads/master | 2021-01-19T21:32:21.066281 | 2012-12-12T00:00:00 | 2012-12-12T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 607 | rd | scoreMDscan.Rd | \name{scoreMDscan}
\alias{scoreMDscan}
\title{
Output MDscan method
}
\description{
This function writes the output MDscan method. The output contains the next fields:sequence, direction, score MDscan.}
\usage{
scoreMDscan(input, k, matriu, direction)
}
\arguments{
\item{input}{Score MDscan}
\item{k}{Length DNA seq... |
819f58434d2f2f0f808c180e41d02acadac43df9 | 97f677c4c25409815436fc2cb549b620c505a4cd | /load_refs_from_bib_isaac.R | 4b8230356424627d5a576b3a2dfa23f8d21a7eb0 | [] | no_license | ascelin/interdiscp_cons_sci | 041c286b79aca9a40ae59d915d57c038ec6f155b | cee36aeb99dcc882e283f3919bec6a9c2fd722a5 | refs/heads/master | 2020-03-17T08:57:07.136931 | 2018-05-15T03:48:09 | 2018-05-15T03:48:09 | 133,455,810 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,397 | r | load_refs_from_bib_isaac.R | rm(list = ls())
library(RefManageR)
load_ref_number <- function(filename){ #load the citation from each bobtex reference and place into vector
refs <- ReadBib(filename)
ref_length = length(refs)
ref_nums <- array(0, ref_length)
for (ref_ind in seq_len(ref_length)){
ref_nums[ref_ind] <- as.numeric(refs[[re... |
a9a21c7851a4bf93532fb8dee04d2a0b762192b6 | e58eefe6af8f9826ef1a11c1408ca4a36e1078cd | /tests/testthat/simulate_data.R | 3a8c81ab48ee288506c066f5c2de4cfc515172f2 | [
"GPL-2.0-only",
"GPL-1.0-or-later",
"BSD-3-Clause"
] | permissive | rfherrerac/MOSS | 53d35699f91fbb9429df7931984798717a0839a1 | 6359ee0b2c75f6c1fef86c9ae0407a97db80e93e | refs/heads/master | 2020-09-16T13:40:06.433364 | 2019-04-30T00:42:23 | 2019-04-30T00:42:23 | 223,786,850 | 0 | 1 | BSD-3-Clause | 2019-11-24T17:59:08 | 2019-11-24T17:59:07 | null | UTF-8 | R | false | false | 1,721 | r | simulate_data.R | simulate_data <- function(n_sim = 2e2) {
library(simcausal)
D <- DAG.empty()
D <- D +
node("W1", distr = "rbinom", size = 1, prob = .5) +
node("W", distr = "runif", min = 0, max = 1.5) +
node("A", distr = "rbinom", size = 1, prob = .15 + .5 * as.numeric(W > .75)) +
node("Trexp", distr = "rexp", ra... |
99d1bfb7f5d7caa1abc1ae4cda4a5ac0a57b2187 | d73f9baee755dd89d05dd168d8018e8a8ea8c54e | /bare_peat_indices.r | 119e800b3f0f8745068c0a6d3ae62e35980601ae | [] | no_license | duncansnh/Bare-peat | caffd8e83630d64d33302a123233e2e13b3720da | 56889a8baa9fd6d84c1b6a151f6dfda97a62f5ad | refs/heads/master | 2022-04-05T22:55:36.468787 | 2020-02-26T17:00:33 | 2020-02-26T17:00:33 | 238,246,969 | 4 | 0 | null | 2020-02-21T10:56:10 | 2020-02-04T16:05:20 | null | UTF-8 | R | false | false | 3,426 | r | bare_peat_indices.r | # calculates various indices for bare peat mapping
# vectors too large to apply in one script, therefore carried out with single raster at a time, controlled
# input by moving rasters between folders on remote sensing drive.
library(raster)
library(stringr)
setwd("B:/92279_Bare_peat_Duncan/R_classification")
... |
d073e7d42ffcef9bb5bf56f6bb68fc12a76e22a5 | 737ad8357d5705871db68801e2af5f5e7797684e | /descargas/archivados/whileArchived.R | 1e17472d623492f2e4eda7f8879f1c95cf66f372 | [] | no_license | arielolafsalgado/rnetwork | 2a3bb8b4d4d545fd8a56547e8ae296083c3785ca | 4b0df3d1bc8342cadd8c439f72a38ad8ad5d45e3 | refs/heads/main | 2023-04-11T20:35:59.891530 | 2021-05-21T15:48:25 | 2021-05-21T15:48:25 | 369,582,453 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,410 | r | whileArchived.R | require(rvest)
require(XML)
require(stringr)
packages = dir('archive-pages')
folder = 'archive-webpages'
dir.create(folder)
baseURL = 'https://cran.r-project.org/web/packages/DUMMYTEXT/index.html'
for(pack in packages){
url = sub('DUMMYTEXT',pack,baseURL)
fileName = paste(folder,pack,sep='/')
if(!file.exis... |
f6b9da557e4aba0a66e92cfc30b548f4bf94e1f2 | 81b4d0b3d84cbfebf71dd99a399944e632af4adc | /old_education_content/smbc_r_workshop/lesson4_code.R | be07fd099f83cfe3dbc121a541cabff45beded4b | [] | no_license | SMBC-NZP/smbc-nzp.github.io | 5f6ef40ef6b6439f46ca2a54cf0e3036dc8f63ce | 48b79a5e9e4d5e983cccf8f85c80bc944e293817 | refs/heads/master | 2023-06-04T00:53:30.749944 | 2021-06-23T13:54:52 | 2021-06-23T13:54:52 | 116,872,663 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,734 | r | lesson4_code.R | # R worksheet script, lesson 4
#=================================================================================*
# ---- set-up ----
#=================================================================================*
# Load RCurl library (allows you to read online data and code to be read):
library(RCurl)
# Note: ... |
e47e803630fcd619a135c462b212df3add4155e8 | 0ec591e5f04ea9da677f2b804f5f60a90447ff89 | /laggedOrderedLassoNetwork/R/timeLagLassoNetworkReconstruction.R | 8a3f52759202b68507f9977c8cb74e1bd0e00c35 | [] | no_license | pn51/laggedOrderedLassoNetwork | 1027ab60579a291ce97b96eace0eaa9b7fa22541 | 91f66c1f89f5edfc9e1a7b8bbfe465ff3134c528 | refs/heads/master | 2021-06-27T07:32:48.785442 | 2019-05-17T05:34:26 | 2019-05-17T05:34:26 | 137,845,108 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 14,371 | r | timeLagLassoNetworkReconstruction.R |
#' @title .timeLagLassoLaggedData
#' @description .timeLagLassoLaggedData
#' @keywords internal
#' @param xData lagged expression matrix (n x (p * maxLag))
#' @param yData output expression or change-in-expression vector of length n
#' @param maxLag maximum predictor lag
#' @param lambda vector of penalization paramet... |
543c8afcc85b350c53cf6b3c3eb31a4d70ae3e36 | 34920b982a3142f9d8dcdcc20cde5e09fcb11701 | /_code/R/array-analysis.R | c6618f02e7d549353233b2a4a12615f0eb5ad567 | [
"LicenseRef-scancode-public-domain",
"MIT",
"CC-BY-4.0"
] | permissive | nesi/hpc_training | 2eddf24ccc859896523123405c6cef3cde10efbf | 32d765cfdf654c507a80027e92398660c96b6c09 | refs/heads/gh-pages | 2020-06-27T05:01:24.167975 | 2019-01-14T22:54:04 | 2019-01-14T22:54:04 | 97,046,680 | 6 | 21 | NOASSERTION | 2019-01-14T22:54:05 | 2017-07-12T19:54:00 | HTML | UTF-8 | R | false | false | 481 | r | array-analysis.R | # array-analysis.R
#
# Code is from readings-02.R as part of SWC lesson http://swcarpentry.github.io/r-novice-inflammation/05-cmdline/
#
# Date: 7 March 2017
#
# first argument to script is filename
# file is read in and the mean per patient is outputted
main <- function() {
args <- commandArgs(trailingOnly = TRUE)
... |
750adf39444752abdcbb7255c5e426162990f5de | 06c5b53309119df677dfad0dd098587fa4eb5a41 | /Module/old/SimulationStudy.R | f0d9de2c295db32ba26529a9fc18f37964ce50ea | [] | no_license | SebastianGPedersen/masters-thesis | 15025eba545d480bb803e8723a96545340a94d3d | 5d8ab1ec79c47bd641d15e923a0896e66ae223e0 | refs/heads/master | 2021-06-05T08:34:07.871365 | 2020-09-28T20:56:23 | 2020-09-28T20:56:23 | 112,249,633 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,743 | r | SimulationStudy.R | #######################################################################
# #
# FROM HERE WE CHAIN EVERYTHING TOGETHER TO FORM THE SIMULATION STUDY #
# #
################################... |
0fcc5b76033a1b14eea700009e310f86bad8b0ee | 271b855741c31fb6e7448debb33bcfe9ee9a8aeb | /4.Classification/KNN.R | 8a4285bc1d94c00332adaff36ef779ca3a791413 | [] | no_license | mrech/StatisticalLearning_R | 94a74fe719570665865e7d841b6040a2a5278f74 | 472e037bb82d17df2e5a6a316038af67b453e7d9 | refs/heads/master | 2020-04-24T14:38:54.555621 | 2019-08-20T18:48:34 | 2019-08-20T18:48:34 | 172,029,091 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 526 | r | KNN.R | ## K-Nearest Neighbors
library(class)
?knn
attach(Smarket)
objects(2)
# build a matrix of lag1 and lag2
Xlag = cbind(Lag1, Lag2)
Xlag[1:5,]
train = Year<2005
# classify a new observation, based on the trining set in the x space
# you look for the trining obs closest to your test point in
# Euclidean distance and clas... |
eefadf381c027f648923300d2d945a5e10c8ef1f | 1348830c4ac089d25b841bbb87283937d6362769 | /MDS 570 - 2019 Fall A/Notes.R | e782069a89762a44f6b7a096163787fab451bbf8 | [] | no_license | megancusey/DataScienceCoursework | 1a14938bc2070f21c64af44e92881e1ebe3e9c60 | 77b0799055e2d09f3fa98a318b52b96f27f5744c | refs/heads/master | 2020-08-26T22:43:12.674912 | 2020-06-15T02:49:39 | 2020-06-15T02:49:39 | 217,170,696 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,065 | r | Notes.R | ## GENERAL:
## Level: The average value in the series.
## Trend:The increasing or decreasing value in the series.
## Seasonality:The repeating short - term cycle in the series.
## Noise:The random variation in the series.
##
## Additive:
## * Components are added together
## y(t) = Level + Trend + Seasonality + ... |
bdf87b4c93ad2397846c8631c4c1f895155f5c2b | acba28164b85a58690a4222eb54bfffc9a2a9b1a | /codesnippet.R | 6732819d2a542a28230ce5f777e6d9f9000e3970 | [] | no_license | sanyalh/Learning-R | 8d15dcd9d1334acc70500d7f07be355bb90c95b3 | a05e71248e6c6aa0ea69d39cfbf92449ba6573b7 | refs/heads/master | 2022-11-14T17:50:04.534987 | 2020-06-17T15:25:42 | 2020-06-17T15:25:42 | 268,294,177 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 166 | r | codesnippet.R | ### 1
x <- tibble(
x=1,
y=10,
z=25)
x
### 2
abc <- tribble(
~x, ~y, ~z,
#--/--/--
"a", 10, 5,
"b", -2, 3,
"z", 5, -9
)
abc
|
be9f3b7484f44a3ee04185deeeae6df4fbc5b75e | 80801619972937f36b5bbee36e0e23bb05c16dbf | /debug/9/script.R | a923b898dff94afd9fa01923726a8b7c6e5ea45c | [] | no_license | ashtonbaker/pomp-practice | cf15ea4fa39a107454f09bc8338274ec8c20ef12 | b1e7820e7c28bef20b9bdf126e74cea4889ca447 | refs/heads/master | 2020-05-21T20:51:27.863302 | 2016-11-28T22:00:45 | 2016-11-28T22:00:45 | 61,384,320 | 0 | 1 | null | 2016-10-28T15:44:14 | 2016-06-17T15:37:43 | Jupyter Notebook | UTF-8 | R | false | false | 9,518 | r | script.R | library(ggplot2)
library(plyr)
library(reshape2)
library(pomp)
library(magrittr)
library(reshape2)
library(foreach)
#options(echo = FALSE)
stopifnot(packageVersion("pomp")>="1.8.8.1")
read.csv("./data/data.csv") %>%
subset(weeks <= 40, select=c(weeks,rep,L_obs,P_obs,A_obs)) -> dat
dat %>%
melt(id=c("weeks","rep"))... |
5c1be39267b3be3f0c85432ec99e4daf4ecf35ed | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/multiplex/examples/semigroup.Rd.R | 281c93781e522bdfaf1d1910a6a4d97595ad6574 | [] | 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 | 418 | r | semigroup.Rd.R | library(multiplex)
### Name: semigroup
### Title: Constructing the Semigroup of Relations
### Aliases: semigroup
### Keywords: algebra math
### ** Examples
## Create the data: 2 binary relations among 3 elements
arr <- round( replace( array(runif(18), c(3,3,2)), array(runif(18),
c(3,3,2))>.5, 1 ) )
## optio... |
d0ca86886ed2914a67a475d2df73bad8adbe1685 | f42d1165f3ebcff06bc2d555d42a2d4770db687c | /man/mlb_player_full.Rd | f9aa7cb2fdc83385cc405daae24d50943c2a1fd4 | [] | no_license | IvoVillanueva/mlbstatsR | 11fc14d7d6a070d46dcde76fc451e204333afe66 | 2f20733d75be7cc11d88c452e4eea7d47788d750 | refs/heads/main | 2023-08-04T01:33:34.286957 | 2021-09-09T17:57:27 | 2021-09-09T17:57:27 | 361,255,437 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 839 | rd | mlb_player_full.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mlb_player_full.R
\name{mlb_player_full}
\alias{mlb_player_full}
\title{Estadistica oficial bateo y pitcheo de los jugadores de la MLB (baseball)}
\usage{
mlb_player_full(year = year_actual, stats = "hitting", season_type = "regular")
}
\argu... |
63aeac380ef9b899f7dbd0670c136d58faa976d0 | 94a4c2d5e3b95b8b0eed54d6a49a3916351a6d75 | /R/documents.R | 20cd536809898eaa3fc1c7d001ecefe7b567469a | [] | no_license | lee269/companies_house | e5f1c2f6b2861734bc0a3d7d34ca61429e0be844 | ef4cc73fb123d7532551c85040d747f67e53b6a9 | refs/heads/master | 2020-06-14T20:25:48.798956 | 2019-08-31T16:53:32 | 2019-08-31T16:53:32 | 195,116,267 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,415 | r | documents.R | # Documents: https://forum.aws.chdev.org/t/cant-access-documents-from-amazons3-server/1871
# Sys.setenv(http_proxy="http://10.85.4.54:8080", https_proxy="https://10.85.4.54:8080")
# retrieve filing history table for a company
get_filings <- function(company_number, key, category = NULL, items_per_page = NULL){
par... |
0706a9da6ad5d72cfeda2ad8e56d03df7beee85d | a859b51a4581b12dc5415689db308db6f11d7bd1 | /R/search_candidates.R | 1cb634abf7a7fec170366de56cf83c89f7ca4ae7 | [
"MIT"
] | permissive | gpli/DNB | e93a71c269790185a2a10d599f01ebf80058aa03 | 534e1f8080e2f583ca4432127d28451b10c489f7 | refs/heads/master | 2022-09-27T22:32:52.468486 | 2022-09-16T06:23:36 | 2022-09-16T06:23:36 | 166,069,293 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,132 | r | search_candidates.R | #' Search Candidate DNB genes
#'
#' Cluster by correlation, caculate DNB scores of all subtrees, and get best DNB
#' score for each time point
#' @param dnb a DNB object
#' @param min_size minimum gene number in subtree. Default 2.
#' @param max_size maximum gene number in subtree. Default Inf.
#' @param included_genes... |
48106255781f822dd09a28ed251c1cf528e2d4c3 | 3f0ad54d14c701ce6017a3f7b7393b85fd5d6239 | /low_valence.R | b3ab93accf53af49c19ee986178af06aedaa15fa | [] | no_license | luciasalar/WeiboDepression | d4396e2a7af65fb90ac9433d88299031dd44dba2 | b5b1664e03197cf7c21a82302dcd0b320c04deb8 | refs/heads/master | 2020-04-18T19:30:48.226334 | 2019-02-15T16:53:31 | 2019-02-15T16:53:31 | 167,713,586 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,527 | r | low_valence.R | require(reshape2)
#in this script, we will see if there's any characteristics in the low valence group
#87345 posts in 3 years
# The valence statistics of the whole sample (n = 1629) in 3 years
# #Min. 1st Qu. Median Mean 3rd Qu. Max.
# #-0.800000 -0.009214 0.113420 0.122521 0.255556 0.950000
... |
f7c3101a89e41ef0438b4c333f27371e063376ff | 7a80b37618e249375c41d76cd34f21747daf94ff | /day06/r10.R | 20d9bd477198ca46c4f39dcd486e2cfeb19762fd | [] | no_license | gangdor/R | 57080ffcf7b3c2b56077af6eaf5ff5bb607cdff9 | 7e3ed6e7e79ab1d7a92be90b29ffed96585780da | refs/heads/master | 2020-03-07T09:19:41.099166 | 2018-04-09T12:09:39 | 2018-04-09T12:09:39 | 127,404,701 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 471 | r | r10.R | # 함수만들어서 그래프 저장하
g1 <- function(a){
library(ggplot2)
if(a==1){
p = ggplot(data=mpg, aes(x=displ,y=hwy))+geom_col()
jpeg(filename = 'c:/rproject/ais1.jpg', width=680,
height = 680, quality = 100);
}
else{
p = ggplot(data=mpg, aes(x=displ,y=hwy))+geom_col()
jpeg(filename ... |
4e6aaffb7ba3d7c3fa25e557fc8876afa813e150 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/6123_0/rinput.R | 341577cb847a6c78a1dfc6d13e945e4d692c5f5e | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("6123_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="6123_0_unrooted.txt") |
af0591f5a769687b1adbfe0978f9a9e58a94c5c7 | 8a87ac5a13ed42ef99a7f0e566e07e32207c885a | /refm/api/src/rubygems/config_file.rd | b6ac125c7870d641fe95568f678740729a9333a9 | [] | no_license | mrkn/rubydoc | cf096e253afbe11d94a7b390645f18872754e5f1 | dff08665e8c537073d3ebab5b98d4bcd175055b5 | refs/heads/master | 2021-01-18T14:54:27.743911 | 2010-08-15T06:15:58 | 2010-08-15T06:15:58 | 876,651 | 1 | 0 | null | null | null | null | EUC-JP | R | false | false | 4,866 | rd | config_file.rd | require rubygems
設定ファイルに書かれている gem コマンドのオプションを
オブジェクトに保存するためのライブラリです。
= class Gem::ConfigFile
設定ファイルに書かれている gem コマンドのオプションを
オブジェクトに保存するためのクラスです。
このクラスのインスタンスはハッシュのように振る舞います。
== Public Instance Methods
--- [](key) -> object
#@todo
引数で与えられたキーに対応する設定情報を返します。
@param key 設定情報を取得するために使用するキーを指定します。
--- []=(key, value... |
b03a2878e00b533a6b556e9945e5832cbb1f53c3 | 091771e6a8bf3a8f63b0e8e21368ad1fccda9979 | /SVMcode.R | 78e9ec1a77788cbc91e836ff8afb1a65332f6c58 | [
"Apache-2.0"
] | permissive | CarlosSequi/DataMining-KaggleCompetition-SVM-KNN-DecisionTree | d1f89b437c4e6aa828bbbb7fdcf48548a1a2c82f | bcb19fe4cf483e7152a6d2cf2a54e6c6dd978b33 | refs/heads/master | 2020-06-11T07:01:15.774182 | 2019-06-26T10:42:05 | 2019-06-26T10:42:05 | 193,884,795 | 0 | 0 | null | null | null | null | ISO-8859-13 | R | false | false | 1,674 | r | SVMcode.R | # Cargamos la librerķa con las funciones para SVM
library(e1071)
library(caret)
library(mRMRe)
library(NoiseFiltersR)
library(mice)
library(DMwR2)
library(unbalanced)
set.seed(42)
train = as.data.frame(read.csv("data/train.csv", na.strings = c("?")))
test = as.data.frame(read.csv("data/test.csv"), na.strings = c("?"... |
c30c235912d78fcc0560934e7a3fb0cc48f1c2b7 | f9e21f8402098e77b879271ac6aafe7954f73bcd | /Guertin_week4/section6.2.R | e84f351af3bfe03601d4583eb3b7e92c91aa164d | [] | no_license | guertinlab/bioc8145 | fd87e78e49c2e069a385d382213d12200964ad6a | 358c56e68a38a66d8da70db96dc6d72dbab13fa6 | refs/heads/master | 2023-05-13T20:57:11.322968 | 2021-06-11T15:07:00 | 2021-06-11T15:07:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,791 | r | section6.2.R | # if on rivanna
#module load gcc openmpi R/3.6.1
#you only need to run the next line once to install the packages
source('install_pkgs.R')
library(lattice)
library(DESeq2)
library(dplyr)
library(fgsea)
library(ggplot2)
library(gage)
library(limma)
source('https://raw.githubusercontent.com/mjg54/znf143_pro_seq_analysis... |
01ce68eb01e0820fdba129987cd695854a319fda | 1a50b4f1ec326c3c876071f7455b623abf5e84c3 | /man/getCoefficients.Rd | cd03e8171e9142d0f2b4b74c3d1c67c7aa6a6d6e | [] | no_license | larajiuk/screenr | 671d3201c8a6d2d269d4c236afef7558cc64e7ab | d5dc80934258f3f68350c0318ccf31d4617e952f | refs/heads/master | 2022-10-20T16:24:50.804955 | 2020-06-23T19:56:52 | 2020-06-23T19:56:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 481 | rd | getCoefficients.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/binomialScreening.R
\name{getCoefficients}
\alias{getCoefficients}
\title{Extract the estimated coefficients from \code{binomscreenr} objects}
\usage{
getCoefficients(x)
}
\arguments{
\item{x}{An object of class \code{biomscreenr}}
}
\value{
... |
962bfe3af9420de1c9fffa521496656187f2aaf0 | c0fd3479d07b93417b5ec2b6f59d2e20795ce1e1 | /Broad Analysis/Analysis Fold Cange Matrix.R | e834f2b27a045e8c2693a44b72474d59d247ea09 | [] | no_license | datascience-mobi/project-02-group-05 | 3f16460cacde49d12b5dfefab123a429c72a3e64 | 2af103e768f597ac03d23fcfa6240bebaffef23d | refs/heads/master | 2020-05-07T10:10:18.965108 | 2019-07-24T09:35:56 | 2019-07-24T09:35:56 | 180,405,392 | 0 | 2 | null | 2019-07-04T22:40:10 | 2019-04-09T16:12:44 | HTML | UTF-8 | R | false | false | 4,501 | r | Analysis Fold Cange Matrix.R |
################################# Analyse Fold Change Matrix #####################################
##################################################################################################
##################################################################################################
###################... |
c38b19be85302e684ad487dcda6546bc4e5511fe | 902c3d15223c86fb0170abb1d72c144d6277527e | /run.R | d1eaf8ba3c6c4912e54549b7b1506bc4b74ed516 | [] | no_license | selinerguncu/Attraction-Effect | 082a662ae3e8e85bef6603e2e64eb6b47c0c40f0 | 8caf4cac9c65a044248199731ee7d3d290f6fac0 | refs/heads/master | 2021-01-01T05:20:56.297195 | 2016-05-16T16:01:27 | 2016-05-16T16:01:27 | 58,946,404 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 209 | r | run.R | install.packages('R2WinBUGS')
library('R2WinBUGS')
source('./1_cleaning.R')
source('./2_brandset.R')
source('./3_pairs.R')
source('./4_distance.R')
source('./5_competitors.R')
source('./6_allBrandsMerged.R')
|
1de14f3da86a49c52e1943231c8c56ef8cc3bb52 | 5900034ca65f07b3af5898e60b54aa81d8020a7e | /man/is_vectorised.Rd | 191a3f0082eee8b88a41608a53615ae5cf05c37e | [
"MIT"
] | permissive | pmcharrison/seqopt | c2ea9d7176d204a5b55c61f84d655958c9c3a43c | b1ef5dfbc5c68f21500a8bbc15d61fe8a1875d47 | refs/heads/master | 2020-03-26T00:43:10.412179 | 2019-03-28T10:39:55 | 2019-03-28T10:39:55 | 144,333,932 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 311 | rd | is_vectorised.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cost-fun.R
\name{is_vectorised}
\alias{is_vectorised}
\title{Is vectorised?}
\usage{
is_vectorised(x)
}
\arguments{
\item{x}{Object to check.}
}
\value{
Logical scalar.
}
\description{
Checks whether a cost function is vectorised.
}
|
6dca1047075bc676a152e8506136fc9c1fdb40ba | 94af76e0b5c187a0dbf55d6443d62714f0d6590f | /TP4/tp4/phonemes.r | 5e65597a99f92906f89f9d81593d5646c2fba046 | [] | no_license | paulvale/SY19-MachineLearning | cca6898cc0e335340daae23ce7dbdb4e6bbf7507 | bdf76041db0d4f99ac0b620fce98571d3c32e599 | refs/heads/master | 2020-12-14T09:51:55.435480 | 2017-01-11T13:21:07 | 2017-01-11T13:21:07 | 68,795,837 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 30,991 | r | phonemes.r | # LOAD DATA
library(MASS)
library(pROC)
library(nnet)
library(glmnet)
library(leaps)
library("FNN", character.only = TRUE)
library("hydroGOF", character.only = TRUE)
library(tree)
library(e1071)
phoneme = read.table("data/phoneme.data.txt",header=T,sep=",")
# ====
# x.1, x.2, ... x.256, g, speaker
# ====
x <- phoneme$... |
4a1c6d58f0d5c63693d510925d423cbe0969be65 | 90659cbbb3f4f79c9fff3679e6f8bb35e14643ee | /test.R | f2b1a259faf06913bfc17447865f28e0853d70cc | [] | no_license | xinye1/beta_strat_backtesting | 2be9c17ed4a97b07a1253cbaa67b9c8d7772f045 | dba1a6490a1dbbe9a72472f72e732ceac9e98e77 | refs/heads/main | 2023-01-27T16:19:11.459456 | 2020-11-25T15:07:04 | 2020-11-25T15:07:04 | 315,340,435 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,443 | r | test.R | index_col <- 'Eurostoxx600'
target_year <- 2019
target_cycle <- 1
holding_months <- 4
portf_size <- 30
beta_history <- 6
cycle_cal <- prices %>%
select(date) %>%
getCycleCal(start_year, end_year, holding_months)
test <- selectStocks(
prices, index_col,
cycle_cal, target_year, target_cycle,
holding_months, por... |
942783871cb2e48b3c2635b908fc19b5b5e364ad | 3ecb301d5a93745c00cdb8074982c6d386512668 | /Scripts/UrbanData.R | b7b23b98b0b1c76572482bf2b810055abcdb3f3a | [] | no_license | stevenmosher/BerkeleyEarthFunctions | 2b257a269808cf978fe1ba160a18d2b2c8b77799 | 0d4df017e00e820e5b851309f23f39d6b1e3808e | refs/heads/master | 2021-01-20T20:37:03.679288 | 2016-08-25T18:23:56 | 2016-08-25T18:23:56 | 62,077,511 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,209 | r | UrbanData.R | source("Initialize.R")
d1 <- "G:\\BerkeleyEarthFunctions\\Data\\GlobeLand30_ATS2010_1"
d2 <- "G:\\BerkeleyEarthFunctions\\Data\\GlobeLand30_ATS2010_2"
d3 <- "G:\\BerkeleyEarthFunctions\\Data\\GlobeLand30_ATS2010_3"
F1 <- list.files(d1, full.names=T,recursive = T, pattern= 'TIF')
F2 <- list.files(d2, full.names=T,recu... |
9af7158aa8acb5db30fcac61d01a6376bbb8d9ce | 4a35619d33a38a5294f8a3de11f77afed55c8101 | /cachematrix.R | f0d75e46d779e524c71ff2b221b6ddd88203b32b | [] | no_license | ericmwalkup/ProgrammingAssignment2 | cb84d4663c734bfee42d856eeec19103da70113a | 1d1b5075ffce04f8ab176e7813b52a4968adf9bd | refs/heads/master | 2021-01-13T07:59:28.419386 | 2016-10-23T10:03:33 | 2016-10-23T10:03:33 | 71,693,810 | 0 | 0 | null | 2016-10-23T09:40:21 | 2016-10-23T09:40:21 | null | UTF-8 | R | false | false | 1,571 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Creates a matrix, creates functions, makes a list of the functions
MakeCacheMatrix<-function(x,nr,nc)
{
minv<-NULL # set inverse to null in function env
mtx<-matrix(c(x),nr,nc) ... |
6d01d9fb927ff89f6c3798ba959284e8cbcf1d8c | 203d706a170d47dce247f438a9c5dd17dfbabff6 | /man/LogLikeliHood_byObs.Rd | beaa3686dee02beec83d2b6915f3e31fe8b1281c | [] | no_license | minister3000/TVTP2 | 6ff06c448975a17e3357469b87ee331cb6648ac7 | 7d16f5604c7520cadcc85dea43c568efed901139 | refs/heads/master | 2022-01-15T13:15:06.527404 | 2019-07-23T04:52:17 | 2019-07-23T04:52:17 | 198,351,311 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 484 | rd | LogLikeliHood_byObs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{LogLikeliHood_byObs}
\alias{LogLikeliHood_byObs}
\title{LogLikeliHood_byObs}
\usage{
LogLikeliHood_byObs(param, datax, n_explanatory, n_transition,
prob_initial_state_0, printLogLike)
}
\description{
\code{LogLikeliHood_... |
8a1abb347a9b06f1249b79290441cd865d73f5c2 | 1a9b47bd2faf66aa674470811a53e0845bfb7286 | /test.R | aba0adb174444cf644beb514b805c9fb92d59593 | [] | no_license | kmina11/test-repo | 9edce92a98b8a73d865f94330498b3740bfe673a | b387c507c9767f327ba209e7c7a1ffec32166d49 | refs/heads/master | 2016-09-14T19:07:56.802855 | 2016-05-18T03:49:51 | 2016-05-18T03:49:51 | 57,351,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 58 | r | test.R | ####This is test for git push and pull
a<-5
b<-3
c<-b/a |
ee0586e460a44448a5746a5fc455511233682329 | 4570bdd4f6a1ef5f9fb6935da05338624d919d84 | /data-raw/building_permits.R | 5c1fa9ae7c7432ca41d3a82df120969517a44c9b | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hfboyce/datateachr | 41de4ffa4e0847b98ce5714231badd6d853afcf7 | 78d391f4ee0d3f3979ed38d4192c66d18361590b | refs/heads/master | 2022-12-07T09:42:43.755585 | 2020-08-21T20:32:41 | 2020-08-21T20:32:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,014 | r | building_permits.R | library(dplyr)
library(tidyverse)
src <-
"https://opendata.vancouver.ca/explore/dataset/issued-building-permits/download/?format=csv&timezone=America/Los_Angeles&lang=en&use_labels_for_header=true&csv_separator=%3B"
raw <-
read_delim(src,
delim = ";",
col_types = cols(ProjectDescription ... |
8816fd2ead183cda0c7721ad9079b8871106a770 | 980f570c0e740594473d42757816981de58b5470 | /Rsrc/R/plot-cpue.R | 2437df3127e3a856766911243a484ca75a0a23f0 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | LarryJacobson/gmacs | 334f24fee6cd651f5e580d2225e1fac026d9757b | e5e999d3fdff2f392d6e48c11bdfe290bc672434 | refs/heads/master | 2021-01-14T12:44:45.044908 | 2015-01-16T01:05:01 | 2015-01-16T01:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,077 | r | plot-cpue.R | #' Plot cpue or other indices
#'
#' @param replist List object created by read_admb function
#' @return Plot of all observed and predicted incices
#' @export
plot_cpue <- function(replist){
df <- get_cpue(replist)
p <- ggplot(df,aes(year,cpue))
# p <- p + geom_point(aes(col=sex))
p <- p + geom_pointrange(aes(year... |
97d1f3433f7acb2f13e79494b4e3e9f208fbc3ac | eda751fd8916aafb27e6a7ec01287615f0a6b220 | /Scripts/DeepLearning_H2O.R | cfef52853901b07fcb0816f22f453655d54b3e9b | [
"MIT"
] | permissive | Miyake-Diogo/Artificial_Inteligence_and_MachineLearning_Formation-Udemy | fb9df3cfa64b79d9b8e871a1625213fdadd0ac4e | bc715e831e7d07bc72c01d4d2b4f01a8063992a6 | refs/heads/master | 2020-03-22T03:51:33.989826 | 2018-07-06T12:06:09 | 2018-07-06T12:06:09 | 139,456,460 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,504 | r | DeepLearning_H2O.R | # Formação IA e ML - UDEMY
## Deep Learningo com o H2O
#warnb , desligar os warnings sem relevancia
options(warn=-1)
#importa arquivos de digitos, importar treino
digitos <- read.csv(gzfile(file.choose()), header=F)
# cada linha possui 785 colunas, são 784 pixels e mais uma coluna para a classe (digito)
dim(digitos... |
6a0d1ed6c769bfe4ba84de67eec5176f07c19553 | 8a5ccdad17eff711fb5a4ad320c088a531b5e69d | /R_scripts/ggplot2_dplyr/003-dplyrDemo.R | 1b0174514c3b00676e30525624fa8a830f59ba59 | [] | no_license | DawnEve/bioToolKit | 6ec41245ad63246f470350d1d3996a512011d3a8 | 148762dec920374174563969e87b5b2313cc1dc4 | refs/heads/master | 2023-02-07T19:11:55.487040 | 2022-12-16T13:30:53 | 2022-12-16T13:30:53 | 77,501,142 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 15,087 | r | 003-dplyrDemo.R | #############
# 学习dplyr包
# version: v0.2
#
# 特别提示:
# help: 光标在关键字上,使用f1查询帮助文件。
# docs: https://dplyr.tidyverse.org/
#
# dplyr basics: http://r4ds.had.co.nz/transform.html
# local docs: http://127.0.0.1:27228/library/dplyr/doc/dplyr.html
#############
#单表操作函数
# mutate (变形/计算函数)添加新的变量 adds new variables that are functio... |
fde079dd9a105b35cf0646255fb62da8818a3482 | ab43e673e5e6a3f2152a976b0201ab26bd666b2c | /man/play_n_games.Rd | a717d560b97c8a45b679c7365884285105f1bafe | [] | no_license | herbertm533/montyhallgame | 7bbea4dd4280e5de044edbbf6103057e7c25fc81 | ebd62868d076475927b2707d6df1721c6d2b7f9c | refs/heads/master | 2022-12-13T01:37:35.980216 | 2020-09-20T07:28:03 | 2020-09-20T07:28:03 | 297,012,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,235 | rd | play_n_games.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/monty-hall-problem.R
\name{play_n_games}
\alias{play_n_games}
\title{Play the Monty Hall Problem game a set number of times.}
\usage{
play_n_games(n = 100)
}
\arguments{
\item{n}{= The number of times the Monty Hall game will be run.}
}
\valu... |
7c33b0a1a9b26fc91ed0acad80c06bbf803a3a9c | a28fc38a0378905ac32e969dbff37565cf6aec60 | /Final Project.R | 29c8db113af59ba7fa07e7fcaa87cd09863c9aa5 | [] | no_license | DeeptiChevvuri/Inventory-Management-Analysis--Manufacturing-Industry | a6dcee6f5dfd4d9573372223801b7cf77685fa69 | da5d48699707149832bf7d4ec496cd81d8723c9a | refs/heads/master | 2021-05-14T13:23:40.109615 | 2018-01-05T23:57:45 | 2018-01-05T23:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,574 | r | Final Project.R | #Final Project
InvDataSet<-read.table("G:/MIS/Sem 2/Stat 526/Project/Final Project/InvDataSet2.csv",header=T,sep=",",quote = "\"")
summary(InvDataSet)
head(InvDataSet)
plot(InvDataSet)
plot(X6~X5,data = InvDataSet, main = "$ On Hand vs. Item Cost",pch=20,xlab = "Item Cost",ylab = "$ On Hand")
plot(X6~X7,data = InvDataS... |
88258e608da0083fd8d3202c0d5df151d17ebdc1 | f3c36c1e579c79392d968c1555e4a8a6809193b0 | /2014/Scripts/length_distribution_hist.R | fd2512652b1e5a98839420e27bd763c1492b839d | [] | no_license | taylorstewart/Predator-Diets | 7e6979803839d8049f806f18828fd14303efd290 | 4b698e8167c5682f4d756ec4f99c6be13cf7bc41 | refs/heads/master | 2021-01-21T13:14:27.360035 | 2016-05-24T13:34:03 | 2016-05-24T13:34:03 | 49,217,318 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,091 | r | length_distribution_hist.R | ## Load Data
source("2014/Scripts/data_init.R")
diet_spring <- readWorksheet(db1,sheet="Calculated Data")
lw_spring <- readWorksheet(db1,sheet="Spring LW Data")
diet_fall <- readWorksheet(db2,sheet="Calculated Data")
lw_fall <- readWorksheet(db2,sheet="Fall LW Data")
## -----------------------------------------------... |
b0f36d7e4f5c5a93a45664150f62514158cfe2aa | 3e692132e9a1372d5c9181fed53871febc547298 | /Bootstrap of wighted variance/analysis result of bootstrap.R | 256eaf248f54c7cc1b38534d5ddfb35b61e8f9ba | [] | no_license | Duanchenyang/WeightedADMM | df00cdaa0fb2df7c17922de9b1e5d65ee01741ca | 97c5d75f8aa1f50dc89605bb682aa7610e3c7e97 | refs/heads/master | 2022-12-15T08:03:19.222045 | 2020-09-08T12:08:18 | 2020-09-08T12:08:18 | 266,042,696 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,569 | r | analysis result of bootstrap.R |
#####calculate the variance of relative abundance of weighted data
varweightq <- seq(0,0.98,0.01)
for(q in 1:length(seq(0,0.98,0.01))){
varianceweight<-rep(1,500)
for (i in 1:500){
print(i)
try_csv <- try(read.csv(paste('~/Desktop/data saver/weighted_ADMM',i,'.csv',sep="")),silent = TRUE)
try_answ... |
5dd910636081d73793eda1b2536b43c225013c62 | 4381cdab9ed7922c2cd16fdebf129fcf95487a2d | /plot4.r | 1cd9987757987e51bc41a3fdfaac28789a9790a0 | [] | no_license | aspiringguru/Exploratory-Data-Analysis-Project-2 | d225d30e95eb2ed0203cc4234f62d47f5e1e6e88 | 4ce1c128a58f8b0dacf6383bd7d95e25a66ebe47 | refs/heads/master | 2016-09-06T14:35:23.924717 | 2015-04-10T00:25:53 | 2015-04-10T00:25:53 | 31,008,075 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,321 | r | plot4.r | ##-----------------------------------------------------------------------------------------------
##Across the United States, how have emissions from coal combustion-related sources changed from 1999–2008?
##-----------------------------------------------------------------------------------------------
library(reshape)... |
0d8df158124818c148e7bf054fa111b71cd340e7 | a8f726a887f60405dbc1714d06ef49787d8f6f0c | /3. getting-cleaing-data/week1/readfor.R | 71a169ef7d88e8e4875779c95867a45664ca3157 | [] | no_license | antitov/Data-Science-Specialization-Coursera | e834e7dbccb63fff8fb182e17f079d84ac96b60f | cb44e01e8894684f252a29a2a39fb94b2e6009c8 | refs/heads/master | 2020-12-26T00:19:50.373157 | 2016-11-01T21:03:49 | 2016-11-01T21:03:49 | 33,913,965 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 216 | r | readfor.R |
fileURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fwksst8110.for"
download.file(fileURL, destfile = "data.for")
sst <- read.fwf("data.for", widths = c(15,4,9,4,9,4,9,4,4), skip = 4)
file.remove("data.for") |
1822f27fe9efca6e040009bb259d439afedf2439 | 530eea15263a914e4bed5e14291fda1b07939232 | /packages/fsParams/man/getMultiCombinations.Rd | 1743b0ea9f75e31549cd7c8bea8a165619466654 | [] | no_license | seventm/fsproj_alzheimeroptimaldiet | cc3dddfcf79f00df5ae62bbdb7c558d6061b2c9e | ba0b3643e13999735bae57f5f2754db08399ff7f | refs/heads/master | 2020-11-23T23:21:05.141878 | 2019-05-24T10:32:20 | 2019-05-24T10:32:20 | 227,861,901 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 381 | rd | getMultiCombinations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/params.R
\name{getMultiCombinations}
\alias{getMultiCombinations}
\title{Get combination for list of vectors}
\usage{
getMultiCombinations(x)
}
\arguments{
\item{x}{list of vectors}
}
\value{
list with replicated vectors
}
\description{
Get c... |
26816fdc485870869b313417ffc3199390ec1fe0 | eb99455fad40524d703391d42ccde6eb606dea9c | /code/fig_3.r | 8a6eb073690c12a570900d0b46a4320402807da1 | [
"MIT"
] | permissive | yangxhcaf/traitsyndromes | a61bfe0d5e512a1a3087a0e9db62413c146b42a9 | 41d3d8666a1411187e88a01322f3ec94f2b5eb6f | refs/heads/master | 2022-12-20T00:35:21.500311 | 2020-09-21T14:16:09 | 2020-09-21T14:16:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,912 | r | fig_3.r | # Code for reproducing fig 4 on climate change scenario
#library(ggplot2)
#library(reshape2)
#library(gridExtra)
#library(splitstackshape)
#library(extrafont)
#root = "/home/sonia/Dropbox/Shared_SimonBenateau/MarinaProject"
#setwd(root)
source("code/functions.R")
# Where do I save my figures ?
if(!dir.exists("figu... |
2d393be35ad38cbcdd6b5917d957d796e982c062 | 29ce175254b27a361714074b99fe5644ca2c3158 | /man/links.delaunay.Rd | baaa52c4a1f716450683dddc62b5b72c1688c87f | [] | no_license | raz1/Momocs | 148903d3f05428e72d7cef8ede46c0bba7f80f04 | 09a817bb0720d87969d48dd9e0f16516e042e13e | refs/heads/master | 2021-01-17T18:09:55.724182 | 2014-08-15T14:49:17 | 2014-08-15T14:49:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 625 | rd | links.delaunay.Rd | % Generated by roxygen2 (4.0.0): do not edit by hand
\name{links.delaunay}
\alias{links.delaunay}
\title{Create links (Delaunay triangulation) between landmarks}
\usage{
links.delaunay(coo)
}
\arguments{
\item{coo}{a matrix (or a list) of (x; y) coordinates}
}
\value{
a matrix that can be passed to \link{ldk.links}, et... |
2555483b2f01c788c44112f92e8da311cf786f8c | d062ed2119a3cee565eaf62931b6b963ac1f550d | /R/Dataset_data_task.R | f810c690430a06174cac183fd92fbea59f3db464 | [] | no_license | FredHutch/JDRFCAV | b06927fad7f9e83823689f8af1ed17857de68418 | 905178ca1d4bbf11365c894e229fec7accf8170b | refs/heads/master | 2020-04-11T10:09:42.301715 | 2019-06-28T22:24:56 | 2019-06-28T22:24:56 | 161,705,304 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 301 | r | Dataset_data_task.R | #' Dataset, Multi assay data in mlr's task format
#'
#' mlr's task (NO functionals implemented YET), therefore, use sep to at analyte name to exatract assay annotation
#'
#' @format mlr's task
#' \describe{
#' \item{data_task}{task}
#' ...
#' }
#' @source JDRF multi center efforts
"data_task"
|
4b210bf13ebbd7448d2a3e6140048e971c5d86a6 | 58f46e3a93ef5369ad8dc73ea3b21db829f1dcac | /man/cs_get_cert.Rd | b6ea4417d2543b36a5379a20d9bfb2d2a6b105a4 | [] | no_license | firebitsbr/sslsaran | 4702023b7eae80a60e95e8021aa7ee67b488e332 | 059dce4fb35e18596642216e05895ca3e18f9e6c | refs/heads/master | 2020-04-07T21:23:27.975802 | 2018-02-20T17:51:43 | 2018-02-20T17:51:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 968 | rd | cs_get_cert.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cs-get-cert.r
\name{cs_get_cert}
\alias{cs_get_cert}
\title{Get Certificate Object}
\usage{
cs_get_cert(sha256, as = c("df", "pem", "der"),
sslmate_api_key = Sys.getenv("SSLMATE_API_KEY"))
}
\arguments{
\item{sha256}{hex-encoded SHA-256 dig... |
785d83018bfeac06bad2d8d0870c0ab8d36728fe | 843604a4d2f1a4eb21f576f098ec3c8c3be096c6 | /R/61_model_checks_coefs.R | 2f0f1207facbaac761cc2e1efa3591e0e749af2f | [] | no_license | bmait101/swass | bdc8bc27db591cf379219a97f7fe815157af000d | faeaaddcd3774ff207b520712317be9615777510 | refs/heads/main | 2023-04-18T21:52:32.101132 | 2023-02-07T16:42:55 | 2023-02-07T16:42:55 | 476,374,093 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,625 | r | 61_model_checks_coefs.R |
theme_clean <- function() {
theme_minimal(base_family = "sans", base_size = 12) +
theme(
plot.background = element_rect(fill = "white", color = NA),
panel.background = element_rect(fill = "white", color = "black",
size = .5),
panel.border = element_rect(fi... |
9b649a2dbc759186057cf73d74ad1bf7ba97ed82 | b29ab6b419491c455d362b370c2ee54e551c3dbd | /Quadrat_Analysis_example.R | 44213b149546d3d945bae90c9f3fce635d616e5d | [] | no_license | Junkai0727/GIS | 7218b62ca49f6a523615a67dcc338229b9a60c27 | c8ea36c14752fe18bea472cf94d78c2761c5cba7 | refs/heads/main | 2023-02-16T05:06:44.842971 | 2021-01-09T12:43:48 | 2021-01-09T12:43:48 | 326,631,828 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,920 | r | Quadrat_Analysis_example.R | library(spatstat)
library(here)
library(sp)
library(rgeos)
library(maptools)
library(GISTools)
library(tmap)
library(sf)
library(geojson)
library(geojsonio)
library(tmaptools)
LondonBoroughs <- st_read(here::here("DATA", "statistical-gis-boundaries-london", "ESRI", "London_Borough_Excluding_MHW.shp"))
lib... |
1a5d85718a255760729e31ba016d82a92fad43b8 | d4288dc5baf4ca0f59fe414f55b1ad7a442abc7e | /man/plot_captured_demog.Rd | 41cdb3de887e5bfe7b96886cca5c7fb2a8a40681 | [] | no_license | courtiol/SileR | c9c3d3e091d207c685bb6729ceb6aaf8fdb7207e | e914b6090aba8a8eacad5feec0839d8a52625035 | refs/heads/master | 2021-06-03T17:23:15.030331 | 2020-05-09T12:54:34 | 2020-05-09T12:54:34 | 130,906,264 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 635 | rd | plot_captured_demog.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/figures.R
\name{plot_captured_demog}
\alias{plot_captured_demog}
\title{Plot demographic information for the captured elephants}
\usage{
plot_captured_demog(data, save_pdf = FALSE)
}
\arguments{
\item{data}{The dataset to be used}
\item{save... |
3f993bc6762c7f20f11b06390d8248dd9afeaf9f | 34044ff876022bb64b70b5d73aa3e3545f8ca9f1 | /.Rprofile | b4eda612c67525919ec4e04fe0b5b0fd8f500b3c | [] | no_license | popgenomics/configFiles | 8aaf66edcce63bc7e6dddc666ab97929004840c5 | 54dbe2198af6cb6c195b99b6b813b1800fad83c4 | refs/heads/master | 2021-01-17T05:06:47.472557 | 2019-03-22T14:32:40 | 2019-03-22T14:32:40 | 58,917,186 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,978 | rprofile | .Rprofile | library(colorout)
setOutputColors256(202, 214, 209, 184, 172, 179, verbose=FALSE)
options(width=160)
library(txtplot)
library(NostalgiR)
mode=function(x){
dst=density(x)
return(dst$x[which(dst$y==max(dst$y))])
}
HPD=function(x,P){
#x=vecteur
#P=90 si on veut 90% de la distribution
return(x[which(x>quantile(x,(10... |
c43015726204c1aebb7a38d19b3356b994e40b0c | 07443e2cb1c97e384313a6c4a6d1dd76caeb67a6 | /plot2.R | 54d26aa06eba58794f50fc3d45a50d120004184d | [] | no_license | liady/ExData_Plotting1 | 0d2021d06a2cb98a610a6c451dcfb19daeeb942f | b0be25d86bbc395a85a7255dc70f29252f5c8de3 | refs/heads/master | 2023-08-19T01:00:50.848543 | 2014-06-07T22:34:22 | 2014-06-07T22:34:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,132 | r | plot2.R | # This file reads the power consumption data from a file,
# and writes to a PNG file a plot of the Global Active Power
# This function reads the data from the file, subsets to desired dates,
# fixes all variables, and returns the data frame
getData <- function (){
# read all columns as characters (for better ... |
93726839ccafad6d0b3343f93ee697b757090223 | dcaf408194e93b10ee1b9fa565c95b77f29adb0c | /DTS350TemplateMaster/DTS400/GE2 Plots of continuous vars2.R | 28d8e7caf3a517bc4abca12f019a6a03d5182efb | [] | no_license | WJC-Data-Science/DTS350-hollinbergert | 75efd19f33f5298558f7e6a70b9e337d0e62a5b5 | 65524d55ef4ad995306dd0d36e5de1f54c068c67 | refs/heads/master | 2023-02-01T07:56:17.089980 | 2020-12-18T14:03:31 | 2020-12-18T14:03:31 | 293,891,064 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 106,912 | r | GE2 Plots of continuous vars2.R | #' ---
#' title: "GE2 Plots of continuous vars2 "
#' author: "TomHollinberger"
#' date: "11/22/2020"
#' output:
#' html_document:
#' keep_md: yes
#' toc: TRUE
#' toc_depth: 6
#' #' code_folding: hide
#' results: 'hide'
#' message: FALSE
#' warning: FALSE
#' ---
#' ---
#' THIS RSCRIPT USE... |
1da7ce8fdbf5b36c8341491f52bb060f1c802197 | 68ccdf6931c377c3922dea0d2fcc15a660002e09 | /man/CITEseq.Rd | 95af92d0e94908e4897b9de286691403b1f66ac2 | [] | no_license | waldronlab/SingleCellMultiModal | 476a71b9df8bdce939f47d84a7c34d1fe1088750 | 409a6e0d8a152449fbb92c206d22c41465995849 | refs/heads/devel | 2023-08-08T17:00:36.498649 | 2023-07-11T21:44:48 | 2023-07-11T21:44:48 | 222,560,510 | 15 | 9 | null | 2023-07-11T21:36:00 | 2019-11-18T22:53:03 | R | UTF-8 | R | false | true | 4,309 | rd | CITEseq.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CITEseq.R
\name{CITEseq}
\alias{CITEseq}
\title{CITEseq}
\usage{
CITEseq(
DataType = c("cord_blood", "peripheral_blood"),
modes = "*",
version = "1.0.0",
dry.run = TRUE,
filtered = FALSE,
verbose = TRUE,
DataClass = c("MultiAssa... |
23794b73673b9d3fc263b141e1593c97853a4152 | 01f77d296f16aef7bc41f49abe78f03d33b060fb | /StarCompare2017.R | 4de399af4a333c6c2ae044074222e0cbc217ee1a | [] | no_license | mishoe/Rootmetrics | b97737cae91fc5ce7a1864d08a33fca029179152 | 8ab4cbe580ca4f1746574f8b43ae0fce0982f3ce | refs/heads/master | 2021-04-12T10:06:27.743251 | 2018-04-26T00:08:47 | 2018-04-26T00:08:47 | 126,742,249 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 51,110 | r | StarCompare2017.R | market_data_1<-read.csv("rating_data/rating_data/market_report_sets_ratings_1H2017.csv",header=T)
test_data_1<-read.csv("test_summary_data/test_summary_ratings_1h2017.csv",header=T)
rootscore_data_1<-read.csv('rating_data/rating_data/rootscore_ranks_1H2017.csv',header = T)
collection_sets_1<-read.csv('rating_data/ratin... |
b3c044ef07e433e7685fc9cf3d122cb6c77a34ad | ea524efd69aaa01a698112d4eb3ee4bf0db35988 | /man/expect_is.Rd | fc0482d40548de66964fc2b3b5def70149561460 | [
"MIT"
] | permissive | r-lib/testthat | 92f317432e9e8097a5e5c21455f67563c923765f | 29018e067f87b07805e55178f387d2a04ff8311f | refs/heads/main | 2023-08-31T02:50:55.045661 | 2023-08-08T12:17:23 | 2023-08-08T12:17:23 | 295,311 | 452 | 217 | NOASSERTION | 2023-08-29T10:51:30 | 2009-09-02T12:51:44 | R | UTF-8 | R | false | true | 1,442 | rd | expect_is.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/expect-inheritance.R
\name{expect_is}
\alias{expect_is}
\title{Does an object inherit from a given class?}
\usage{
expect_is(object, class, info = NULL, label = NULL)
}
\arguments{
\item{object}{Object to test.
Supports limited unquoting to ... |
b6ba694967f4aa3a25fd2c001c78ef122330f554 | 1f758c363e2644ccadabf28148caca0cb52bf283 | /RExpressionView/R/launch.R | c686aa1be1365db4cdecf1907548e7ccf6409224 | [] | no_license | gaborcsardi/ISA | 7d934d7cfb93cf11cdd3175ea45f1d91fb330568 | 4c2fd674ca434e0f166636de94b226917be38876 | refs/heads/x | 2021-03-12T23:26:47.086731 | 2017-03-01T14:57:03 | 2017-03-01T14:57:03 | 10,396,379 | 6 | 3 | null | 2020-06-11T18:32:05 | 2013-05-31T02:29:52 | ActionScript | UTF-8 | R | false | false | 170 | r | launch.R | LaunchEV <- function() {
swf <- system.file("ExpressionView.html", package="ExpressionView")
url <- URLencode(paste("file://", swf, sep=""))
browseURL(url)
}
|
c2403e5ece2a870d1c60ab68b431361349fbeea4 | 478ee600eb1a2e188aa185ae52afc116f69a1002 | /code/04c_tissue_analysis/02b_check_sl_t1.R | 55d1341fadfad685d6bc75f8928e9fe61d057c71 | [] | no_license | erflynn/smoking_sex_expression | fed8090ad5209064aade2dda9707ea292f70c8c9 | 5e6a12716498da9c25aed0a8261d1e697eea2afe | refs/heads/master | 2023-08-04T14:06:27.088820 | 2021-09-27T15:11:18 | 2021-09-27T15:11:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,042 | r | 02b_check_sl_t1.R | # GSE31908, GSE40013, GSE17913, GSE2125, GSE36868 (no)
gse1 <- getGEO("GSE31908") # 20 missing sex labels
dim(exprs(gse1$`GSE31908-GPL570_series_matrix.txt.gz`)) # 17
dim(exprs(gse1$`GSE31908-GPL96_series_matrix.txt.gz`)) # 50
dim(exprs(gse1$`GSE31908-GPL97_series_matrix.txt.gz`)) # 50
gse31908 # ... 40 ...
ggplot(sl... |
e6d9a23cd3fa9532d4934344d527fbfdd405fde9 | f663a843dcd66b1d4e15bfe6b9a6f618a169c3f7 | /fluoro/R/raman_mask.R | a7444b1364a4fa7d55d8294cb8050074a415c6d7 | [
"MIT"
] | permissive | rhlee12/Fluoro-Package | 44556f53aaf7a455aa9229138b11367143e90903 | 07d6f88df2a56ad9220d12de96ee53b9e2cfedae | refs/heads/master | 2021-03-30T17:56:33.852014 | 2018-05-30T22:18:51 | 2018-05-30T22:18:51 | 118,687,653 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,892 | r | raman_mask.R | #' @title Mask Rayleigh Scatter
#'
#' @author Robert Lee
#'
#' @details Masks first and second order Rayleigh Scatter on the supplied EEM with the specified value
#' (defaulting to 0 if no value entered.)
#'
#' @param \code{eem} - A properly-formatted EEM, produced or read by a \code{fluoro} function.
#' @param \code{m... |
5588dc6e02aa27f847620dd9e2d4cc674a5a1907 | 06772dd41870da689df082609992e032970bac12 | /R/tfbs.overlaps.R | 36584ca0a58c638bf425f1b29e728bd22b3408ec | [] | no_license | TheSeoman/Scripts | 6c5ffa94d4c0e144a31f9f9e54ca324d90586ee0 | 3fb59b6ac7e24c6dba266d47ca7aeedbb2bb57c1 | refs/heads/master | 2021-05-15T15:00:56.679283 | 2018-04-11T18:03:39 | 2018-04-11T18:03:39 | 107,265,319 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,633 | r | tfbs.overlaps.R | source('Scripts/R/paths.R')
require('GenomicRanges')
load(PATHS$EXPR.RANGES.DATA)
load(PATHS$METH.RANGES.DATA)
load(PATHS$SNP.RANGES.DATA)
load(PATHS$TFBS.RANGES.DATA)
enlarge.ranges <- function(ranges, flanking) {
enlarged.ranges <- GRanges(
seqnames = seqnames(ranges),
ranges = IRanges(start = start(rang... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.