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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a3a46c4b9922368ae0cceda28b0022ee50a04e1a | 2113b1ef587481e9c458e115bc049edaf88ad719 | /man-roxygen/path.R | 99cadb5eb6095fd80b37448d510f92e44763705f | [] | no_license | KasperSkytte/rdrop2 | bc236a4ecb74867a01b9caf914e6af295384e47e | 3b6084187835bb457cc7974b534bb9f2f3e37696 | refs/heads/master | 2022-04-09T21:53:04.706863 | 2020-03-10T11:24:04 | 2020-03-10T11:24:04 | 105,997,225 | 0 | 0 | null | 2017-10-06T11:29:27 | 2017-10-06T11:29:27 | null | UTF-8 | R | false | false | 94 | r | path.R | #' @param path This is required The path to the new folder to create relative to
#' root.
|
52e24e579c737434285d5e028b928d0a59450a21 | f2d761d35e668ea5ce95ad82b65a06edd91441b8 | /ReadData.R | 25de570f05f86e5fd16f137b57095cf876b6ae67 | [] | no_license | lucia-tellez/MScDissertation_Canon | dba696a9102eeea960f5411649a46a8030f7e4df | 1199683082cf7f5f3ff5abb3916cc74476e01247 | refs/heads/main | 2023-07-11T13:37:08.289178 | 2021-08-16T22:11:12 | 2021-08-16T22:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,595 | r | ReadData.R | # PRELIMINARY ANALYSIS OF FOCUSED DATASET
# Load in focused dataset from INCISE project, link it to metadata from Batch1, create a targets df
# Preliminary overview of dataset with proportions of polyp type, recurrence...
# PCA analysis.
##Load libraries
library(limma)
library(scatterplot3d)
library(stringr)
library... |
5d0afde27731f83ac41834831e0ef0a1dd19a593 | 02f053ce70b065724d4a02619fb402adcc0ec997 | /analysis/boot/boot272.R | 69fb1f35688a62ffc948bf4988c46b570ff94ea1 | [] | no_license | patperry/interaction-proc | 27950482929240bba55c7d0f2f8c5235d770feea | cf8dfd6b5e1d0684bc1e67e012bf8b8a3e2225a4 | refs/heads/master | 2021-01-01T06:11:47.125853 | 2012-12-04T20:01:42 | 2012-12-04T20:01:42 | 673,564 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 3,739 | r | boot272.R | seed <- 272
log.wt <- 0.0
penalty <- 2.8115950178536287e-8
intervals.send <- c()
intervals.recv <- c(56, 112, 225, 450, 900, 1800, 3600, 7200, 14400, 28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600, 29491200, 58982400)
dev.null <- 358759.0022669336
df.null <- 35567
dev.resid <- 226762.... |
ade1357da4365c4cefcfa5cddb28e7826a0ba40c | 2f6c3c28dcc624c098abb33d95384abcbad5330c | /tests/testthat/test-ruigi_task.R | 91c7acaf196e9382bd0e87a014a414eca2f3769c | [] | no_license | kirillseva/ruigi | 498011243c0fe9995ee0cc3b19e7998e60724130 | aaa9eaa4e692ec8897535c4ccbe2eb89a625947e | refs/heads/master | 2020-12-24T16:31:41.892098 | 2019-05-26T10:04:10 | 2019-05-26T10:04:10 | 35,401,422 | 46 | 8 | null | 2019-05-26T10:04:12 | 2015-05-11T04:06:21 | R | UTF-8 | R | false | false | 1,180 | r | test-ruigi_task.R | context('Unit tests for ruigi_task')
test_that('A simple unit test for one node', {
tmp1 <- tempfile()
write.csv(data.frame(a=1, b=2, c=3), tmp1, row.names = FALSE)
tmp2 <- tempfile()
task <- ruigi_task$new(
requires = list(CSVtarget$new(tmp1)),
target = CSVtarget$new(tmp2),
runner = function(requ... |
f6f88bbd05acb99d0471a820ca70e352c4c49d3c | c4c38220e0d9aebaf6558a70029823cfb2cc51b5 | /data/MAAS.R | ed3623e02df3e9c995cb6995b5201f00e845e915 | [
"MIT"
] | permissive | ihrke/2020-ftrsgt-paper | 7eba8234833109aec10880336139f0aaae3cb505 | d2e59b402fdf27dcb09e8adc8bec5b10bfcb2db1 | refs/heads/master | 2022-11-14T07:40:48.492173 | 2020-07-02T12:18:56 | 2020-07-02T12:18:56 | 276,603,905 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 48 | r | MAAS.R | MAAS <- readxl::read_xlsx("data/raw/MAAS.xlsx")
|
702c675433ed32873240a70b6756d78a5dfcd708 | 2ffdfc3b88c5f8d20711d7f413b1bd515d7832e6 | /functions/LeagueSettings.R | 2d7736123a942c1e7026a98ea70f723d35e335b3 | [] | no_license | binaryfever/fantasyhockey | 9fdb01894746f2cf64b406ccb0a3f052877f43b2 | 7171c7f49fbf1f0c6719dccbbc180e80340f007e | refs/heads/master | 2021-08-16T16:37:19.146988 | 2017-11-20T04:36:08 | 2017-11-20T04:36:08 | 111,063,830 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,479 | r | LeagueSettings.R | ###########################
# File: LeagueSettings.R
# Description: User sets league settings
# Author: Fred McHale
# Notes: with inspiration from Isaac Petersen (isaac@fantasyfootballanalytics.net)
# To do: Determine scoring rules
###########################
#Roster
numGoalies <- 1
numDefense <- 1
numForwards <- 3
nu... |
5c88ca205f7a55a07eebb5f1042ee5e64620e0f1 | e987d486b9f5ae338cad881e4bbb42b45dd20ced | /上课/回归分析/期中/analysis/1.stepwise.R | 4050c26253cc9ec3f45ae415d06ec3d1646b6164 | [] | no_license | wlmnzf/courses | 75fb85bee72836a52c08056f6401b47cf3c2ca1f | d9af176bfb6a3d9ab6e0cdaee73f12cd419f6cde | refs/heads/master | 2020-03-29T18:24:45.550501 | 2020-01-17T01:11:02 | 2020-01-17T01:11:02 | 150,210,893 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 493 | r | 1.stepwise.R | #1.stepwise.R
#回归分析
library(readxl)
data <- read_excel("data.xls")
#rm(xlsx_example)
#x49,x50,x51为哑变量分别为负影响,无影响,正影响
tlm<-lm(y~x1+x2+x3+x4+x5+x6+x7+x8+x9+x10+
x11+x12+x13+x14+x15+x16+x17+x18+x19+x20+
x21+x22+x23+x34+x25+x26+x17+x28+x29+x30+
x31+x32+x33+x34+x35+x36+x37+x38+x39+x40+
... |
8d0e86a7a1944797ea6b90feacf2a73b3c5d0a5b | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/SAM/R/samHL.R | 5ceb467d669b75909b9bd140b26681feb06383d4 | [] | 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 | 8,842 | r | samHL.R | #-----------------------------------------------------------------------#
# Package: SAM #
# Method: Sparse Additive Modelling using Hinge Loss #
#-----------------------------------------------------------------------#
#' Training function of... |
9201caf43267454e108c520c1b41201eb9a72418 | b30a7754d83c85a05a9e4d4043f4f86d4b8a146e | /R/filter.R | 3f06d717e6fa685ef705df2d428229092c9b3e06 | [] | no_license | cran/MetFns | ee916cbc684ecd2c8c8bd71241e87925ede01220 | b0bc3c7c4bd7724c0dc725c1560df6286f278b97 | refs/heads/master | 2021-01-17T10:05:52.743380 | 2018-10-13T21:50:12 | 2018-10-13T21:50:12 | 24,534,142 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,404 | r | filter.R | filter<-function(data,date.start=NULL,date.end=NULL,shw=NULL,lat.low=-90,lat.up=90,long.low=-180,long.up=180,
fname=NULL,lname=NULL,site=NULL,country=NULL,mag.low=1,mag.up=8,P.low=0,P.up=90,sol.low=NULL,sol.up=NULL,
h.low=0,h.up=90,r=NULL,C=NULL)
{
data.select<-data
if(!is.null(shw))
data.select<-f... |
8b8813a3a5b991ff4426b47143c5d89b82383ab4 | 8aa69c336da13f338e944e586171e8bdf0c3f87a | /glmmTMB/man/findReTrmClasses.Rd | 78882b976eb5d6ea6c3c2b54b5209fe0d587d3c5 | [] | no_license | glmmTMB/glmmTMB | 4b5612a1cf6ce7567117b3318086fd7b3840e3da | 0e9d26a02e5e36b74120d8c8a35eae0e0960a73b | refs/heads/master | 2023-08-29T14:39:15.855753 | 2023-08-25T22:28:15 | 2023-08-25T22:28:15 | 40,176,799 | 230 | 63 | null | 2023-09-04T11:10:37 | 2015-08-04T09:53:51 | HTML | UTF-8 | R | false | true | 269 | rd | findReTrmClasses.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reformulas.R
\name{findReTrmClasses}
\alias{findReTrmClasses}
\title{list of specials -- taken from enum.R}
\usage{
findReTrmClasses()
}
\description{
list of specials -- taken from enum.R
}
|
713f9a6f61173bf0f9430c7f164a7608f4a7e59c | a71f12d363261c4b67d6f02f5e62a9f82fdf1c0e | /code/block_2/code_riccardo_OpenSSH.R | 1e8c5c4769157e103d028544ab444e0b17481910 | [] | no_license | thechib12/EOS_telnet | 46e1c9231919869238cd797a21ecb66994dcc88f | 22f3b9c6c88c8370ee940117fdaff93793b55eab | refs/heads/master | 2020-07-30T16:14:00.566229 | 2019-10-21T10:43:49 | 2019-10-21T10:43:49 | 210,287,313 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 948 | r | code_riccardo_OpenSSH.R | #---> OpenSSH version status <---
# Load csv file
scans <- read.csv("~/Downloads/telnetscan.csv")
# Select all the rows with OpenSSH in the banner column
os <- dplyr::filter(scans, grepl('OpenSSH', banner))
## Number of unique IPs running OpenSSH
os_unique <- unique(os[,2])
length(os_unique)
## IPs running a spe... |
802a930b67e4febc708493b0313358502037403a | a9550fbcc10bdda5cc6ab8a985a0e8c15c98c100 | /R/treePlot.R | 29f6c30eb612b06c1003506c99aca8270267f9d4 | [] | no_license | markrobinsonuzh/treeAGG | fa6a7705b1a0d74dfedbb18a43d309a818f237ef | e26b9401369ddc3682677d644232cc0205e5fdeb | refs/heads/master | 2021-03-16T07:44:55.688468 | 2019-03-23T14:07:19 | 2019-03-23T14:07:19 | 98,645,726 | 2 | 1 | null | 2019-03-23T14:07:20 | 2017-07-28T12:04:06 | R | UTF-8 | R | false | false | 23,307 | r | treePlot.R | #' Visualize the phylogenetic tree
#'
#' \code{treePlot} visualizes a phylogenetic tree.
#'
#' @param tree A phylo object
#' @param branch A vector of node numbers labels to specify the branches to be
#' colored. Each branch is represented by its branch node. A leaf node
#' reprents the edge connecting the leaf and... |
1c121b6b120d499610fdb7ae7cf5477a2fcc44d6 | f6e85bb931759bbbbd26ad3760733bca256498b6 | /Ejercicios 27-10-2020/test.r | 7fd13fa5bbd6d31b375f69a9267e30a6ad45f41f | [] | no_license | Oscarvch03/Statistics | 559782ca8c9025a6e17fb7649bbc8e1ae5804c8a | c62edd16e2aa1adbb42b20d26616335711e8f457 | refs/heads/master | 2023-02-15T21:09:59.464733 | 2021-01-21T13:45:16 | 2021-01-21T13:45:16 | 296,684,648 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 217 | r | test.r |
clc <- function(){
cat("\014")
}
clc()
rm(list = ls())
x = c(-2, -1, 0, 1, 2)
y = c(0, 0, 1, 1, 3)
plot(x, y, main = "Scatterplot")
mod = lm(y ~ x)
summary(mod)
mod$coefficients
abline(mod, col = 3, lwd = 3) |
9bc7c4323fae6e004d86adba9e95826125d8ecba | 16df2e74139ac1877d59de680a479be381436060 | /R/get_pc_space.R | a27130d4d2e57040f459837540133e917993d23a | [] | no_license | cran/oddstream | 706e837bbc7eed98b263f9ce871821c3214cd213 | 842cb5b3240cf38e1aafebc0bc8cdb904edbce27 | refs/heads/master | 2020-12-22T01:47:48.003858 | 2019-12-16T21:00:03 | 2019-12-16T21:00:03 | 236,633,789 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,398 | r | get_pc_space.R | #' Define a feature space using the PCA components of the feature matrix
#'
#' @description Define a two dimensional feature space using the first two principal components generated from
#' the fetures matrix returned by \code{extract_tsfeatures}
#' @param features Feature matrix returned by \code{\link{extract_tsfeatu... |
96139165f313c648a9f88a5a576ff6a20576f2db | 79895359002f52487622b90653d1095c82cdf380 | /man/afterhours_line.Rd | 85d9b241bf7466cb16efd14ad79ae7ad38fd6061 | [
"MIT"
] | permissive | juliajuju93/wpa | a8c46c0c07641367e4c2dcb6c609745489c5d130 | 25d362318187930d942f457b4ae45d48921101c9 | refs/heads/main | 2023-03-18T21:23:14.780984 | 2020-12-03T16:53:14 | 2020-12-03T16:53:14 | 319,579,572 | 0 | 0 | NOASSERTION | 2020-12-08T08:49:12 | 2020-12-08T08:49:11 | null | UTF-8 | R | false | true | 1,722 | rd | afterhours_line.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/afterhours_line.R
\name{afterhours_line}
\alias{afterhours_line}
\title{After-hours Collaboration Time Trend - Line Chart}
\usage{
afterhours_line(data, hrvar = "Organization", mingroup = 5, return = "plot")
}
\arguments{
\item{data}{A Standa... |
68619b3d4c4d28d6a7f32007a6964e76599aab03 | 75db03a61980f42f955f21b3fb3a556cadca25b0 | /R2neo4j/BulkLoadVia_R2neo4j.R | 101b59f973c76d8a7f616565f5365baae2981a8a | [] | no_license | rsaporta/pubR | 09575cfc6c15bdcadc2801eff8a8959bac4c5100 | fe487d7020311b19b92d80e214800813188ad793 | refs/heads/gitbranch | 2016-09-06T13:48:23.919397 | 2014-09-28T07:28:03 | 2014-09-28T07:28:03 | 6,797,840 | 15 | 5 | null | 2013-10-22T20:34:24 | 2012-11-21T15:23:29 | R | UTF-8 | R | false | false | 674 | r | BulkLoadVia_R2neo4j.R |
N O T E :
this file is just Ricks scrap work.
You probably want one of the other files,
such as: batchCreateFromDT.R
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
# BulkLoadVia_R2neo4j.R
## approx 7 seconds per 1,000
Artists.NodeInputs <- crea... |
d5d8263d847f3a79d1de3a9ad5193c342608559d | 9362b22a596f0ca7bc5c391a925c43ae8fb19683 | /man/internalOutputScript.Rd | 33e329438763774f960e18be63b40f04a3fb3c81 | [] | no_license | pmur002/conduit | c174d6300b45a7145bd48da08bd15539ba1e9261 | 2d26f12f28268f72ead0d5c911a7751c6e843dac | refs/heads/master | 2021-01-18T05:03:56.094146 | 2016-03-01T22:47:00 | 2016-03-01T22:47:00 | 53,277,769 | 0 | 0 | null | 2016-03-06T21:43:22 | 2016-03-06T21:43:22 | null | UTF-8 | R | false | true | 992 | rd | internalOutputScript.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/R.R, R/python.R, R/script.R, R/shell.R
\name{internalOutputScript.R}
\alias{internalOutputScript}
\alias{internalOutputScript.R}
\alias{internalOutputScript.python}
\alias{internalOutputScript.shell}
\title{prepare script to resolve internal ... |
f681ffae8357a07eabc50663ebf5de02d1eb239c | b2fa820b93bb6b6ca31d667f90c46ef3e082914d | /man/read_bismark_nucleotide_coverage.Rd | ef31bf35062e4495a37a5d24a391b267472ea10c | [] | no_license | labbcb/MethylMetrics | 2ce4797b22c0d3a05079b7207361c0f2e164fb64 | beff6cc3d2a750a1be2ea899e24810c1486a6567 | refs/heads/main | 2023-06-16T04:57:57.594300 | 2021-07-04T21:45:17 | 2021-07-04T21:45:17 | 302,016,449 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 347 | rd | read_bismark_nucleotide_coverage.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bismark.R
\name{read_bismark_nucleotide_coverage}
\alias{read_bismark_nucleotide_coverage}
\title{Read Bismark nucleotide coverage}
\usage{
read_bismark_nucleotide_coverage(file)
}
\arguments{
\item{file}{}
}
\value{
}
\description{
Read Bis... |
f4f05eb9e92a1333f5579d37f1ee07ec0c6a9a1b | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /lsbclust/R/int.lsbclust.R | f5f7af151e7a30b57c20f49f46c106881571e7cc | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 24,609 | r | int.lsbclust.R | #' Interaction Clustering in Least Squares Bilinear Clustering
#'
#' This function implements the interaction clustering part of the Least Squares Bilinear Clustering
#' method of Schoonees, Groenen and Van de Velden (2014).
#'
#' @param data A three-way array representing the data.
#' @param margin An integer givin... |
ce067c244689d64ec8eda11a8682cfbbb91b7dd2 | c051966c65cc98d50d8bce8e73670022b587a0a1 | /Rpackage/R/plot-helpers.R | 71c921fbf75794a5697346e6fb3b7e392b6146a5 | [
"MIT"
] | permissive | mzdan/insta-sound | 60ee9cef3881decb20d084eeb6e78e6746ebfbc9 | 7261b30762ab3bde4359e9c1de8c9dc35bc67f29 | refs/heads/master | 2020-05-07T19:40:34.582957 | 2015-02-02T18:26:04 | 2015-02-02T18:26:04 | 14,677,139 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 551 | r | plot-helpers.R | #' Creates an empty theme.
#' @export
empty_theme <- function() {
theme(axis.line=element_blank(),
axis.text.x=element_blank(),
axis.text.y=element_blank(),
axis.ticks=element_blank(),
axis.title.x=element_blank(),
axis.title.y=element_blank(),
legend.posi... |
0730c007d9fd0d302cdefa68aa71fe29054ac8b0 | 6771b3be59935639b51698036e5fbbaf51feec4b | /man/proximity_indices.Rd | 268bee5a450ccbae5014ce640289550827866445 | [] | no_license | pieterbeck/CanHeMonR | f1a15bc68afc77f66bb13b3e90fbfaa3e99376e3 | 94ac1171b5bb7ff88e3cbe7dee3594c31d628ff4 | refs/heads/master | 2020-05-21T04:42:39.673459 | 2018-05-14T09:33:09 | 2018-05-14T09:33:09 | 48,625,321 | 0 | 3 | null | 2018-05-14T09:33:10 | 2015-12-26T22:26:10 | R | UTF-8 | R | false | true | 554 | rd | proximity_indices.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/region_growing_functions.r
\name{proximity_indices}
\alias{proximity_indices}
\title{Make a distance-to-center matrix}
\usage{
proximity_indices(nrow_ = 3, ncol_ = 6)
}
\arguments{
\item{nrow_}{nr of rows of the matrix}
\item{ncol_}{nr of co... |
5340b7f676bf5bad35d6d80119e6283b540ba3e8 | 4d95e5ceddbfaedd8c984fd5dc04036d2f6e88e6 | /maplet/R/mt_reporting_tictoc.R | a39f627cb88095f218744a0263eb0bdfe25659b1 | [] | no_license | ZWCharlie/maplet | 864603059867f3dae25f856832056dd780dde4a1 | 21a331bbb939b940b19ceb94105198c4213f2ed8 | refs/heads/main | 2023-04-12T00:44:49.776031 | 2021-04-27T00:04:44 | 2021-04-27T00:04:44 | 348,540,703 | 0 | 0 | null | 2021-03-17T01:15:52 | 2021-03-17T01:15:50 | null | UTF-8 | R | false | false | 1,819 | r | mt_reporting_tictoc.R | #' Timing functionality
#'
#' Call mt_reporting_tic to start timing anywhere in pipeline, then mt_reporting_toc to show the time elapsed in the status log.
#'
#' @param D \code{SummarizedExperiment} input.
#'
#' @return Does not change the \code{SummarizedExperiment} object.
#'
#' @examples
#' \dontrun{%>%
#' mt_repo... |
526384e22bf301e07c82d98c2b3f2befe64fd216 | 0f0b18926b1c0ed35f6e69f86b2f117551e1fb17 | /man/inboxCompose.Rd | a12cb36416f0bfe87979cf52b0c8c3e776743d73 | [] | no_license | moturoa/shinyinbox | 44316b567a9954a3338b2d3306fa8909f3b6e1c9 | 085872b3c7846b3bc265a21052cc9a1cb1f030c8 | refs/heads/master | 2023-04-03T06:49:31.356881 | 2021-04-06T07:16:51 | 2021-04-06T07:16:51 | 312,277,222 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,157 | rd | inboxCompose.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/composeInbox.R
\name{inboxComposeUI}
\alias{inboxComposeUI}
\alias{inboxCompose}
\title{Inbox and Compose box Shiny module}
\usage{
inboxComposeUI(id)
inboxCompose(
input,
output,
session,
msg,
users = NULL,
current_user = NULL,
... |
a5a5a3fabba0bfcf603ab50e747051658e8d0cab | 790e131bb9fbb7e7c4c419b0078fe1aa80e39340 | /testApplication/testApp.R | 8eeab3de1f63cbee721f5cbb400bd3dee372774e | [
"MIT"
] | permissive | inbo/reporting-rshiny-waterbirds | ccccb5af62987afb82b21ff8e113d043ff2c10ef | fcf71cc01f385e20478efa79e1cdd8ca3df54d8d | refs/heads/master | 2021-01-19T07:06:04.299795 | 2019-09-24T06:58:30 | 2019-09-24T06:58:30 | 87,520,667 | 1 | 1 | null | 2017-11-08T11:35:21 | 2017-04-07T08:00:03 | R | UTF-8 | R | false | false | 145 | r | testApp.R | # launch the application
# detach('package:watervogelsAnalyse', unload = TRUE)
library(watervogelsAnalyse)
watervogelsAnalyse::runWatervogels()
|
bb6db8af174772aac8dad8c9e584321ed250748a | 7437dc3501715b0edbd3e7ee1f4d2aedf374e7a2 | /R/LNAPhyloDyn-package.R | 8247b668ca9990c3996131f1ece6a0a56ff1b68c | [] | no_license | MingweiWilliamTang/LNAphyloDyn | 577b6ca0fa9c2ab505257d051019f43e44d12e19 | 4da93614561f089115636711e72d72950ae6e9e4 | refs/heads/master | 2021-01-11T02:30:43.988544 | 2019-10-22T21:44:28 | 2019-10-22T21:44:28 | 70,955,647 | 9 | 1 | null | null | null | null | UTF-8 | R | false | false | 31 | r | LNAPhyloDyn-package.R | #' @useDynLib LNAPhyloDyn
NULL
|
b9aee1d644bb9bf01c77622889594908c1fab581 | 878aa28161ed778da05902113a9a18fbb2738319 | /Figures/Keogh stan figures.R | 7b25b10a715579d603c092eb9c83836f4978291b | [] | no_license | klwilson23/Keogh | a6f9f3ccb24d10ce08d694eaa8cdecae8dd06dbf | e499c087c267d3e3a89c8edfe4b088248f6338ec | refs/heads/master | 2023-04-11T02:09:36.009864 | 2022-01-21T21:39:32 | 2022-01-21T21:39:32 | 152,797,463 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,062 | r | Keogh stan figures.R | source("some functions.R")
library(reshape2)
library(gridExtra)
library(ggpubr)
library(ggplot2)
library(MARSS)
library(broom)
library(wesanderson)
library(rstan)
library(loo)
library(rethinking)
library(corrplot)
fit <- readRDS(file="~/Google Drive/SFU postdoc/Keogh river/Stan fits/keogh mvnorm covars.rds")
ptSize <-... |
32cc6a9da17f4d1cdb4c16d903d031e38c69cb24 | 57d1abe121af6d93354c93597ec4e76417479de2 | /seccion5-data-visualization-principles/assessment9.r | 5ce99b256cac02b5d2c6d761610dbd6de049ceed | [] | no_license | johnfelipe/PH125.2x-Data-Science-Visualization | e7beef8a6905ef28fe0088a894c4c2c59e5ffab7 | c8b1d1eec308422cda01ee65767c96145e504684 | refs/heads/master | 2020-04-16T22:06:17.204653 | 2018-07-12T23:53:29 | 2018-07-12T23:53:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,477 | r | assessment9.r | "Exercise 1: Showing the data and customizing plots
Say we are interested in comparing gun homicide rates across regions of the US. We see this plot:
library(dplyr)
library(ggplot2)
library(dslabs)
data("murders")
murders %>% mutate(rate = total/population*100000) %>%
group_by(region) %>%
summarize(avg = mean(rate... |
7ea104d288839bebcfa6a58c90eaf0d3e9332c30 | b8f7f32df8a12d56df79b1351b4266fece9ca68d | /cachematrix.R | 5e16830d722c7a742718d734540338633176cb5c | [] | no_license | skhummer/ProgrammingAssignment2 | fa7b68cb1a4cb42f9a0382999312b986130e78b3 | 2190fff01bfa56c8a3892a5c1c621e90c6d21ada | refs/heads/master | 2020-03-18T13:55:28.790701 | 2018-05-30T06:44:07 | 2018-05-30T06:44:07 | 134,817,868 | 0 | 0 | null | 2018-05-25T07:11:51 | 2018-05-25T07:11:50 | null | UTF-8 | R | false | false | 690 | r | cachematrix.R | ## the fxn below caches the matrix 'x'
makeCacheMatrix <- function(x = matrix()) {
t <- NULL
set <- function(y) {
x <<- y
t <<- NULL
}
get <- function() x
setInverse <- function(inverse) t <<- inverse
getInverse <- function() t
list(set = set,
get = get,
setInv... |
612d14dd6685e879387c0ad13220da4246f651af | 3e1a57c5cd9735115babcfc16d04c6a037fd54d9 | /evapostats/calib.R | 97efb7a761e4ffe0ed0377073ed763a1c55c64fe | [] | no_license | liorstov/evapocalc | 677eccbc6149d860bb60396ff533a0bb974f1fb7 | d4b293789b49d2c80e9573bcd4d354ac5525c257 | refs/heads/master | 2023-02-02T01:18:24.230140 | 2020-12-21T14:46:35 | 2020-12-21T14:46:35 | 319,621,726 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,603 | r | calib.R | require(parallel)
load("synth.RData")
cl <- makeCluster(5, type = "PSOCK")
clusterExport(cl, c("Zel11Observed", "T1.9Observed", "T1.10Observed", "T2.1", "T1.1Observed", "opt.AETF", "opt.dust", "opt.FC", "opt.sulfate", "opt.WP", "Zel1"))
clusterEvalQ(cl, {
require(tidyverse)
require(Rcpp)
require(ggplot2)
... |
07efe2b2afaa5f3864eb808cb544941ced69d3af | 386c09d74bd57b5b5b64ccba4a33e928ea1a7242 | /man/get_hours.Rd | e834eb9c1749410830504500bf5343c827fe167e | [
"MIT"
] | permissive | SamanthaToet/yelpr | adf3519670bcce0366e12846cb0d5ad7030c36c7 | 96fcabc82a50ac27a80e3d9fe937b3713d38e61f | refs/heads/master | 2020-05-27T03:26:43.112562 | 2020-01-27T22:19:56 | 2020-01-27T22:19:56 | 188,464,148 | 2 | 1 | NOASSERTION | 2019-07-17T20:38:39 | 2019-05-24T17:42:05 | R | UTF-8 | R | false | true | 686 | rd | get_hours.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_attributes.R
\name{get_hours}
\alias{get_hours}
\title{Print a table of operating hours for a business.}
\usage{
get_hours(tbl, business_name = NULL)
}
\arguments{
\item{tbl}{The results of \code{yelp_search} stored as a dataframe.}
\ite... |
7869964d1850806a452a8a0261057372c6b992c1 | 92550e6df56f8f38fcd459bbfb8a79ff98ebaadd | /tarefa1-Q3.r | 8813ceab18c4a30740c88012251daf183fe35a0a | [] | no_license | rfribeiro/INF0611_Tarefa1 | 0fab1fff21f211dec3eef196562a747269704f25 | 67dc330bac9263998cb5c4317327be26e6a60d70 | refs/heads/master | 2020-04-09T03:19:02.426333 | 2018-04-13T20:27:14 | 2018-04-13T20:27:14 | 159,977,749 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,839 | r | tarefa1-Q3.r | library(ggplot2)
#dados do descritor 1
ID <- 1:20
X1 <- c(16,16,13,12,17,11,11,11,10,14,2,7,5,3,10,9,4,4,2,4)
Y1 <- c(9,19,15,17,10,12,10,17,13,13,7,7,3,2,7,0,7,4,5,6)
descritor1 <- data.frame(id=ID, X=X1, Y=Y1)
consulta1 <- c(12,8)
#dados do descritor 2
ID <- 1:20
X2 <- c(10,18,7,13,17,8,9,9,10,14,10,3,4,9,3,7,7,8,6... |
1e742e9ba9cf0ffc08ff98a792bea94cc567a0ca | b6f8e79a1660f3374ef752c0657c8702f983e844 | /R/TBMIBIquantifyPD1TcellsAcrossTopics.R | 5442624b41b30fe77143b8b37a27fb5f1a8ce4f0 | [] | no_license | efrancis28/TBMIBI | 9ab8a2688bf39aeb9d48ebc59844a2cf206628dd | c63ed17e42b27bb4f406f7049eb7b739ea07703a | refs/heads/master | 2022-06-30T19:55:56.155009 | 2020-05-15T04:39:56 | 2020-05-15T04:39:56 | 264,096,893 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,629 | r | TBMIBIquantifyPD1TcellsAcrossTopics.R | # TBMIBIquantifyPD1TcellsAcrossTopics.R
# Author: Erin McCaffrey
# Date created: 200225
# Overview: This script reads in the csv for the topic loadings for each cell with each cell assigned to a topic.
# Next, it looks at the distribution of PD1+ T cells across topics in bulk.
library(ggplot2)
library(forcats)
librar... |
acde71d633f38277e2d8f0c5d060273c870ec5b0 | 88a30cd83fdb2d37b854088f49d9fac9bd715d31 | /main_monthly_attendance.R | 7473c997c7f735b9fdaf052f891708f2d0be62c6 | [] | no_license | danlauNV/monthlyattendance | c036a55db5177d35de85e2d6f3ac8a558152cc29 | 07c1c9b874671df133c78522d71cb5c2f1be39f3 | refs/heads/master | 2021-01-10T12:48:30.996284 | 2016-03-25T16:16:38 | 2016-03-25T16:16:38 | 54,571,487 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 304 | r | main_monthly_attendance.R | source("createTSattdRate and export to stata.R")
if (1==1) {
source("holtwinters.R") # creates FC with confidence intvls
source("createDFofPredictions.R")
source("calculateEOYforecast.R")
} else {
source("xtabond.R")
source("calcEOYbasedonStata.R")
}
source("exporttoTableau.R")
|
1b9982ae007edfbfc6c15fb7a57baca50ceac4be | 0d8198fdd2b6b4a876ac0a907264ec53b3ca5cd4 | /recce1/6-simsmerge.r | d634977f3c43ef1ed22931109573eb2a9e84f34d | [] | no_license | soride/Rprojects | 4766973bc0592575491f564be49ddbb3f1829555 | b1639bced14c008394b30a107b4975a502c6b1b0 | refs/heads/master | 2021-01-16T23:05:53.698073 | 2011-09-01T20:56:20 | 2011-09-01T20:56:20 | 2,049,040 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,930 | r | 6-simsmerge.r | ### Analyze ironX and DISTANCE sampling
## rm(list = ls())
setwd("/Users/solson/Rprojects/recce1")
load("/Users/solson/Rprojects/recce1/simn5e5/k100.RData")
hk100<-k100
load("/Users/solson/Rprojects/recce1/simn5e5/k20.RData")
hk20<-k20
load("/Users/solson/Rprojects/recce1/simn5e5/k10.RData")
hk10<-k10
load("/Users/sols... |
ca8a2b102f32e6d3289c58e379c3b7888a87f95b | 647e2db904866c2917af40a07657c36e863a6e4f | /MDist/R/mc_sim.R | bc5ac0e81fcbc071b770f2c9660fef0f06d0ce3c | [] | no_license | stacyderuiter/MDistComparison | 68827fbce410c52d1f37fb32a19955f44d39652b | 4ea955796147ff42ab87eac5ee724d2133e17923 | refs/heads/master | 2020-03-30T16:45:11.423497 | 2019-02-19T16:53:37 | 2019-02-19T16:53:37 | 151,424,818 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 785 | r | mc_sim.R | #' simulate from a Markov chain
#'
#' @param sim_dives data frame with variable "resp" with values "baseline" and "reponse"
#' @param n number of time-steps to simulate
#' @param G transition probability matrix (baseline)
#' @param G_exp transition probability matrix (exposure)
#' @param first l
#' @return a vector of ... |
eda3935a7f90da9fe654340d62777eeb24e78002 | 6d2720114b2608a7da2c5ed7dabf60adb76e56a2 | /server.R | f998ccdf9135bbdb333b2a25b6c328cf5c5c2825 | [] | no_license | GuilhermeFCO/shinyCovid | 3f8fad5c1ed1bff9dedff06250df2bcc42133382 | 9e85f551aa9b10f1e632d0baffe74869ea9662cd | refs/heads/main | 2023-05-28T05:13:40.044208 | 2021-06-09T01:46:07 | 2021-06-09T01:46:07 | 375,193,891 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,034 | r | server.R | server <- function(input, output, sesion) {
output$covidConfirmed <- renderText({
if (input$tabselectedCovid == 0) {
df_covidConfirmedAux <- brasilCovid
df_covidConfirmed <- df_covidConfirmedAux %>%
dplyr::filter(is_last == "TRUE") %>%
dplyr::select(confirmed)
} else if (input$tabselec... |
47ee45244b18a596bd9b350f139a51df02f93288 | e2647f85500d3e4c9651ee3aedd250a54604eac5 | /R/Scatter2DView.R | 7441ecab4f3327498cd612e049046c28bb02f77d | [] | no_license | gejun1226/ggView | df1c458cf0d6e49b3ecf6d7983fe92cc4c521077 | 61e65caffc1264d0114ca63ba8d6ad48a9446a66 | refs/heads/master | 2020-07-24T18:16:28.056093 | 2019-06-14T02:12:40 | 2019-06-14T02:12:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 833 | r | Scatter2DView.R | Scatter2DView <- function(data, x, y, color, label, label.list){
requireNamespace("ggplot2")
p = ggplot(data, aes(x, y, color = color))
p = p + geom_point()
p = p + scale_color_gradient2(low = "blue", mid = "yellow",
high = "red", midpoint = 2)
p = p + labs(x = x, y = y, color ... |
f9067227036e2c3b917285291f767892bc5125ca | f3cea29c249db2a0e18a689c92e4bde0a059d5fc | /cachematrix.R | 5d6801875c7a78a89fab8a7070913fc4d6d99b07 | [] | no_license | gglaze/ProgrammingAssignment2 | ef181bc6a1a7d2ce0ab30d84ebf13ed414e786da | d033b492028324cc5267f409272fc161935ff506 | refs/heads/master | 2020-04-05T23:32:45.287452 | 2014-05-23T00:14:14 | 2014-05-23T00:14:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,753 | r | cachematrix.R | ## These two functions invert matrices and cache the results. This potentially
## speeds computation by avoiding repeated calculation of the same matrix inversion.
# *********************************************************
# makeCacheMatrix creates and initializes a matrix object able
# to store and retrieve a matrix... |
fba5506496ff10f21df72a3083e48451ea9f47ff | 977505d27f66959febf4e9c4b0f6590a5208994c | /tests/testthat/test-01-sample_size.R | afc7242e4d8e22b149275c48f91f977bb575b41d | [] | no_license | nutriverse/sleacr | a37091599e8d8b1b630c3b458d567197a35fa008 | 4e8df17a9aefa7bb61da08f0016914066e7a6b3f | refs/heads/main | 2023-04-14T11:05:40.170429 | 2023-01-07T19:01:28 | 2023-01-07T19:01:28 | 186,984,529 | 0 | 0 | null | 2023-01-07T19:01:29 | 2019-05-16T08:22:23 | R | UTF-8 | R | false | false | 1,279 | r | test-01-sample_size.R | ## Test that outputs are numeric
test_that("output is numeric", {
expect_type(get_binom_hypergeom(n = 600, k = 40), "double")
expect_true(is.numeric(get_binom_hypergeom(n = 600, k = 40)))
})
test_that("output is numeric", {
expect_type(get_hypergeom(k = 5, m = 600, n = 25, N = 10000), "double")
expect_true(is... |
45e49b4c65c9d133d0d51e4e2c3c4c1f8dd8a6f0 | 0b302e9a8d8fda17d6762bcccf00cd67b532a88b | /R/divRatio.R | e25f45a52ee0f5ae223a5b2d4198dc36573b094a | [] | no_license | lnsongxf/dMisc | 0d94c0e5b0f323053f473d478c3290a691b17e8f | b54acc761f66c4e0ef0d6d0099221e883717f98f | refs/heads/master | 2021-05-31T19:30:30.893978 | 2016-06-05T15:50:26 | 2016-06-05T15:50:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,342 | r | divRatio.R | #' Compute the Diversification Ratio for a portfolio.
#'
#' This function computes the Diversification Ratio (DR) for a portfolio, given
#' a weight vector, \code{w}, a set of asset returns, \code{R}, and a
#' covariance matrix, \code{sigma}. This ratio is a measure of how well
#' diversified a portoflio is. The square... |
67adedf8a7eb0481e7712cbff9956baad900076a | 31bd220a932ce88bbabc6aa7a2819e48008dde19 | /R/P4.4.R | 15903693bb1c4db25d1f7d52ceca249dee5720f1 | [] | no_license | cran/DoE.base | 6fa51fb944ba3f841ad35302c60e0a7ab3da6902 | ecad38c67623b041c29252cb7608e54035e0567d | refs/heads/master | 2023-05-12T04:24:46.333540 | 2023-05-08T15:20:07 | 2023-05-08T15:20:07 | 17,691,739 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,050 | r | P4.4.R | P4.4 <- function (ID, digits = 4, rela = FALSE, parft=FALSE, parftdf=FALSE,
detailed=FALSE)
{
## function used for calculations in the paper
## final updated function P4.4 for R package DoE.base will omit "newdf"
## and will rename "new" to "parft"
## function to calculate pattern of n... |
265e7c70c9e730c836d802d298e10d3ebef63ea6 | 64597b32b4242c5e80537b68c3f113a657040e79 | /r_code.R | bfc3ac2eb3cc68d11e2ed4becffd774b00ceb924 | [] | no_license | ankita1103/Product-Analysis | e99582b11c8844d4cf67542ef6e7edc9b4dd94f6 | 3a71205b35a68bccd96e9ed6a1854449d8a48eb2 | refs/heads/master | 2023-03-03T12:05:04.528230 | 2021-02-10T13:27:08 | 2021-02-10T13:27:08 | 337,716,771 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,324 | r | r_code.R | library(tm)
options(header=FALSE, stringsAsFactors = FALSE,FileEncoding="latin1")
setwd("C:/Users/dell/Documents/Product-Analysis")
text<-readLines("new.txt")
corpus<-Corpus(VectorSource(text))
inspect(corpus[34])
corpus<-tm_map(corpus, tolower)
corpus<-tm_map(corpus, removePunctuation)
corpus<-tm_map(corpus, removeNum... |
3e88b858d92bb7624f5a359b3e7f02781645e7fc | b0828ab1cd8d8271c66d6935416b32580fb93bb4 | /workflow.r | 4f6e02d41f5275ce52f3be0995a9d1198f32d18c | [] | no_license | KonradZych/GBIC2011 | ba0f145d4f51549d344a756abd578675f291cf0d | c84ea96728f260d030d661e66a0442e934cb58f3 | refs/heads/master | 2016-09-06T06:23:01.350627 | 2011-07-13T19:17:58 | 2011-07-13T19:17:58 | 1,341,280 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,768 | r | workflow.r | #copy-paste into R for analysis
workflow.appriopriateMarkers <- function(){
setwd("D:/data")
library(basicQtl)
library(qtl)
expressionMatrix <- as.matrix(read.table("Expression_BrassicaRapa_10chr2.txt",sep=""))
brassica_genotypes <- toGenotypes(expressionMatrix,margin=0.5,genotypes=c(1,0),overlapInd=0, verb=T)
re... |
9fda05be5664b6cff4dd93b85ab781718a88b7ee | b3cfea796b338543537ca71f22e8b37477e6275f | /Parallel_Version_RandContaSimulation.R | 99268d4ca2b8ec3877a1769f20fb9b67e798ec3b | [] | no_license | lloydliu717/discussion-1204 | 8f9e0564fda857c08be14ff68b29b9e169ec5ff5 | bdae02853e4323f5fafe77d388379d8ee7611ab4 | refs/heads/master | 2021-08-23T12:13:00.354371 | 2017-12-04T21:31:33 | 2017-12-04T21:31:33 | 113,097,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,986 | r | Parallel_Version_RandContaSimulation.R | library(doMC) # needed for parallel computing
library(sem) # needed for latent variable analysis
library(parallel) # needed for parallel computing
library(foreach) # needed for parallel computing
library(iterators) # needed for parallel computing
#setwd("/Users/liuzichun/Documents... |
c49a35bb82bff3733a5df288d79ef4a927e52acf | 3fae56ff310649949557e3f594526843e21334dc | /man/WMCT.Rd | 9023c6d225fb66aebbffe6b1d30d0cbe0b2d0cd5 | [] | no_license | geneticsMiNIng/RStemnessScorer | a3c41f5a4b0ab0ef74e01102f4b1c803d63526d6 | 457758557837a0d0e0bc81c518d90ed627956fed | refs/heads/master | 2021-01-11T00:35:48.558418 | 2016-11-07T17:30:21 | 2016-11-07T17:30:21 | 70,513,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,850 | rd | WMCT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/WMCT.R
\name{WMCT}
\alias{WMCT}
\title{Wilcoxon Multiple Comparisions Test}
\usage{
WMCT(pcbc, tcga, G = "SC", adjust = "fdr", njob = 1)
}
\arguments{
\item{pcbc}{data set containing in the first column labels
given as factor. At least one le... |
22b77489552f437dbc081b2ecf6d98ebcd0b8eb2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fda.usc/examples/plot.fdata.Rd.R | a6b535c196ef4bcaffb651512693320d302cf03b | [] | 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,038 | r | plot.fdata.Rd.R | library(fda.usc)
### Name: plot.fdata
### Title: Plot functional data: fdata.
### Aliases: plot.fdata lines.fdata title.fdata plot.bifd
### Keywords: hplot
### ** Examples
## Not run:
##D
##D # example for fdata class of 1 dimension (curve)
##D a1<-seq(0,1,by=.01)
##D a2=rnorm(length(a1),sd=0.2)
##D f1<-(sin(2*pi... |
4364936a406e5db11129231743dea51b544c8695 | 3f442e29843473912b95eab97346b3bf6858f917 | /Course Note.R | 83ca242780b44b6a4da1a8a6266ae5f328b3690f | [] | no_license | rahulgeorge/Data-Management | 3044f8bb0fc74fa9acb3c5e59ae6ab2aff351ba4 | f6f5172373a697de3767d260c19df1d7d77a02e7 | refs/heads/main | 2023-07-09T12:21:01.208402 | 2021-08-01T14:59:50 | 2021-08-01T14:59:50 | 382,807,753 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,070 | r | Course Note.R | #Starting course on July 4th
#-----------------------------------------------------------------------------
#Data Sources
#United Nations - data.un.org
#Country Data - data.gov + data.gov/opendatasites #WOW
#Gapminder - Lot of data on human data
#Kaggle
#--------------------------------------------------------------... |
e4ffe43d77522dc335171d1b4fcefb1af35cdbdf | 867a7d01947c3a532ac03ce944cfdfcbc8579196 | /ch06/scr0-unknown-n-binomial-form.R | 3ee54c16db11aabd215fbcc23794ecaae559e145 | [
"MIT"
] | permissive | mbjoseph/scr-stan | 7c9d5b2ff7af844d609d8f6e69b2736f763d0c3d | ed0654c21ee955b249191f59feb4e614c1dcada2 | refs/heads/master | 2022-08-31T16:42:28.121823 | 2020-05-17T03:51:09 | 2020-05-17T03:51:09 | 257,470,508 | 21 | 0 | null | null | null | null | UTF-8 | R | false | false | 842 | r | scr0-unknown-n-binomial-form.R | library(scrbook)
library(rstan)
options(mc.cores = parallel::detectCores())
rstan_options(auto_write = TRUE)
data <- simSCR0(discard0 = TRUE, rnd = 2013, N = 30)
# setup a grid to approximate the marginalization over space
# smaller delta values --> better approximation
delta <- .3
x1_grid <- seq(data$xlim[1], data$x... |
72f6e3a185a9387663abc0261febb863da576c3b | b28f74d681bb5dfbf34549c82a8c932f77c1b0a8 | /inst/extdata/examples/prepEntrez_.R | bddc870340950e635a864c86bb430bfbe66c721c | [
"MIT"
] | permissive | sailfish009/proteoQ | b07e179e9fe27a90fd76cde2ed7caa55e793e9d6 | e6a4fe79a21f9a9106a35d78c2ce42d59e9d82e2 | refs/heads/master | 2022-12-25T20:06:40.340740 | 2020-10-15T20:18:14 | 2020-10-15T20:18:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,385 | r | prepEntrez_.R | \donttest{
# ===============================================
# Apply custom `human` and `mouse` Entrez lookups
# ===============================================
## A RefSeq example
# Prep I: fetch up-to-date `org.Xx.eg.db`
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocMa... |
e9fa1dc3f7efc0c5f5bc617d364f8368efbaf323 | bed96b020bcd7d101bb6cde6d140b7afc474f7bc | /R/gdm.crossvalidation.R | 699ff0b6e9097b76d0436624bf0bf9ed639a44a2 | [] | no_license | cran/gdm | 7c9b4a5dfdb351437fbe4826ba97f5aa8fb342df | 6197648afb0235a8453231afe69c7c618a3b0170 | refs/heads/master | 2022-12-10T21:14:38.723481 | 2022-12-01T14:30:02 | 2022-12-01T14:30:02 | 33,008,317 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,307 | r | gdm.crossvalidation.R | #' @title Cross-Validation Assessment of a Fitted GDM
#'
#' @description Undertake a cross-validation assessment of a GDM fit using all
#' the predictors included in the formated GDM input table (spTable). The
#' cross-validation is run using a specified proportion (train.proportion) of
#' the randomly selected sites i... |
0a0ab143f15425cbd2b61afe817800aa826b8834 | 3bb0be347cf60ea159e47ff27a42e1f5d4212a22 | /Practical Machine Learning/Quiz 4.R | cb5780381351dbc1c9ffcce2d5cbf92ec2ea4523 | [] | no_license | neeraj5699/datasciencecoursera-2 | 5e5254653b40f415a73107214fbbca18f7f48e6b | f59a80d4c35c2564386d020aa0fe2a069c44887d | refs/heads/master | 2021-01-23T16:36:50.658012 | 2015-06-28T08:20:31 | 2015-06-28T08:20:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,340 | r | Quiz 4.R | # Q1 ----------
library(ElemStatLearn)
library(caret)
library(randomForest)
set.seed(33833)
data(vowel.train)
data(vowel.test)
summary(vowel.train)
vowel.train$y <- factor(vowel.train$y)
vowel.test$y <- factor(vowel.test$y)
rf <- train(y ~ . ,data=vowel.train,method="rf",prox=TRUE,ntree=500)
gbm <- train(y ~ .,data... |
2600b2686db23ad698be99dab4eaecbbf5ecb358 | 9f3b8cd37ec1e63c51bfe1c2a5c1b5a955a10e34 | /Yidi_Wang_HM3.R | 4bd2f93d9b44834856d23944bd77d3d13b7de697 | [] | no_license | IndyNYU/R-in-Finance | 3fd3cbd58bd9d4d80f6472bc6bdd1afeddc874f5 | fa1108909a3e555a2ae756af4fa47b956013ca26 | refs/heads/master | 2020-04-01T18:35:04.714059 | 2018-10-17T18:16:39 | 2018-10-17T18:16:39 | 153,501,789 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,402 | r | Yidi_Wang_HM3.R | # FRE 6871 Homework 3 By Yidi Wang
# 4/18/2018
rm(list=ls())
setwd("D:/R")
# 1. For this problem we will be working with the data set 'cars' from the openintro package.
install.packages("openintro")
library(openintro)
# 1.1 Descriptive statistics.
# Load and explore the data set 'cars'.
data("cars")
s... |
495bbce6a1d6ec68686ee02f9256b72590e61ef3 | 9d7f9350bc17fd00e590ddd5053addb4090b1993 | /man/RGA-package.Rd | a8fdf5efa04f2540647be50d010fc001d5e286d9 | [] | no_license | selesnow/RGA | 14359e1d90ec7fbe7b91d9f4420926b820ba1536 | c0f91a102ef50c57289ac5fb9bda1ef5bc95d920 | refs/heads/master | 2019-07-12T01:28:37.211872 | 2016-08-23T05:21:36 | 2016-08-23T05:21:36 | 105,628,870 | 2 | 2 | null | 2017-10-03T08:19:09 | 2017-10-03T08:19:09 | null | UTF-8 | R | false | true | 3,377 | rd | RGA-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\docType{package}
\name{RGA-package}
\alias{RGA}
\alias{RGA-package}
\alias{rga}
\title{A Google Analytics API client for R}
\description{
A package for extracting data from Google Analytics API into R.
}
\section{Key features}{
\... |
28fa2afe950c0d0254e991ffe373269daefccc35 | 0cf4e13f4575be71a3a8f6fb1be79bed29aa3881 | /pkg/patchwork/man/patchwork.smoothing.Rd | fd30856803118a74c933ef131f587d644aef9cd2 | [] | no_license | Sebastian-D/patchwork | 57f7281e4ec456538707de3587e80eab1af34269 | 2eecd882a2dff99c765c85333b6223fd2c85991d | refs/heads/master | 2021-06-12T01:27:44.338367 | 2017-06-02T12:25:33 | 2017-06-02T12:25:33 | 4,831,657 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,581 | rd | patchwork.smoothing.Rd | \name{patchwork.smoothing}
\alias{patchwork.smoothing}
\alias{smoothing}
\title{
patchwork smoothing function
}
\description{
Applies smoothing by averaging kb segments.
}
\usage{
patchwork.smoothing(data,normaldata=NULL,reference=NULL,chroms)
}
\arguments{
\item{data}{
data object generated after patchwork.G... |
90010235e8a9aa91057bc3fb1c8d6371dbcc5402 | c924028cb279cc74dfaacc80f1fab2fb036d3035 | /man/treebut.Rd | 50ad895046b442bca167adf6165c275d0b4fe4b5 | [] | no_license | drmarcogir/recluster | b8b17f596916253f37e424308df8c4bcd8167fde | 9eea0a13aa9a62207a0330c411bb596b1880e0f3 | refs/heads/master | 2022-11-23T11:37:53.767717 | 2020-08-05T18:17:45 | 2020-08-05T18:17:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 762 | rd | treebut.Rd | \name{treebut}
\alias{treebut}
\docType{data}
\title{
Phylogenetic tree for the butterfly species included in dataisl dataset
}
\description{
This phylogenetic tree has been created based on known phylogeny of butterflies at family and subfamily level and on COI sequences at genus and species level. Branch leng... |
eaac33108a87a6ef1d01423f604b6b04133bea37 | fc878f0e959cedc4b65e6926089aa8c2dead547a | /server.R | b9abfdc22b53e8ebbb07638d80ac9338dc559953 | [] | no_license | thongle7/Info201-Final-Project | a9d3b6ecf91e3194c788461336d3b1b5c3374cc7 | ed95792ae9ac48d877a32ecd4be6fd2ffe6c674e | refs/heads/master | 2021-04-27T10:59:21.787424 | 2018-03-08T07:52:51 | 2018-03-08T07:52:51 | 122,550,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,911 | r | server.R | #run necessary packages for map
library(shiny)
library(dplyr)
library(ggplot2)
library(ggmap)
library(leaflet)
# Read in the data for each year
data2013 <-
read.csv(file = "newdata/2013ms.csv", stringsAsFactors = FALSE)
data2014 <-
read.csv(file = "newdata/2014ms.csv", stringsAsFactors = FALSE)
data2015 <-
read... |
40da7621cff47ed12ae9c92e87835e24772dd744 | 8847282f697f1bf9da75feabe758307b72712e54 | /dataAnalysisCodes/watchERP_2stim/04-icon-detection/old/temp.R | df5bfd64404f267bc16c7050bb6bf445a2d0a150 | [] | no_license | adriencombaz/HybBciCode | a17b48a8a01fcf76e8c22d00732b8ceb1e642dce | 755432a2a06c2abe2eb5adbca33d1348bcf9ac68 | refs/heads/master | 2020-05-19T17:49:50.102762 | 2013-10-02T13:54:34 | 2013-10-02T13:54:34 | 6,388,055 | 2 | 1 | null | 2016-01-20T10:42:13 | 2012-10-25T13:57:07 | Matlab | UTF-8 | R | false | false | 5,982 | r | temp.R | setwd("d:/KULeuven/PhD/Work/Hybrid-BCI/HybBciCode/dataAnalysisCodes/watchERP_2stim/04-icon-detection/")
rm(list = ls())
library(ggplot2)
source("d:/KULeuven/PhD/Work/Hybrid-BCI/HybBciCode/dataAnalysisCodes/deps/cleanPlot.R")
############################################################################################... |
e01c31147b7f75bbccea98ae1fbe990082fd4082 | 2b4e13cf56d27be0e3e791a9c59d1c43665df452 | /man/StochasticGrid.Rd | 25b7c9c8b31c72816cc5dfd8cb6c73ee377639be | [] | no_license | IanMadlenya/rcss | dc16f85956cc9f8c05881965225d12107c183a79 | f6463a8a218c72ddbb773db14b956b82aab72d57 | refs/heads/master | 2020-05-24T18:07:57.996818 | 2017-01-27T22:12:16 | 2017-01-27T22:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,428 | rd | StochasticGrid.Rd | \name{StochasticGrid}
\alias{StochasticGrid}
\title{Stochastic grid}
\description{Generate a grid using k-means clsutering.}
\usage{
StochasticGrid(start, disturb, n_grid, max_iter, warning)
}
\arguments{
\item{start}{Array representing the start. The first entry must be 1
and array [-1] represents the starting s... |
2783f1570eeeccce47866b707ec762770e100897 | ba6c7b1fad0a804596956468c71e4605f239fabd | /man/print.metamodel.Rd | 6349829972f6888376a0e60606a8d647b91d9267 | [] | no_license | cran/dampack | 4d39c2cffc5195b50bd34f76b1039c8ae8991f75 | 4d5c2e8329b415ee7620335a5c77d151b41c52cc | refs/heads/master | 2023-05-07T02:06:21.051605 | 2021-05-30T20:40:03 | 2021-05-30T20:40:03 | 349,128,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 371 | rd | print.metamodel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metamodel.R
\name{print.metamodel}
\alias{print.metamodel}
\title{Print metamodel}
\usage{
\method{print}{metamodel}(x, ...)
}
\arguments{
\item{x}{metamodel to print}
\item{...}{further arguments to print}
}
\value{
None (invi... |
3549df282faa27014e18e00398b9c985c27a3e3f | 70b210f63f8a1b1942037d8b707510e08abb740b | /in power bi/create chart.6.r | e5f10b1255dd2ed07f09e9bd6fdce8a41f283912 | [] | no_license | iemBS/r | 3472cf3d12a57d4a4b6a943e268c2e45e4926a45 | 63de0cca36c3deda56d748608d3cecacfe14f040 | refs/heads/master | 2022-01-11T15:47:28.781455 | 2019-05-20T08:37:29 | 2019-05-20T08:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 691 | r | create chart.6.r | dataset$color <- "Negative"
dataset$color[dataset$DaysToImplementation >= 0] <- "Positive"
chartTitle <- paste("Days to Implementation for",format(sum(dataset$OpportunityCount,na.rm=TRUE),big.mark=",",scientific=FALSE));
chartTitle <- paste(chartTitle,"opportunities");
library(ggplot2)
ggplot(dataset,aes(x=OpportunityC... |
3e03e0c001038ec345483fc9555a073a4831421a | 55f150f1b5283eeb0bf890c83dee93188c59b50d | /Shell_version/VennDiagram.R | 21c70f1d76f2e1256cac6470df58f9c6f584756d | [] | no_license | ignacio3437/PreBait | d0443168cce0fb33e7902fb11ab08849bd5b3b8e | e135ce9e58a456124f28987294076b0d863debbb | refs/heads/master | 2021-01-22T13:30:35.058630 | 2018-11-28T01:26:59 | 2018-11-28T01:26:59 | 100,669,296 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 530 | r | VennDiagram.R | library(VennDiagram)
library(RColorBrewer)
#display.brewer.all()
fast5<-read.csv(file="Fast5_genelist.txt",header=T)
nudis2<-read.csv(file="Nudis2_genelist.txt",header=T)
teas<-read.csv(file="Teas_genelist.txt",header=T)
geneLS<-c(fast5,nudis2,teas)
#Print last few entries
lapply(geneLS,tail)
#check names
names(gene... |
b0b017e50b465386aac53412f699d0e54ef6bf6e | 57eb613a446a89e08918c18e4a2ef5b7904754a3 | /man/parentNames-set.Rd | 01e0cd9fc296f971aa035e46200bffe76e73d11d | [] | no_license | kate-crosby/ProgenyArray | c0fec380460e1d21d16477a05d05361e88e59f70 | 6fde9526f0bcb953251a28473a7c042b40254211 | refs/heads/master | 2020-12-28T23:49:59.252767 | 2015-05-15T23:44:22 | 2015-05-15T23:44:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 266 | rd | parentNames-set.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/AllGenerics.R
\name{parentNames<-}
\alias{parentNames<-}
\title{Setter for parents sample names}
\usage{
parentNames(x) <- value
}
\description{
Setter for parents sample names
}
|
b1b2ea097af4c20c3de85a61c82f6f710777ad3d | e385a183d5b0fedf407192c6a74f166f8f57876c | /snippet1.R | 60eb0e1f3c0a3a24853a72915734a58e8b2fbd5a | [] | no_license | mikeydavison/bbasgdemo | c0c53fa238e26c8e449c9455603e58ceaa1b3956 | 187ff56e309fcb3f8052ef034d92fb4eec6b3771 | refs/heads/master | 2021-01-21T10:30:00.627563 | 2017-06-01T14:38:07 | 2017-06-01T14:38:07 | 91,693,383 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,197 | r | snippet1.R | # Map 1-based optional input ports to variables
allstar <- maml.mapInputPort(1) # class: data.frame
batting <- maml.mapInputPort(2) # class: data.frame
# Contents of optional Zip port are in ./src/
# source("src/yourfile.R");
# load("src/yourData.rdata");
library(dplyr)
#merge players who played on multiple teams in... |
80fb0e5a760ba0328effbb2e2c1195e7b5461fd0 | 64cd66c599bcaf7f14a599627be7c7b04123ca97 | /geneticdrift/geneticdrift.R | 0baffa87d71ae487ee9af99abebce37dc8a5bf19 | [] | no_license | ldutoit/popgenshinyapps | 724dd57a3fde5fc037b46bfe8188aefa6a570897 | 6d105b70771a5f94f6494c1e1436cf3fe021fdd7 | refs/heads/master | 2020-08-10T06:30:26.239389 | 2019-10-10T20:54:31 | 2019-10-10T20:54:31 | 214,283,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,654 | r | geneticdrift.R | require(shiny)
# Define UI for app that draws a histogram ----
ui <- fluidPage(
# App title ----
titlePanel("Genetic drift"),
# Sidebar layout with input and output definitions ----
sidebarLayout(
# Sidebar panel for inputs ----
sidebarPanel(
# Input: Slider for the number of bins ... |
1867f02ca76b91295f5a71178ba6c391757a3f8c | 0763807ee1864196bae6bf9b7b7b2de997c84bac | /tests/testthat.R | a9585d8d136ee40a9e9961134eb2784e71ead8a7 | [
"MIT"
] | permissive | federman/shinylego | 56a84c2dedc131c96ba7e402bcb9a1ee62f0ceec | 8bff199b91f5a5abbc038556c28434d293ee7b49 | refs/heads/master | 2021-10-28T15:20:39.107911 | 2021-09-29T20:58:04 | 2021-09-29T20:58:04 | 179,860,006 | 0 | 0 | NOASSERTION | 2019-04-06T16:44:08 | 2019-04-06T16:44:08 | null | UTF-8 | R | false | false | 62 | r | testthat.R | library(testthat)
library(shinylego)
test_check("shinylego")
|
4af9fb7762f72eca80e1897e766a5166fd318be9 | 600b76919c94c119a6d58c8041650dc8b055addc | /R/configureHyperspark.R | f33091f12b6041d9d385327153133a8038adbb65 | [] | no_license | jarnos97/rPackageHypeRSpark | b2f3808056be259300f43739f61e771eb37fac58 | 2be8f15c38e2017aeb66e7913a88d54b7e87c3f4 | refs/heads/main | 2023-06-05T20:20:53.874175 | 2021-06-29T10:01:55 | 2021-06-29T10:01:55 | 356,249,442 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,506 | r | configureHyperspark.R | #' @title Configure HyperSpark
#'
#' @description Lets users configure HyperSpark. The result is a written .scala
#' file, which is added to the HyperSpark source code.
#'
#' @param setProblem Set the problem to be solved.
#' @param data Set the data for the application.
#' @param setStoppingCondition Set the stopping ... |
3de3ab5db5be1a1df6ff901383ede66a76fcee66 | 16d6f9a925fb8ae78938baf67173afc7b4e3f94b | /tests/testthat/test-io-bedGraph.R | 4a26c21be6a477fdd7c4c56d4eb118f69a33b1da | [] | no_license | liupfskygre/plyranges | 809851435ac1d9a60df8400b8c7c409862966418 | c82b7eb8ec31478e0f8439207d20897f0c102a6f | refs/heads/master | 2023-06-04T10:52:44.864177 | 2021-06-28T01:15:43 | 2021-06-28T01:15:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,814 | r | test-io-bedGraph.R | context("reading/writing bedGraph files")
# tests adapted from rtracklayer
createCorrectGR <- function(seqinfo) {
ir <- shift(IRanges(end = seq(300, 2700, by = 300), width = 300), 59102000)
score <- seq(-1, 1, by = 0.25)
space <- factor(c(rep("chr19", 6), "chr17", rep("chr18", 2)),
seqlevels(se... |
03dd9eddd3ac9f056e440f96df9ecff04951e117 | 288bc69d98ed160a01b3c6af141b6c2797b88ec0 | /cachematrix.R | 324da01838d037fc58d8998bca20c70580b88fb3 | [] | no_license | pasterka/ProgrammingAssignment2 | a862a30901377aba56e90164dffa276ed9a3b03c | fd8eba4748134867c0e30d28a3eaf471f18bfb01 | refs/heads/master | 2021-01-19T07:16:02.989317 | 2015-07-24T20:46:06 | 2015-07-24T20:46:06 | 39,655,189 | 0 | 0 | null | 2015-07-24T20:18:11 | 2015-07-24T20:18:11 | null | UTF-8 | R | false | false | 848 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## This function creates a matrix object
## and adds functions to display it and inverse it
makeCacheMatrix <- function(x = matrix()) {
s <- NULL
set <- function(y) {
x <<- y
s <<- NULL
}
get <- function() x
setinver... |
048c74740802b5ffc8e5699928d0248be49fc62e | c166cee1a5da825ada5eda6ab06a64d624c119d7 | /Code/KableWon/make_kable_one.R | 07d24747c0256549a462ea72a9b4faa3515d9a31 | [] | no_license | FreedomSoldier-Liam/Number-and-timing-of-BP-measurements | ccec31560eb860fc43190968886fc51091ba3499 | a9181cf86dc0cbe5a2e9d5406764c7466a03f5ca | refs/heads/master | 2021-03-25T04:13:37.668823 | 2019-05-22T22:26:10 | 2019-05-22T22:26:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,176 | r | make_kable_one.R |
make_kable_one <- function(tbl_one){
omit_indx=grep(tbl_one$strat$variable_name,names(tbl_one$meta_variables))
groups = map_chr(tbl_one$meta_variables[-omit_indx],~paste(.$group))
group_labels=unique(groups)
breaks = c(0)
nlevels=map_dbl(tbl_one$meta_variables[-omit_indx],~length(.$levels))
nlevels[nle... |
32cdbd92aca54fc63023ca129bcbf06c41fe9d9a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/biwavelet/examples/wtc.Rd.R | 0333b91bb3a6a1de4e7b7f013e5e428bc2717902 | [] | 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 | 435 | r | wtc.Rd.R | library(biwavelet)
### Name: wtc
### Title: Compute wavelet coherence
### Aliases: wtc
### ** Examples
t1 <- cbind(1:100, rnorm(100))
t2 <- cbind(1:100, rnorm(100))
## Wavelet coherence
wtc.t1t2 <- wtc(t1, t2, nrands = 10)
## Plot wavelet coherence and phase difference (arrows)
## Make room to the right for the c... |
2bc7b82118819b39af6a66890d0473c105516202 | efc5c6096121095cadc37acd42e03fadde89eb06 | /R/model_comparison/models/ardl_model.R | 3297160e9e29ea8a889dfaf567424fc907ef2dc9 | [] | no_license | AlexAfanasev/bookdown_thesis | b04396739f2495dd60a5e5abfeccd916acaf2545 | 1cfe343618b5fca6e53a8c786cb6792589edc0c7 | refs/heads/master | 2023-06-03T11:00:36.998514 | 2021-06-17T16:44:46 | 2021-06-17T16:44:46 | 331,723,414 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,061 | r | ardl_model.R | # SETUP
source(here::here("R", "pd_pomp.R"))
y <- read.csv(here::here("data", "final_dataset.csv"))
source(here::here("R", "covars.R"))
# QUESTION: WHICH MODEL TO CHOSE???
# MODEL 2: MODEL WITH AR & COVARIATES
model_2 <- pomp::pomp(
data = y[, c(1, 2)], times = "time", t0 = 0,
rinit = function(e_lpd_0, ...) {
... |
c89c856f0623ec58577fe8e0a39c06fbd287bbd7 | acc80e88c26433639557f85c8b5f08cd3cdbe40a | /R/RunSomaticSignatures.R | f131f11574958b5c5bd20eaf417fcf7d2d4afc2a | [] | no_license | WuyangFF95/SynSigRun | 32cb430ee5ea30584908f2254be459afb8c9ca81 | 62655260a460ea120de1baa623d0987d45a5a6bc | refs/heads/master | 2022-11-11T10:06:45.160948 | 2021-12-30T06:40:08 | 2021-12-30T06:40:08 | 222,591,376 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,957 | r | RunSomaticSignatures.R | #' Install SomaticSignatures from Bioconductor,
#' also installing its dependent package, NMF.
#'
#' @keywords internal
InstallSomaticSignatures <- function(){
message("Installing SomaticSignatures from Bioconductor...\n")
if (!requireNamespace("BiocManager", quietly = TRUE))
utils::install.packages("BiocManage... |
98cc9b546b28dd771ff6e99195e1cade9b4bff47 | b457ede5c2d4d5065896c612a331b0988a297a30 | /Chevalier_etal_MD962048/figures/makeFigDR3.R | 77ddf6a62a399b9b1e37caf9cd0550a7dcc57f86 | [] | no_license | mchevalier2/Papers | 6556e6ccd19bd71a11be2865477e436f5f3eb62c | 73d24cda42f86fe1b9bf2ffebe031603260e45d4 | refs/heads/master | 2023-05-27T20:58:51.029066 | 2023-05-19T09:08:27 | 2023-05-19T09:08:27 | 187,044,389 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,932 | r | makeFigDR3.R | ## Figure 4: Comparison of the reconstruction with independent records
##
OUTPUT_FOLDER=getwd()
s <- readline(prompt=paste0("Where should the figure be saved?\nDefault is current workin directory (",OUTPUT_FOLDER,"): "))
if(s != '') OUTPUT_FOLDER <- s
pkg2install=c()
if (! ("rio" %in% rownames(installed.packages())))... |
cb0c122f1d894eccb5c0f6d2001627c59fe3b1b7 | 78fbb9c9a9f1a90e2c958c16bc39410f9bd44fe9 | /Code.R | b97d2de4c36a8ae930b8e8f4d08b8df00b8444bc | [] | no_license | CaDiez/RepData_PeerAssessment2 | 3f2bb5dc1316f2b3d9fc03b8fe1430780744d9d4 | f99be3c5de0dd82eb5462073447bd295e3e9d269 | refs/heads/master | 2021-01-25T10:15:06.248885 | 2015-05-22T01:48:15 | 2015-05-22T01:48:15 | 35,895,132 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,790 | r | Code.R | ##packsUsed<-c("R.utils", "data.table")
##sapply(packsUsed, require, character.only=TRUE, quietly=TRUE)
library ("data.table", quietly=TRUE)
library ("R.utils")
cache = TRUE
## Check and load data
if (!"StormData.csv.bz2" %in% dir("./Data Science Specialization/05 Reproducible Research/RepData_PeerAssessment2")) {
... |
0f38a4435e628050dc457f680c9a014d1ea87757 | 3d52bb75ea458b44c7e2935f818a25117bc4370d | /chap3.r | 8e3504c4ebd61dbb260fb026e0856cbf289774b1 | [] | no_license | omelhoro/r-nlp-baayen | 1b068853125d9a39872cb400074b839308ed4a98 | 5c71cb96a2a9be715d66e5a14246d717611b4bb0 | refs/heads/master | 2020-04-02T12:39:56.776704 | 2016-06-02T18:50:55 | 2016-06-02T18:50:55 | 60,289,180 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,452 | r | chap3.r | # TODO: Add comment
#
# Author: igor
###############################################################################
library("languageR")
library("MASS")
#task1
alice=tolower(alice)
wonderland=data.frame(word=alice[1:25920],chunk=cut(1:25920,breaks=40,labels=F))
for (word in c("alice","hare","very")){
w... |
5486e965d94c250cb71e7903b586fc3ba75606d3 | ab859104148d76008b7263fcbe640e1627bdf17e | /man/read_sas_count.Rd | 14dfe1e5e9560e0846189de6a138777125340d22 | [
"MIT"
] | permissive | arnaud-feldmann/RchunkNcount | 0bd753f93716f104dca524a237df27b5eebf92ee | bbe2173a2bf45920062660941c490a1b2a590ddd | refs/heads/master | 2023-09-01T05:50:11.862343 | 2021-10-19T08:54:45 | 2021-10-19T08:54:45 | 418,579,609 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,144 | rd | read_sas_count.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_sas_count.R
\name{read_sas_count}
\alias{read_sas_count}
\title{Reads a sas file by chunks and summarize everything}
\usage{
read_sas_count(
data_file,
col_select,
...,
row_filter = NULL,
chunk_size = 10000,
name = "n",
wei... |
9c17c9958205e6dab329b551f775f5e7b55cbf7c | 83353b29f5577f575ff982738c4c957ddc2c2a40 | /edsats_limpeza.R | b1466b281d24b43674211be095a3aff3f8cf31f9 | [] | no_license | Letisouza/Projeto_tcc_PUC_camila | fb91d90cdae699bb8e802250106330997e0bb156 | 8b66ff214ef455b59c2759f530865f89e0c26bf8 | refs/heads/master | 2023-04-11T10:14:16.825627 | 2021-04-26T00:05:42 | 2021-04-26T00:05:42 | 361,169,335 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,390 | r | edsats_limpeza.R | edstats <- read.csv("EdStatsData.csv")
library(tidyverse)
glimpse(edstats)
skimr::skim(edstats)
# filtrando pelas variáveis indesejadas
edstats_filtrado <- edstats %>%
select(-c( "X2020", "X2025", "X2030", "X2035", "X2040", "X2045", "X2050", "X2055", "X2060", "X2065", "X2070", "X2075", "X2080", "X2085", "X2090... |
6f29c88f104b0a8f7ba2411ec04f8f21af64d203 | b0fef7d420719221d736c6fc22efcdfdc6859311 | /plot3.R | 65df7adf9866d51476d9bbba31dd8f66b08d7adf | [] | no_license | ajibolafaki/Exploratory-Data-Analysis-Week-1-Project | d3cca69abe9a92a410860426f2cc3a5ffd2f0318 | 66f0982114efc622332f8dbcb9a7b35f1b1ac4f9 | refs/heads/master | 2021-04-27T00:04:45.928081 | 2018-03-04T02:14:56 | 2018-03-04T02:14:56 | 123,748,228 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 778 | r | plot3.R | df <- read.table("household_power_consumption.txt", sep = ";", header = TRUE, stringsAsFactors = FALSE, dec=".")
sub_df <- df[df$Date %in% c("1/2/2007","2/2/2007"), ]
sub_df$date_time <- strptime(paste(sub_df$Date, sub_df$Time, sep=" "), "%d/%m/%Y %H:%M:%S")
#convert columns to numeric
df[c(3:7)] <- lapply(df[c(... |
e60fdf45b5d763e5d6e501ed4cb37a5d57154038 | a4c45052798f39e8def9221c85c100291fb890b6 | /hwscript_week10.R | a1cb0c007ea09b09856aa8f452632a667034cf8f | [] | no_license | JonesLabTAMU/Rscripts | 38042023a4fdf321bf4eeed8d5f796f4cd50bd39 | 1852b21fec8c2fdbc97bbbff1d7038453937330f | refs/heads/master | 2021-01-09T06:00:25.025685 | 2017-04-20T19:40:02 | 2017-04-20T19:40:02 | 80,870,173 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,524 | r | hwscript_week10.R | # Analysis of gambusia data from O'Dea et al.
setwd("~/Rexamples/Week10")
gamb <- read.csv("gambusia_individual_offspring.csv")
#Offspring are nested within mothers
#Consequently, mother should be included as a random factor
#First take a look at the residuals
M1.lm <- lm(Indiv_Offspring_Size ~ Age*Size, da... |
94403a6906157afc40bfdfdc5c81b07a7e41405e | fef1aaea89907036cb1f524a98dfb1139af95447 | /ecs132/final/ProbB.R | df8451ff3fa878f5b50e15ad1643c33228c3ed43 | [] | no_license | seanjedi/Old_Code | 2998d3e67d3afed969b86ece682c690ffd6479b5 | f0788faa73b001167e32f7091db5a3004c73f71a | refs/heads/master | 2020-04-05T06:02:23.013771 | 2018-11-09T01:36:16 | 2018-11-09T01:36:16 | 156,622,941 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,686 | r | ProbB.R | # wrap all problem B into one function
probB <- function()
{
data <- getTrainingAndTest(getData())
meanAnalyze(data$training, data$test)
print(regressionAnalyze(data$training, data$test))
print(logisticAnalyze(data$training, data$test))
principalAnalyze(data$training, data$test)
}
# reads the data ... |
0b2c314990fc11bc5ac866d56be514aa2468cf0e | b5a1bd1654ad240813aec25a16a236b198558095 | /Archive/paper/results/archive/fields.R | b134c611a6035e0469c9a84605bf8bad0717e6e2 | [] | no_license | trevor-harris/assimilation-cfr | af4d6125dff636f0edd338f0bd4fbbd57a176aca | 60a311dccafc4d524136e6400a41118a4ec2ff58 | refs/heads/master | 2021-03-22T00:23:45.788770 | 2020-06-18T19:06:09 | 2020-06-18T19:06:09 | 118,714,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,261 | r | fields.R | rm(list = ls())
gc()
years = 851:1848
ens = 100
library(extdepth)
library(ncdf4)
library(dplyr)
library(reshape2)
library(ggplot2)
library(OpenImageR)
library(future)
library(future.apply)
source("../research/assimilation-cfr/code/depth_tests.R")
source("../research/assimilation-cfr/code/depths.R")... |
bb9d1759d48e515512b979fe48e39177abcdaebb | 0b1a775c53a028843617d6f6fb36b456564a9915 | /LibraryCheck.R | 01635a2efb23247cdf90e22214d350f496b2e703 | [] | no_license | GMRI-SEL/LabFunctionsandCode | f566c33cd2255713c316354a463e748eb67b64d3 | 594ec0c10670d6fdcccafb7a25b2b511923952f0 | refs/heads/master | 2020-06-03T13:30:53.045366 | 2019-12-10T16:35:52 | 2019-12-10T16:35:52 | 191,587,053 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 606 | r | LibraryCheck.R | # Library check helper function -------------------------------------------
library_check<- function(libraries) {
## Details
# This function will check for and then either load or install any libraries needed to run subsequent functions
# Args:
# libraries = Vector of required library names
# Returns: N... |
da51eaf1ee246f694391545f83b5d71c879353db | 910d76aba43a33729b07d254b4d3c5b99c21ea03 | /ui.R | 379bf4dfee50ac99f8d4ccd1905869f9b18c9da0 | [] | no_license | tobrom/share-price-analysis | f531ec119516ddb1b9fc3a9bade36edb3c03bdfe | b7e533b353be03a82455dee06a287940c25f0f9e | refs/heads/master | 2021-01-18T09:04:57.952535 | 2017-03-21T13:05:58 | 2017-03-21T13:05:58 | 84,309,534 | 0 | 0 | null | 2017-03-21T12:53:56 | 2017-03-08T10:43:18 | R | UTF-8 | R | false | false | 3,439 | r | ui.R | library(shiny)
library(xlsx)
symbols <- read.xlsx("OMXS30.xlsx", sheetName = 1)
symbols$yahooTicker <- paste0(gsub(" ", "-", symbols$SecuritySymbol), ".ST")
shinyUI(fluidPage(
titlePanel("The Share Price Analyser"),
hr(),
sidebarLayout(
sidebarPanel(
helpText("This application allow... |
382846c3d4db77a69f787df4e5e7e875aa3c7552 | dcaadda89752dbb7fcc0b19268db5df9dd74352e | /man/by_s_m3.Rd | ee8b22a1417e4e577d92605574ee3011b1be0239 | [] | no_license | boshek/limnotools | 12f9266ea47a60979dcc9629b725aabfe7816c36 | c64340d19a39715d13babe9b24d200cedb87cb2c | refs/heads/master | 2021-01-12T03:39:00.773099 | 2017-06-12T21:04:57 | 2017-06-12T21:04:57 | 78,247,279 | 3 | 0 | null | 2017-08-31T15:27:00 | 2017-01-06T23:44:53 | R | UTF-8 | R | false | true | 1,045 | rd | by_s_m3.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/by_s_m.R
\name{by_s_m3}
\alias{by_s_m3}
\title{Service subroutine for determining Mixed Layer Depth for a SPECIFIED NUMBER OF SEGMENTS}
\usage{
by_s_m3(nr, z0, zmax, z, sigma)
}
\arguments{
\item{nr}{fixed number of segments}
\item{z0}{initi... |
bfda0401a0c2baa1574484c6546a7fad80d3a2fb | 99593b8dd68e64afcc5761d832c3eccf982ed275 | /analysis/increasing-data.R | 76824064e5d9e96a33607787ae8a0356845ab27a | [] | no_license | vcerqueira/forecasting_experiments | 3de99974bdd843b688b4977673861a4f7fb0d9ff | 1a406e969f0c4357fdd63c50c599f13ce95fa5dc | refs/heads/master | 2020-03-25T07:00:31.449705 | 2018-12-18T14:46:58 | 2018-12-18T14:46:58 | 143,536,625 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,123 | r | increasing-data.R | library(tsensembler)
library(reshape2)
library(ggplot2)
setwd("/Users/vcerqueira/Desktop/ADETK2/ID/")
x <- lapply(list.files(),
function(x) {
load(x)
rm.null(adddata_analysis)
})
adddata_analysis <- sapply(x, rm.null)
length(adddata_analysis)
names(adddata_analysis... |
0b37dcb22affbb209e8d76cec546c22cad4ed6f4 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.business.applications/man/alexaforbusiness_update_device.Rd | 34c2a803d3756b2b48783c9ec082dfc65e8642e9 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 638 | rd | alexaforbusiness_update_device.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/alexaforbusiness_operations.R
\name{alexaforbusiness_update_device}
\alias{alexaforbusiness_update_device}
\title{Updates the device name by device ARN}
\usage{
alexaforbusiness_update_device(DeviceArn, DeviceName)
}
\arguments{
\item{DeviceA... |
3a0992be50b879fc24650cae8853a38d6b27c3a5 | 387eb7f986d66b82012fc2f5d47cacfec57a689c | /scripts/final_analysis.R | 637bd5df66067b941f9376b85689444b6ae64626 | [] | no_license | jinxbuddy/Genetic-Diversity-Analysis-1KGP | f3d8520462a5cbbd28b102ded9e3b787b88039ba | 2dea0d451c2cd9093094eba4bf40cd514fb404a7 | refs/heads/main | 2023-07-15T09:54:23.811968 | 2021-09-03T08:19:34 | 2021-09-03T08:19:34 | 401,106,506 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,586 | r | final_analysis.R | #setwd
setwd("F:\\r_projects\\thesis\\1000G_snpr")
#load dependencies
library(ggplot2)
library(LEA)
library(mapplots)
library(fields)
library(tidyverse)
# selection of a subset of data by families
read_tsv("1000G_phase3_common_norel.fam", col_names = F) %>%
select(X1,X2) %>%
filter(X1 == "GBR" | X1 == "FIN" ... |
c122fdfc384ede4cbbddcb80e0910f0278fdfd6c | 3ab0f950f50f50e9207b2917ca6bd867217433a9 | /main.R | 1313b594d95fa3e032c41392fbc399079aa97ad5 | [] | no_license | iamchetry/AutoDataAnalysis | 03c9afba33415518db85cc53353928ed5d3610cb | fdaac963803abb1f6d3b11fbfe357b6f591f086c | refs/heads/main | 2023-03-01T00:30:25.343183 | 2021-02-04T18:55:11 | 2021-02-04T18:55:11 | 334,736,393 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,999 | r | main.R | #install.packages('ISLR')
#install.packages('MASS')
library(ISLR)
library(lattice)
data_ = Auto
dim(data_)
attach(data_)
# 1st Question---------------------------------------------------
#------------Pairwise scatter plots only across the numeric variables-----------
pairs(data_[, 1:7], main='Pair wise Scatter Plots ... |
591d5de700ac8005286b48f8fd73ddc4c6bf026f | 7b9b0edde58cbb2ed9fb63a8def80935697a084b | /res.function.R | a3aae94716362ddb012f54699f614f57acb4d876 | [] | no_license | ariel32/GodvilleMonitor | 6e6908877e9b707fa6a7c5113df8c911fec232d3 | 113d7d13d4950ccd48b3a7a671426f390d2141c8 | refs/heads/master | 2020-12-13T14:17:58.688849 | 2016-08-04T21:05:43 | 2016-08-04T21:05:43 | 36,492,637 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,456 | r | res.function.R | # SUMMARIZATION BY 888 GODS
res.function = function() {
d = read.csv("DungeonsDB.csv", sep = ";", stringsAsFactor = F)
godnames = unique(d$godname)
#save(godnames, file = "godnames")
coeff <- sapply(godnames, FUN = function(x) {
data = d[d$godname==x,]
as.numeric(lm(wood_cnt ~ time, data = data)$coef... |
fb7b056a84d726d2902326fe7011058575f850af | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gdkPixbufNewFromFileAtScale.Rd | 7b75f21c89f25e53c28f6ec829073a4cf36baa1c | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 1,921 | rd | gdkPixbufNewFromFileAtScale.Rd | \alias{gdkPixbufNewFromFileAtScale}
\name{gdkPixbufNewFromFileAtScale}
\title{gdkPixbufNewFromFileAtScale}
\description{Creates a new pixbuf by loading an image from a file. The file format is
detected automatically. If \code{NULL} is returned, then \code{error} will be set.
Possible errors are in the \verb{GDK_PIXBUF... |
f0e9f4e9e67505ef42ebdbeab7618b4c98570eb7 | 7a6625b46ba88e21be3d03aa3cb6934d40329867 | /man/seq2func.Rd | 98acb5e71a11342b9b61a8641b235e10ad4f5702 | [] | no_license | syuoni/NonParameterEstimation | 09c8f07b561884775b0836ee047843dcf364ab58 | e2575471233045f71b64b41c5c3eb2eae3a6e75d | refs/heads/master | 2021-01-10T23:57:29.785059 | 2016-10-22T06:27:22 | 2016-10-22T06:27:22 | 70,776,946 | 0 | 0 | null | 2016-10-21T15:51:16 | 2016-10-13T06:42:41 | R | UTF-8 | R | false | true | 510 | rd | seq2func.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Seq2Func.R
\name{seq2func}
\alias{seq2func}
\title{Transform the sequence of two variables to a mapping function, with linear interpolation.}
\usage{
seq2func(x.seq, y.seq)
}
\arguments{
\item{x.seq}{sequence for explanatory variable... |
b0b80a8f6a38097345766528a9bd494d689f03fe | e4755d1e2207edc616f4f20eb2d4e5fb65a71c42 | /man/createMrBayesTipCalibrations.Rd | 5e8a0adc7ef6a25b0f41b25b93b2f41591ef6680 | [
"CC0-1.0"
] | permissive | dwbapst/paleotree | 14bbfd5b312848c109a5fc539a1e82978a760538 | 95c2f57e91c4204c04cd59d9662ba94c43c87a60 | refs/heads/master | 2022-09-23T03:57:35.959138 | 2022-08-25T18:29:50 | 2022-08-25T18:29:50 | 3,827,289 | 20 | 11 | null | 2022-08-25T18:30:48 | 2012-03-25T21:01:38 | R | UTF-8 | R | false | true | 7,995 | rd | createMrBayesTipCalibrations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/createMrBayesTipCalibrations.R
\name{createMrBayesTipCalibrations}
\alias{createMrBayesTipCalibrations}
\title{Construct A Block of Tip Age Calibrations for Use with Tip-Dating Analyses in MrBayes}
\usage{
createMrBayesTipCalibrations(
tipT... |
e7fce8822ef3834d0162e7fd30fd4bfb96661bb4 | ba00b1509adcf0f099ecda35cd570cfe2f53a7af | /forest plot.R | 440797eee9a6ab5c40ec552234b3a2b1eaaf5321 | [] | no_license | chnjqh/IRGPI_ESCC | ec736eff1af16d0282060a3fc653dbff08281f8d | 1017559a51995032b08e900d7872c9e736b2758a | refs/heads/main | 2023-07-28T07:00:49.586030 | 2021-09-17T15:32:11 | 2021-09-17T15:32:11 | 407,485,661 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,222 | r | forest plot.R |
Unicox<- function(x){
form1 <- as.formula(paste0("Surv(OS.time,OS)~",x))
cox_form1 <- coxph(form1,data = clinical_ESCC_expr)
cox_Sum <- summary(cox_form1)
HR=cox_Sum$conf.int[,"exp(coef)"]
HR.95L=cox_Sum$conf.int[,"lower .95"]
HR.95H=cox_Sum$conf.int[,"upper .95"]
pvalue=cox_Sum$coefficients[,"Pr... |
6e32cd29bca90b510f3d890c7c0702db7a507108 | 0221655c47793c841dcaa19846d89d97a383ca7b | /Scripts/E-MAP/Figure 4 scripts/old/Fig4B_Sina_mutant_groups.R | 2d85a1782de779fd8adab9d94ccc5144640d22a7 | [] | no_license | tinaperica/Gsp1_manuscript | 47482665da7a9d7b3194e422d8ddf758980735ab | eecd615e160422fcb141a1dcd4a8d5e49bbf3e55 | refs/heads/master | 2021-11-14T18:59:50.596318 | 2021-10-13T15:47:05 | 2021-10-13T15:47:05 | 216,316,976 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,373 | r | Fig4B_Sina_mutant_groups.R |
##### load libraries
library(tidyverse)
library(ggforce)
source('ucsf_colors.R')
##### load datafiles
# load('Data/spitzemapko_correlations_and_bonferroni_fdr_all.RData')
load('Data/filtered_v6_correlations.RData')
name2ORF <- read_delim('Data/spitzemap_name2ORF_index.txt', delim = '\t', col_types = cols())
# set mu... |
74567a04029a8f858721e54a6f4b3d699ab73208 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/RoughSets/man/BC.IND.relation.RST.Rd | fd54fe6522155bf88d4e4e946d2d6785af0ece24 | [] | 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,788 | rd | BC.IND.relation.RST.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BasicRoughSets.R
\name{BC.IND.relation.RST}
\alias{BC.IND.relation.RST}
\title{Computation of indiscernibility classes based on the rough set theory}
\usage{
BC.IND.relation.RST(decision.table, feature.set = NULL)
}
\arguments{
\item{decision... |
bb686738daa9d6b4d2b33ee0a805c6fa6cc7f667 | 1f56e1a1d7405e71d3c34edd1d3262ac44c27ecd | /man/loadGCT.Rd | 792f92f41c2e8158ba31651e5df795bd5f48cbdd | [] | no_license | cran/tempoR | 0676e0b1088249913186c9b0ac3d1970f1b02d3b | 3f768b0042424855bde7df5de3c009ab54b6cbea | refs/heads/master | 2020-12-22T22:34:37.450614 | 2019-05-27T07:30:03 | 2019-05-27T07:30:03 | 236,949,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 851 | rd | loadGCT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tempoInput.R
\name{loadGCT}
\alias{loadGCT}
\title{Load a Gene Cluster Text formatted file}
\usage{
loadGCT(target)
}
\arguments{
\item{target}{a string indicating the location of the .gct file}
}
\value{
a matrix with sample ids ... |
19c1dd9c7c00b67a0d9faa3255a7c108956740c2 | 9417844014186fe4be4d893843b0fbc4d13133df | /setup.R | f77a413d2da44c65dd40264d6d9e0b8760bf95bc | [
"CC-BY-4.0",
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | jsta/glatos-spatial_workshop_materials | e884e76c02d4dd7915b5dca5f2346a0b26e809b7 | 2a54b7f36f6558247e3254582a8b8eb7a04d5482 | refs/heads/master | 2023-07-24T15:41:31.057061 | 2023-07-13T14:10:17 | 2023-07-13T14:10:17 | 233,695,391 | 1 | 0 | NOASSERTION | 2023-07-13T14:12:42 | 2020-01-13T21:17:28 | CSS | UTF-8 | R | false | false | 2,793 | r | setup.R | library(raster)
library(sf)
# aggregate and re-project raster file(s)
if(!file.exists("data/Lake_Erie_bathymetry (raster)/erie_lld_agg.tif")){
# setwd("_episodes_rmd")
erie_bathy <-
raster("data/Lake_Erie_bathymetry (raster)/erie_lld.tif")
erie_bathy <- aggregate(erie_bathy, fact = 4)
erie_bathy <- raster:... |
f062603d8ac62cd95a3f3fc4ca99a8c18be26d98 | fb57207c08c19ba2683f8c0cbc981c6dd5f79374 | /man/assign_colnames.Rd | 93cedc34a08d52d71a90743ee4fd1e84c9763d14 | [] | no_license | muschellij2/docxtractr | 56bfb5c8a36fb4b968b6feb2e690cda5eefdf4d9 | c6b5a0524340ce545580cee88c410771f09c292f | refs/heads/master | 2020-06-19T07:42:20.168013 | 2020-06-16T22:40:18 | 2020-06-16T22:40:18 | 196,622,286 | 0 | 0 | null | 2019-07-12T17:52:39 | 2019-07-12T17:52:39 | null | UTF-8 | R | false | true | 1,607 | rd | assign_colnames.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/assign_colnames.r
\name{assign_colnames}
\alias{assign_colnames}
\title{Make a specific row the column names for the specified data.frame}
\usage{
assign_colnames(dat, row, remove = TRUE, remove_previous = remove)
}
\arguments{
\item{dat}{can... |
42406e46acd7daea51beb2423c1ea736da0c4efd | 3fa1b23746232975b3b014db2f525007a3b49991 | /anna_code/6_minute_walk_analysis/classify_survey_sex.r | c960e2973614ff1fe2ba77abb25a9f2fd274d955 | [] | no_license | AshleyLab/myheartcounts | ba879e10abbde085b5c9550f0c13ab3f730d7d03 | 0f80492f7d3fc53d25bdb2c69f14961326450edf | refs/heads/master | 2021-06-17T05:41:58.405061 | 2021-02-28T05:33:08 | 2021-02-28T05:33:08 | 32,551,526 | 7 | 1 | null | 2020-08-17T22:37:43 | 2015-03-19T23:25:01 | OpenEdge ABL | UTF-8 | R | false | false | 5,415 | r | classify_survey_sex.r | library(tree)
library(data.table)
library(gbm)
rm(list=ls()) #REMOVE OLD VARIABLES FROM ENVIRONMENT
source('/home/anna/r_scripts/split_data.R')
setwd('/home/anna/r_scripts/')
metadata_file<-'/home/anna/r_scripts/Non_timeseries_filtered2.tsv'
meta<-read.table(metadata_file,sep="\t",header=TRUE,row.names=1)
merged<-as... |
c9c494a2c1cf83e07d41883318226890e1ff6fe7 | 3076790177b055d06f79b5626f79056c3f947a68 | /R/set_plot_format.R | fec9e825fcb5eaa997112fda449b3caf3de901d6 | [] | no_license | genomewalker/oligo4fun | 44d71a0e02bdaab371d8fa9d3f317ccc3169e323 | 775c32b15a61229c07b428041e3124cbb888a21b | refs/heads/master | 2020-04-06T07:01:41.241217 | 2016-11-02T11:04:30 | 2016-11-02T11:04:30 | 52,823,649 | 0 | 1 | null | 2016-02-29T22:35:03 | 2016-02-29T20:49:05 | R | UTF-8 | R | false | false | 444 | r | set_plot_format.R | #' @export
.set_plot_format <- function(format, file_name){
if((format == "pdf")){
pdf(file_name, height = 8.27, width = 11.69)
}else if ((format == "png")){
png(file_name, height = 8.27, width = 11.69, units = "in", res = 300)
}else if ((format == "jpg")){
jpeg(file_name, height = 8.27, width = 11.69... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.