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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
53ddb8263f52c24361192d512f3e66e75ec76a3a | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /FRK/man/show_basis.Rd | 6eedf96e2329e1a83990c282878d1276818f88af | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,820 | rd | show_basis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGeneric.R, R/plottingfns.R
\docType{methods}
\name{show_basis}
\alias{show_basis}
\alias{show_basis,Basis-method}
\alias{show_basis,TensorP_Basis-method}
\title{Show basis functions}
\usage{
show_basis(basis, ...)
\S4method{show_basis}{Ba... |
da1902f21d4cd1816958eed718aba4279dd96c31 | ede21985ba2bab4ad9acecbc0683e45d2047bfc5 | /estimates_BC_All.R | a2e58c19e9d370386152e6a38a558cb78236ed57 | [] | no_license | rgangnon/NonBreastCancerMortality_by_Race | 577cf2837d11e49ace0667b1799e28dfd4f32cfb | 41317b8a0d8693b0a416b325f8512950a4136fad | refs/heads/master | 2022-11-28T17:11:58.194399 | 2020-07-20T15:08:57 | 2020-07-20T15:08:57 | 281,140,486 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,552 | r | estimates_BC_All.R | library(tidyverse)
library(mgcv)
BC_All_Estimates <- tibble(age=rep(0:99,length(1968:2018)),
period=rep(1968:2018,rep(length(0:99),length(1968:2018)))) %>%
mutate(cohort=period-age)
BC_All_Estimates <- predict_APC(BC_All_APC_AllRaces,BC_All_Estimates) %>%
rename(lp_all=lp,se_lp_all=se... |
eab4230d4bc81a48ae78f6daa4c4ee772f5d2544 | a024aa0784f79403bcb4309de77ba7cd2019e2a0 | /cachematrix.R | 19bd11539eef8e32e819d2f705e444479540e2cb | [] | no_license | jorgerojasrivas/ProgrammingAssignment2 | b673fc26a553dd3ea7b88979f4964d4534fe2304 | ae5e75c15f90b7daa13b0f0b2f4e41594421f670 | refs/heads/master | 2020-04-03T02:48:24.044844 | 2015-09-23T23:44:13 | 2015-09-23T23:44:13 | 42,889,154 | 0 | 0 | null | 2015-09-21T19:33:40 | 2015-09-21T19:33:40 | null | UTF-8 | R | false | false | 1,451 | r | cachematrix.R | ## makeCacheMatrix is a function that creates a "matrix" object that caches
## its inverse.
## cacheSolve does the actual computation of the inverse of the object returned
## by makeCacheMatrix. cacheSolve uses the solve(X)function in R.
## If the inverse has already been calculated, and the matrix has not changed,... |
ab614b976fc6d0f392bda0e25154596fd0d93d32 | 935753e266e577fc241529a2f1cef200c6fb0e5d | /analysis/groceries/food_nutrients_dplyrXdf.R | 6b3b04cdf0a5bb2ffbde9006dd4e1b8435219e71 | [
"Apache-2.0"
] | permissive | rmhorton/sim_diabetes_data | a35f5e856aa3464a970e0872051cde6f5a8f8485 | ac0d3d2a01e7a27bf0407d5ccd259f645e098b08 | refs/heads/master | 2021-01-09T20:26:36.241025 | 2016-12-17T00:15:18 | 2016-12-17T00:15:18 | 61,665,128 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,017 | r | food_nutrients_dplyrXdf.R | # dplyrXdf version by Seth Mottaghinejad and Ali-Kazim Zaidi, Microsoft
# Ali's note:
# Unfortunately, dplyrXdf isn’t as smart as dplyr in regrouping, especially when the xdf is piped
# off to a mutate operation, which typically doesn’t want a grouped object. Adding an ungroup()
# verb to the pipeline seems to ... |
1601d3ec1a97aee6b0de0c322c17b37c5cc70f3f | 0be9cdf6fa55b333c0b85cec0f11a59b21da3662 | /man/LRH01.Rd | 603e2788b492ad70745b090777c6a6beb6c8f91a | [] | no_license | cran/caribou | 869fc7e68a2d526227309aa5b07cacce55f8505d | 52178b1b67681b9b91a156a78da27fb06f7cd954 | refs/heads/master | 2022-05-04T03:48:42.848347 | 2022-04-13T20:32:46 | 2022-04-13T20:32:46 | 17,694,977 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,382 | rd | LRH01.Rd | \name{LRH01}
\alias{LRH01}
\docType{data}
\title{
Leaf River Herd 2001 Data
}
\description{
Population size of the Leaf River (Riviere aux Feuilles) herd (Quebec)
from a postcalving survey in July 2001.
}
\usage{data(LRH01)}
\format{
17 by 2 numeric matrix, with the following columns:
\describe{
\i... |
0e7b8bd83d47e92e755500cb8df460eed76c06a0 | 152c728d929462e15cb6be8ff052977a43051647 | /plot1.R | 52547be08dd2f04b69e8e2d7e713c56458e1cd13 | [] | no_license | Bibus/ExData_Plotting1 | 7159a77ce35bb7e2d8d8b8ab6c2e6d86e5c461bd | bd4fe2ee167de8dab7db02de3957d559a829d87a | refs/heads/master | 2020-04-06T04:35:19.430987 | 2015-07-11T11:44:35 | 2015-07-11T11:44:35 | 38,903,248 | 0 | 0 | null | 2015-07-10T21:40:05 | 2015-07-10T21:40:05 | null | UTF-8 | R | false | false | 556 | r | plot1.R | # read data frame with all data
dataAll <- read.csv2("household_power_consumption.txt", na.strings = "?", stringsAsFactors=FALSE)
# converts date to the right structure and make subset in data frame data
dataAll$Date <- as.Date(dataAll$Date, format = "%d/%m/%Y")
data <- subset(dataAll, Date == "2007-02-02" | Date == "... |
6a902ee37e8ff381681ed02f021d599e1145d223 | 2b252b44d3177ab9e10a2b34f4551198db67eeb5 | /Week 2 Assignment R Coursera.R | 53e3171a60d272e27de61f73b4fe527b114641cf | [] | no_license | dhrubasattwata/R-Programming | 3c661a95a0d7c870993811483c063e2d7db0c128 | 76a72c46b1fec33795fe5903c3af14a48e7ddd75 | refs/heads/master | 2021-01-19T18:41:51.823540 | 2017-08-24T11:32:34 | 2017-08-24T11:32:34 | 101,155,247 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,187 | r | Week 2 Assignment R Coursera.R | #specdata folder containing 332 csv files in your wd
#Poluution_Mean
pollutantmean <- function(directory, pollutant, id = 1:332) {
files_full <- list.files(directory, full.names = TRUE)
dat <- data.frame()
for (i in id) {
dat <- rbind(dat, read.csv(files_full[i]))
}
mean(dat[, pollu... |
8616a5bf9bcb2d89a5a578c7f8dd5d063680d64f | 5017bd957040d7345071f46888f7a058e00daa49 | /tree_tools/make_busco_completeness_figure.R | 84adcd2409917ac6b8e3914f0bd55bf01c4b9ecf | [] | no_license | kirstengott/scripts | e2bbcc4dc1b3f7d851cf2c0f9d7358a826e86e2d | 5638d82928548d003978c9a1c290ca4d5d2657f3 | refs/heads/master | 2023-08-08T13:37:39.912095 | 2023-07-26T05:35:50 | 2023-07-26T05:35:50 | 61,399,217 | 0 | 1 | null | 2016-06-21T18:31:04 | 2016-06-17T20:02:23 | R | UTF-8 | R | false | false | 2,164 | r | make_busco_completeness_figure.R | #!/usr/bin/Rscript
args <- commandArgs(TRUE)
if (length(args) == 0L || any(c('-h', '--help') %in% args)) {
message('usage: path/to/busco_plot.R busco_db_path busco_dir
busco_db_path path to the busco lineage database
busco_dir path to directory holding busco results to collate in the plot
... |
eac330d4a8b9bcc644d01714f34fdc28f9587b69 | 244474826a849c395337f02e7b13db8eae78b148 | /jjBarret.R | ffafe2f9e8db6116ad460bf65bdf8b057ff5b016 | [] | no_license | IvoVillanueva/jjBarret | ff08569d1610378dbf47e52e6c7548c29cee8f03 | 088a85e2a90ebbe52935d7173faf1745f98977aa | refs/heads/main | 2023-04-03T19:11:13.747411 | 2021-04-10T17:50:52 | 2021-04-10T17:50:52 | 356,653,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,927 | r | jjBarret.R | library(tidyverse)
library(rvest)
library(janitor)
library(stringr)
library(extrafont)
library(cowplot)
library(ggtext)
library(ggimage)
theme_ivo <- function () {
theme_minimal(base_size=8, base_family="Chivo") %+replace%
theme(
panel.grid.minor = element_blank(),
plot.background = element_rect(fil... |
864ce74c48455235f880d41ec0608c51f3e0219b | 94daab40ddcd9397471f55b5b54df7c4cf509bd4 | /man/rotation.Rd | 3d48c9a114baf6bfb58b546d77d89f4faea42155 | [] | no_license | cran/alphahull | 5b7eb253e79eebdc34e85e0957ed504e1aba1481 | 1b465435829c449568242d41ecbf3b7b7d5584d7 | refs/heads/master | 2022-06-22T06:10:48.363549 | 2022-06-16T16:00:02 | 2022-06-16T16:00:02 | 17,694,339 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 804 | rd | rotation.Rd | \name{rotation}
\alias{rotation}
%- Also NEED an '\alias' for EACH other topic documented here.
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Clockwise rotation}
\description{
This function calculates the clockwise rotation of angle \eqn{\theta} of a given vector \eqn{v} in the plane.
... |
87565fb742f7f56847f8420d85f6593340325c0f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MDplot/examples/ramachandran.Rd.R | d7eab81ff9ce7922e7644164acd11dcba2243e0f | [] | 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 | 397 | r | ramachandran.Rd.R | library(MDplot)
### Name: ramachandran
### Title: Ramachandran plot for two dihedral angles
### Aliases: ramachandran
### Keywords: ramachandran angles dihedral
### ** Examples
# GROMOS (see load_rmsd() for other input possibilities)
ramachandran( load_ramachandran( system.file( "extdata/ramachandran_example.txt.gz... |
c6e5427133c5f9ad8b5cf0654824198674e0d032 | 7b3ee03c13245b259dfc5bda1718e0a96e7979a9 | /plot2.R | abe9c30eead0a8a273a876232a614aec7bb725e8 | [] | no_license | freshsnow/ExData_Plotting1 | 1bd3cd2345a5a9050cd9692ec02bf9219fe2fa88 | adb3d857f7614f1a4c1ba301cb732367ca7fbea0 | refs/heads/master | 2021-01-15T09:09:46.895426 | 2015-12-11T19:48:44 | 2015-12-11T19:48:44 | 47,843,571 | 0 | 0 | null | 2015-12-11T18:19:19 | 2015-12-11T18:19:19 | null | UTF-8 | R | false | false | 923 | r | plot2.R | #figure out class time of columns to aid in faster data loading
initial <- read.table("household_power_consumption.txt", header=TRUE, sep=";", comment.char = "", nrows=100, na.strings = c("?"))
classes <- sapply(initial, class)
#read raw data and extract rows pertaining to period of interets
hpc <- read.table("househ... |
a25edc1b58bd033d8547664e4e64fa90892d0a0a | 02f053ce70b065724d4a02619fb402adcc0ec997 | /analysis/boot/boot468.R | 3eacfd3e90f16c9b037488bc3985c247d166b75f | [] | 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,760 | r | boot468.R | seed <- 468
log.wt <- -14.421658319440617
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.... |
3b856ecf80393be9e61e311e40c06d94714d2f20 | 69b49ce61413bc8190227621b0aa8dfaf951a048 | /src/Concerto/TestBundle/Resources/R/concerto5/R/concerto.test.getVariables.R | fbbed0602144148bb21f4f5738148a0c42e9496a | [
"Apache-2.0"
] | permissive | campsych/concerto-platform | de926ae820f2a3cf6985598f3824dee8f4615232 | 988b67e8d52acbf25fdc9078e7592cc07d2dd9a3 | refs/heads/master | 2023-08-31T08:09:05.570628 | 2023-08-23T16:43:03 | 2023-08-23T16:43:03 | 55,242,761 | 164 | 109 | Apache-2.0 | 2023-07-26T15:10:48 | 2016-04-01T15:34:25 | PHP | UTF-8 | R | false | false | 326 | r | concerto.test.getVariables.R | concerto.test.getVariables = function(testId){
idField <- "test_id"
testId <- dbEscapeStrings(concerto$connection,toString(testId))
result <- dbSendQuery(concerto$connection,sprintf("SELECT id, name, value, type FROM TestVariable WHERE %s='%s'",idField,testId))
response <- fetch(result,n=-1)
return(respon... |
3f0b94458015716199c8a651c2150cabda23e59f | 4c0a4c1539ab2ae54ffb69696fa8298ca55adc58 | /R/roc.utils.percent.R | 7d213a0aa05480eefc7480edb1f6212eb7777d2e | [] | no_license | xrobin/pROC | d00ee196d2ac7530c913324d2977c5cfad72457c | 435109419a29f538afa766e5fd113afd8958c722 | refs/heads/master | 2023-08-04T11:18:38.037879 | 2023-07-04T06:38:35 | 2023-07-04T06:38:35 | 2,377,999 | 114 | 35 | null | 2023-06-25T07:54:20 | 2011-09-13T12:09:08 | R | UTF-8 | R | false | false | 5,024 | r | roc.utils.percent.R | # pROC: Tools Receiver operating characteristic (ROC curves) with
# (partial) area under the curve, confidence intervals and comparison.
# Copyright (C) 2010-2014 Xavier Robin, Alexandre Hainard, Natacha Turck,
# Natalia Tiberti, Frédérique Lisacek, Jean-Charles Sanchez
# and Markus Müller
#
# This program is free sof... |
4ef97c729fc356dccf7a61d7eb2daff29ebb5870 | c8267d9b8cc820543db41e9061c66371af97928a | /scripts/ipedsgeo.r | cb72df24ee03457a7f8ccf3a9f87389c5e443431 | [] | no_license | btskinner/colchoice_rep | be2e81d8c5436639568a6d7b15c5249076d1487a | 61afe56177636220284acb6feb9765f842889479 | refs/heads/master | 2021-11-09T20:24:29.330541 | 2021-11-08T16:05:42 | 2021-11-08T16:05:42 | 133,262,913 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,457 | r | ipedsgeo.r | ################################################################################
##
## IPEDS geocode
## Benjamin Skinner
## INIT: 15 January 2015
##
################################################################################
## clear memory
rm(list=ls())
## libraries
library(zipcode); data(zipcode)
## raw file ... |
9dff8cb333eb86fba109a2e93e848091e110e3b0 | 34b1ab46a70fe81143874a40d6493c0254f1e5c9 | /R/empirical_bayes_baseball_binomial_regression.R | be91ed84e3a69a9fe9bcb3505e11c66872f0f541 | [] | no_license | yama1968/Spikes | 5f974a20812dbd88f789cabf7720826d358f8e76 | 498b0cacfc23627ecee743f012a6fda6451cda7f | refs/heads/master | 2021-06-06T00:33:33.637745 | 2020-11-14T18:49:25 | 2020-11-14T18:49:25 | 29,531,065 | 2 | 0 | null | 2020-11-12T21:13:21 | 2015-01-20T13:29:35 | Jupyter Notebook | UTF-8 | R | false | false | 2,461 | r | empirical_bayes_baseball_binomial_regression.R | ##
# http://varianceexplained.org/r/empirical_bayes_baseball/
library(dplyr)
library(tidyr)
library(Lahman)
career <- Batting %>%
filter(AB > 0) %>%
anti_join(Pitching, by = "playerID") %>%
group_by(playerID) %>%
summarize(H = sum(H), AB = sum(AB)) %>%
mutate(average = H / AB)
# use names along with the p... |
e92452b43830355e3d6659338bb45ce16fb316f7 | 8d70cec5f2dba44c28ab8407e44b9076a449ff76 | /tests/testthat/test-zoo.R | a560b9ec98bc74c208da9f0c50a40e2335901564 | [
"Apache-2.0"
] | permissive | poissonconsulting/nrp | b0cc4d538a646c99bb4f37a173600058a48780f3 | 69bc4c52f38ec7fde95b5e0b7a77e87eaf4cabaf | refs/heads/main | 2023-08-21T12:16:09.905121 | 2023-08-15T22:48:09 | 2023-08-15T22:48:09 | 169,335,839 | 0 | 0 | NOASSERTION | 2023-08-15T22:48:10 | 2019-02-06T00:42:44 | R | UTF-8 | R | false | false | 3,862 | r | test-zoo.R | test_that("nrp_read_zooplankton_file works", {
conn <- nrp_create_db(path = ":memory:", ask = FALSE)
teardown(DBI::dbDisconnect(conn))
path <- system.file("extdata", "zooplankton/Arzp20.xlsx",
package = "nrp", mustWork = TRUE)
wrong_path <- system.file("extdata", "ar-empty.rtf", package... |
89c3a2caea79d381820781ad3abb44c07d97de59 | 3cdc64f0da9df8e84a83edc7270c37e519128f42 | /spatialAnalysis/UIBDownscaling.R | 462387733dd5d0d810d420e3677d5865404e7ccc | [] | no_license | fidelsteiner/BasicCode | 9360144a67dfb7a95194c2b9797b3cea89730e11 | 7bd00f81f3ce1fc53219b2565503e02fde68c69c | refs/heads/master | 2023-03-04T20:10:26.485009 | 2023-02-21T16:55:40 | 2023-02-21T16:55:40 | 210,885,359 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,123 | r | UIBDownscaling.R | ################################################################################
# Downscaling of climate data for the Upper Indus Basin
#
# UIBDownscaling.R
#
# ReadMe:
#
# Downscaling climate data (T, P, snow cover) from ERA5-Land based on HydroBasins.
# Downscaling using the KrigR package
# Requires ECMWF API Key a... |
c0ba02e93d03c8303a1f235a4106b6cda2cd32ec | c2b88cbb2214e43945be1884a3e279a84bf1c945 | /man/getSymFracBSignal.Rd | 1923ca77bc8251687b8a903ed74a444f70f47356 | [] | no_license | sblanck/MPAgenomics | fc95ac97a917e02884c7b8d580cd8fc600bb828a | cb9450732d3bd060b5ef1332c55085860c08ed47 | refs/heads/master | 2021-07-06T06:40:08.862794 | 2021-04-23T14:51:48 | 2021-04-23T14:51:48 | 73,392,329 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,964 | rd | getSymFracBSignal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getSymFracBsignal.R
\name{getSymFracBSignal}
\alias{getSymFracBSignal}
\title{Extract symmetrized allele B fraction signal from aroma files}
\usage{
getSymFracBSignal(
dataSetName,
file,
chromosome,
normalTumorArray,
verbose = TRUE
... |
f1180c51bcb9a51d8f7b4e4d2ea21260619f42f3 | 3dfbdf712149ad437f9757e75b394f36e27c231d | /generate_revisions_on_cities.R | 7097a4e2975c6c4efd9950a5f6e35394002ecf86 | [] | no_license | ELAZHARIOussama/OPTD | 8cafe8adceb14788a233995717ed2c69b86cc9e6 | 2576ba8d754b2eda3d27b806432e11a10b29b0e8 | refs/heads/master | 2021-01-19T11:02:58.653476 | 2015-09-08T09:57:37 | 2015-09-08T09:57:37 | 40,601,237 | 0 | 1 | null | 2015-08-14T11:33:26 | 2015-08-12T13:09:59 | R | UTF-8 | R | false | false | 2,098 | r | generate_revisions_on_cities.R | # this function do the joining and provides as result a data frame containig all revision done on cities
revisions_on_cities<-function(input,optdCities,wikipediaWikidata,wikivoyageWikidata,output){
#reading the wikivoyage revision history.
data_frame<-read.table(input,sep="," ,na.strings = "NA",col.names=c("t... |
3d3637d0ffda56cf3800ab3f160e0d869dc1cdc8 | c194c5236006a758b29bd4d530ad563dc9ecab7e | /inst/apps/probability_functions2/ui.R | 8c77e7d881991a72eab85133e3a0d0e6eef6daea | [] | no_license | Auburngrads/teachingApps | 1087c20a21992433a2f8451db7b1eaa7d1d2cb89 | b79c192e5f74c5e8376674d4fb9e0b95a426fe03 | refs/heads/master | 2021-03-16T07:49:56.579527 | 2020-06-14T12:10:12 | 2020-06-14T12:10:12 | 51,677,745 | 15 | 7 | null | 2018-03-01T03:44:58 | 2016-02-14T03:22:47 | R | UTF-8 | R | false | false | 2,509 | r | ui.R | ui = navbarPage(title = 'Probability Functions',
collapsible = T,
position = 'fixed-top',
theme = add_theme(getShinyOption('theme')),
header = add_css(),
footer = add_logo(),
tabPanel('Overview',
uiOutput('overview', class = 't... |
6e89387fd93a2a25d2f62520d6195bc00ee8a128 | a9aa19072af46cbc51c1fe95c221ad5227a81b9c | /plot1.R | af5c222507540f7256aa67b491b154f416053e0d | [] | no_license | gravi-teja/ExData_Plotting1 | e54e8e4559644980003c4fecfe51a86e8007fa45 | 4fa6470a3d113ccf4285561b46c3d9b611e8e52e | refs/heads/master | 2021-01-17T23:14:12.860913 | 2015-08-16T21:01:30 | 2015-08-16T21:01:30 | 40,806,262 | 0 | 0 | null | 2015-08-16T09:00:43 | 2015-08-16T09:00:43 | null | UTF-8 | R | false | false | 466 | r | plot1.R | plot1<-function(){
data<-read.csv2("household_power_consumption.txt", na.strings="?");
data$Date<-strptime(paste(data$Date, data$Time, sep=" "), "%d/%m/%Y %H:%M:%S");
data<-data[data$Date<strptime("2007-02-03", "%F"),];
data<-data[data$Date>=strptime("2007-02-01", "%F"),];
png(filename="plot1.png")
hist(as.... |
dfd898238c3e6be24ee46817e1fcb51d6c2396d8 | 789c0c3b0fc4abe910453a520ff6a0392b43d30d | /PrimRecur/waterfall_IOD.r | 76c94da86d4b89bfd34294ba139cc151395c3e76 | [] | no_license | SMC1/JK1 | 7c71ff62441494c09b148b66b4d766377c908b4b | db8ec385468f8ff6b06273d6268e61ff4db3701f | refs/heads/master | 2016-09-05T17:29:15.217976 | 2015-04-29T05:58:02 | 2015-04-29T05:58:02 | 6,700,479 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 661 | r | waterfall_IOD.r | waterfall_IOD <- function(
inFile,
outFile
)
{
dataT = read.delim(inFile)
dataT = dataT[order(dataT[,2],decreasing=F),]
pdf(outFile)
barplot(dataT[,2], space=0,col="white", names.arg=dataT[,1], cex.names=0.7, las=3, ylim=c(-100,100),ylab="% IOD Chnage")
dev.off()
}
#waterfall_IOD('EGFR_IOD_chang... |
27df77beb3adef23273fa5e6b82b6284708f2d58 | 0419c49a00967c2eae4c577a9fac79e7464b675b | /Boxplots.R | 9694477c3be44b163b5874bf5b40bdb3cf187c7b | [] | no_license | zerland/PhD_Code | 1a6348f89e98da387dffd5fdfd9c2a104d116213 | 51d702adf900117d64a8f250879820e6d89e91de | refs/heads/master | 2023-03-18T18:59:56.892139 | 2019-03-08T11:50:15 | 2019-03-08T11:50:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,043 | r | Boxplots.R | ####BOXPLOT ANALYSIS OF MICROARRAY DATA####
dev.off()
par(mfrow=c(3,2))
#C9orf72
boxplot(exp_C9.LCM, las=2,
col = c("red","red","red","red","red","red","red",
"red","green","green","green"), main = "C9orf72")
legend(100, 100, legend=c("Disease", "Control"), col=c("red","green"))
#CHMP2B#
bo... |
bffa15f96bc581dd42f2cccf05b089cf6c1da277 | eff55072683a6e7f712ac56ad5b74013a9deada7 | /run_analysis.R | 361f5d2778d37125203b9d300d02623b54c50cad | [] | no_license | AdryLu/Getting-and-Cleaning-Data-Week4 | bc55c6c7042a120ceb91a5ea0f3dd01e2eadc416 | 8862b2cd747d9c6cc31f61ae749824b8838cf87b | refs/heads/master | 2021-01-19T15:46:27.188281 | 2017-04-16T04:30:04 | 2017-04-16T04:30:04 | 88,227,919 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,724 | r | run_analysis.R | ##Unzip the file containing the data sets
##Set your working directory to the extracted folder "UCI HAR Dataset"
## The following line is used to get the path to the working directory ("UCI HAR Dataset")
datafolder<-getwd()
## Read the features.txt file in the UCI HAR Dataset folder, this file cointains the var... |
e0360d0827b675e65e4908096680747a0951a314 | 6d65a534673543684f0a97740e7e7b831f50ea47 | /inst/scripts/hh2/yatesppl.ex.R | 0d5b9fb7a315d6338680bd127afd8af0fa6d4caf | [] | no_license | cran/HH | 91151d240d6ecc1334fd79f1b0dfbbc28ca68df6 | a6ee768cedcebd4477bb9a5b4d0baa3d16e4dca0 | refs/heads/master | 2022-09-01T20:50:52.605306 | 2022-08-09T15:10:07 | 2022-08-09T15:10:07 | 17,691,800 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,968 | r | yatesppl.ex.R |
### a. The whole plot column space is defined by the
### plots %in% blocks
### dummy variables generated by the
## alternate residuals formula: orthogonal contrasts are critical
data(yatesppl)
yatesppl.resida.aov <- aov(y ~ blocks/plots,
data=yatesppl, x=TRU... |
6607107b8a5024f924858c3333fdeae79a472a11 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fromo/examples/runningmean.Rd.R | 76a1cd14e42938934a97ef4bdd542ed62b663140 | [] | 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 | 221 | r | runningmean.Rd.R | library(fromo)
### Name: running_sum
### Title: Compute sums or means over a sliding window.
### Aliases: running_sum running_mean
### ** Examples
x <- rnorm(1e5)
xs <- running_sum(x,10)
xm <- running_mean(x,100)
|
8ed1d37c4e8dbefe5949fe863b50a68f1d188079 | 8aeeec08825e1b66a3a267a410e1655c06dace7b | /project_selection/180216_boxplots_comment_and_pullrequest_count.R | 2fa03b7dc87c36e3c74bd13fc7249acf808db6a0 | [] | no_license | maxthemillion/gitNetAnalyzer | 80736502f70efb9b76befeb3c7dfcf58acec0f3f | 87d2c671dc37401fc8e097946aea0f6aaf6af333 | refs/heads/master | 2021-05-09T13:13:06.388117 | 2018-04-27T10:33:51 | 2018-04-27T10:33:51 | 119,028,440 | 0 | 0 | null | 2018-04-26T09:28:03 | 2018-01-26T08:50:51 | R | UTF-8 | R | false | false | 3,997 | r | 180216_boxplots_comment_and_pullrequest_count.R | import_path = "Import/180216_no_comments_and_pull_requests_per_owner.csv"
df1 = read.csv(import_path, header=TRUE, sep=",", stringsAsFactors = TRUE)
import_path = "Import/180216_count_commits_per_owner.csv"
df2 = read.csv(import_path, header=TRUE, sep=",", stringsAsFactors = TRUE)
df1$comment_count_log = log(df1$comm... |
b128ff5ebfafe36e1966c7bced7c2aec010c4e13 | 44039e6fa92f04c587839174ce79797cf4ca575d | /tests/testthat/test_lengthen_hydrographs.R | 98415247813cb5c298badc1efc60f21bcbf3053e | [
"CC0-1.0"
] | permissive | mpdougherty/razviz | 58ee97162d9c0360a9b50060f83131a7508cce3d | a4edd0b9fe89707ba29c1bb4d767d8011bc5c846 | refs/heads/master | 2023-04-04T20:11:30.106910 | 2021-03-26T19:22:08 | 2021-03-26T19:22:08 | 273,563,278 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,299 | r | test_lengthen_hydrographs.R | context("lengthen hydrographs")
library(razviz)
# Event 2008, Calibration #9
folder <- system.file("extdata/hydrographs/2008_calibration_9",
package = "razviz")
event <- "2008"
run_number <- 9
run_type <- "Calibration"
cal_2008 <- razviz::import_csv_manualrasoutput(folder = folder,
... |
309067bd4902d7d52ba4febde5e8ebdef9f623ff | 7c45a36bfcd825044b743023e9f522ef17f32198 | /man/format_sec.Rd | 1c5509a1a8ebaed4a26ce1644fca471ef3ba3f43 | [
"MIT"
] | permissive | andybega/demspaces | bffe324c24fa4919a7ca2e958aa2a72185e2be92 | 111544b8a278969067027cf47128719495d768f0 | refs/heads/master | 2021-06-20T08:22:24.165205 | 2021-04-15T07:33:56 | 2021-04-15T07:33:56 | 205,905,499 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 286 | rd | format_sec.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{format_sec}
\alias{format_sec}
\title{Format seconds}
\usage{
format_sec(x)
}
\arguments{
\item{x}{a numeric vector}
}
\description{
Format seconds into hh:mm:ss
}
\examples{
format_sec(1683)
}
|
0e7e7fcdba554b6c1f7b70a8edb693403bf26b19 | 494154618993f6a3264dcf35de48416efdb63197 | /man/Rhabdo1.Rd | 57e52741906e3b34f6df97181d56ecdd148b0a0a | [] | no_license | collinn/sassyR | c90178613843fd22adebc725edc268aedf3d2865 | 2c9bd0a86a3f09d126726fb0997619c862673790 | refs/heads/master | 2021-01-15T01:08:54.037104 | 2020-04-29T15:03:01 | 2020-04-29T15:03:01 | 242,824,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 489 | rd | Rhabdo1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rhabdo1_data.R
\docType{data}
\name{Rhabdo1}
\alias{Rhabdo1}
\title{Hawkeye Rhabdo Football Study}
\format{
An object of class \code{"data.table"}
}
\usage{
data(Rhabdo1)
}
\description{
Rhabdo dataset including None, 1_to_3 and 4_to_5
}
\exa... |
805e82ec36d93ea171d958b73c2a812a6f592aa2 | 437ea30837d0068b8bca815f500396f30cd2ff74 | /man/pair.compare.Rd | 314765a2a9485f8e47331dfa6c44da218661c6c3 | [] | no_license | hummelma/GlobalAncova | 0d51390638a353a3d2732a962f05b9a2a73606fc | f2512c80850a0b0ebb6d5ee53c6ed9228b85b74c | refs/heads/master | 2021-06-15T19:42:03.969139 | 2021-01-31T09:39:31 | 2021-01-31T09:39:31 | 123,418,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,176 | rd | pair.compare.Rd | \name{pair.compare}
\alias{pair.compare}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Pairwise comparisons of factor levels within GlobalAncova}
\description{Pairwise comparisons of gene expression in different levels of a factor by GlobalAncova tests.
The method uses the reduction in re... |
ab328afdfc478fbc47c4ba0078aca83ea6bfc9a4 | 599c3ee6ad8f20e3bf98374aac4946e7f611e225 | /clusterassessment.r | 1e981764d308c40c652920e3a4c404d67de162ff | [] | no_license | MatsushitaT/Codes | 2842c806309189c788c5c5beb589954a30d6fa09 | e5064fd1e606dc113cb4f7fc43bbb920e49843cb | refs/heads/master | 2020-04-06T12:12:15.759495 | 2012-09-07T16:22:07 | 2012-09-07T16:22:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,370 | r | clusterassessment.r | rm(list=ls())
setwd("~/Analysis/Cortex_thickness/")
source("~/Analysis/Cortex_thickness/Codes/cor.test.2.r")
##### READ DATA
## read table
left <- read.table("cortical-thickness-left-hemi.txt",
sep="\t",header=T,quote="", comment.char="",as.is=T)
## name first four columns
names(left)[1:4] <- c("I... |
4600ee22ea5013adea479d1e8bb25fa57f0deb9b | a50ef8150427fd6490c28f0d5ca00eb5b6da0ba9 | /Clase 02/multiple_regression_PREDICT.R | 1384a35848f54a5353df99ef120c0a06f26e207d | [] | no_license | isajar/CursoAlgoTrading | e86271173d9020ad928818bde7ae928aac227b36 | ca8dcfe935f215732440ed2f97ac9c5f99d99728 | refs/heads/master | 2023-02-26T20:27:25.549880 | 2021-02-08T20:16:00 | 2021-02-08T20:16:00 | 337,196,883 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,284 | r | multiple_regression_PREDICT.R | ## Cargo el set de datos.
## Chequear el PATH donde se encuentra guardado el de set de datos de entrenamiento.
## seteo directorio del proyecto
setwd("/Users/isajarspector/Desktop/algoTrading/Clase 02")
#header true siempre hay que poner cuando tenga header los datos (para obviar la primera fila)
training <- read.csv(... |
0bd1429ec1d20127d2e8cbe85d9b946ad5faf5e2 | ffb160e58424d271c0cc32bd5c20e38a81cec151 | /time_series/calculate_no_nc_seasonality_strengths.R | bbd5286ac84552ffcfce99ba0d849aa077e23e14 | [] | no_license | wilkox/diurnal_variation | 4bbd56cbfa5e1118f58df2df4f1c0ece85088445 | e84e7582c8ce4d29ac3275e44cc4d3f6037c7af7 | refs/heads/master | 2023-01-11T14:14:27.408295 | 2020-11-19T08:03:43 | 2020-11-19T08:03:43 | 314,176,883 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,011 | r | calculate_no_nc_seasonality_strengths.R | # Libraries
library(tidyverse)
library(furrr)
plan(multisession)
# Function to decompose a time series of species abundances
decompose_abundances <- function(x) {
x %>%
select(timepoint, abundance) %>%
mutate_at("timepoint", ~ factor(., levels = min(.):max(.))) %>%
complete(timepoint, fill = list(abunda... |
e50406114e9de5b2cf5e782b2dfabc8846bb7de4 | 79b935ef556d5b9748b69690275d929503a90cf6 | /man/Jinhom.Rd | e67eb3231113c6cbbed2d6a7f0bb31917bcffbd1 | [] | no_license | spatstat/spatstat.core | d0b94ed4f86a10fb0c9893b2d6d497183ece5708 | 6c80ceb9572d03f9046bc95c02d0ad53b6ff7f70 | refs/heads/master | 2022-06-26T21:58:46.194519 | 2022-05-24T05:37:16 | 2022-05-24T05:37:16 | 77,811,657 | 6 | 10 | null | 2022-03-09T02:53:21 | 2017-01-02T04:54:22 | R | UTF-8 | R | false | false | 6,986 | rd | Jinhom.Rd | \name{Jinhom}
\alias{Jinhom}
\title{
Inhomogeneous J-function
}
\description{
Estimates the inhomogeneous \eqn{J} function of
a non-stationary point pattern.
}
\usage{
Jinhom(X, lambda = NULL, lmin = NULL, ...,
sigma = NULL, varcov = NULL,
r = NULL, breaks = NULL, ratio=FALSE,
update = ... |
b957c0e12de2c6539e167c49b09c38330dc1162b | a9d06b27407d3b1f03d1b61d637200eec5d77475 | /5_PollenTransport.R | b5f74db2c1ed7892c91b00cd56900c0bed9dc6da | [] | no_license | CallumJMacgregor/Chapter-5 | ae2dac2f57adedc34f5b70309c178b47995fb3b8 | dfcd155048b1b028f39c17cba4324a0ccbc5d812 | refs/heads/master | 2021-06-05T05:26:20.256272 | 2016-09-29T12:19:40 | 2016-09-29T12:19:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,947 | r | 5_PollenTransport.R | ########################################################
#### Script for basic pollen transport analysis ####
########################################################
### Clear the workspace
rm(list=ls())
### install if necessary and then load the libraries you need
j <- c("lme4","car","ggplot2","RVAideMemoire... |
eeda4fb1e6865807501cdcc236699dd0f0013c77 | 5b094ed8f782328eeb84389b0473c26b0bc8c333 | /plot1.R | 62544a477ffac40d9ddb555e00216b0f2cd82841 | [] | no_license | OnlineSquirrel/ExData_Plotting1 | 243e0d61cd41f9c204cdffc3af18fda4dcec9e72 | 94b265ef6bccf9376d7f02bf7108e0a7e005814a | refs/heads/master | 2021-01-15T15:26:46.459491 | 2015-05-09T03:16:47 | 2015-05-09T03:16:47 | 35,194,741 | 0 | 0 | null | 2015-05-07T02:39:28 | 2015-05-07T02:39:28 | null | UTF-8 | R | false | false | 916 | r | plot1.R | #### plot1.R ####
## This is a script that creates a histogram for Global Active POwer variable in the household_power_consumption.txt data set
## Script loads the household_power_consumption.txt into the data.frame and then, base on the requirements,
## plots the histogram for 2 days only - 2/1/2007 and 2/2/2007
co... |
c38a6f71c05918b2cbd4806e9b72b1d41498f450 | 26630b20a11c0f7438daeead44290c02cff70e8c | /cachematrix.R | 9500862cf1597e88029780e669e3dd4a784a4aea | [] | no_license | IshaniG/ProgrammingAssignment2 | e20b396bc45fd5261e61a05512b7ea2e74d1d02f | c9b9317aa07a79970434429c5cbdf3dba2c8142e | refs/heads/master | 2020-12-29T03:30:46.112310 | 2016-02-25T21:21:43 | 2016-02-25T21:21:43 | 52,556,278 | 0 | 0 | null | 2016-02-25T20:58:05 | 2016-02-25T20:58:04 | null | UTF-8 | R | false | false | 1,973 | r | cachematrix.R | ## makeCacheMatrix takes a square invertible matrix as its arguments and returns a list containing 4 functions to
## 1. set the matrix
## 2. get the matrix
## 3. set the inverse of the matrix
## 4. get the inverse of the matrix
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()... |
e2d7e3ab24dd661b39d9cbfbc6b863dc7f57b84b | 8eb4b0e89610dc7fdcc68463bdc57e5adbf10849 | /R/vcf_merge.R | 84857aa28b2c01ef535c8c273cfff9af80288efc | [] | no_license | cmcouto-silva/snpsel | f0b1fa1675fb10e15329cae874441f241f3a5e15 | e3898308f5b0b2ae071cefdc111f5334a0319cf7 | refs/heads/master | 2023-05-07T22:19:08.444440 | 2021-06-06T15:55:12 | 2021-06-06T15:55:12 | 127,948,086 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 672 | r | vcf_merge.R | #' @title Merge vcf files
#' @description Merge multiple vcf files in a single one
#' @param ... Character vector. Vcf file must be provided as strings (with full or relative paths).
#' @return Data.table/data.frame object with merged vcf files.
#' @examples
#' \dontrun{
#' vcf_files <- gtools::mixedsort(list.files(pat... |
0f717f9109b61351eccc2c90f57cbddb74541974 | d9d213281d875a47089f1a0114919eeceedf4a60 | /Figure 3/DESeq2.R | 69d6763ce5ce83c9f9dc60a5013ec4edca6d5d1c | [] | no_license | hibberd-lab/Xiong_High-light-response-of-the-rice-bundle-sheath | 6845c4eac2300e8621cd7cd738cda95b2d91906a | 221b6b7a9dfd87b67d6325ea77a3efb3db1d8d96 | refs/heads/main | 2023-03-31T08:04:41.543999 | 2021-04-15T08:20:10 | 2021-04-15T08:20:10 | 306,381,513 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,802 | r | DESeq2.R | library("dplyr")
library("ggplot2")
library(DESeq2)
library(tximport)
library(readr)
library("vsn")
library("pheatmap")
library("RColorBrewer")
library(ComplexHeatmap)
#
# make rice transcript database TxDb file
Os_tx2gene <- read.csv ("Os_tx2gene.csv", header = TRUE)
Os_tx2gene <- Os_tx2gene[,-1]
head (... |
3e0747a748ade7a02c1786a48538249f4dd25ac8 | 986f4587e6dd7aeb9783ccf7938f3da88cb33791 | /tools/ui.R | 83720de72acce3748c5a53f566ed8ecec382b833 | [
"MIT"
] | permissive | saini-insead/Data_Analytics_Case_SP500 | 71e18403b357446dca1509c2ff1b59fb68b7c7c6 | 05ce3dfd5379ef9b8fec73e763fdadb123f8ee20 | refs/heads/master | 2021-01-13T15:02:14.102329 | 2015-09-09T13:38:45 | 2015-09-09T13:38:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,436 | r | ui.R |
shinyUI(pageWithSidebar(
##########################################
# STEP 1: The name of the application
headerPanel("S&P 500 Daily Returns App"),
##########################################
# STEP 2: The left menu, which reads the data as
# well as all the inputs exactly like the inputs in RunStu... |
7560310ee7e7e10a50b58961ade184ad9a976dec | 9f17c48bf7f46cabbe96681fe6c1b8a7b49fcb80 | /man/delete_activity_log.Rd | 17cf9d69f3a1debb171c9c6a395b41707fdbe60d | [
"MIT"
] | permissive | af12066/fitbitr | 65bb496c9b2b4083aeb4bb3e72ec71ccdf43f5b6 | 1536bb801385d7c62b537218bc99ab9e92243336 | refs/heads/master | 2021-05-15T00:13:56.159195 | 2016-12-14T05:54:11 | 2016-12-14T05:54:11 | 103,651,464 | 0 | 0 | null | 2017-09-15T11:52:23 | 2017-09-15T11:52:22 | null | UTF-8 | R | false | true | 561 | rd | delete_activity_log.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/activity.R
\name{delete_activity_log}
\alias{delete_activity_log}
\title{Delete Activity Log}
\usage{
delete_activity_log(token, activity_log_id)
}
\arguments{
\item{token}{An OAuth 2.0 token generated by oauth_token()}
\item{acti... |
b9565a9dedaf900e0fb5ee13c75082a04da5f691 | 9be0cc2090b476e5b1983a0054e70a31947317f1 | /DeepKMeans.R | e97fc3479c0b24bfba9e779ad4a370a3073a2f1a | [] | no_license | vilcek/Deep_KMeans | 389f151a778f444f200131bd6b54a1e7037c932e | eba8892b03060b2be1b366466c6750fc5430bd7e | refs/heads/master | 2020-12-24T18:51:23.443855 | 2018-05-15T21:34:57 | 2018-05-15T21:34:57 | 58,093,214 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,361 | r | DeepKMeans.R | library(kernlab)
library(igraph)
library(KRLS)
createGraph <- function(dir) {
g_file <- read.table(paste('./', dir, '/network.dat', sep=''))
G <- graph.data.frame(g_file, directed=T)
A <- get.adjacency(G)
CM <- read.table(paste('./', dir, '/community.dat', sep=''))
GT <- CM$V2
names(GT) <- CM$V1
return(l... |
250833a6f155aca7fd85d044f812c5451da321ff | 4eea50b0d743bc6b0f81e71bca73327bc7007938 | /tutorial/example_1.R | c9039f6a762c1d415a745fcd967ac5557a779307 | [] | no_license | rral0/FAO_Bfast_workshop | 909b6641bd046dff61b28b838fde49a6fd12e60c | 4489bfb9a37024eee08be96b67c3c09003e55c9f | refs/heads/master | 2021-06-12T12:15:05.247716 | 2017-03-15T01:48:36 | 2017-03-15T01:48:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,600 | r | example_1.R | # Example 1: ####
source("~/wur_bfast_workshop/R-scripts/tutorial_0.R")
source("~/wur_bfast_workshop/R-scripts/accuracy_assessment.R")
example_title <- 1
results_directory <- file.path(results_directory,paste0("example_",example_title))
dir.create(results_directory)
log_filename <- file.path(results_directory, paste0(f... |
1542f96bafec335847b5ba0274a0dbd68f4aec77 | c32c54f47c35737ea4ba3a026c81b594fd02b1cf | /man/dateRangeForm.Rd | 92d77c056a6685c2c47b81e453d8d30517684554 | [] | no_license | quinnpertuit/rDailyFantasy | cd46596122d979b5c389d67b19bc354109fa0722 | fb00d802573c855f58d5b7b4d84f96d6724a66a6 | refs/heads/master | 2022-10-24T06:04:42.025973 | 2020-01-11T15:12:36 | 2020-01-11T15:12:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 450 | rd | dateRangeForm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dateRangeFormFunction.R
\name{dateRangeForm}
\alias{dateRangeForm}
\title{labs dateRange Formatting Function}
\usage{
dateRangeForm(yyyymmdd = "2018/03/29", days = 33)
}
\arguments{
\item{yyyymmdd}{"2018/03/29"}
\item{days}{any# i.e:44}
}
\v... |
87044863f12ab244ab2294650712cabb84eae855 | c12e3bb6a547c043bd7458d94f0b7a98f3cbd1fd | /man/geom_normalviolin.Rd | 9a9d0608fe17bcbd554c62362ba71f24e51baf79 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | wjschne/ggnormalviolin | 5767fd6732b918ecb04a07a31a3e1ef018b296aa | b6358cf9621cd03cfc502f729971b9cefbdad264 | refs/heads/main | 2021-06-06T07:28:15.746140 | 2021-05-10T20:49:18 | 2021-05-10T20:49:18 | 154,597,584 | 4 | 2 | null | null | null | null | UTF-8 | R | false | true | 4,471 | rd | geom_normalviolin.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main.R
\name{geom_normalviolin}
\alias{geom_normalviolin}
\title{Creates normal violins with specified means and standard deviations}
\usage{
geom_normalviolin(
mapping = NULL,
data = NULL,
mu = NULL,
sigma = NULL,
nsigma = 4,
p_t... |
00f9870de954f9b6f119ebb912ac2ecb01d61804 | bc1597ec48bd9e1ec9978427f99f97b3a70f9518 | /rWorkspace/Rcode.R | efbad1b15c3de88636d2637392e9c3382e696a64 | [] | no_license | visparashar/alarm-flood-analysis | 6a73509ea01974ba4e3b399da8f0907645117906 | e2db82586000bf48d5e7322f49ca4b481ec8f836 | refs/heads/master | 2021-04-12T04:54:16.463578 | 2018-06-13T20:00:37 | 2018-06-13T20:00:37 | 125,963,037 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,662 | r | Rcode.R |
callRFunction <- function(
input_file_path ,output_file_path,source_of_other_lib,algorithm_to_run,
is_model_need_to_run_or_training_set,rworkspace_path , second_input_for_prefilter,pattern_mining_file_path
,cluster_result_file_path,merged_result_file_path,test_rca_file_path,frequency_count_file_path,other_... |
e75023b8fee96f764178ece23ac5b37ac9b3bf4e | a6440406634a0eab79376dbe749b4ea4fc9d8e5b | /R/calcZScale.R | e4d7451623345ce920dd4d234779db57aa492d67 | [
"MIT"
] | permissive | wStockhausen/wtsGMT | fe984ffb9a90e87a8ddd066b3a16819cf0091ed5 | 5b5c036ab2bd4965f78fb1bbfa0d7535cae2dce1 | refs/heads/master | 2020-12-24T08:42:20.096481 | 2016-09-08T02:32:27 | 2016-09-08T02:32:27 | 21,180,360 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 618 | r | calcZScale.R | #'
#'@title Calculate a z scale for plotting data on a map.
#'
#'@description Function to calculate a z scale for plotting data on a map.
#'
#'@param z - data vector to calculate scale from
#'@param logtr - flag (T/F) to ln-transform z before calculating the scale
#'@param satfac - saturation factor relative to maximum... |
e921de535f5f1cfe606c388ab6f80b5e00087de4 | 9711b85eb0754c2bcbe33a3a2acad8d49af64962 | /run_sensitivities.R | 5253314eff8a17a56693d7964647697151c1ccbe | [] | no_license | Cole-Monnahan-NOAA/stpollock | 9be39d8ff74124c055107ce3d0ea56b8fa6ff064 | 56225e5a830e4246823b4c84bc70863fd9e7e766 | refs/heads/master | 2021-06-03T07:46:33.828893 | 2021-05-19T16:19:50 | 2021-05-19T16:19:50 | 150,113,487 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 665 | r | run_sensitivities.R | ### A series of sensitivity analyses to run. Each of these takes a
### long time to run, and specific settings can be found in each
### script. The result is a plot in the 'plots' folder and a
### result file in 'results' folder.
## Different assumptions about the decorrelation range
source("sensitivities/run_kappa.R")... |
71c6cd3a10f4c5a55dab7fde6c66f58f69205bd4 | c4dd634c7bb89b5594da4e06033dfaad1bffebe1 | /join_turnstile_gtfs.R | 8bd1c1ed09eb5de0d0266d9ff1831d36ac76bcef | [] | no_license | rivatal/subway | a55206ba6160d71dc270eb5acb591a72a71caa10 | 644c286bd96e81e14a5745e5c4a7921966dbcbbd | refs/heads/master | 2020-12-06T14:59:59.286042 | 2016-10-10T03:54:21 | 2016-10-10T03:54:21 | 66,381,469 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 451 | r | join_turnstile_gtfs.R | ###############################################################################################
#Riva Tropp
#Join turnstile and gtfs dataframes
###############################################################################################
library(dplyr)
setwd(".")
matchtable <- read.table("smalleredits.txt",header=FA... |
50354ed91c077d83aa68d4469e6a7c15882bfa23 | 6b9391e0a520fd33212ebd60eb4f9439d768d0a3 | /expo_graphic.R | 186acc6354d354d23c798c2da2635c73dd5152c8 | [] | no_license | limafb/datasciencecoursera | 6f2bfbe2c0b4966615838ccc481f51ae22dba269 | 767aad461aae23057fd85c8f9abd143743f9ecf8 | refs/heads/master | 2016-09-06T01:36:58.076758 | 2015-03-02T12:24:55 | 2015-03-02T12:24:55 | 25,431,341 | 0 | 0 | null | 2015-02-12T16:13:30 | 2014-10-19T15:42:53 | null | UTF-8 | R | false | false | 2,935 | r | expo_graphic.R | old.wd <- getwd()
new.wd <- ("C:/Users/FabioDesk/Documents/GitHub/datasciencecoursera")
setwd(new.wd)
pollution <- read.csv("data/avgpm25.csv", colClasses = c("numeric", "character", "factor", "numeric", "numeric"))
head(pollution)
summary(pollution$pm25)
boxplot(pollution$pm25, col = "blue")
abline(h = 12)
hist(p... |
b5314ca598af3656380c6da1e5e8044d0a9618b1 | 95f7d939cc3b941f3eec5b7ae7e99a0976816852 | /main_Materials.R | 4806e92db4a8fc284db849a518667a8472d568f3 | [] | no_license | fengzixue96/IE580-Trading-Strategy-Project | aacd6dd976b1db46ea2a68a827345ce613ec7499 | 5150ce7096d6175c7cea42630a2238fc4573be44 | refs/heads/master | 2022-10-31T15:02:08.591674 | 2020-06-14T07:59:04 | 2020-06-14T07:59:04 | 272,157,711 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 14,967 | r | main_Materials.R | rm(list=ls()) #清除全部对象
Sys.setenv(TZ = 'UTC') #设置系统市区到“GMT(UTC)”,使其变为默认时区。from 'xts'
setwd("C:/Users/HP/Desktop/Lesson/580 Trading Stretegy/previous/code") #设置工作路径,也就是临时设置工作目录
library(parallel)
library(xts)
library(quantmod)
library(PerformanceAnalytics)
library(caret)
detectCores() #检查当前电脑可用核数
#使用全部核数
if (Sys.info()[... |
140ad4a5e2c974b79c42ddd6d8f9873502a5b13a | a01fe8e31792d79dab00764ef6ae505e699524b4 | /R/SetupLikelihoods.R | bb8e0214b793785f81501bcea59d533c359d79e9 | [] | no_license | dpwynne/mmnst | 7c5972d75fad0d983c65ac044cf2b566531720e5 | cadda88522a025115eb9a163510629ec2f55c672 | refs/heads/master | 2023-08-06T23:43:19.372858 | 2023-07-26T15:47:40 | 2023-07-26T15:47:40 | 202,798,431 | 4 | 2 | null | 2019-12-18T19:46:11 | 2019-08-16T20:59:31 | R | UTF-8 | R | false | false | 1,274 | r | SetupLikelihoods.R | #' Setup likelihood function
#'
#' Create a list of common parameters necessary to calculate likelihood functions for additive and multiplicative models.
#'
#' @param terminal.points a numeric vector containing the endpoints of the dyadic partitioning
#'
#' @return A list of length 5 is returned. The list contains the ... |
33ca462d1770a36fcb9190f3879077f94f850e45 | 50e72dd9731cf1e259653bca3f977dc27551fdcc | /packrat/bundles/cholera_microhotspots/source/manuscript_script.R | 8a23a9fe7f60a0ef57ada26c241fbd9172a62209 | [
"MIT"
] | permissive | esbwenge80/cholera_microhotspots | 3d1096440b46c55625f69c4235bb35e193aab0d1 | 5f6073f0a0514c54829454bb741b3b67a585b476 | refs/heads/master | 2021-09-14T15:13:54.108366 | 2018-05-15T13:45:19 | 2018-05-15T13:45:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,549 | r | manuscript_script.R | ## script file for manuscript
source("source/utils.R")
reload_source()
## bring in main data
kal <- load_kalemie_data()
ndj <- load_ndj_data()
###################
## MAIN ANALYSES ##
###################
## some key numbers for the manuscript
## these are the min and max (and midpoints) for the tau-distance windows
r... |
590428949b05d57adb88a842b95b5589a106be8a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ProTrackR/examples/write.module.Rd.R | e238f9448185de5b080735c6146ae4981cbdefd0 | [] | 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 | 578 | r | write.module.Rd.R | library(ProTrackR)
### Name: write.module
### Title: Export an PTModule object as a ProTracker module file
### Aliases: write.module write.module,PTModule,ANY-method
### write.module,PTModule,character-method
### ** Examples
## get the PTModule object provided with the ProTrackR package
data("mod.intro")
## save... |
29139d0dd1e5cec1b2571ad2acb0e899fa7daa16 | be09161442f32566b62242fe156e869180ee8c0a | /man/move_imgs.Rd | 7929ecfa04e670f0c1bc09b186a34da944628acd | [] | no_license | Tubbz-alt/warbleR | 7ce5f1eb943cfc840c1498b7c011b25a458bc0e4 | be0b62c29d201c22c6b1241996324a723753696a | refs/heads/master | 2022-12-19T18:27:58.139244 | 2020-09-23T13:46:19 | 2020-09-23T13:46:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 563 | rd | move_imgs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/move.imgs.R
\name{move_imgs}
\alias{move_imgs}
\title{alternative name for \code{\link{move.imgs}}}
\usage{
move_imgs(
from = NULL,
to = NULL,
it = "all",
cut = TRUE,
overwrite = FALSE,
create.folder = TRUE,
folder.name = "image... |
b2ab0f765e55ea6a52329322dd241a3e9f4982a6 | a6ffd76d5cef7d370f322996ded2351681d4a4f5 | /R/2. Imputation of missing values.R | d25d5b1bbc1dd27b1c4886c1e6f31e2657f76759 | [] | no_license | michelleg06/Educational_Outcomes_Ecuador | f71af3ae024ee48e2ae62d32380403054d50c475 | f4e0b5a628f396ab1af309b2e5ae8e53fe695c82 | refs/heads/main | 2023-07-20T07:07:30.203000 | 2021-09-02T18:37:18 | 2021-09-02T18:37:18 | 332,708,280 | 1 | 1 | null | 2021-05-11T13:38:22 | 2021-01-25T10:22:45 | Python | UTF-8 | R | false | false | 125 | r | 2. Imputation of missing values.R | # This file is currently empty.
source("1. Translation and cleaning.R", echo=T) # Returns cleaned data_transl data.table.
|
fa1b9cbb613d5dc492f45548b85508bcba191f29 | 29585dff702209dd446c0ab52ceea046c58e384e | /Luminescence/R/plot_ViolinPlot.R | 5cb22c879d05d9103bb985928cb948eea1c33454 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,738 | r | plot_ViolinPlot.R | #' Create a violin plot
#'
#' Draws a kernal densiy plot in combination with a boxplot in its middle. The shape of the violin
#' is constructed using a mirrored density curve. This plot is especially designed for cases
#' where the individual errors are zero or to small to be visualised. The idea for this plot is
#' ba... |
d0e6decd1c807b4c1f3d8496dc29d8ca41878676 | ac8be031ab50a75403f5423ef057a9dc2c01927e | /timeseries/ts_plots.R | a96900061664969044b95a2da1eedb68f3b310bb | [] | no_license | yukikongju/R-Tutorial | 9f006acf8d5aa2cf4bb595eb1c2cd4af1a5d5757 | 675fa89bbb7e2166223c1a06095844ce332d4a48 | refs/heads/master | 2022-12-08T03:49:25.272906 | 2020-09-03T21:02:48 | 2020-09-03T21:02:48 | 245,560,126 | 1 | 0 | null | 2020-09-03T21:02:49 | 2020-03-07T03:18:35 | HTML | UTF-8 | R | false | false | 3,056 | r | ts_plots.R | # -------------------- Dependencies -----------------
library(ggplot2)
library(dyplr)
library(fpp2)
# -------------- Time Plot -------------------
autoplot(AirPassengers) +
ggtitle("Airline Passengers") +
xlab("Year") +
ylab("Passengers")
# -------------- Time Plot with facets -------------------
autoplot... |
3d2dc3b6a46b1ce8a0849e4736a76b0bd48bb70d | 29585dff702209dd446c0ab52ceea046c58e384e | /rbhl/R/zzz.R | 0c7523d4a54fcabea56f6bd4114abcef560ffdfa | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,013 | r | zzz.R | query2message <- function(url, x) {
mylist <- list()
for (i in 1:length(x)) {
mylist[i] <- paste(names(x[i]), '=', x[i][[1]], sep = '')
}
paste('API call:\n', paste(url, "?", paste(mylist, collapse = "&"), sep = ''))
}
return_results <- function(x, y, z) {
if (y == 'raw') {
return( x )
} else if (y... |
d02fe95e0c34610fcb58465c89d1c460a28079b4 | b05b3c5f3bdaf1dd6e115caeec6cb187ef158e2e | /App.R | bcfc65e94ed8305375e5ba5b3358501ac501cd83 | [] | no_license | AmineFrj/ShinyDataAnalysis | 9e78e93ef3d8802008236b2a3730991b64560053 | 4dd995a18f643ba768c183b3b9c3b4f9f294f54b | refs/heads/master | 2020-08-07T14:40:58.732815 | 2019-10-14T22:19:07 | 2019-10-14T22:19:07 | 213,491,192 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 193 | r | App.R | library(shiny)
library(ggplot2)
library(UsingR)
library(DT)
library(reshape)
library(Amelia)
library(psych)
source('UI.R', local = TRUE)
source('Server.R')
shinyApp(ui = ui, server = server)
|
a677beedd0ee9c783e816dc736ac14f0e77063ec | 516603468a29ec93396a49fe40606697250d67b2 | /.ipynb_checkpoints/03_tableUniqueCHIRPS-checkpoint.R | a01bcdfc8bd07e43f6e31aa54ae1462bd202f804 | [] | no_license | fabiolexcastro/Gates-smallholder-adaptation | 9256d014ba43924636e138c5e053af06c50e5413 | fb599eb172c44e73e655669b0083dcd90f803244 | refs/heads/master | 2022-08-10T01:30:56.339281 | 2022-07-19T08:01:02 | 2022-07-19T08:01:02 | 250,032,329 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,917 | r | 03_tableUniqueCHIRPS-checkpoint.R | g=gc()
rm(list=ls())
require(raster);require(dplyr); require(foreach); require(parallel)
path <- '//dapadfs/data_cluster_4/observed/gridded_products/chirps/daily/32bits/'
base <- raster(paste0(path, "chirps-v2.0.1981.01.01.tif"))
fls <- list.files(path = path, pattern = ".tif",full.names = TRUE)
year <- 1985:2019
year ... |
a90b2453967c21e6dc389e1273d97463e7bfa2bf | 4ef9b69074a88ab4510535a0db95db4fef924c5e | /puzzle_04.R | 725add0ab33d40c3afd24ed629106fcf7849b737 | [] | no_license | msheker/mindsumo_puzzles | 4852ec8be407e14337fe8591e60c4e8bf2fd725b | 13a31c2e064e6648d0a09c488b02e1da33b0a950 | refs/heads/local | 2016-09-03T06:37:12.837145 | 2015-09-18T23:26:56 | 2015-09-18T23:26:56 | 42,751,634 | 0 | 0 | null | 2015-09-18T23:28:42 | 2015-09-18T23:27:55 | R | UTF-8 | R | false | false | 1,262 | r | puzzle_04.R | # Miguel Sheker 09/16/15
# Purpose: Find every integer value that can be formed using a difference of squares
# Method: Use double for-loop in which outer loop decrements from upperbound and inner loop
# increments from 0
##### FUNCTION #####
# Name: diffOfSq
# Desc: returns vector containing every number b... |
a5ba3f195a6f635db971c25c7e161496fc92daf1 | f7cf0267b134fde66cfbb725c35984ac8d7418fc | /pre-submission.R | 9ace8ae5c5790fd02a8c3974d02eb12e9e1a977e | [
"MIT"
] | permissive | jla-data/czechrates | 4af955ae0f0de8082fd333daa03721a40cb40fa7 | 3537e8752ff3c339d39b73290ec4ce2d31722758 | refs/heads/master | 2023-05-13T05:31:52.884546 | 2021-05-26T07:00:49 | 2021-05-26T07:00:49 | 265,378,977 | 0 | 0 | NOASSERTION | 2021-05-06T20:32:49 | 2020-05-19T22:07:30 | R | UTF-8 | R | false | false | 302 | r | pre-submission.R | # pre-submission routine
# nepřeskakovat, důležité! encoding je sviň
rhub::check_for_cran(platforms = "debian-clang-devel")
# možno nahrát jedním vrzem na https://win-builder.r-project.org/upload.aspx
devtools::check_win_release()
devtools::check_win_devel()
# once ready
devtools::release()
|
e85d6418c8f086cc2acbf16be9209b2be6d78654 | acdfd492413b683a27afe8b800e45217e9d5d11c | /man/window.uts_vector.Rd | 4fac88e00c1b9cc8d6dfc7ee05c2dc020ccf0d9e | [] | no_license | andreas50/utsMultivariate | 25a67467eb3ac37dd7abbe4d131b94306b95b042 | 46c1133abe58a53f1228fe05fbd089aa21509310 | refs/heads/master | 2021-09-28T02:22:12.357689 | 2021-09-23T18:44:38 | 2021-09-23T18:44:38 | 35,906,754 | 6 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,158 | rd | window.uts_vector.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/uts_vector.R
\name{window.uts_vector}
\alias{window.uts_vector}
\alias{time.uts_matrix}
\title{Time Window}
\usage{
\method{window}{uts_vector}(x, start = NULL, end = NULL, ...)
}
\arguments{
\item{x}{a \code{"uts_vector"} object.}
\item{sta... |
f57fed491369b52bc729916fddabbdf4f2cd640a | 968d50016d23fe745bc7c4e1cd9c313e5b3d607b | /packages/tweetlstm/R/model_management.R | 8dfaced330780b1afad8935c54bb907ab4d86654 | [] | no_license | schnee/trump-rnn | d72dd2dad06e7178dc38de1e8a5423fc0298f408 | 54c6be507c57a5b265fb89541975f3b87936423f | refs/heads/master | 2021-01-17T05:50:29.372512 | 2019-04-24T13:37:26 | 2019-04-24T13:37:26 | 64,761,697 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,122 | r | model_management.R | library(keras)
library(tidyverse)
library(tokenizers)
library(lubridate)
get_max_length <- function() {
max_length <- 40
max_length
}
#' clean_and_tokenize
#'
#' @param df
#'
#' @return
#' @export
#'
#' @examples
clean_and_tokenize <- function(df) {
df %>%
mutate(text = iconv(text, from="utf-8", to="ASCII"... |
c54f21f4606d4247b152747fe50ad3c103ee5c6b | a48797beca55474d7b39676389f77f8f1af76875 | /man/graph_f2_function.Rd | 8d20b292f567c4c5b7d2319d78386293ba5e0ac4 | [] | no_license | uqrmaie1/admixtools | 1efd48d8ad431f4a325a4ac5b160b2eea9411829 | 26759d87349a3b14495a7ef4ef3a593ee4d0e670 | refs/heads/master | 2023-09-04T02:56:48.052802 | 2023-08-21T21:15:27 | 2023-08-21T21:15:27 | 229,330,187 | 62 | 11 | null | 2023-01-23T12:19:57 | 2019-12-20T20:15:32 | R | UTF-8 | R | false | true | 882 | rd | graph_f2_function.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/toposearch.R
\name{graph_f2_function}
\alias{graph_f2_function}
\title{Make a function representing a graph}
\usage{
graph_f2_function(
graph,
admix_default = 0.5,
drift_default = 0.01,
random_defaults = FALSE
)
}
\arguments{
\item{gr... |
b96a886fdd4021041e9c5ae644b6be164e99a771 | b78da44a956cf9f9ee8b4a1837d70bc32c4c7a8d | /scripts/03A-go_bp_perm.r | 090dc390d0a8d29ec9cf7da3aa098d7c37b7a8b1 | [] | no_license | delahayefabien/PaperLGAHSPC | ecaa9d3b7b547b842076bbbe6d330df340187230 | bee75f9a98236f2f2499f77f6ae0a2258e631156 | refs/heads/master | 2023-07-28T04:53:22.614898 | 2021-09-07T10:10:01 | 2021-09-07T10:10:01 | 402,807,232 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,582 | r | 03A-go_bp_perm.r | ### Project Setup ==================================================================================
library(here)
out <- here("outputs", "03-pathway_analysis")
dir.create(out, recursive = TRUE, showWarnings = FALSE, mode = "0775")
### Load Packages ====================================================================... |
396544d480e094b66700f69dd23de34997d53cd6 | f76a68a57b657692be677d81cf8863f347de2e69 | /RNA-Seq/hw3.R | add02a6d7bed1071852d83e09f148394b6de60f9 | [] | no_license | Leoberium/NGS | b4b893cdbaad32cfde869f4db154107bf583e7ef | 07b87cd1e811793cba50759143f391ea82fe54ea | refs/heads/master | 2020-11-30T20:16:27.973488 | 2019-12-31T12:47:25 | 2019-12-31T12:47:25 | 230,470,412 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,790 | r | hw3.R | # Мазаев Лев, мДБАМ18
# Загрузим файл с ридами, полученный на предыдущем этапе
raw_counts <- read.delim(file = 'counts.out', header = FALSE, comment.char = '#',
stringsAsFactors = FALSE)
samples <- c('B14.5', 'B15.5', 'B17.5', 'B20', 'B34',
'C14.5', 'C15.5', 'C17.5', 'C20', 'C34')... |
be3b47a37976962e7f2eef9197186907fb050b95 | f27ec285b6b79f0a8988497f8536bb6dab5b3586 | /Decision-tree.r | 196bdc85fc2b341169f2d245b84f4de773f17130 | [] | no_license | bioengsamar/ML_project_to_detect_-Breast-cancer | bae5bc007a3fdd26689722176225a6fa8a22192f | b538ab5af5ba38220ba968f2cf4b78ba2af3a7b4 | refs/heads/main | 2023-06-05T04:21:48.135513 | 2021-06-29T03:31:16 | 2021-06-29T03:31:16 | 381,227,040 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,638 | r | Decision-tree.r | data.set <- read.csv("C:/Users/user1/Desktop/prototype/data-set.csv", sep=";")
#prepare data
data<-data.set
x<- is.na(data)#check if there's missing value
for (i in x){
if(i ==TRUE){
na.omit(x)
}
}
data <- data[,-1] #remove 1st column(id number)
#categorical encoding
data[,1] <- factor(data[,1]... |
a6098b0f4c97c95ed8b3033f346d3a95299a81e8 | 2d55770643ef3c26b970fe1971ddb587fb151ec2 | /man/ds.Rd | 8963634bc87503fefefbe2d484d4077ce57fda3d | [] | no_license | Tomakazusa/ds | f806188fa5d68ebc182a20d96cf8d162021ab7e3 | 902a0b2327ec880c7808b4404ccc6bb285ad249d | refs/heads/main | 2023-07-08T05:15:19.603853 | 2021-08-12T06:30:36 | 2021-08-12T06:30:36 | 395,215,887 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 279 | rd | ds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ds.R
\name{ds}
\alias{ds}
\title{Creates histogram, boxplot and numeric summary}
\usage{
ds(x)
}
\arguments{
\item{x}{numeric variable}
}
\description{
Creates histogram, boxplot and numeric summary
}
|
885ee24ff028e1d4555cb64451296c115b2ebc22 | 43908ff2ca891aca04818e98b9e2590d754f440d | /Multiples of 3 and 5 .R | 564c89a297950d03d29a3ae083d7b05978084715 | [] | no_license | zuhe26/chem160project2 | c02a5db738028aced3dfdc034ad4e8533afc1c58 | a98ea70cf62b5cb47e361235acd5923b30bdba31 | refs/heads/main | 2023-02-02T03:48:20.401330 | 2020-12-18T00:19:03 | 2020-12-18T00:19:03 | 322,444,690 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 94 | r | Multiples of 3 and 5 .R | sum = 0
for ( i in 1:999){
if (i%%3==0 || i%%5==0) {
sum<-sum+i
}
}
cat(sum,"\n")
|
92499fd585fbb712dd8e49b2f0744524537d2c7b | f1ad76fa058a2235d3adb05ccefc6b262570478e | /man/summary_wind_2d.Rd | f206a52fe263f3f34d9ec4799552427ece028dc6 | [
"CC-BY-3.0",
"MIT"
] | permissive | Ostluft/rOstluft.plot | 863f733b949dd37e5eaf1d8c1e197596242ef072 | fbed7ce639ae6778e24c13773b73344942ca7dc2 | refs/heads/master | 2022-11-16T12:56:44.199402 | 2020-03-23T11:12:02 | 2020-03-23T11:12:02 | 180,803,285 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,744 | rd | summary_wind_2d.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary_wind_2d.R
\name{summary_wind_2d}
\alias{summary_wind_2d}
\title{Summarise y values over binned wind data, split into u and v components.}
\usage{
summary_wind_2d(
data,
ws,
wd,
z,
groupings = grp(),
fun = "mean",
fun.arg... |
32d7563ea1f7a8b9ca6e38c91d8c60ee24532a98 | 48a3612f00fa39c262659196a614f9f3cf51013b | /bin/raceid4.R | 48870b1fe42894e66184739c4552491689c4930c | [
"MIT"
] | permissive | rsankowski/mathys-et-al-microglia | cea7d72c19e42330b258490b94bbbb07e00fefae | a05ed9a50eb56b2c6dc4d03dddf000c21b3ce460 | refs/heads/master | 2022-01-17T04:01:27.969326 | 2019-07-22T15:22:51 | 2019-07-22T15:22:51 | 198,243,940 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,928 | r | raceid4.R | #RaceID4
library(tidyverse)
library(viridis)
library(RaceID)
library(Matrix)
library(data.table)
library(Seurat)
date = Sys.Date()
#download counts file from url: https://stackoverflow.com/questions/28986150/downloading-and-extracting-gz-data-file-using-r
#aut_counts dataset
#url <- "https://cells.ucsc.edu/autism/ra... |
8d978285f2cbd78f3b1485f4c30ae4b9b3c45c9a | 97c050fc3abcb9a8b401808fd4f4be4afd7b11d7 | /code/day16.R | aae25ccc49e964b65176cd5ed10a0672ce50e42a | [
"MIT"
] | permissive | brianlle/advent_of_code_2020 | eda81fda40bd30c8fae1694fb49c7eca2cb494dc | 10d3ed1b69e1c446e58c5c64267d3f3cea93d861 | refs/heads/main | 2023-02-06T08:42:00.397013 | 2020-12-29T21:43:28 | 2020-12-29T21:43:28 | 318,314,015 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,695 | r | day16.R | ### ADVENT OF CODE, DAY 16
# PART 1
input <- read.delim("input/day16.txt", header = FALSE,
blank.lines.skip = FALSE)
input$V2 <- NA
rules <- input[1:20,]
my_ticket <- strsplit(as.character(input[23,1]), split = ",")[[1]]
other_tix <- input[26:263,]
#process the rules with dirty regex
rules$field ... |
b000a98c8a2ea0d368c3da98feed352f6eab2691 | bbdb9af551c5c4df45074e166f28b7e4a644cac9 | /modeling/lightGBM3.R | 4a10ff2fd9ab6a610c799245bf72bcdbe62dc671 | [] | no_license | yudong-94/Kaggle-Safe-Driver-Prediction | 80e1ad5939b0c7aab24ca8490a0ed47476726ea1 | 7839f1eaedb88e0c45dab8000f22b6275d6c5bac | refs/heads/master | 2021-08-23T00:22:30.014967 | 2017-12-01T21:56:04 | 2017-12-01T21:56:04 | 106,158,065 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,824 | r | lightGBM3.R | setwd("/Users/hzdy1994/Desktop/Kaggle")
#library(parallel)
library(Matrix)
library(lightgbm)
####################################
# try to figure out the overfitting feature
load("data/new_feature_no_corr2.RData")
# suspects: avg_car13_on_car04
train_test$avg_car13_on_car04 = NULL
train_test[is.na(train_test)] = ... |
373eea7673969884ff370fe3eff1f6b82912c58f | c5d173f7755dc27e348ef616ebafba137ee7e1da | /R/Operators.R | d535b1b33de176f0421ca72aa1470a64a2754847 | [
"MIT"
] | permissive | Ilia-Kosenkov/RLibs | 85679202753b7565d8995350e74b28a8c3d624d9 | 60e34778a96f5ba9705b5fa5da0bffcc3be482fd | refs/heads/master | 2021-03-27T16:13:53.106985 | 2020-01-23T15:33:33 | 2020-01-23T15:33:33 | 96,409,913 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,060 | r | Operators.R | # MIT License
#
# Copyright(c) 2017-2018 Ilia Kosenkov [ilia.kosenkov.at.gm@gmail.com]
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files(the "Software"), to deal
# in the Software without restriction, including without limita... |
a5bb9cdf85600f88448026a364a8b47979feb74d | c8e71af48d925c34d1cb9f4dad262c970e8968d5 | /man/FlightResponse.Rd | 1e518c74f99b915bd91f225401f4f894c4892678 | [
"MIT"
] | permissive | tessington/qsci381 | 43c7cd323ab64cf28ba738be35779157c93e62cf | b981f0bd345b250d42ff5f1c0609e5e61f5911f7 | refs/heads/master | 2022-12-24T20:56:56.045374 | 2020-09-24T20:50:29 | 2020-09-24T20:50:29 | 284,817,926 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,834 | rd | FlightResponse.Rd | \name{FlightResponse}
\alias{FlightResponse}
\docType{data}
\title{Response of Migratory Geese to Helicopter Overflights}
\description{
Flight response of Pacific Brant to overflights of helicopters
}
\format{
A dataset with 464 observations on the following 7 variables.
\tabular{rl}{
\code{FlockID} \tab {Flock... |
61a7b74f23730118a91ea1d0d8f79517960945a4 | e06965698053952f7f97c60349a590e42d08b633 | /man/to_json.Rd | aa8adcd3f475a86f7904c965b376ef8a4f4a451f | [
"Apache-2.0"
] | permissive | kcf-jackson/sketch | a9940c89ed8183627914861a11893856b1c47429 | b597f01e540f35aab1f5ee2d3744f6f64c70c94d | refs/heads/master | 2022-11-01T03:28:32.088340 | 2022-10-23T14:22:05 | 2022-10-23T14:22:05 | 222,058,097 | 106 | 5 | NOASSERTION | 2022-10-23T14:22:07 | 2019-11-16T06:36:59 | HTML | UTF-8 | R | false | true | 851 | rd | to_json.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/assets-to_json.R
\name{to_json}
\alias{to_json}
\title{Convert a file into a JavaScript expression}
\usage{
to_json(input, as_data_frame, read_fun, ...)
}
\arguments{
\item{input}{A character string; the path to the input file.}
\item{as_dat... |
bfc5fd107e09bb016b1cea7a19697bf85a86e85d | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610052341-test.R | be119533a704a58447f581612bf5fc69ac459605 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 569 | r | 1610052341-test.R | testlist <- list(rates = numeric(0), thresholds = numeric(0), x = c(-5.04975683349975e-195, -5.04975683349975e-195, -5.04975683349975e-195, -5.04975683349975e-195, -5.04975683349975e-195, -5.04975683349975e-195, -5.04975683349975e-195, -5.04975683349975e-195, -5.04975683349975e-195, -5.04975683349975e-195, -8.81443... |
973635d7e14db90142bcfeaef538814273250266 | 1f004277739de856870948b0d4c25a1d2300483b | /microarray fallplot.R | cf60b3400db242545b48e87bf5f0d5368153a005 | [] | no_license | fang2065/FangBioinfo | 5c8e47d4740f96952b19d09ad3323106647100d5 | e4e60936fc717dd3bc07799a81f1e22699609792 | refs/heads/master | 2023-03-11T21:46:41.862452 | 2023-02-26T20:17:05 | 2023-02-26T20:17:05 | 253,918,269 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,852 | r | microarray fallplot.R | library(GEOquery)
library(limma)
library(tidyverse)
library(ggfortify)
library(gplots)
library(ggplot2)
library(RColorBrewer)
library(biomaRt)
library(ComplexHeatmap)
library(circlize)
library(fgsea)
library(labeling)
library(Hmisc)
library(ggrepel)
gset <- getGEO("GSE54646", GSEMatrix =TRUE, AnnotGPL=TRUE)
if (length... |
bffb69ba7c0b557668e137ae0accb78e2f1302d0 | 53f1c6c854a64ea0ef3f3ef356bfca12e7272345 | /man/plotGeo.Rd | cde418bab07ad8174ed212cb3914058270c375cb | [
"MIT"
] | permissive | vojind/gca | 908c803647f2a138a1381d1c1330559e7a701070 | 5bb63317e5f30c048ee3dedcc90e2b0cfc811cab | refs/heads/main | 2023-07-12T19:20:27.965937 | 2021-08-26T16:53:02 | 2021-08-26T16:53:02 | 372,430,967 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 309 | rd | plotGeo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geoAnalysisModule.R
\name{plotGeo}
\alias{plotGeo}
\title{display incidence plots arranged as Germany}
\usage{
plotGeo(df)
}
\arguments{
\item{df}{dataframe}
}
\description{
display incidence for each state, arranged as germany.
}
|
7fb367726aa3c9a6e045b219fa86b185a4be1e6d | e8719bb67917ca9cb076b8ae83048507ecdb014a | /R/pperm.R | 93937c1f92a0b117a486faa31da2c04381d14d6b | [] | no_license | sauwai/NetRep | 9b42df9ff5ca33adbf4f37878b9d23030cde23ed | 90df54d99f00960a14eda2007242395801ba5f49 | refs/heads/master | 2021-01-20T19:09:26.663600 | 2016-02-12T06:03:50 | 2016-02-12T06:03:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,119 | r | pperm.R | #' @title Permutation Test
#'
#' @description
#' Evaluates the statistical significance of a test statistic given a vector
#' of "nulls": values for that test statistic drawn from random sampling.
#'
#' @details
#' Calculates exact p-values for permutation tests when permutations are
#' randomly drawn with re... |
3efc8e9d2e4422cbaf5730e0094d8c079a31f680 | 4b3de47e87774d4e4cc72cbbe9ab3ce0a85d635e | /man/mlc_churn.Rd | 56aae0044ded6bff8bd63cb71e5041adf42c7904 | [
"MIT"
] | permissive | tidymodels/modeldata | 2a697daa91594c78bfeec05a0052a83693505c9a | d44d367dda2ceb58282c4bc844aa9453d33ad064 | refs/heads/main | 2023-08-11T07:58:18.615400 | 2023-08-09T19:22:49 | 2023-08-09T19:22:49 | 224,252,166 | 23 | 4 | NOASSERTION | 2023-08-09T19:21:51 | 2019-11-26T17:46:11 | R | UTF-8 | R | false | true | 1,163 | rd | mlc_churn.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/churn.R
\docType{data}
\name{mlc_churn}
\alias{mlc_churn}
\title{Customer churn data}
\source{
Originally at \verb{http://www.sgi.com/tech/mlc/}
}
\value{
\item{mlc_churn}{a tibble}
}
\description{
A data set from the MLC++ machine learning s... |
b0787e07d43f72efc712d1baa739c597d94d3b6c | 15fda40dabc3b7e72a7496f61536d8075a29bc0a | /Metropolis-Hastings Algorithm 1.R | c50b17aff423610b276ea5684163fecd1a59e0ff | [] | no_license | edwardmoradian/Bayesian-Statistics | 499307f916e50018b0c75e3393ec69ae6b3dcaf0 | 3482239ed93be4c5f7a5edac221ae1d2db736067 | refs/heads/master | 2020-03-21T04:28:47.971720 | 2018-12-21T00:43:08 | 2018-12-21T00:43:08 | 138,110,204 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,547 | r | Metropolis-Hastings Algorithm 1.R | ### 1 parameter problem
f=function(theta)
{
dbeta(theta,7,5)
}
# loop values
N = 5000
N1 = N + 1
B = 1000
accept.ct = 0 # acceptance count
theta = c() # make theta a vector
theta[1] = runif(1) # intialize theta - we don't know the function
for(i in 1:N1)
{
theta.star = 2
while (theta.s... |
d5b49ae4c6aa07103084a67c432a99dd5d80961d | f1ddad5168a5b2f3ce66c6e436057cff5e91627f | /calculate_return.R | a62609676bbb155dc4d5d894d7687a0d33e10fe7 | [] | no_license | akizminet/nckh-ftu2020 | d3889b48ce498e04f287bb4209958e79266e35cc | 16e139a09d7c12a26c699c9291d8a1e985a265bc | refs/heads/master | 2022-04-25T21:49:27.506449 | 2020-04-25T07:54:55 | 2020-04-25T07:54:55 | 258,074,198 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,733 | r | calculate_return.R | library("dplyr")
# Read data
dat <- read.csv("price.csv")
dat$date <- as.Date(as.character(dat$date),"%Y%m%d") #Format date
dat <- mutate(dat, weekdays=weekdays(date)) #add weekday
dat <- dat[order(dat$date),] #sort by date
list_code <-sort(unique(as.character(dat$code))) #get tickets
list_wed = seq(from=a... |
8b0f0a24c5ae53a85b9d24289e8de0d69a307750 | b2a384e7c01344c8ec959443b0f879840ad6de46 | /plot1.R | 17461ea475701e1b9e5304f7886eaffaba66c9f6 | [] | no_license | MattKerns/ExData_Plotting1 | d07a27147c436e58df4ec322c2d88dd4e1a0d26b | 914bc9445770baefe2034f69cf05e5e0a4bc773f | refs/heads/master | 2020-03-31T05:19:43.811919 | 2018-10-07T19:24:26 | 2018-10-07T19:24:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 512 | r | plot1.R | plot1 <- function(data, path = getwd()){
filelocation <- file.path("~", path, data)
AllData <- read.table(data, header = TRUE, sep = ";", stringsAsFactors = FALSE)
MyData <- subset(AllData, AllData$Date == "1/2/2007"|AllData$Date =="2/2/2007")
MyData$Global_active_power <- as.numeric(MyData$Global_activ... |
9a11a46b4a5d91edf33f3b4d156f307992b0c98e | 1bd342cb0949ef0cd21345bb1fd80304ed5f28a2 | /scripts for data/saved-version-of-popups.R | 3226e158d60ba266cc7f599d564f3756641c585b | [] | no_license | BrookeGibbons/habitatMAPP | 20f5e57099af5f598f3a18397f7e6144631366cb | 80ab428cf517c1366fccc72ce3935f30c632ed48 | refs/heads/master | 2022-12-08T12:13:58.806094 | 2020-08-27T03:39:00 | 2020-08-27T03:39:00 | 258,127,575 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,278 | r | saved-version-of-popups.R | # stereo-BRUV Images
addAwesomeMarkers(data=filter(map.dat, source%in%c("stereo-bruv.image")),
icon = icon.image,
clusterOptions = markerClusterOptions(),
group = "stereo-BRUV images",
popup = map.dat$image,
popupOptions=c(closeBu... |
24bc6442b6ad7ebb8751b84f7c22018d21bd0d0f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/inTrees/examples/selectRuleRRF.Rd.R | dae61f7fea103b0bfa172d665a8b5b0ba829dcf4 | [] | 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 | 203 | r | selectRuleRRF.Rd.R | library(inTrees)
### Name: selectRuleRRF
### Title: select a set of relevant and non-redundant rules
### Aliases: selectRuleRRF
### Keywords: select
### ** Examples
# See function "buildLearner:
|
b77e1b938fa184561338262c5eef02ff143888a8 | 9d59520955aec6e0d572d737900da5464f9c1cc6 | /R/fit_flextable_to_page.R | 1e78c34f3dbb7e6739edd58bcebf5ed5496b5f73 | [] | no_license | LisaHopcroft/CTutils | f4d40692364431d8a4c8183f8faf712564c83790 | f8c052f3e4d54038da644446fb3d8909cf64df49 | refs/heads/master | 2023-09-01T15:43:54.850949 | 2021-10-04T07:35:36 | 2021-10-04T07:35:36 | 294,407,600 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 409 | r | fit_flextable_to_page.R | #' Fit flextable object to the width of the page
#'
#' @param ft The flextable object
#' @param pgwidth The width of the page, in inches (default = 6in)
#'
#' @return The flextable with the width updated
#' @export
fit_flextable_to_page <- function(ft, pgwidth = 6){
ft_out = ft %>% autofit()
ft_out = width(ft_out, ... |
19df5b5652ca5a1e352148feb3236c734ae83046 | cab51b0d16a16728aa9ee5f19ec366c8f36ff5ec | /R/test_intestinal_length.R | 303936fe0e1b7273421900704ac982aa4845edac | [
"MIT"
] | permissive | mattiaghilardi/FishCaCO3Model | b4fe491f2cc557321d05d3f878b5da18e3102142 | 17509e161cd094ebaf5f33930107684bbeab0dc5 | refs/heads/master | 2023-04-14T02:41:54.126353 | 2023-01-12T22:59:13 | 2023-01-12T22:59:13 | 507,607,246 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,274 | r | test_intestinal_length.R | #' Test extrapolation of intestinal length
#'
#' @inheritParams intestinal_length
#' @inherit intestinal_length return
test_intestinal_length <- function(data, method = "fitted", ndraws = 1000, seed = 1,
mc.cores = getOption("mc.cores", 1L),
summary ... |
08bc8008b6d8243d55de40eea55367de282d2eb7 | 0080589afa3dc33bef22379e826fc1d1d138cae1 | /src/produce_maps/script.R | 401013ebc0d82fd19be929ad993196482bd460c4 | [] | no_license | vishalbelsare/covid19-forecasts-orderly | b72dfb64cd01fb967750c0e1806cfbd03176f65e | 57f81690e3fc2e775962a55c6d88f8796f1a0896 | refs/heads/master | 2022-06-19T01:26:35.979392 | 2020-05-09T17:30:26 | 2020-05-09T17:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,540 | r | script.R | # Produce maps of deaths by continent
# loading the map data (simple features format)
world <- rnaturalearth::ne_countries(scale = "medium", returnclass = "sf")
ens_week <- readRDS("ensemble_weekly_qntls.rds")
# generating the ISO3 code for the model predictions to link with the simple features map data
ens_week$iso... |
5abd3acfac6cd274c1a0ba2af0cbc4b171f92450 | e66b550f3d132cb024d13ac0787269d6a1a98e70 | /man/blblm-package.Rd | b8622ec523b64dfa545b852b003c76a83abea2cb | [
"MIT"
] | permissive | JZNeilZ/blblm | 7e09d9fdbc892c6ad7a5d7e5c10596cd10148e21 | a8446b8a888a5763298548363b7f7a99c170b335 | refs/heads/master | 2022-10-19T06:10:42.896689 | 2020-06-11T12:14:42 | 2020-06-11T12:14:42 | 270,866,406 | 0 | 0 | null | 2020-06-09T00:42:31 | 2020-06-09T00:42:31 | null | UTF-8 | R | false | true | 615 | rd | blblm-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/blblm.R
\docType{package}
\name{blblm-package}
\title{blblm: Build Linear Model Using Bag of Little Bootstraps}
\description{
This package is used to build linear regression/ generalized linear regression models by using
the Bag of Littl... |
143f19d65d88475ca5c1e121f0ff131832d966e0 | d4cd92b8447fd6f62815a3b04734d3c719befef2 | /man/fetch_given_muncipalityandyear.Rd | a9e9772afc1212b3251a283d79fc78a2f1ff36cc | [] | no_license | shwva184/lab5 | 1138098df5668625c752d21b7d5d93a6d05e7e92 | 2f4cd4d12c8ec540533ca0e94e078efc5e8c056b | refs/heads/master | 2023-01-28T22:22:06.392116 | 2020-12-14T20:05:35 | 2020-12-14T20:05:35 | 299,890,525 | 0 | 0 | null | 2020-10-08T08:10:19 | 2020-09-30T10:58:05 | R | UTF-8 | R | false | true | 600 | rd | fetch_given_muncipalityandyear.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_kolada_data.R
\name{fetch_given_muncipalityandyear}
\alias{fetch_given_muncipalityandyear}
\title{Retrieving data for given municipality and years}
\usage{
fetch_given_muncipalityandyear(municipality_id, year)
}
\arguments{
\item{municipa... |
e591a25b025b08553185e5d81b960d9d6c3f1d74 | 0900287305c2a1c8e3ea89ce22dd86b42d3146e1 | /man/lime.Rd | ddecec6c34ed2d2041531529d4cc7835e27ccff5 | [] | no_license | cran/GLMsData | 29ff0d385b86d8b69b647a4a3cdde59c3fa995ef | adf13787011fc2603433c97edc40940a7408b48e | refs/heads/master | 2022-09-11T10:58:41.904753 | 2022-08-22T05:20:08 | 2022-08-22T05:20:08 | 128,936,898 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,037 | rd | lime.Rd | \name{lime}
\alias{lime}
\docType{data}
\title{Small-leaved lime trees}
\description{
Data from small-leaved lime trees grown in Russia
}
\usage{data(lime)}
\format{
A data frame containing 385 observations with the following 4 variables.
\describe{
\item{\code{Foliage}}{the foliage biomass, in kg (oven dried... |
310c09a3db93790b6ae82e8c610cc66eb2b6280c | 546e831114239552f6706273103e529dad6999c8 | /files/rscripts/extension.R | 8caff14b4cc510937c82f3ec57a1ce5844bf0265 | [] | no_license | ccardonaandrade/labour_replication | b88b612924fcfabb0c29c2d0d13bbe3cc490bd09 | 55bc478f7e950d18f780b91ee41004d6ffac039f | refs/heads/master | 2020-05-16T10:56:05.026692 | 2019-04-23T11:25:17 | 2019-04-23T11:25:17 | 182,997,915 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,801 | r | extension.R | #########################################################
# Replication Exercise
# Extension
########################################################
rm(list=ls()) #clear all
library(foreign)
library(stargazer)
library(data.table)
library(xlsx)
library(plyr)
library(dplyr)
... |
474f1065014e9f3588556039081fccbff0db56e9 | c888195086f27f20b0f209d6e05eda04d9e18ae7 | /rprogramming/assignment3/rankhospital.R | fcc1ece66e5af86c6348c76bad57f6f09b82eec9 | [] | no_license | l337/datasciencecoursera | 494ffe4f048dcb0b5a23790a5f3bf2c6b28f3335 | be0929029174eaf2da8ee31f7e15ade4d4075d03 | refs/heads/master | 2020-04-05T13:43:39.598164 | 2015-01-20T20:16:47 | 2015-01-20T20:16:47 | 27,475,424 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,679 | r | rankhospital.R | rankhospital <- function(state, outcome, num="best") {
## Read outcome data
data <- read.csv("outcome-of-care-measures.csv", colClasses="character", na.strings="Not Available, NA")
## Check that state and outcome are valid
checkstate <- data[,7]
statevalid <- match(state, checkstate)
outcomes <-... |
c91906c1eb7f2cb3c51a948eb02ab59b725e7edc | ac6a352a426ee9d057cac78b0e4dba0de15ab86b | /R/Simulation.R | ec303ce363d93572ee68e38effaf24a177b8189d | [] | no_license | RaikOtto/artdeco | 5dacc69fc38ea957e1c9f41afd6b272a7171a92d | cf3790ec46648c93169ad2b3709a7a8fc5cbc258 | refs/heads/master | 2021-11-07T22:40:44.489736 | 2021-10-29T14:52:07 | 2021-10-29T14:52:07 | 156,527,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,231 | r | Simulation.R | #' Simulate expression profiles of specific cell-types.
#'
#' \code{simulateCellTypes} simulates \emph{in silico} expression profiles
#' of specific cell-types using a negative binomial distribution.
#' Simulation is based on biological data and marker genes
#' of these cell-types.
#'
#' @param referenceCellTypes Matri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.