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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bae2438133a3963a633456eff031eaf35284c829 | c55c02f27dc68f5a912a0cb7edf232ddc7197f7b | /exercises/test_02_05.R | 98f20234d7e0cd28f90b3e2275a4d94338e90c16 | [
"MIT",
"CC-BY-4.0"
] | permissive | benmarwick/gams-in-r-course | 3e631518be8ab89c9e08d83743aa15053a8bc9d1 | ed45f12a183d1ba023ee43e8b2fa557773c9b5ef | refs/heads/master | 2020-05-27T19:02:16.685461 | 2019-05-27T02:01:13 | 2019-05-27T02:01:13 | 188,754,422 | 0 | 0 | null | 2019-05-27T02:00:18 | 2019-05-27T02:00:18 | null | UTF-8 | R | false | false | 186 | r | test_02_05.R | test <- function() {success("Looking good! Plotting residuals helps you understand the quality of your model fit. Now let's try selecting different parts of your model to visualize.")}
|
11ae0bda64e67d9366969100f5ce6402b046f9ff | 830e99285dbf49c89fb429147e3986bfd242a759 | /R/module_desctools.R | 235ca3e824973386fca6fb0a52464b342e568fc8 | [] | no_license | DaniloCVieira/iMESc | 41501e9f39b79753e2ced4b2dc20f1118eba28d7 | e31e1c6fb13a685873bc875a77ef7c914d7171f6 | refs/heads/main | 2023-09-04T22:00:41.355446 | 2023-08-16T09:56:41 | 2023-08-16T09:56:41 | 412,212,574 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 138,274 | r | module_desctools.R |
#button(
#input(
#link(
##buttons(
#' @export
module_ui_desctools<-function(id){
ns<-NS(id)
tagList(
column(12,style="background: white",
#inline( actionButton(ns("teste_comb"),"SAVE")),
#uiOutput(ns("bug")),
uiOutput(ns("upload_selection")),
uiOutput(ns("panel_mai... |
3cb3323139607841e8263a2297e29d3a8a68698c | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/gbp/R/gbp1d_cpp_rd.r | 0b2f144b49868f1a54ec063dae96f802ecbd1b12 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,816 | r | gbp1d_cpp_rd.r | #' gbp1d
#' @aliases
#' gbp1d Rcpp_gbp1d Rcpp_gbp1d-class
#' @description
#' generalized bin packing problem in 1 dimension, a.k.a knapsack 0-1 problem.
#' @details
#' gbp1d init a profit vector p, a weight vector w, and a weight constraint c,
#' gbp1d solver would solve
#'
#' maximize sum_{j=1}^{n} p_... |
847509956691b55d888318fcdf81557aae677520 | b5ba5c578810105c9148fecadc61f124ae68118c | /man/maxccf.Rd | eebbc2d4d569ebecfbb6ffdb3ad47b6e393f741c | [] | no_license | dangulod/ECTools | cce57dfe0189ee324922d4d014cb7a72bd97817d | a927092249a92ced28c6c50fe7b26588049a07d0 | refs/heads/master | 2021-01-25T10:51:04.021720 | 2018-05-16T10:31:25 | 2018-05-16T10:31:25 | 93,886,888 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 648 | rd | maxccf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/maxcorlag.R
\name{maxccf}
\alias{maxccf}
\title{maxccf}
\usage{
maxccf(x = x, y = y, lag.max = 6, allow.negative = T, abs = T)
}
\arguments{
\item{x}{vector}
\item{y}{vector}
\item{lag.max}{(Optional) maximum lag}
\item{allow.negative}{(Op... |
1f7de2364ff32df6e9c5aab2ffb7743cebca4fd9 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/GuangchuangYu/bioc-release/ClassGeneClusterSet.R | fce1c732db59c44dcc0006fc1d2e406f2f90e406 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,251 | r | ClassGeneClusterSet.R | setClass("GeneClusterSet", representation(GeneClusters="list"))
setMethod(
f= "sim",
signature= "GeneClusterSet",
definition=function(object, params){
if (length(params@combine)==0) {
stop("Using setCombineMethod(\"Params\") to specify which method to combine.")
}
size <- length(object@GeneClusters)
c... |
941225985c413ba13ff4ddcb7b98bcfa0e8c3cf7 | 06c3bb38a86470847c0d56ded74126889e8762ce | /merge_HTcounts_Matrix_V1.2.R | c4e5cfacf8429b185ff316df3af2e973b436db8d | [] | no_license | haojiang9999/R_Data_analysis | 7bc10f7babe3b2a6a9bf81d9618471c7712fef27 | 882c7b4a1519cd9f5d6071808a34b600d075aa90 | refs/heads/master | 2020-03-29T01:04:07.581137 | 2019-11-09T02:31:45 | 2019-11-09T02:31:45 | 149,369,687 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 87 | r | merge_HTcounts_Matrix_V1.2.R | all.exp<-readRDS("FANTOM_E_MTAB_3929_exp.rds")
all.exp[1530,1530]
row.names(all.exp)
# |
4f611229da7eb2baf1846db54c882555f75812c2 | d38abc97785eb0296a1bcc0764edf1df9af7bcad | /support/array/general.R | 29cf23c7ea9399e05783f3aaab47dc7a17fe066d | [
"MIT"
] | permissive | lnsongxf/R4Econ | 0f0e1ebbaab669a8d00cc7c0d9b4c06e2bd02207 | cc50184e5650e94ea5dfa62cbb61d32e6ada3493 | refs/heads/master | 2021-02-06T06:08:31.951801 | 2020-02-26T04:08:48 | 2020-02-26T04:08:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 113 | r | general.R | # Remove last element of array
vars.group.bydf <- c('23','dfa', 'wer')
vars.group.bydf[-length(vars.group.bydf)]
|
7752c98e21e03dc8a619f84760aa51fd4af061da | 7d31f360f1ece69b09a4b51e3986ac44025efc7c | /package/clinUtils/man/formatTableLabel.Rd | fd73f6e3561d22e1db353ca459e201b0e3e64efa | [] | no_license | Lion666/clinUtils | a0500a773225ffafc29b7d7f7bcc722dd416743c | dc6118f32d311657d410bdeba02f3720f01d62df | refs/heads/master | 2023-08-12T08:48:42.923950 | 2021-09-21T14:56:18 | 2021-09-21T16:14:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 478 | rd | formatTableLabel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/label.R
\name{formatTableLabel}
\alias{formatTableLabel}
\title{Concatenate and format text strings to a label of a table}
\usage{
formatTableLabel(...)
}
\arguments{
\item{...}{string to be concatenated to form label}
}
\value{
String with c... |
0968fe8028774f37a92536b75e1edcc1c998b5ae | 32e9a6eb06e58bafd7ec0ea1232f850db6455542 | /plot2.r | 01a7e97d1571b24c50f7837a9cdfac439611f4d8 | [] | no_license | Nempecovest1/ExData_Plotting1 | c1a7d4219e73b544547188ea53aafd84284737b8 | 4c79fdbdf744e2c2ebe4c6d60b9d89f9418e4ceb | refs/heads/master | 2021-01-18T11:49:23.029293 | 2014-12-03T18:00:03 | 2014-12-03T18:00:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 538 | r | plot2.r | # Load data
data_orig = read.table("household_power_consumption.txt", header=T, sep=";", na.strings="?")
data_orig$Date = as.Date(data_orig$Date, format="%d/%m/%Y")
data = data_orig[data_orig$Date == "2007-02-01" | data_orig$Date == "2007-02-02",]
rm(data_orig)
data$DateTime = paste(data$Date, data$Time)
data$DateTime ... |
c814df991b94c679763f82fef40b470586b68278 | 21aed1a841b080bb19b900dc0afd0bb21692d72a | /bayes_crank.R | 2f54eca11adf40b8984278744dfd125e35c9ffb1 | [] | no_license | anthonyjp87/Teach_Bayes_datacamp | dbaad3bef013ff382dbea440af6587afa5e7b60b | b47858c4c5a8a7f2ca23868ba341981c59dabb74 | refs/heads/master | 2021-01-21T18:29:08.948781 | 2017-05-22T14:16:33 | 2017-05-22T14:16:33 | 92,051,492 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,080 | r | bayes_crank.R | ##Thist first example is for generating all of the values for the Bayesian Crank. This is a function in the Teach Bayes library which calculates the Posterior based on the Prior and the Likelihood. It also includes the vector P which contains all of the possible values. In this case, only five values are possible, .1-.... |
67548116cc821f9c4973f59e0e39a6d00bde4306 | ef1be2cb902701ee410945a94a2626cc12fdcbeb | /cachematrix.R | eae25a3d56c376304790f86bd8d620ac017d5854 | [] | no_license | dckly1976/R-Programming | f578f06ef5f8cb68aee0629635237c16ef9a3d20 | 02a8e26502f9c5b725b82959df3075a8517cade5 | refs/heads/main | 2023-08-29T17:31:58.345233 | 2021-11-12T16:45:56 | 2021-11-12T16:45:56 | 427,429,930 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,251 | r | cachematrix.R | ## This script store matrix in a environment with its inverted value
## so, this way, you just need to calculate the inverted matrix one time
## and obtain this info from cache.
## makeCacheMatrix is the first function, it store the original matrix
## and create functions to get it, modify and assign and inverted... |
66f2c5e094f833cf4829fdbda1acf986317cc986 | 5bffae3f3c1f40e6cba7dfe334a1c0b220c13613 | /man/ui-server.Rd | 76414016ae9c33bcfffac0f5de0b7c1add14d87a | [
"MIT"
] | permissive | curso-r/auth0 | f1218c40b9a9509d202f3c48866dd73af33d9e50 | 19d90e7b533e020449b54f67b93cfedcc30303bb | refs/heads/master | 2023-07-14T19:57:10.362245 | 2023-03-22T18:55:50 | 2023-03-22T18:55:50 | 154,844,030 | 139 | 29 | NOASSERTION | 2023-06-21T21:57:55 | 2018-10-26T14:05:40 | R | UTF-8 | R | false | true | 1,073 | rd | ui-server.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shiny.R
\name{ui-server}
\alias{ui-server}
\alias{auth0_ui}
\alias{auth0_server}
\title{Modifies ui/server objects to authenticate using Auth0.}
\usage{
auth0_ui(ui, info)
auth0_server(server, info)
}
\arguments{
\item{ui}{\code{shiny.tag.li... |
2043e07632a388263c875a6bb03cf6dfae4ca1f3 | 66317f3e1ba137b5a16e339e358350587cc8ad85 | /R/convert_flow_unit.R | 9496fe54e24b39d95ecf89e36547f2c6fe65fe29 | [] | no_license | cran/clinPK | 2dd3c8f90cc711186003a47a229c2153f272be8f | 935e5cd7f2e0877814a1ce7347da48fc0ffda0a6 | refs/heads/master | 2022-05-16T16:11:20.119203 | 2022-05-09T07:10:05 | 2022-05-09T07:10:05 | 94,758,508 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,403 | r | convert_flow_unit.R | #' Convert flow (e.g. clearance) from / to units
#'
#' Flow units are expected to be specified as a combination
#' of volume per time units, potentially specified per kg
#' body weight, e.g. "mL/min", or "L/hr/kg".
#'
#' Accepted volume units are "L", "dL", and "mL".
#' Accepted time units are "min", "hr", and "day".... |
82522af2f1db681c21062fd1c06b7bb9983c70b3 | 7efe27117099680642ffb3dc2fd9d9cbf6bf3b95 | /decision.R | 54cd5e2879f36532e3cfbb6b9e5edc6706e9351c | [] | no_license | rashmibhle/dsr_lab | ff075b40835dbbe4f64090e0471d15e86c30f5c4 | 9b0a2fa799832fc5074ce83d720ad0300bb4f789 | refs/heads/master | 2020-08-22T05:04:47.311810 | 2020-02-03T17:22:20 | 2020-02-03T17:22:20 | 216,323,263 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 328 | r | decision.R |
library(rpart)
library(rpart.plot)
dataset = read.csv("F:/7th sem/7th SEM/DSR/Dataset/Dataset/Mail_Respond.csv")
dataset
part = rpart(Outcome~District+House.Type+Income+Previous_Customer,control = rpart.control(minsplit = 1), parms= list(split="information"), data = dataset)
part
rpart.plot(part, type= 2,... |
0733ea64479c3435b15b7ea6885dda1558cf86a4 | 1839b1bc21a43384e9c169f0bf5fd0a3e4c68b0a | /w18/man/getRandomPWMsAndFilts.Rd | 9e70021989d94f2dcb8aac821cf985be2c0db2df | [] | no_license | CarlosMoraMartinez/worm19 | b592fa703896e1bbb6b83e41289674c63a046313 | 99fb3ef35d13739ee83f08b2ac1107179ea05ee2 | refs/heads/master | 2020-07-18T23:25:13.542031 | 2019-07-03T14:53:04 | 2019-07-03T14:53:04 | 206,333,433 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 774 | rd | getRandomPWMsAndFilts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getRandomPWMsAndFilts.R
\name{getRandomPWMsAndFilts}
\alias{getRandomPWMsAndFilts}
\title{getRandomPWMsAndFilts}
\usage{
getRandomPWMsAndFilts(PWMs, filt, n = 10)
}
\arguments{
\item{PWMs}{list of matrixes, with names}
\item{filt}{list of fi... |
7c9bafec9fef7c894a1c42526dd7ad53bd5f3052 | 31362fdab2193f92b64f9a82b0fe1ca732fcf6df | /Eumaeus/ui.R | 5ff7a7740aab910fcd3a79a7fa773e5d89697c1b | [] | no_license | OHDSI/ShinyDeploy | a5c8bbd5341c96001ebfbb1e42f3bc60eeceee7c | a9d6f598b10174ffa6a1073398565d108e4ccd3c | refs/heads/master | 2023-08-30T17:59:17.033360 | 2023-08-26T12:07:22 | 2023-08-26T12:07:22 | 98,995,622 | 31 | 49 | null | 2023-06-26T21:07:33 | 2017-08-01T11:50:59 | R | UTF-8 | R | false | false | 13,353 | r | ui.R | library(shiny)
library(DT)
shinyUI(
fluidPage(style = 'width:1500px;',
titlePanel(
title = div(img(src = "logo.png", height = 50, width = 50), "Evaluating Use of Methods for Adverse Event Under Surveillance (EUMAEUS)"),
windowTitle = "EUMAEUS"
),
tabset... |
025eac216b01dd7cb403dbc128da875b571299c4 | c05349aeb7e205ebac614d59d9cc4c3f14ead36f | /stochastic_simulations/analysis_dir/02-create_rds_dataset.R | 16ccf151fdedd3e36d6df87de7565c8915e57728 | [] | no_license | T-Heide/reply_to_tarabichi_et_al_ng2018 | d24327a594ab00745f326cd1dbbf2eeeadb0e180 | e6629d74573a70549e688e7755b256c81ce4005e | refs/heads/master | 2020-03-19T13:48:02.302694 | 2018-10-30T15:04:43 | 2018-10-30T15:04:43 | 136,595,654 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,699 | r | 02-create_rds_dataset.R | ################################################################################
# FILENAME: '02-create_rds_dataset.R'
################################################################################
# Options:
simResultDir <- "./results/simulations" # Dir containing the simulation results.
datasetDir <- "./resul... |
f9c243755c3a373d319fea407572c2ee4101cdc8 | 70700fe9f3712da839680c1d7bd0085d8b3ef9f2 | /Durbin-Watson statistic.R | 77c071749f7b234dd5d8de8163f1417a4403131f | [] | no_license | sharyjose/Regression-Analysis | dfc4f210150f904575a175afd19ec961f7f73a50 | a87ce17923872f54d72c046ea01c7600de1df83a | refs/heads/main | 2023-08-28T04:28:16.821442 | 2021-09-14T00:02:59 | 2021-09-14T00:02:59 | 406,164,935 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,626 | r | Durbin-Watson statistic.R | options(digits=3)
########################################################
## A classic example: Anscombe's quartet!
anscombe <- read.csv("D:/stat 315/anscombe.csv")
summary(lm(y1~x1, data=anscombe))
summary(lm(y2~x2, data=anscombe))
summary(lm(y3~x3, data=anscombe))
summary(lm(y4~x4, data=anscombe))
# ... |
6ad696ab5268b2da20b8c1cec99a3f60b6590791 | 9fd399fc293811236c60b7f63e11090a0cbb5914 | /data-raw/create_academic_badges.R | ebf83b26d64c4bb18a859f6731636c74c3d5aca8 | [] | no_license | beatrizmilz/shinyresume | e6b3dc667a37ca73f7d5c7e85ec8f7b909cea2aa | 5454278435567185a29e504d91115e7b01158878 | refs/heads/master | 2023-06-13T07:44:01.271243 | 2021-07-03T21:08:32 | 2021-07-03T21:08:32 | 365,636,375 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,539 | r | create_academic_badges.R | library(magrittr, include.only = "%>%")
academic <- readr::read_csv2("data/academic_dataset.csv")
source("R/add_url_to_authors.R", encoding = "UTF-8")
academic_badges <- academic %>%
dplyr::mutate(
status_badges = dplyr::case_when(
status == "Presented" ~ glue::glue(
"
#eliminates the first column, which was previously the number
roster.master.list<-roster.master.list[,-1]
#eliminate the first row, which was the 'x' initialization placeholder
roster.master.list<-roster.master.list[-1,]
#remove the pe... |
08282d23f413f9f42ae824cfa4313b66b5bd616e | 61b4adde63a7b434e028488d2158ef23014c4cfc | /man/pdf_diff.Rd | f143167be2882b22da3c80a0d2e145490f720574 | [] | no_license | SVA-SE/mill | a165deeae9612c1448d287caea73f5de6e87d02a | b5faa7738d6b475759c7f2f980e30628d7f15f35 | refs/heads/master | 2021-05-10T09:19:22.504502 | 2020-06-15T12:05:40 | 2020-06-15T12:05:40 | 103,141,739 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 722 | rd | pdf_diff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/images.R
\name{pdf_diff}
\alias{pdf_diff}
\title{pdf_diff}
\usage{
pdf_diff(reference, new, dir = tempdir())
}
\arguments{
\item{reference}{Path to a pdf file}
\item{new}{Path to a pdf file}
\item{dir}{directory to perform the comparison in... |
2de0c2f66602f792b3d56e8765724c3d0f4d2e9c | 63a770312db431190f9bf7db60dacdb86134fa76 | /src_tidy/1.1_norm3groups.R | 52907b8ec854ecb4f740877e38d0693d4a1be3b4 | [] | no_license | zhilongjia/nCoV2019 | 0ee4aab7dcc35a4273a36dd4be97e9b6d85c55f3 | 57b616e83aa638fbfcdd4be09101e0c4331eb0e0 | refs/heads/master | 2023-02-20T11:17:52.551457 | 2020-07-25T08:00:21 | 2020-07-25T08:00:21 | 236,764,272 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,290 | r | 1.1_norm3groups.R |
load("../results/sample_count_df_symbol.RData")
library(edgeR)
library(limma)
################################################################################
g3_names <- c("Healthy", "Others", "Viral-like", "nCoV" )
subsample_pheno <- dplyr::filter(sample_meta, Types %in% g3_names )
subsample_pheno$Types <- factor(s... |
5a241970de240863575b2e262e745ddbfa4fea1c | 714e7c6736a2e3d8fd07634427c4a8bb3cef2d61 | /R/map_colour_text.R | 813ab5f0aff736066694e11b0fd1272982ccb4b8 | [
"MIT"
] | permissive | flaneuse/llamar | da7cb58a03b2adbffb6b2fe2e57f3ffeede98afb | ea46e2a9fcb72be872518a51a4550390b952772b | refs/heads/master | 2021-01-18T00:10:00.797724 | 2017-10-24T13:41:21 | 2017-10-24T13:41:21 | 48,335,371 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,034 | r | map_colour_text.R | #' Modifies a data frame to determine color to overlay on a colored background
#'
#' Takes a data frame with a value to map to a fill colour and determines whether
#' light or dark text should be used as the label on top of the fill. For use with
#' \code{ggplot2::scale_colour_identity()} downstream.
#'
# @import d... |
ccf46a72b7c1fd15f1206b31be206f1ac96bb635 | da0634866b3d3cb67e1770c08e925d8ec30d0714 | /app/app_heatmap.R | 1db598f7b6dfe2b7168b06555a9bafbdcd6ce306 | [] | no_license | TZstatsADS/Spr2017-proj2-grp8 | d9796c7c1bcebdd7ac3dfa1b47aea1b5ea8b3cbb | 3ef36d5a630d3d4fb4c5f5e0404d79ba8dd17ef4 | refs/heads/master | 2021-01-18T19:12:06.178211 | 2017-02-24T21:22:06 | 2017-02-24T21:22:06 | 80,873,376 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 7,540 | r | app_heatmap.R |
library(shiny)
library(ggplot2)
library(ggmap)
library(choroplethrZip)
library(dtplyr)
library(dplyr)
library(DT)
library(lubridate)
# Define UI for application that draws a histogram
ui <- shinyUI(navbarPage("Perfect City Go", theme="black.css",
# heatmap TAB
... |
164c6dae08a05d01ac2b9a1691dbae4ca72da5e4 | 547cee3ec07bbe9ea5708651caafb9b569dee332 | /filter_runs_avg.R | f6a09142c4243e782015d1314ca6a9a11e287b6e | [] | no_license | ckrosslowe/sr15-scenarios | 1d6c4da9aa35255fe70cc525228dc97f06191496 | 613b03a85e352c6e092a0859d385dc4a33f9ac0a | refs/heads/master | 2021-05-26T09:55:11.324015 | 2021-01-12T19:56:48 | 2021-01-12T19:56:48 | 254,086,065 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,943 | r | filter_runs_avg.R | # Function to filter runs
require(tidyverse)
# Inputs: run sample, warming categories, region, sustainability limits, models to exclude if region selected
filter_runs_avg <- function(runs, temp_cats, reg="World", limits, ms_exclude) {
# Select runs that meet temp criteria
runs <- runs %>% filter(category %in% t... |
bb33f29d86901d09d4aacdb86d5f157013ab6081 | b6ca4c890d29aa7085b47421bc770d37755e3061 | /complete.R | bd265c9e9b0d6a3aa1bcbe62b4dff2fcfdecfd9e | [] | no_license | alanmyers/R_Programming | 7d72d52a1214d1a008988c20662ff526c3f27cd4 | f8d586ca45086570030f34487c5a64e3e3892324 | refs/heads/master | 2021-03-12T20:45:51.031486 | 2015-02-15T21:35:58 | 2015-02-15T21:35:58 | 30,843,044 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 972 | r | complete.R | complete <- function(directory, id = 1:332, printit=TRUE) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'id' is an integer vector indicating the monitor ID numbers
## to be used
## Return a data frame of the form:
## id nobs
## 1 117
#... |
5f0dfd1fe63e0fc55df4c820ea8e8abe859c1608 | 0edde7dc03658b64303ffc0d4da539f858cf77b9 | /R/match_azure_with_cv2.R | 34f71452938779e432740bcfca5b2cbe5bb70b3a | [
"MIT"
] | permissive | Atan1988/alvision | 8ff114dbff8297768b0e8ef6196d0355b89b412e | 15f771d24f70353c81fa62c7461c4e602dc75b01 | refs/heads/master | 2021-07-11T00:52:34.072235 | 2020-12-11T05:43:09 | 2020-12-11T05:43:09 | 221,738,729 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,476 | r | match_azure_with_cv2.R | #' @title azure lines into cv2 bounding boxes
#' @param bounds_df bounds_df result from crop_out_boxes function
#' @param res_lines lines result from the azure api reading the whole page
#' @export
az_to_cv2_box <- function(bounds_df, res_lines) {
if (nrow(bounds_df) == 0) {
match_idx <- rep(NA, length(re... |
36fe45701220fca499d4523ddd341dd39f65471c | 15e70518da836ba65181d1e0b2f1ef5acc0f7983 | /man/multiPredict.Rd | cfe6494b111f277fd4615362c38435c44132e543 | [] | no_license | razielmelchor/caretEnsemble | 03742a489ff021d7ac0edf5c15109568ad91013c | 66f647e1f7994886ba0274dbb8de4124dd9f7dd3 | refs/heads/master | 2021-01-21T02:35:51.343915 | 2014-04-22T14:12:45 | 2014-04-22T14:12:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 520 | rd | multiPredict.Rd | \name{multiPredict}
\alias{multiPredict}
\usage{
multiPredict(list_of_models, type, newdata = NULL, ...)
}
\arguments{
\item{list_of_models}{a list of caret models to make
predictions for}
\item{type}{Classification or Regression}
\item{...}{additional arguments to pass to predict.train.
DO NOT PASS the "ty... |
01dc3d897dd7fd157a4e1f25f29fff3e895b28b5 | baa9f522320d708c4ac95e75e63849642a83a124 | /man/noop.Rd | 02289678145bead5e6c9d6b95bd9761b120ba069 | [] | no_license | cbaumbach/miscFun | d9faba0e7f00c3a341c747f8288e8e92c70aae15 | b7fb44d006b83655bc9b3a87eebf6cd04899ba01 | refs/heads/master | 2021-01-17T10:23:14.645478 | 2017-01-23T11:21:17 | 2017-01-23T11:21:17 | 30,698,538 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 279 | rd | noop.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/miscFun.R
\name{noop}
\alias{noop}
\title{Do nothing}
\usage{
noop(...)
}
\arguments{
\item{\dots}{Ignored}
}
\value{
None.
}
\description{
Do nothing
}
\examples{
noop(ignore_whatever_is_in_here)
}
|
3536f420b1e8d273c108715c29143837e0ccc023 | 3e4acee05323c4195a69109151ab1925688b1033 | /11_COS_example.R | ecddbcccdf066ac22511542e2376c3f312f39bf5 | [] | no_license | costlysignalling/TheorBiol2020 | 1a83c95aa76400e208613ea07213b14f33d92338 | 23e4bea87cb63d5672fb279f869a778e04cb6b7b | refs/heads/main | 2023-04-01T17:02:51.703110 | 2021-04-13T17:58:48 | 2021-04-13T17:58:48 | 300,630,454 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,044 | r | 11_COS_example.R | library(rethinking)
#Corridor of stability example
#Create the dataset, where you know the correct answer
h<-rnorm(10000,0,1)
w<-h*0.2+rnorm(10000,0,0.6)
#Thei function gives you the sequence of beta estimations with random gradually growing sample
#Set the ns, you are willing to consider
ns<-5:200
#D... |
6c9585cc1ca0ffc243bab701df4bf83d1d9269ee | f1d2bfa8addbbb74cc8a14269c417667884f7672 | /R/emisja.R | 5a8dad73d7fe2d2a89a123cc6c637a87837e700a | [
"MIT"
] | permissive | prusakk/KPFuels | 21f162446a3a538ef77bb626c7fc1111a473a0e7 | 91d6663eee4520d1f7579cab40e820af62accdad | refs/heads/main | 2023-01-30T03:47:38.998695 | 2020-12-13T21:45:43 | 2020-12-13T21:45:43 | 319,713,311 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,479 | r | emisja.R | #' Funckja do obliczania genrowanych emisji przez pojazdy spalinowe
#'
#' @param dane dataframe - dane wejściowe
#' @param kategoria character - kategoria pojazdu np. Passenger Cars, Heavy Duty Trucks itd.
#' @param euro character - norma emisji spalin np. Euro II, Euro III itd.
#' @param mode character - tryb jazdy po... |
0f84b1ec3350f7445a7c3d300fb62ebfebe62fd5 | b733d3f7e67a62c34d4889c561d2388da835d451 | /tests/testthat/test-createLocationID.R | a8e4869a43d20aa35042cc22b29440e76345ffdc | [] | no_license | cran/MazamaCoreUtils | 7c3c4c71d2667b4512f203ca5ba7c67df773dc9d | 15f2b32ed32835229b1df8cf74243d745ea7fd16 | refs/heads/master | 2023-09-05T17:48:57.276030 | 2023-08-29T21:50:02 | 2023-08-29T23:30:40 | 154,902,175 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,092 | r | test-createLocationID.R | test_that("algorithms work", {
# Setup
longitude <- -120:-110
latitude <- 30:40
# Default to "digest"
expect_identical(
createLocationID(longitude, latitude),
c("2579cca9bc8bb160","0bc60b264bab6c8f","242c3d44df97de47","891fb5f2df4f8a39",
"1e9bb5a927f39726","890cb1a66d1e9e9d","e2105228a0188686"... |
e9e56bbd33ed0eed28bdc84461cec58893d5fdcb | 71342669c1ecd5246822806ba02dcfd2886324b2 | /run_analysis.R | 1ec7611b909df7d06dbfd3ce48497c48b7febe98 | [] | no_license | zephyr213/GCD_courseproject | 49895cf710ab8cb8c074a210e8a7cc90fc659ebd | 051390d299c9a5737d9291728d6a1ee926147507 | refs/heads/master | 2021-01-10T20:35:16.754484 | 2014-10-26T23:34:55 | 2014-10-26T23:34:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,082 | r | run_analysis.R | # first read in the train, test data
testx <- read.table("./UCI HAR Dataset/test/X_test.txt", header = F)
testy <- read.table("./UCI HAR Dataset/test/y_test.txt", header = F)
tests <- read.table("./UCI HAR Dataset/test/subject_test.txt", header = F)
trainx <- read.table("./UCI HAR Dataset/train/X_train.txt", header =... |
37cea900d2d7c2d2b8acf709028c3e9f92cd1e94 | 1cd5be99e42382f8b7c8aea6b89b59870144b0f4 | /codes/plot2Shape.R | 0b4a7042e1c29d7025113a10d305b623710998e1 | [] | no_license | acdantas/mef2-selexseq | 89812eba9216c1277357db2007820dd68f66a276 | 768f6d2b8b108fedd56429be60db2662e34ba4f5 | refs/heads/master | 2022-11-22T02:22:22.472942 | 2020-07-28T06:16:32 | 2020-07-28T06:16:32 | 143,241,809 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,402 | r | plot2Shape.R | plot2Shape <- function (shapeMatrix, background = NULL, colDots = rgb(0, 0,
1, 0.1), colDotsBg = rgb(0, 0, 0, 0.1), colLine = "steelblue",
colLineBg = "gray50", cex = 0.5, lwd = 4, ylim, ...)
{
n <- nrow(shapeMatrix)
mu... |
70dec6aeaf7a3535d54f4fe39894ad45ec676003 | ff6cd64471c3dd38fb4b8ed3d5b5f816e9450063 | /rangesurvey/R/check_groups_recorded.R | eebae5979fd0eafb9d527ba9587efac69af462c0 | [
"MIT"
] | permissive | JamieCranston/RangeShift_survey | c9dcc97e9a433079138633f23f97b59c39b777e0 | 71f9318f650bc9e02389c227c77b16cfda2305cb | refs/heads/main | 2023-04-14T02:46:13.075353 | 2022-03-20T12:08:55 | 2022-03-20T12:08:55 | 471,427,098 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 926 | r | check_groups_recorded.R | #' check_groups_recorded
#'
#' @param data respondent character table
#' @param config config file (for paths to validated groups recorded csv)
#'
#' @return respondent data with a column added for the groups the respondent's reported recording as listed in text field of the other option on the groups recorded question... |
9e2ab7a8a521d7cf2677a950e3e1c7791a3e0f34 | 2e1a9e1d0d038293bc8dba83d0473e9dc2f7f93e | /stats/scripts/altmetrics.analysis/man/write.table.gzip.Rd | 2532a050220daab774f812cc42b3ac736c5999ed | [
"MIT",
"CC0-1.0"
] | permissive | neostoic/plos_altmetrics_study | 92821fa2634e75235f0fc5603b7ee7e25d298c91 | 5d4bd840763286c77cb834ef351e137eefb7946b | refs/heads/master | 2020-12-25T08:29:47.940176 | 2011-03-22T15:00:48 | 2011-03-22T15:00:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 248 | rd | write.table.gzip.Rd | \name{write.table.gzip}
\alias{write.table.gzip}
\title{write table gzip}
\usage{
write.table.gzip(data, basedir, filename)
}
\arguments{
\item{data}{
}
\item{basedir}{
}
\item{filename}{
}
}
\author{Jason Priem and Heather Piwowar}
|
6aeeb6d6be19a0d3d807e3d6bd6d96a6ee3c0050 | eb661d348facb5aee7240fbbedf6e615b7dcb3c3 | /plot3.R | 3a1e5ecda6ece871d3734bd5a5a96dc47eaea8cd | [] | no_license | swoldetsadick/COUREDAPRO2 | 9169f4c564530b1619d851022b829d842e01c348 | 3d2dec9bec6e2d19cd12478aca88a505c98fa43c | refs/heads/master | 2021-01-19T17:17:41.004522 | 2014-09-20T16:04:51 | 2014-09-20T16:04:51 | 24,243,472 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,575 | r | plot3.R | # Downloading in current working directory (CWD) and Loading data sets
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
download.file(url, "exdata-data-NEI_data.zip", mode="wb")
unzip("exdata-data-NEI_data.zip")
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code... |
0a4859f9f1ec02057e86ceb03053298241585f8c | 81467b617a2cc6e211d0dc0c735a251445f4a163 | /uberdata/man/multinomialHierBayesModel.Rd | e8d083b08da2d497e7f51efdb979336437bb0254 | [] | no_license | adam-sullivan/uberproject | 664d1813296907f0aa148c9848ebdcb252ff7f7e | b0f68bca5b8f7d5df57215300a9fa046b02f4dcd | refs/heads/master | 2016-09-06T07:51:59.261832 | 2015-04-04T22:39:20 | 2015-04-04T22:39:20 | 33,405,636 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 752 | rd | multinomialHierBayesModel.Rd | % Generated by roxygen2 (4.1.0.9001): do not edit by hand
% Please edit documentation in R/prediction.R
\name{multinomialHierBayesModel}
\alias{multinomialHierBayesModel}
\title{Bayesian Hiearchial multinomial logistic regression}
\usage{
multinomialHierBayesModel(testTrip)
}
\arguments{
\item{testTrip}{an input of the... |
6ef665665b8ab8b86141b2892c1cd4fa25930493 | 1d9593d1031d38caef98783af997de9a2c02b901 | /R/get_results_aj.R | 81ec61531180b31bcaf1f57cc6e37012eaed5dda | [] | no_license | antonmalko/ibextor | 6b079cf5e5aac0f07e4ba238bfbefbb8e4e120f1 | 1396d025907985929f9763f2ae6d07a41e76823c | refs/heads/master | 2021-09-09T16:37:23.259768 | 2018-03-18T04:42:33 | 2018-03-18T04:42:33 | 125,311,591 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,779 | r | get_results_aj.R | get_results_aj <- function(file_name,
elem_number = NULL,
del_col = NULL, del_mode = "auto",
col_names = NULL, partial_names = TRUE,
col_classes = NULL, partial_classes = TRUE,
short_su... |
04c1d2cddcf9cb41f7c2e1b948a8a63cf9001bea | 2f92299aa6ba0f054d59a07ea71b755b0a472bdc | /GitHub Setup v1.R | 7208619e9129a0d204f4d7743608bf1e5bf7c630 | [] | no_license | MichaelLandivar/GitHub-Setup | bb44d8c1ac4a119121ab9ea947492a8e5e0700e1 | 4c6eb0d841cef35120836eae5e055b3cddd0f4ab | refs/heads/master | 2021-01-11T01:50:20.126299 | 2016-11-21T15:54:59 | 2016-11-21T15:54:59 | 70,844,678 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,927 | r | GitHub Setup v1.R | #Install R
#https://www.r-project.org/
#Install RStudio
#https://www.rstudio.com/
#Install Git
#https://git-scm.com/downloads
#Sign up for & install GitHub
#https://github.com/
#Installing & Configuring Git
#A. Login to github.com and navigate to repositories
#1. Select "New"
#2. Provide a rep... |
7b4db94bf81a259dcef03561b974f2e779e21b99 | 86b56702a9041a8a17e60d95c212978f388311ad | /follow_seq2ASV.R | 7c934154ebe3356f7f9f34d70582fa900ca50d86 | [] | no_license | AMCMC/ITS_seq_ASVmapping | c166c72eb4c86b97a409a941dcad486bf6eacea4 | b7630c8f083eabe311b85214411f654ee6158226 | refs/heads/master | 2020-03-27T16:31:50.353858 | 2018-09-04T14:51:09 | 2018-09-04T14:51:09 | 146,789,478 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,407 | r | follow_seq2ASV.R | library(dada2);packageVersion("dada2")
library(phyloseq);packageVersion("phyloseq")
library(ggplot2);packageVersion("ggplot2")
source("../../MicrobiotaCentre/MiCA_ITS/Scripts/taxa_facet_barplot_asv.R")
#### regular bigdata approach ####
fqs <- list.files("./", pattern = "I.*fastq.gz")
dereps <- list()
for (file in f... |
40491ead1ceda4fd5ed5863066ba135a39e2005e | 4cc92a349885a505896de9056887465f5db40c76 | /code/NC13GroomR2.r | 6b5dddabafbea3af70f500553d3ce1328fe6a8eb | [] | no_license | guanjiahui/Social-Network_rhesus-macaques | cdaba33cbc333c00e67963e7dffd2c622d66e333 | aee1f7583c168ca17a9c83bc0659d1e645cb96e6 | refs/heads/master | 2020-04-18T14:39:45.612811 | 2019-01-25T18:46:08 | 2019-01-25T18:46:08 | 167,594,532 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,509 | r | NC13GroomR2.r | NC13_RU2_Grooming_Matrix <- read.csv("~/Dropbox/Research/SNH_health profile data for Fushing-selected/NC13_RU2_Grooming_Matrix.csv")
NC13GroomR2=as.matrix(NC13_RU2_Grooming_Matrix [,-1])
colnames(NC13GroomR2)=NC13_RU2_Grooming_Matrix[,1]
rownames(NC13GroomR2)=NC13_RU2_Grooming_Matrix[,1]
##############
win2=cond... |
5b7ebc73b980bee0227e7f4f5eaa8709c0f3aca5 | cc7ce923db8885f1b340384a35fd96eb9d0ed797 | /R/filter_reformat_vcf_df.R | 4d940dc5e5cad878977106625551eac43f24fe09 | [
"MIT"
] | permissive | collaborativebioinformatics/snpReportR | 0886c8d2924bff70f766948081f523bcbd9c43ca | 48066a3a5ca9002d03b5b7a93009207a50d31b11 | refs/heads/main | 2023-04-09T15:59:09.877204 | 2021-04-22T23:59:49 | 2021-04-22T23:59:49 | 324,649,334 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,726 | r | filter_reformat_vcf_df.R | #Jenny Smith
#Jan. 8, 2021
#Purpose: reformat the VCF output from v2.5 CTAT Mutations Pipeline
#' Filter and Reformat the VCF from v2.5 CTAT Mutations Pipeline
#'
#' @param vcf.df is a dataframe derived from vcfR package
#' @param vcf.s4 is a s4 vectors object from bioconductor VariantAnnotation package
#'
#' @return
... |
7f42c8ded979f948d2aabdda7b844fe092f392ae | 1540706522486b205bb278399ba86986e264f906 | /plot3.R | 42bed4ba70ca700590126bb846cd03163dd7f124 | [] | no_license | wunzeco/exdata-project2 | 136d021bb95f5b6303b9994390de54c862d1d435 | 54681ddb1385990195252633c6c8f07da6178e3d | refs/heads/master | 2016-09-09T21:13:08.006451 | 2014-08-29T06:46:59 | 2014-08-29T06:46:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 970 | r | plot3.R | ## Question 3.
## Of the four types of sources indicated by the type (point, nonpoint, onroad,
## nonroad) variable, which of these four sources have seen decreases in emissions
## from 1999–2008 for Baltimore City? Which have seen increases in emissions from
## 1999–2008?
## Use the ggplot2 plotting system to make... |
44cd1175b96702899ebf389fd40eeb602c845030 | 065495790d7e78412f26434f8dbe3d67eb48c4ba | /R/testmaf.R | 6ba8555a004772820dc85b43a927427cfc095539 | [] | no_license | lculibrk/Ploidetect | 8202834315ec7c6861ed5332233498c7b65c8930 | 0bf8e1f8f670717adde284f7d0cc47f162150d98 | refs/heads/main | 2023-05-12T14:09:58.112373 | 2023-05-05T20:32:30 | 2023-05-05T20:35:59 | 224,064,456 | 6 | 0 | null | 2023-05-05T20:36:00 | 2019-11-26T00:01:31 | R | UTF-8 | R | false | false | 1,784 | r | testmaf.R | #' @export
testMAF <- function(CN, tp){
## This special case results in division by zero
if(CN == 0 & tp == 1){
return(c("0" = 0.5))
}
#if(CN < 0 | CN > 11){
# stop("Please enter a CN between 0 and 8")
#}
np <- 1-tp
halfcn <- ceiling(CN/2)
if(CN < 15){
major_allele_possibilities = seq(from = ... |
95acf8576640395f515f2984f06d423b987c0003 | 77bbd565e1da3809dbc758dcf75d90ab9b31c855 | /man/get_created.Rd | b5c5be4aa8c97d96976ca44b6659e1ee4f4ea4cc | [] | no_license | gmyrland/fduper | 21c285e7a7282e41854aafbd084e665c6cccf249 | 8faba6c9fca284a0016bcdc57f946286080772f7 | refs/heads/master | 2021-08-14T20:03:03.558646 | 2017-11-16T16:32:46 | 2017-11-16T16:32:46 | 110,996,016 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 339 | rd | get_created.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/file_properties.R
\name{get_created}
\alias{get_created}
\title{Get file created date}
\usage{
get_created(path)
}
\arguments{
\item{path}{The path to a file}
}
\value{
The file created date of the file
}
\description{
Returns the file create... |
29137183eed6a1fccb02e866bd84603370c729ac | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/miceadds/examples/library_install.Rd.R | 53df2194a76541839b09234d93b70ef2e918213f | [] | 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 | 331 | r | library_install.Rd.R | library(miceadds)
### Name: library_install
### Title: R Utilities: Loading a Package or Installation of a Package if
### Necessary
### Aliases: library_install
### Keywords: R utilities
### ** Examples
## Not run:
##D # try to load packages PP and MCMCglmm
##D library_install( pkg=c("PP", "MCMCglmm") )
## End(N... |
891c37ce23282e87426fe68f671d2c2e195353c6 | 2e6555b08b874efe0a455a3bd284c715a7cff976 | /man/mergedCEdata.Rd | 014aa69263deeb1639e192e0313440f7a9e72abe | [] | no_license | dutchjes/MSMSsim | 99d17ead953cb382392cad70eef3a7877e1ffe20 | 89ced2837f6f597c79198d8fe152fa5d23a6e2ad | refs/heads/master | 2022-01-12T11:12:22.893585 | 2019-06-26T13:43:59 | 2019-06-26T13:43:59 | 75,643,765 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 561 | rd | mergedCEdata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mergedCEdata_func.R
\name{mergedCEdata}
\alias{mergedCEdata}
\title{Merged CE data for comparison}
\usage{
mergedCEdata(all.frag, pairs, dmz = 0.001, intensity.type)
}
\arguments{
\item{all.frag}{}
\item{pairs}{}
\item{dmz}{}
\item{intensi... |
63b1039dd582e299962eec30601612c5c8e2f0f3 | 593420234664a284d6919ccc97d4c5fe0dc396fd | /section_6_1_1/section_6_1_1_tests.R | 037cfcabddb247116b94c955cd77e15ae7cd8af4 | [] | no_license | bgs25/scope-experiments | db3c7edb03d193fb580a6ce2765b89a12ad96d67 | aea4872ffc5504c37262fa37f5c58e700d59329e | refs/heads/main | 2023-04-20T12:01:34.768821 | 2021-05-06T13:45:15 | 2021-05-06T13:45:15 | 362,241,334 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,271 | r | section_6_1_1_tests.R |
source("casanovafit.factor.crossval.R")
library(CatReg)
library(bazar)
library(randomForest)
library(tictoc)
library(DMRnet)
library(rpart)
library(effectFusion)
# This contains the lists that results will be stored in
scopecv_model_list = list()
scopes_model_list = list()
scopem_model_list = list()
scopel_... |
e37a4e75aac508ccab5e5f3536b9685c121154e3 | 2ec9ffc060f300b96b34bbc994bcb7d85924c817 | /orientationwords/data-raw/make.R | 472723f40bba7e0c3d730804c17e0e599e4bba5e | [] | no_license | lupyanlab/orientation-words | da5a34c96f00c2f3c1c3f8410fb3f18caa14b8e6 | 1de56e4c7b3e1ac86c5a4e486380387b04637401 | refs/heads/master | 2021-01-10T07:42:57.938815 | 2015-11-30T03:33:44 | 2015-11-30T03:33:44 | 46,096,020 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 658 | r | make.R | library(devtools)
library(dplyr)
load_all()
make_unilateral <- function(overwrite = FALSE) {
unilateral_dir <- "data-raw/unilateral/"
make_unilateral_version <- function(version) {
regex_keys <- list("MOW1", "MOW3")
compile(unilateral_dir, regex_keys[[version]]) %>%
clean %>% recode %>% mutate(vers... |
6822f3b219b56a757960a640de1489e70a7bbd15 | abbc59b48a40e5190c6c32c86e902c1e986eed20 | /10 Basic Inferential Statistics/10c_analysis_of_survey_data.R | f0d19ff4e2d056986318572a5b9197532354c265 | [] | no_license | IonelaM/Data-Processing-Analysis-Science-with-R | f49788f5bea439894155d80e6df44cde534ac7a5 | cdc6086b0e2b9adf3750cc4682e3d38850389a90 | refs/heads/master | 2020-12-15T18:06:13.754626 | 2020-01-12T05:21:00 | 2020-01-12T05:21:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,085 | r | 10c_analysis_of_survey_data.R | ############################################################################
### Al.I. Cuza University of Iași ###
### Faculty of Economics and Business Administration ###
### Department of Accounting, Information Systems and Statistics ###
############... |
a353cad0abed1a017d27fa4f017a18ab2508ee45 | 42d6315be4acce738f7838c5ed6ee06ed3059a43 | /R/plot3.R | c3d7508546c60f9222098992adafd823515e365a | [] | no_license | cesarggtid/ExData_Plotting1 | 044aef8f33ba3dcb1ad7839459f9fb55fc057f8d | 50bd5e35716312e44ed5c70c768b12f709918f8f | refs/heads/master | 2020-12-27T09:33:38.619403 | 2014-10-12T20:39:32 | 2014-10-12T20:39:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 882 | r | plot3.R | # Set working directory to current R script directory
setwd("D:/workspace-R/coursera/")
# Load R file containing the getData function
source('getData.R')
# Get Tidy data
hpc <- getData("D:/workspace-R/coursera/data/", "household_power_consumption.txt")
# Choose png graphics device and set image dimensions
png(filena... |
a03d5fcf45f48a16be6f9778e5e12040bd0df47a | c71056ad296a655e334ea59206f647f3e7e4a070 | /Scripts/R/Quarterly/quarterly_chol.R | b0f4919c0e7005af861705a52b6310bff74ed5b4 | [] | no_license | Allisterh/VAR_SVAR-MscThesisICEF | 4ed4db1a84f28d8ac40494da3c93ce6a5868865a | 22220c3844e66532b12ccf5227f3b21708969083 | refs/heads/main | 2023-05-31T15:52:43.410287 | 2021-06-10T16:01:41 | 2021-06-10T16:01:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,731 | r | quarterly_chol.R | library(seasonal)
library(rio)
library(lubridate)
library(bvarsv)
library(VARsignR)
library(vars)
library(svars)
library(tsDyn)
library(ggplot2)
library(mFilter)
library(BVAR)
dat <- import("/Users/rutra/ВШЭ/Магистратура/Thesis/Data/Aggregated data/Data Quarterly.xlsx", sheet=3)
dat <- na.omit(dat[dat$date > as.Date("... |
91bd8e7c426d8432fa1d5e20620b6d96b3c8dbd1 | 178086eeb8b4158d45b705428d5bf4e3b41d6da4 | /demos/nnet_demo.R | 1a7335933c73e8595722dd2547272224fa071356 | [] | no_license | CameronMSeibel/info201a_final_project | 3a90c9a5741f2c276bb3478d65b9c9d361808e8e | 50190e57408f203872b34e20162e00f72b85a54d | refs/heads/master | 2020-03-17T16:02:51.955682 | 2018-05-31T19:37:02 | 2018-05-31T19:37:02 | 133,734,059 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,432 | r | nnet_demo.R | # Cameron Seibel, INFO 201
# NNET Proof of Concept
#
# This file serves as a proof of concept for using the nnet package to solve classification
# problems by exploring one of R's given datasets, iris.
# Be sure that nnet is already installed on your machine!
library(nnet)
library(dplyr)
# This sets the size of the ... |
99ff35a84cd29d6e9125b09f844bb961e50e4db8 | f17de11f2aa5ba013b442c1fff1ab794b984a792 | /man/ros_ping.Rd | ef8a7acb57110cd05149bce3ee01f20a58820cca | [] | no_license | ktargows/rosette | 27d136225717254919f8ad0f791ac4fe53a056b4 | caea1ecd62fdef278e8927a7eafd043332e7ac19 | refs/heads/master | 2020-12-30T12:10:45.021008 | 2016-10-11T22:06:08 | 2016-10-11T22:06:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 214 | rd | ros_ping.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ping.r
\name{ros_ping}
\alias{ros_ping}
\title{Rosette API availability}
\usage{
ros_ping()
}
\description{
Rosette API availability
}
|
e1e982411f84b7110ebb14b285c8cddac0bb396e | a6035147e4078ec16659573ee7c7fc89f78efc3d | /R/BPbasis.R | ea86111c8978ebbb3549b3caa847ccc4b7a81069 | [] | no_license | Li-Syuan/BayesBP | 8b04899d22d6a73b1f10eae1d4c2b9e6c0fb4cd3 | 182a7eb8d5de2809c8c778bd31725051b0678ca8 | refs/heads/main | 2022-02-14T01:47:44.753106 | 2022-01-26T01:50:06 | 2022-01-26T01:50:06 | 213,273,058 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,109 | r | BPbasis.R | #'Bernstein polynomial basis.
#'@description This function build two dimensional Bernstein polynomial basis.
#'@param ages Range of ages.
#'@param years Range of years.
#'@param n0 Upper bound of possion random variable.
#'@param N Lower bound of possion random variable.
#'@return Bernstein basis.
#'@examples
... |
4a3bb2137eca361fe3d1f77c15044f1de5addb99 | 4f9015f385c8a02ff258414ba931952afb1e6fac | /R-libraries/spm/R/spm.remove.last.words.R | a816d0c52b416926a509d64fe0b2cf4b55d27d5d | [] | no_license | NIWAFisheriesModelling/SPM | 0de0defd30ccc92b47612fa93946ef876196c238 | 0412f06b19973d728afb09394419df582f1ecbe4 | refs/heads/master | 2021-06-06T00:15:07.548068 | 2021-05-27T06:07:46 | 2021-05-27T06:07:46 | 21,840,937 | 6 | 3 | null | null | null | null | UTF-8 | R | false | false | 255 | r | spm.remove.last.words.R | #' utility function
#'
#' @author Alistair Dunn
#'
"spm.remove.last.words"<-
function(string, words = 1)
{
temp <- spm.unpaste(string, sep = " ")
to.drop <- length(temp) - (0:(words - 1))
paste(unlist(temp[ - to.drop]), collapse = " ")
}
|
d21d5b3820eec1e3f37a65e144b228d0ba7c126e | 305cf81d42d09a94f7948a0a47a7a8d58e03f845 | /R/base_pymolr.r | 5f8793b0935e1ac23719d04364b0de8911ac37fd | [] | no_license | StefansM/pymolr | 8c56df35df19024c3dcce058e671faa360159f23 | 38e946f07f8724ded51788e62662f1598fb4c24f | refs/heads/master | 2021-04-27T10:51:43.971589 | 2018-02-22T23:30:03 | 2018-02-22T23:30:03 | 122,548,133 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,949 | r | base_pymolr.r | #' Control PyMol from R.
#'
#' Pymolr makes all PyMol commands available from R, and provides tools to
#' manipulate on PyMol selections.
#'
#' Use the \code{\linkS4class{Pymol}} class to interact with Pymol and the
#' \code{\linkS4class{Selection}} class to create PyMol selections.
"_PACKAGE"
#' Base class for PyMol ... |
01924e99890df83b3b26db2c0bae4e66814cef2c | 8694cb6d3889d64d8b4d6977774512771002a40f | /IntroR/pollutantmean.r | 5b32e03b59896534e1dfa5477696acbea88ed376 | [] | no_license | jbewald/R | 2abee7df1ea6447dc4981a43317d39979cc0f5e8 | c838707a810995b674679c7c87f2fbba1d94491f | refs/heads/master | 2021-01-10T08:55:57.045066 | 2016-01-29T16:32:41 | 2016-01-29T16:32:41 | 50,674,756 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,655 | r | pollutantmean.r | pollutantmean <- function(directory, pollutant, id = 1:332) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'pollutant' is a character vector of length 1 indicating
## the name of the pollutant for which we will calculate the
... |
a9aa45f2b74eddf6149a009d5c188192796da508 | 19ece375ca4095b5578efe5332e7f79137435b0c | /man/SNR.Rd | 2458bfd72eb6a69fcd5066ab61da282e78f9bea0 | [] | no_license | rscharpf/crlmmCompendium | 547d80cc477b1eb29f3e7764bb37b5fe23fa83c6 | 1901b99953ad932c64fb12ffd80bf1e68785bb00 | refs/heads/master | 2020-04-08T22:57:53.965914 | 2012-05-03T19:02:29 | 2012-05-03T19:02:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 632 | rd | SNR.Rd | \name{SNR}
\alias{SNR}
\docType{data}
\title{
Signal to noise ratio estimated from the CRLMM algorithm.
}
\description{
The signal to noise ratio (SNR) is an overall measure of the separation of the
genotype clusters for a particular sample. The SNR can be useful as a
measure of quality control. For Affymetrix 6.0, w... |
c13fe031f38712d7842ef7ad9f584fac42dbada7 | 35de14603463a45028bd2aca76fa336c41186577 | /R/find_consensus_SNPs_no_PolyFun.R | 75b899460b6d167ccb4d28d387deeacb015a8a3b | [
"MIT"
] | permissive | UKDRI/echolocatoR | e3cf1d65cc7113d02b2403960d6793b9249892de | 0ccf40d2f126f755074e731f82386e4e01d6f6bb | refs/heads/master | 2023-07-14T21:55:27.825635 | 2021-08-28T17:02:33 | 2021-08-28T17:02:33 | 416,442,683 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 471 | r | find_consensus_SNPs_no_PolyFun.R | find_consensus_SNPs_no_PolyFun <- function(finemap_dat,
verbose=T){
printer("Identifying UCS and Consensus SNPs without PolyFun",v=verbose)
newDF <- find_consensus_SNPs(finemap_dat,
exclude_methods = "POLYFUN_SUSIE",
... |
768173f124ea69e4b1426eb59e150a329b3aa34c | a6ca6b4d428124461ef4184f32e35961b8a4ce9e | /02_rprogramming/assignment3/best.R | 81c9608cc1705b50eb11546039a0e0fbf6b0626f | [] | no_license | ryanmcdonnell/datasciencecoursera | c81a95beb7afc05fad209dc3f1d858f489de7d4a | 1d005de1d3f29a30cc31a5a0114d99cb7895a995 | refs/heads/master | 2016-08-07T21:51:58.802527 | 2015-08-10T23:08:05 | 2015-08-10T23:08:05 | 38,704,568 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,250 | r | best.R | best <- function(state, outcome) {
## Read outcome data
## Check that state and outcome are valid
## Return hospital name in that state with lowest 30-day death
## rate
# Validate the outcome argument
validOutcomes = c("heart attack", "heart failure", "pneumonia")
if(!(outcome %in% validOut... |
17ce26b3c8eb6f03b3035660ffd74653c0f19002 | a8c143e36e191984fca19f9f421b0231fbc7bc18 | /man/pick.batch.sizes.Rd | b8c00f4f6c7d62916c4a57bb45baf591c45ce2b6 | [] | no_license | bschiffthaler/BatchMap | 3d74d8315dee0d5ae00413fbfed740134c9a064f | 21806c09de4b8839b0625d8b73047bc57c4a02ae | refs/heads/master | 2021-01-17T23:33:10.251330 | 2019-12-10T13:49:21 | 2019-12-10T13:49:21 | 84,226,774 | 3 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,069 | rd | pick.batch.sizes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/overlapping.batches.R
\name{pick.batch.sizes}
\alias{pick.batch.sizes}
\title{Picking optimal batch size values}
\usage{
pick.batch.sizes(input.seq, size = 50, overlap = 15, around = 5)
}
\arguments{
\item{input.seq}{an object of class \code{... |
7c000d67249182a910864f7a139a476873433fde | e158e9992ab1d0510134ecc123aac7220c612df0 | /R/utilityFunctions.R | 78091cb630b2a3202fdb00879392b532e19eff04 | [] | no_license | grimbough/biomaRt | a7e2a88276238e71898ea70fcf5ac82e1e043afe | 8626e95387ef269ccc355dbf767599c9dc4d6600 | refs/heads/master | 2023-08-28T13:03:08.141211 | 2022-11-01T14:38:39 | 2022-11-01T14:38:39 | 101,400,172 | 26 | 8 | null | 2022-05-17T08:10:51 | 2017-08-25T12:08:50 | R | UTF-8 | R | false | false | 14,729 | r | utilityFunctions.R |
## sometimes results can be returned by getBM() in a different order to we
## asked for them, which messes up the column names. Here we try to match
## results to known attribute names and rename accordingly.
.setResultColNames <- function(result, mart, attributes, bmHeader = FALSE) {
## get all available a... |
ff83ea80ff6ffdb0bee875b0068f1a6726ee6493 | 358fac5c4137d512c32806b994dccd62a0167352 | /R/assetservers.R | 957ec0ab8090545b717704f505211b421236659c | [] | no_license | paleolimbot/piplyr | b8a8bcf2bcabbfab5ae982517061eeb2ceae6fd0 | 87758e0390fa8d23b59c9c64c1208e917281f729 | refs/heads/master | 2020-08-21T08:56:14.859525 | 2019-10-19T19:22:06 | 2019-10-19T19:22:06 | 216,126,268 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 791 | r | assetservers.R |
#' Retrieve a list of all Asset Servers known to this service
#'
#' @inheritParams pi_get
#' @param webId The ID of the server.
#' @param ... Passed to [pi_get()]
#'
#' @export
#'
#' @references
#' https://devdata.osisoft.com/piwebapi/help/controllers/assetserver/actions/list
#' https://devdata.osisoft.com/piwebapi/he... |
f3b9716883e23da355271b6901b40688e0d0a70c | b3acea392da5c57fd91bd14ece661853deed1c05 | /Hibridacion_monolitica/Hibridacion_monolitica.R | c73b5359608c7987bfbc36307a066450f93b07dd | [] | no_license | Artcs1/SistemasdeRecomendacion_T2 | 5c674c9dc590903a4ea29dd142505180f61680ea | 976e099f5e656d350aba43d19abb1f7ef70dc08f | refs/heads/master | 2020-03-18T12:56:32.713718 | 2018-06-22T04:47:37 | 2018-06-22T04:47:37 | 134,751,809 | 0 | 3 | null | 2018-06-03T21:14:35 | 2018-05-24T18:04:35 | R | ISO-8859-1 | R | false | false | 5,238 | r | Hibridacion_monolitica.R | FBC.genres.sim <- function(dataset,testset,genreset) {
dataset = as.matrix(dataset)
testset = as.matrix(testset)
genreset = as.matrix(genreset)
testset = testset[,2:3]
nmovies = max(c(dataset[,2],testset[,2])) # número de filmes
A = list("Animation"=1,"Adventure"=2,"Comedy"=3,"Action"=4,"Drama"=5,"Thri... |
add1d2008f6f729425bb169d467493991db2762d | 84ddf0c12885c83d2c7a32791447f8a56fbb8fa2 | /Data_Analysis/downloading file from url.R | 5aceb08134df002c419d30691658602a353d3ed6 | [] | no_license | Haineycf/R | 60fb12c7c12583908663247ccd550a413cbf99f0 | 468a2c74649cc8a424b86061a92971a108eae5a0 | refs/heads/master | 2021-01-13T14:47:57.754348 | 2017-12-11T23:35:12 | 2017-12-11T23:35:12 | 76,572,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 221 | r | downloading file from url.R | # download a file from a url pate
fileUrl <- "https://data.baltimorecity.gov/api/views/dz54-2aru/rows.csv?accessType=DOWNLOAD"
download.file(fileUrl, destfile = "./data/cameras.csv", method = "curl")
list.files("./data") |
8bda21fa5b25d154f6f812767c95994e4cc025f4 | 04983b845e7fbde889d642890935b8e397cc41ad | /01 carga y limpieza.R | 2c71132c448786ecc9afb0bc2292050745079546 | [] | no_license | pmtempone/DM_CUP | a0a30ae4d31768443cd84171caeccaf2c03345e9 | 47ba3b065652c4bff7cf406da71e51906d9b55ff | refs/heads/master | 2021-01-19T13:47:32.960958 | 2017-05-14T18:54:16 | 2017-05-14T18:54:16 | 88,108,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,416 | r | 01 carga y limpieza.R | library(ggplot2)
library(dplyr)
library(data.table)
library(dtplyr)
library(funModeling)
library(doMC)
train <- read.delim("/Volumes/Disco_SD/Datamining Cup/DMC_2017_task/train.csv",header = TRUE,sep = "|")
items <- read.delim("/Volumes/Disco_SD/Datamining Cup/DMC_2017_task/items.csv",header = TRUE,sep = "|")
chec... |
f844c116bdf377d9221b96dd66ca3fc8bb49f167 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/FateID/examples/reclassify.Rd.R | 846f2cfa22078363eb883e2d0a2c858436b4766a | [] | 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 | 258 | r | reclassify.Rd.R | library(FateID)
### Name: reclassify
### Title: Reclassification of cells
### Aliases: reclassify
### ** Examples
x <- intestine$x
y <- intestine$y
tar <- c(6,9,13)
rc <- reclassify(x,y,tar,z=NULL,nbfactor=5,use.dist=FALSE,seed=NULL,nbtree=NULL,q=.9)
|
4bde17e4d3eb3849b774254859dd06a45245165b | d3681eaac1eeb5dea3f30aabeb21029d7ad8feaf | /inst/doc/examples/ssqtest.R | e75f009aa24eb5596f18bf19037774b60358bcc5 | [] | no_license | cran/optimx | 01f3b3546a1c4f0780063d8f541d8f2680830f9e | 675f08649655da273365f1efcc0996b39dc8bb46 | refs/heads/master | 2023-08-17T00:12:18.490641 | 2023-08-14T07:10:12 | 2023-08-14T08:30:59 | 17,698,097 | 3 | 7 | null | null | null | null | UTF-8 | R | false | false | 665 | r | ssqtest.R | # ssqbtest.R -- a simple sum of squares showing differences between
# opm() and optimx()
## author: John C. Nash
rm(list=ls())
require(optimx)
sessionInfo()
ssqb.f<-function(x){
nn<-length(x)
yy <- 1:nn
f<-sum((yy-x)^2)
f
}
ssqb.g <- function(x){
nn<-length(x)
yy<-1:nn
gg<- 2*(x - yy)
}
ssqb.h <- funct... |
841f0a19e56b7d7335dfb2c81e84b1f773dbc862 | 2802979852f33dc4336c0e0fbc6a601a928efc5e | /R/cutoffs.R | 0becf27bef4f1b298381456d8fe2c2497bc785bc | [] | no_license | cran/netgwas | 05ee21591f4bc89b295b4d7d6754ec9fb5cc7225 | e661e37640b335d4fa515f03411e08bb12b795fa | refs/heads/master | 2023-08-31T22:02:45.223899 | 2023-08-07T14:40:02 | 2023-08-07T16:35:15 | 112,773,132 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 804 | r | cutoffs.R | #-------------------------------------------------------------------------------#
# Package: Network-Based Genome-Wide Association Studies #
# Author: Pariya Behrouzi #
# Emails: <pariya.Behrouzi@gmail.com> ... |
a594795b8d3389bdb13c9367c70b1cb95fcbfcc5 | 3134e07d1cf55e5ee931f036c67c8749e9682428 | /R/camel.tiger.clime.mfista.R | 0655813888e841232a0f2717114b7d64be9ecdb7 | [] | no_license | cran/camel | 462474e8df3bde111fae225d4067741ab852e063 | 1b480116cd340bfad76b5a411c05a02acc1a3574 | refs/heads/master | 2020-12-24T12:02:01.521103 | 2013-09-09T00:00:00 | 2013-09-09T00:00:00 | 17,694,927 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,223 | r | camel.tiger.clime.mfista.R | #----------------------------------------------------------------------------------#
# Package: camel #
# camel.tiger.clime.hadm(): Coordinate descent method for sparse precision matrix #
# estimation ... |
a14c3126a4d41f132360fa1fda2ba8ccbad17140 | 16b0ef0cfdebe10c0c37207f75c1c457dd452290 | /man/iascagpcp.Rd | 08f34c376cbd749e3959196876e188d664a14110 | [] | no_license | cran/mbgraphic | ad2c5b907e3dd4c026d6fff41d16212ca05f5f52 | 15acaaa26de781203c6e80c53d2ae8d4d83fdb57 | refs/heads/master | 2020-12-30T15:42:12.746005 | 2019-04-28T18:20:03 | 2019-04-28T18:20:03 | 91,166,050 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,486 | rd | iascagpcp.Rd | \name{iascagpcp}
\alias{iascagpcp}
\title{
Interactive parallel coordinate plots for exploring scagnostics results
}
\description{
An interactive parallel coordinate plot for exploring scagnostics results programmed with the package \pkg{shiny}. If \code{sdfdata} is generated by function \code{\link{sdf}}, \emph{Out... |
22cb5863c752aa3b02ccd130d861634e56ededd4 | 3f887566cd63a82f13d2aae590cdea252f2532db | /backup/HotelR.R | 3c9a4c299266cd28d558b4a2d9fa3318bfc6f1e9 | [] | no_license | seaireal/hotel_rating | b4a9a7bbdee0b76caad3b4d6fd29a71cf9eba439 | 3e6ad9de14d05dfe0870f256c3c22865a497d585 | refs/heads/master | 2020-08-09T11:56:24.236767 | 2019-12-30T17:05:10 | 2019-12-30T17:05:10 | 214,081,977 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 879 | r | HotelR.R | # set working directory
setwd("/Users/huiwang/Downloads")
HotelReviews = read.csv('Hotel_Reviews.csv')
# choose and rename the predictors
HotelR = cbind(HotelReviews[,c(2,3,4,5,8,9,11,12,13,15,16,17)])
names(HotelR) = c("addscore", "date", "score", "hotel", "negative", "review",
"positive", "reviewers", ... |
590b533ed61bf538e79ede177fa5dad0cf5f5e06 | b0f7d5d2489e761646c6363d2958e9d3a1b75747 | /Analytics Edge/NUnit5_Assignment3.R | 3d9cef5a6fc89af3c480882ea73d789400487be9 | [] | no_license | krishnakalyan3/Edge | 4cd5cb55677ed662dda4d4acdf7fba4c7e813735 | ad070911bd36c26ff7c612b4adc4150a53579676 | refs/heads/master | 2021-01-21T04:46:50.714837 | 2016-07-03T10:48:34 | 2016-07-03T10:48:34 | 53,034,825 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,597 | r | NUnit5_Assignment3.R | getwd()
setwd("/Users/krishna/MOOC/Edge/Data")
email = read.csv("emails.csv",stringsAsFactors=FALSE)
# Problem 1.1 - Loading the Dataset
str(email)
# 'data.frame': 5728 obs. of 2 variables:
# Problem 1.2 - Loading the Dataset
sum(email$spam)
# 1368
# Problem 1.3 - Loading the Dataset
# subject
# Problem 1.4 - L... |
64c909034486b62c9ff11fad2c241fd9a3159dbd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/metafor/examples/dat.pritz1997.Rd.R | 0bbdf83491659ce9aaad1b3bcced53a569f79e1f | [] | 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,242 | r | dat.pritz1997.Rd.R | library(metafor)
### Name: dat.pritz1997
### Title: Studies on the Effectiveness of Hyperdynamic Therapy for
### Treating Cerebral Vasospasm
### Aliases: dat.pritz1997
### Keywords: datasets
### ** Examples
### load data
dat <- get(data(dat.pritz1997))
### computation of "weighted average" in Zhou et al. (1999),... |
a21ac82d8b3a6842998aed97e7384d0ae408a0b8 | dbff7481385f4c5e7ae9dbb726835de7970bb22c | /R/daqDarkThemeProvider.R | 36055f477cca785e4e4c38a9ab8f959b847f2210 | [
"MIT"
] | permissive | emilhe/dash-daq | f2056ef37eab04ba39c954c35faf96da2b7ebe88 | 34140134f740e5f5186af8e4727de9a5a0cbe917 | refs/heads/master | 2022-12-03T15:50:19.026762 | 2020-08-27T06:59:42 | 2020-08-27T06:59:42 | 288,721,296 | 0 | 0 | MIT | 2020-08-19T12:06:54 | 2020-08-19T12:06:53 | null | UTF-8 | R | false | false | 510 | r | daqDarkThemeProvider.R | # AUTO GENERATED FILE - DO NOT EDIT
daqDarkThemeProvider <- function(children=NULL, theme=NULL) {
props <- list(children=children, theme=theme)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'DarkTheme... |
68a93ee5a6390ff4cda4fd1b0bc0aeb6de1a2b6e | 242730ec15df34c6d3b4850831c44b5bfa13f3ec | /demos/2020-10-30.R | c8bd1054a8dd80069172a2234782644595524b0c | [] | no_license | tdhock/cs499-599-fall-2020 | bcf4d81e96b2685d7fcc22e30c9f95eee4ea959e | b270b5f94a3e36c57313d392176a1b6de455b82a | refs/heads/master | 2023-07-10T12:12:41.320347 | 2021-08-18T18:07:16 | 2021-08-18T18:07:16 | 255,656,952 | 1 | 5 | null | null | null | null | UTF-8 | R | false | false | 5,204 | r | 2020-10-30.R | loss.dt.list <- list()
change.dt.list <- list()
## penalized model selection / evaluation with Fpsn (dynamic
## programming).
data(neuroblastoma, package="neuroblastoma")
library(data.table)
all.profiles <- data.table(neuroblastoma$profiles)
all.labels <- data.table(neuroblastoma$annotations)
label.counts <- all.labels... |
9cffae9d756afbbb9cc163d55f5e2e2e605cba8a | f78cd948863b0d44fb817d10e28c52a885d425e5 | /ValoresHorariosCompletosMeteorologicosAemet.R | 8e3250b8982616806da7b1e5bdf73f02f6185aa7 | [] | no_license | GuilleHM/TFM_GuillermoHuerta_MasterBigData_2019_UNIR | 6044fdc94c32f01559b9ce1b64dac86c79b6172a | 6126784ba90740eded8711bb22517463bc2eeb28 | refs/heads/master | 2020-07-10T17:02:08.893045 | 2019-09-15T11:08:40 | 2019-09-15T11:08:40 | 204,317,561 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 4,031 | r | ValoresHorariosCompletosMeteorologicosAemet.R | # Este "script" sirve para complementar el archivo csv exportado desde la
# colección "meteorologicos" de la BBDD "aemet" de nuestro servidor mongodb.
# En esta colección se encuentran los valores meteorologicos horarios, obtenidos
# mediante llamada a la API OpenData de Aemet, para todas las estaciones meteorológic... |
23a0d392cdf10dd070ea0a5ff2e8c10c6bc38b39 | e279d4de1f3d9be6fcdd688f375e59535a44d18e | /cachematrix.R | 60146d63b9753acad04883d6208d3fb3d1060066 | [] | no_license | eniedling/ProgrammingAssignment2 | 4dbb0d96f5d6696a4ed09ed2a2af42a2f219dff6 | 92e21ac778b2ce9f91f510a6d99be09b1eeef7ec | refs/heads/master | 2021-01-09T06:44:09.437791 | 2014-09-21T14:48:27 | 2014-09-21T14:48:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,605 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()) {
# initialize inverse matrix object
inv <- NULL
# define set function, which stores matrix internally AND resets inverse
set <- func... |
0354759d1ee2df3184f70f4c9e6becc61b33f681 | f28e53f5f9ad06bf51b69f45fd1425cf02c1709b | /man/granplot.Rd | 2bc7d20aead8b881ab26b4334b4b8509f361b789 | [] | no_license | gallonr/G2Sd | f42ac156bdab5dc1ded6b82563d864bd92245092 | 31325d40d14e2df08319ac66ddd9aed7c1f1686b | refs/heads/master | 2023-07-04T23:08:17.638661 | 2020-03-06T16:43:48 | 2020-03-06T16:43:48 | 170,348,255 | 4 | 2 | null | 2021-08-25T13:05:39 | 2019-02-12T16:07:25 | R | UTF-8 | R | false | false | 1,893 | rd | granplot.Rd | \encoding{UTF8}
\name{granplot}
\alias{granplot}
\title{
Histogram with a cumulative percentage curve
}
\description{
This function provides a histogram of the grain-size distribution with a cumulative percentage curve
}
\usage{
granplot(x, xc = 1, meshmin=1, hist = TRUE, cum = TRUE, main = "",
col.cum = "red", col... |
184d92fec62d54cc579ab80ab498baba0f5fee4d | 313208dae9bd931bd221bfbbb53f97d29fa7433b | /man/GeneratRateMatrix.ProgressionGraph.Rd | e5952717c2339c4779f9f2c56b461bbbbf3e6d5e | [] | no_license | scientific-computing-solutions/badminton | 23cf0a4ad7b14fc001108e5e2a98d2b4d081dbcb | a89625d15aa13d3f7ceac8676cc4aef42fb2a4aa | refs/heads/master | 2020-12-25T13:44:47.001850 | 2016-11-23T19:43:24 | 2016-11-23T19:43:24 | 65,361,935 | 0 | 0 | null | 2016-11-23T19:43:25 | 2016-08-10T07:50:11 | R | UTF-8 | R | false | true | 699 | rd | GeneratRateMatrix.ProgressionGraph.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/progressionGraph.R
\name{GeneratRateMatrix.ProgressionGraph}
\alias{GeneratRateMatrix.ProgressionGraph}
\title{Outputs a matrix of rates from the edge Data of a \code{ProgressionGraph}
object}
\usage{
GeneratRateMatrix.ProgressionGraph(object... |
12e629e67f8d35908ca4f9c0bddb656b71f47da8 | 304e0912b221eca50a1f511525e196f9958bed7f | /capture_url_information.r | 225831eeb45e9e76811bbfac12a22052fba53a23 | [] | no_license | thefactmachine/ckan_fun | 52733d5863962b1c6e2a30e3c2251cb520c187c7 | 6b9f5ac0f6776a9a480df5d2b720b39f4b03ad78 | refs/heads/master | 2020-05-21T08:51:56.892383 | 2016-11-08T02:55:48 | 2016-11-08T02:55:48 | 69,430,255 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,193 | r | capture_url_information.r | # clear the decks
rm(list=ls())
options(stringsAsFactors=FALSE)
library(jsonlite)
library(dplyr)
# library(httr)
# read the json file amd parse it into an R list
# this is top CKAN url which returns a list of CKAN references to each data set.
# the length of the returned data set is equal to the number data sets.
ls... |
38f4c3663d88276cc8a381463ac659b9f75c7ff0 | c2d4519a1f951ac6b8acfa8810265334508ea20a | /man/BLRM.fit.mwg.Rd | 59a6d51e71fd9a379db29afbc70a5bd96116f571 | [] | no_license | lcw68/G3proj | ea56788ad44f9223426492b7416170821e9401a6 | a419894ba9dc20e5c13568221d53157c238e4496 | refs/heads/main | 2023-04-24T03:48:54.759692 | 2021-05-06T17:10:00 | 2021-05-06T17:10:00 | 359,679,879 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,307 | rd | BLRM.fit.mwg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppWrapper.R
\name{BLRM.fit.mwg}
\alias{BLRM.fit.mwg}
\title{Bayesian Logistic Regression Model (BLRM) training}
\usage{
BLRM.fit.mwg(
Y0,
X0,
PriorVar,
propSD0,
nMC = 1000,
nBI = 250,
thin = 5,
seed = 1
)
}
\arguments{
\item... |
24e77dbc468047b8d08707e2ee7ed87ec9fbe4ba | 8f94ccd8d3aed33b418cb9639dc64a159931ae4e | /R/print.sc_rci.R | 0fc5579cbdb124323d2b1a56c5a6535e385e5081 | [] | no_license | cran/scan | 8c9d9b2dc44bbb8c339be3795a62bb5c49be87b0 | 860599c21c4c5e37746fa8e6234c6f6cc8028070 | refs/heads/master | 2023-08-22T17:47:22.450439 | 2023-08-08T13:00:02 | 2023-08-08T14:31:36 | 70,917,562 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 522 | r | print.sc_rci.R | #' @rdname print.sc
#' @export
#'
print.sc_rci <- function(x, ...) {
cat("Reliable Change Index\n\n")
cat("Mean Difference = ", x$descriptives[2, 2] - x$descriptives[1, 2], "\n")
cat("Standardized Difference = ", x$stand.dif, "\n")
cat("\n")
cat("Descriptives:\n")
print(x$descriptives)
cat("\n")
cat... |
d8f36b786598e218c32d7a58b627cfe037d92c7e | 362495bee5b074de6953d17ca22682829e66168d | /tests/testthat/test-pobierz_wartosci_wskaznikow_ewd.R | 741170e80cb31569917a2530595bced80d835c38 | [
"MIT"
] | permissive | tzoltak/EWDdane | fc8d59aa97d803b347e70a6f70df4154f82bd6b2 | 8eb5ef560e999cbde8d0dddb78012e4a52bc3480 | refs/heads/master | 2022-10-22T02:54:33.216359 | 2022-09-29T15:32:56 | 2022-09-29T15:32:56 | 29,207,245 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 592 | r | test-pobierz_wartosci_wskaznikow_ewd.R | context('pobierz_wartosci_wskaznikow_ewd') # cokolwiek - to się po prostu wyświetla na ekranie podczas uruchamiania testów jako taka wskazówka, co się właśnie testuje
# testy grupujemy w nazwane grupy, ale znów od strony technicznej wszystko jedno, jak to zrobimy
# mogą być wszystkie w jednym test_that() równie dobrze... |
25f322a8088cf84e795c4e1bccad87adba571196 | ea859cacef237016e55cd5af3765fa8c39561367 | /R/global.R | 8f85314d0c085bb2b07beb2af1a11b50b4ecc9b7 | [] | no_license | Kadambala/GWSDAT | a0253617ff7527c508c82dda8c5b37b350ab88ea | 0c725e0273a102f51b5126ee3b32ba4696fd50f5 | refs/heads/master | 2023-08-22T17:00:30.324738 | 2021-07-30T15:05:52 | 2021-07-30T15:05:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 839 | r | global.R |
# This is the place in Shiny to define global _constant_ variables.
# Note that these variables become locked if the software is packaged.
#
# The binding can be unlocked, but instead of doing this rather complicated step
# I put all non-constant variables into the server() function (non-global) and pass them to
... |
9ff99d7cd7113f608bdf70b1ed7111a087edf4a3 | da9922c616758fb2beced7407529d974eb892d3c | /R/pssbBind.R | 1cb8435382998ec48626f417ab1bee71af7f8bd6 | [] | no_license | kcstreamteam1/wlRd-package | 714d749b6480d86e5a1e3a0d81047e9ecbc5acf6 | 46683391740cedbd2c5b8bccef2fe90c2582a634 | refs/heads/master | 2021-01-01T18:49:53.992958 | 2017-07-31T18:17:50 | 2017-07-31T18:17:50 | 98,440,798 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,244 | r | pssbBind.R | pssbBind <- function(file.path, score.type = NULL, ambient = F) {
# validate lengths of file path vector and score type vector are the same
if (!is.null(score.type)) {
if (length(file.path) != length(score.type)) stop("The number of score types must be equal to the number of file paths")}
# loop through file pa... |
767a1e0621fc5203cace01834d7444a332ac31f2 | e9f2bfee76e2d5a4de154bac6f0f1defcb8f5605 | /R/customLosses.R | 22af209140771d4d1363276e6cd782bf32f9b194 | [] | no_license | devhliu/ANTsRNet | f3f3357df2b4ac54b12a8c02243b4695649d8fde | ba02b69fcb3835d6b9ba178f88c0932d1f3a86f1 | refs/heads/master | 2020-06-23T08:08:48.638690 | 2019-07-22T18:41:06 | 2019-07-22T18:41:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,116 | r | customLosses.R | #' Model loss function for multilabel problems--- multilabel dice coefficient
#'
#' Based on the keras loss function (losses.R):
#'
#' \url{https://github.com/rstudio/keras/blob/master/R/losses.R}
#'
#' @param y_true True labels (Tensor)
#' @param y_pred Predictions (Tensor of the same shape as \code{y_true})
#'
#' ... |
7db0882a15150b63bce78dc09dfcd8bd3d8b9402 | 846791f0492405acbf9a8eae8d7cd4fa8a43d03b | /R/read_meso_region_bg.R | ac053ad49d2eb056eb2307ee2f4d6d9727869a74 | [] | no_license | Prof-Rodrigo-Silva/geobage | 1d523c480bd2850556d873282a51dd077ae636ac | aaec7e8e3f537f99b646669dff00898d371a573d | refs/heads/master | 2022-11-15T23:25:28.965541 | 2022-07-26T03:28:33 | 2022-07-26T03:28:33 | 275,835,067 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 462 | r | read_meso_region_bg.R | #' Meso region the municipality of Bage
#'
#' Function returns the meso region in which the municipality of Bage is inserted. Data at scale 1:250,000, using Geodetic reference system "SIRGAS2000" and CRS(4674)
#'
#' @export
#' @family general area functions
#' @examples \dontrun{
#'
#' library(geobage)
#'
#' ... |
cff0749b4b66416cc5ecfe4d1e4d7643675fbc13 | 09f9121232947f5e8eec489b5db880e3f5a5fc06 | /inst/extra_scripts/build_data.R | d3679c63495631f7423d58abe9123adc40a001c7 | [] | no_license | mejihero/clustext | 9ac986476509e3ef233011858ff2ca6023af08e5 | 19963bc5a63148aa40f29f32bee3430128206215 | refs/heads/master | 2020-03-12T00:06:49.552509 | 2017-04-14T16:42:47 | 2017-04-14T16:42:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,081 | r | build_data.R | pacman::p_load(clustext, dplyr)
x <- presidential_debates_2012 %>%
mutate(tot = gsub("\\..+$", "", tot)) %>%
textshape::combine() %>%
filter(person %in% c("ROMNEY", "OBAMA")) %>%
with(data_store(dialogue, stopwords = tm::stopwords("english"), min.char = 3))
set.seed(10)
kmeans_assignment <- kmeans_cl... |
2e33a5cab2c0b96783a79b3c31c3c403bfca9229 | b5ad091aca9e037cdd7750c7c016a9fbc41cc1b1 | /FunctionAddNum.R | 3f632faaefd313b6005897045dc887396a5097d4 | [] | no_license | avdharwadkar/LiveSessionDemoProject | 4c2f9f8a577e81e2d1809407046ff42519baa165 | 548222bbef8425388096383731839947b85f3f9d | refs/heads/master | 2021-01-12T15:40:24.868656 | 2016-10-25T00:44:32 | 2016-10-25T00:44:32 | 71,843,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 84 | r | FunctionAddNum.R | # Function to Add two number
AddNumbers <- function(x, y){
z = x + y
return(z)
} |
08804c1316562c62b1041498be4a120962802453 | 295d1939656d1b5d20b4eade3e2f9eb622558bec | /scripts/1_MultipleSites_NHA_TemplateGenerator.R | a4ccdf40bbbd15c086f48c2c8738d4be76734814 | [] | no_license | PNHP/NHA_newTemplate | 1959ad006d0c6af2f93c1cf7a7acb96253d70004 | 18a0da80db93f0ef8e6e10bb2587d1759133d833 | refs/heads/master | 2020-04-27T09:30:47.335200 | 2020-01-06T20:45:01 | 2020-01-06T20:45:01 | 174,217,624 | 2 | 2 | null | 2019-06-24T17:27:46 | 2019-03-06T20:40:53 | R | UTF-8 | R | false | false | 23,801 | r | 1_MultipleSites_NHA_TemplateGenerator.R | #-------------------------------------------------------------------------------
# Name: NHA_TemplateGenerator.r
# Purpose: Create a Word template for NHA content for multiple sites at once
# Author: Anna Johnson
# Created: 2019-10-16
# Updated:
#
# Updates:
#
# To Do List/Future ideas:
#
#---... |
f3e380886d5aee530c110ae538171c51d89a4a52 | 17902a8ed8ac24eaa620ff8da7441c0554d5e06d | /Examples/GSE52870_Analysis.R | aef558c1bf146a7783cb87e9e9638ad61581ce42 | [] | no_license | soulj/PhenomeExpress | deb4a9d2a2df9b631a1b6595e6ef22b7eeb502d8 | cdc15f801361a791b55c9e7455444c7192ee0593 | refs/heads/master | 2021-01-18T22:41:11.506795 | 2015-04-30T11:03:43 | 2015-04-30T11:03:43 | 24,099,237 | 6 | 2 | null | null | null | null | UTF-8 | R | false | false | 7,405 | r | GSE52870_Analysis.R | #Analysis of GSE52870 PAX5 dataset with PhenomeExpress
#takes around 15 mins to run
require("Matrix")
require("igraph")
require("data.table")
require("DESeq2") # for the RNA-seq analysis
require("BioNet") # for comparison purposes - not needed by PhenomeExpress
require("VennDiagram") # for making the Venn diagram figu... |
7c110f21cfb8f21761d5e1f3a0779f20a3177c77 | 419f499346f60b2f341a0a57d5e6842a5ab9b565 | /code/09b_ranks_map.R | 004bb7dbb61fe6b7aeae46b24f2df49758ded26f | [] | no_license | rhrzic/TreatableMortality | b0d04b6ea44ccd8aa1f4ce238e8947af126ea997 | c3cb9f950303687adb7192105fe701c91103878f | refs/heads/master | 2022-12-30T06:23:47.796564 | 2020-10-23T10:37:04 | 2020-10-23T10:37:04 | 275,123,796 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,121 | r | 09b_ranks_map.R | require(eurostat)
require(tidyverse)
require(sf)
male_ranks_overall$Sex = "Male"
female_ranks_overall$Sex = "Female"
gisco0 <- get_eurostat_geospatial(output_class = "sf", resolution = "03", nuts_level = "0", year = "2016", cache = TRUE)
per_country <- rbind(select(male_ranks_overall, Country, Sex, MAD),
... |
1166c138cc6e2432d1ef342f1e5fd1a49be318b2 | 5f29b8d3189a6526bb6ee0b4dc8e05ab3d2d3069 | /001_regularGrid.R | 9bcfdfa9fb08e069799ca4af5aa43f0f1e91e48b | [] | no_license | curdon/linguisticDensity_ProcB_derungsEtAl | cb6f6b8acec7b86181146bd00167f539beb79542 | 318f4ca4e64db4782677e7f189692c3bb35d6fa0 | refs/heads/master | 2020-03-20T08:56:14.958289 | 2018-06-14T08:43:18 | 2018-06-14T08:43:18 | 137,323,409 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,425 | r | 001_regularGrid.R | ##################################################
## Name: 001_regularGrid
## Script purpose: Creating an even distribution of grid points for different spatial resolutions
## Date: 2018
## Author: Curdin Derungs
##################################################
library(geosphere)
library(rgdal)
library(plyr)
rm(l... |
ca5dcaab800eb32ab58810e151a465e6acaf7efd | 9217ebebf4325621f8726001596dbf57e922548f | /inst/scripts/make-metadata.R | 59bf067a2a805d214b64395fde535e7b5ac1be38 | [] | no_license | DKMS-LSL/ipdDb | a851b4ee44a8fab168e59804f12c26ff11d80a0f | 57a6201b7fb4337bb3bf1ea5c31f79fa8fb90bbf | refs/heads/master | 2020-03-21T17:46:38.184184 | 2018-10-18T13:20:45 | 2018-10-18T13:20:45 | 138,853,086 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,238 | r | make-metadata.R | hlaMetadata <- data.frame(
Title = "Allele data from the IPD IMGT/HLA database version 3.32.0",
Description = paste0("Data for all alleles of selected HLA loci (HLA-A, -B,
-C, -DPB1, -DQB1 and -DRB1). The allele annotation, sequence, gene structure
and the (sequence-based) closest allele in full-length is stor... |
af3a31bfa1f624311a70768ed0f88f0955fa38b9 | 6e3fa6b477380f245abb385f9c30b1f601f0aa82 | /inst/tinytest/test_gdns.R | dee5f4e47e38b04605c86934b5c2a60942b418a9 | [] | no_license | cran/gdns | 4435597cb607ae897bb597ce02b2bb8d5c677a75 | 6a2388a6c687f3dc1df3cfc55e8331d7728037bb | refs/heads/master | 2020-05-21T08:53:14.863944 | 2020-05-15T13:00:03 | 2020-05-15T13:00:03 | 69,889,209 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 486 | r | test_gdns.R | library(gdns)
if (at_home()) {
expect_true(length(gdns::query("example.com")) > 0)
doms <- c("example.com", "example.org", "example.net")
qry <- gdns::bulk_query(doms)
expect_true(nrow(qry) > 0)
}
expect_true(is_soft_fail("v=spf1 include:_spf.apple.com include:_spf-txn.apple.com ~all"))
expect_false(is_h... |
e7aeb016269c92d32599713feae0c7dde4b37ab4 | 4d265c3f4046c3edd1bac44a9894d466526d9d1d | /chap01/10_string.R | a339f4765d5ac23bba7ed99224f32eb4d72a71f5 | [] | no_license | kjy3309/R_study | 3caa3c0753c3f32b8aefe69afbb9ae97ed7288ce | 6ff03f9b4940116a551aaa5e186559400c7746d0 | refs/heads/master | 2023-01-22T06:07:11.477448 | 2020-11-12T04:49:27 | 2020-11-12T04:49:27 | 312,169,482 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,844 | r | 10_string.R | library(plotly)
library(dplyr)
# 실업률 데이터 라인으로 그리기
View(economics)
plot_ly(economics,x=~date, y=~unemploy) %>% add_lines() %>%
layout(title='실업률 추이', xaxis=list(title='연도'), yaxis=list(title='실업자 수'))
## 지하철 총 승객 수 일자별 그래프
subway <- read.csv('./data/ch02/202006_SUBWAY.csv', stringsAsFactors = F)
View(subway)
class... |
0d383538551fe4da4be299692957d8d7b9c46372 | 8a6fb400998956cec1dd817a74b90c34c62c6f29 | /1st.Version/GP_Simulate.R | 34e4171ce77a20fb7fb540dd4db5a2bb179fc8a0 | [] | no_license | XGerade/GaussianProcessDynamicSystem | 9faed684f141e55aec6b0a417ea26971b697ebad | cc4444eec8c74772f86be9afbd0bafcf36277cd0 | refs/heads/master | 2021-01-23T11:48:10.335574 | 2014-04-23T16:28:58 | 2014-04-23T16:28:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,114 | r | GP_Simulate.R | load("Simulate_Results.RData")
source("GPRegression.R")
tao = 0.02
k1 = -1
k2 = -1
k3 = 1
k4 = -0.1
theta_initial <- -0.15
theta_1_initial <- -1
x_initial <- 1
x_1_initial <- 3
timeLength <- 300
state <- matrix(0, timeLength, 5)
sigma.squared1 = 0.01
sigma.squared2 = 0.01
Fm = 2.5
#K.xx <- calculateCovariance(x.da... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.