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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12d218cba2a977e3aeb3c7b5f3d9b898fc4e78b2 | 14f7644cd202ddfad8fc4e542092d92184b96623 | /shinnyApp/03 Map/module.R | 6c19568cbace9340edd1c21804cc6c600c45c888 | [] | no_license | DanielMCM/H2020Shiny | 44712ab2c5e279fc6567388565d0dea26412b077 | 6b406ffa9c9ee0fd59ed4cb46526365791cec743 | refs/heads/master | 2020-09-01T17:55:14.002319 | 2019-11-01T16:32:10 | 2019-11-01T16:32:10 | 219,020,831 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,374 | r | module.R | ###################################################
######### Map Module ###########
###################################################
Map_menuItem <- function(id) {
ns <- NS(id)
menuItem("Map", tabName = str_c(id, "Mp"), icon = icon("globe"))
}
# UI (tabs)
r_colors <- rgb(t(col2rgb(colors()) /... |
15d9abf2e4f9c743967996fccd303ee02333878d | cb1edbd312fe5583702e8567e1aa6e32e103d300 | /man/roundBranches.Rd | 73dd9305dabe26dd5539094281f43dfdeecf0a42 | [] | no_license | cran/phytools | e8cb2ddac5592a9c27a0036df4599649a393717a | 910fa95b3f5f1619c85ac420bd07286a3fe8cfcf | refs/heads/master | 2023-07-22T15:18:46.363446 | 2023-07-14T20:00:02 | 2023-07-14T21:30:43 | 17,698,535 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,021 | rd | roundBranches.Rd | \name{roundBranches}
\alias{roundBranches}
\title{Rounds the branch lengths of a tree}
\usage{
roundBranches(tree, digits)
}
\arguments{
\item{tree}{an object of class \code{"phylo"}, \code{"multiPhylo"}, \code{"simmap"}, or \code{"multiSimmap"}.}
\item{digits}{number of digits for rounding. Passed to \code{\... |
c1cd2dc6cf6ae79200c864939873b14fcccbe5e9 | 79a54bdd930b0ff24bee12107a0f2d4ea0141a12 | /man/check_columns.Rd | f1caff6733d3fe9c9250551c3cf1644999df6e7f | [] | no_license | abcwcm/Klebanoff21LT2 | 957ef1d19263f35653de9347fac24ac2b8da166b | 6bb124f4d5d97fece322d422e533a3e898c43ce8 | refs/heads/master | 2023-04-13T23:20:27.592502 | 2022-03-03T11:26:43 | 2022-03-03T11:26:43 | 465,661,359 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,024 | rd | check_columns.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{check_columns}
\alias{check_columns}
\title{Check for the presence of named columns}
\usage{
check_columns(which_names, input, input_name, function_name)
}
\arguments{
\item{which_names}{Column names to check, e.g. c("peaks"... |
3afe642c5eaf7b37532052b1ceb6fe6af9e57520 | 9a3708f68f2ef43467f88428cb26f7c4f92a795f | /code/model/dummy_advmodel.R | 6cffa24c3d8272443a472d98acc3e55fb0ddc96a | [] | no_license | sravi9/captainu-csp572 | ad79f7f199dd85441824bc81dd347550ca93f232 | 0324a871d78c1845047bf37b5f05e7551b2cb695 | refs/heads/master | 2021-01-01T20:02:21.292424 | 2017-08-24T00:57:58 | 2017-08-24T00:57:58 | 98,747,353 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,378 | r | dummy_advmodel.R | library(leaps)
library(MASS)
library('DMwR')
library(randomForest)
library(MASS)
library(caret)
library(ROCR)
library(e1071)
library(dummies)
library(glmnet)
analysisdata<-read.csv('C:/Users/sshss-pc/Desktop/project/processed/analysisdata.csv', header = TRUE)
analysisdata<-analysisdata[,-1]
january<-analysi... |
3097af915a9952be478d7c4687edbae2bc44e59f | 22d316e4dda53044ae7a6389c699f06baf673adf | /GenerateFlightsPADS.R | 5d11f22152eedd72a738af519ba9a61ef4977cb4 | [] | no_license | sujaykhandekar/R_check | e454b396c8b354ce89086a3dde8e6f1a29179b13 | 00fa4571b93a0ffe63f0d685d2163d815aedb0ca | refs/heads/master | 2023-07-02T01:10:46.521824 | 2021-08-11T03:16:39 | 2021-08-11T03:16:39 | 390,935,115 | 0 | 1 | null | 2021-08-05T17:25:37 | 2021-07-30T04:55:02 | R | UTF-8 | R | false | false | 31,551 | r | GenerateFlightsPADS.R | # Generate airlines / flight PADS
# Author: Jitender Aswani, Co-Founder @datadolph.in
# Date: 3/15/2013
# Copyright (c) 2011, under the Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) License
# For more information see: https://creativecommons.org/licenses/by-nc/3.0/
# All rights reserved.
sour... |
a2d58ffa4f2ab3bdc63cbb73df0d2a519e4e70dc | fe8e5ccc9567ed3d76e5e6c1f51ce14e2b068caa | /R/lets_shpfilter.R | 404b451a9002ff4fb46031b76c6e09e2f8c98f0e | [] | no_license | SaraVarela/letsR-1 | 40e525b72511c59028843e8b502adfa843c85727 | 04fb5be5d8471b2ccaa0518f6c27b4c724895776 | refs/heads/master | 2020-12-26T21:47:43.942753 | 2014-09-16T09:09:31 | 2014-09-16T09:09:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,387 | r | lets_shpfilter.R | #' Shapefiles filtering
#'
#' @author Bruno Vilela
#'
#' @description Filter species shapefiles by origin, presence and seasonal type (following IUCN types: \url{http://www.iucnredlist.org/technical-documents/spatial-data}, see metadata)).
#'
#' @usage lets.shFilter(shapes, presence=NULL, origin=NULL, seasonal=NULL)... |
bf7c71d53dba2ef195e0b96c2cb29f6645aab247 | cfea5974c9ea24817bb7ec2b3915c0bd43186247 | /extract_EOBS/global.R | 1074ad0b3fd4b9ab99d34fc15474d7b96c1d0e73 | [] | no_license | tommy-klein/webXTREME | 1ea4e07bbd6dc41afa5d057ff08e3effbe90e7ce | 4f1cfcbbf417be06b0e63c5057f9b8ccda49567a | refs/heads/master | 2021-01-10T02:42:08.477426 | 2016-10-23T21:05:19 | 2016-10-23T21:05:19 | 51,244,426 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,816 | r | global.R | library(RCurl)
library(XML)
library(dplyr)
library(stringr)
library(httr)
library(lubridate)
#### METADATA
catalog.datasets <- getURL("http://opendap.knmi.nl/knmi/thredds/catalog/e-obs_0.25regular/catalog.html") %>%
strsplit("\n") %>% unlist()
catalog.metadata <- getURL("http://opendap.knmi.nl/knmi/thredds/catalog... |
43522f363bdc4f2dbfec4e181ecb4f84a6b4ac2e | db12b990924703cd74748d8585cd9c11fafa6746 | /h2o-r/tests/testdir_jira/runit_NOPASS_INTERNAL_hex_2026_baysian_priors.R | 0871d12483c7bd574cd2c3c9d97ac7299624ac0c | [
"Apache-2.0"
] | permissive | h2oai/h2o-3 | 919019a8f297eec676011a9cfd2cc2d97891ce14 | d817ab90c8c47f6787604a0b9639b66234158228 | refs/heads/master | 2023-08-17T18:50:17.732191 | 2023-08-17T16:44:42 | 2023-08-17T16:44:42 | 17,371,412 | 6,872 | 2,345 | Apache-2.0 | 2023-09-14T18:05:40 | 2014-03-03T16:08:07 | Jupyter Notebook | UTF-8 | R | false | false | 3,668 | r | runit_NOPASS_INTERNAL_hex_2026_baysian_priors.R | setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f")))
source("../../scripts/h2o-r-test-setup.R")
test <- function(){
## Helper functions
# Function to standardize data
standardizeVec <- function(v) {(v - mean(v))/sd(v)}
standardizeH2OFrame <- function(X) {
X2 <- X
for(i in seq(1,ncol... |
b0881533f211edac61af4977c4966718f9e72ab6 | 53db63194c085eb30daa499c494db92f1b132e48 | /R/compute_metrics.R | 7cdf3bc1f0da8f1132dafe2d98b4a4bd4c624011 | [] | no_license | COMBINE-lab/selective-alignment-experiment | 8b65e3f0e74be7d97f00d5e63b7b2f6b23a5be25 | a35ccd775440e80d1991acfdb152a9b40dc36c0a | refs/heads/master | 2021-01-15T16:47:52.935743 | 2018-05-20T14:04:09 | 2018-05-20T14:04:09 | 99,725,450 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,543 | r | compute_metrics.R | library(tidyverse)
source('readers.R')
source('utils.R')
source('plots.R')
source('metrics.R')
library(jsonlite)
library(stargazer)
methods = c('hera', 'Bowtie2', 'STAR', 'selaln', 'selaln-or', 'kallisto')
mreaders <- list(hera=read_hera, Bowtie2=read_salmon, STAR=read_salmon, selaln=read_salmon, `selaln-or`=read_sal... |
85dd270285741ecbf4d023a583f7bc8bffe0d655 | 24bb8d525f1c87676188766e12a5c89cf166477b | /tests/testthat/test-hello.R | 12415c5aab8afd60dc13eaed29c7148b92ad4726 | [] | no_license | markusmortensen/testPkg | 344f0f33b5c681460977af90f2a812c6e322ef6d | 7a417408764d52dc6c390b30acbf7c82d9367df0 | refs/heads/master | 2020-07-12T00:04:27.737241 | 2019-08-27T10:40:59 | 2019-08-27T10:40:59 | 204,671,271 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 91 | r | test-hello.R | context("test-hello")
test_that("multiplication works", {
expect_equal(times2(2), 4)
})
|
18db1951b80f355c3a21e773a548eaa8706b6489 | eb337ade6a7dc65b2ecc3d295a674cb7222e4779 | /Exploration_4.R | 2a1de252a495ba6f19e50e7ee0a8856c7ca332de | [
"MIT"
] | permissive | mathmanda/AirbnbExplorations | 6cd410c76615a2e0aaa855b8736929eab8c2b50d | b811fe138b7087c517a6b94f24d499d750b6e384 | refs/heads/master | 2021-01-25T04:26:43.200027 | 2017-06-15T20:22:48 | 2017-06-15T20:22:48 | 93,440,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,828 | r | Exploration_4.R | library(ggplot2) # graphics
library(dplyr) # data wrangling
library(cowplot) #plot grids
library(knitr) # fancy tables
library(GGally) # scatterplot matrices
library(rpart) #regression and classification trees
library(rpart.plot) #plots of classification trees
library(car) # marginal model plots
seattle<-read.csv('Air... |
75746f57d121ea7f8936881af8a2001c515a874d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/likelihoodExplore/examples/likmultinom.Rd.R | 58e17935dbdc99ab405b926d38b598aa87c2403a | [] | 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 | 228 | r | likmultinom.Rd.R | library(likelihoodExplore)
### Name: likmultinom
### Title: Multinomial Log Likelihood Function
### Aliases: likmultinom
### ** Examples
likmultinom(x = rmultinom(n = 2, size = 3, prob = .4),
size = 3, prob = .4)
|
8575a68e6990bb2872cf75e60e378f9e63303e6c | c4ee384cbb2a7071832a87c27e19bdb9f1662d66 | /scripts/nate_eda_lab.R | e59c2ebfbcfd4455d76ea3a7d6445ff591e5df4f | [] | no_license | naterowan00/cloth_filter | eb836ec1b0e22a910bd7ecadf26d8627dfe94843 | e57eee69027d15172118dac80c50f597454cd4a1 | refs/heads/master | 2022-10-07T12:10:38.467989 | 2020-06-10T05:46:23 | 2020-06-10T05:46:23 | 269,202,652 | 2 | 1 | null | 2020-06-10T05:46:24 | 2020-06-03T21:55:41 | Rich Text Format | UTF-8 | R | false | false | 4,132 | r | nate_eda_lab.R | ###### Exploratory Data Analysis of Lab Data #######
# Load in libraries
library(tidyverse); theme_set(theme_minimal())
library(lubridate)
library(broom)
library(glue)
library(patchwork)
# Read in the data
lab_data <- readRDS("datasets/clean_lab_data.rda")
# Create a tibble of just data from the filter
filter_data <... |
7232a32c6a9fae4196db6ff917dd1ac58cda8efd | 8c4244e9c045eb31f02308316bdb8ea4d27ba1c7 | /plot1.R | e699234f390e392ec256fd3dd1f5e41bbb91d87b | [] | no_license | highsmith/ExData_Plotting1 | a663b56a4fa39099e0f78805a34a47ff773e8b8f | 14cec9ee09ad643aeb58d67bc3d7677a647db56e | refs/heads/master | 2021-01-21T20:22:51.273909 | 2014-05-11T21:26:26 | 2014-05-11T21:26:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 541 | r | plot1.R | ##read file
powerD <- read.table("./data/household_power_consumption.txt", header=T,sep=";",stringsAsFactors=F,na.string="?")
##subset data to required dates
subpowerD <- powerD[powerD$Date %in% c("1/2/2007","2/2/2007"),]
##open png device
png("./plots/plot1.png", w=480, h=480)... |
36ceca9426178200fb8e6bc620c7d6deacbd6740 | 7187292199b342afcc71f7e21ae087624c4ef401 | /plot3.R | 7f4adcfaa58f045db5b7fd158b5a1dbad7a71d36 | [] | no_license | ofelia90/ExData_Plotting1 | 7740b539dcf740283d92e283dd7693ddbbc4a080 | 140d537b54372edc0f14d83f2da86187dcce1779 | refs/heads/master | 2020-12-31T07:10:44.226609 | 2015-11-08T21:11:44 | 2015-11-08T21:11:44 | 45,796,599 | 0 | 0 | null | 2015-11-08T20:03:34 | 2015-11-08T20:03:34 | null | UTF-8 | R | false | false | 1,046 | r | plot3.R | library(sqldf)
library(png)
library(ggplot2)
# reading the data
df<-read.csv2("exdata_data_household_power_consumption/household_power_consumption.txt", header = TRUE, sep=";", stringsAsFactors = FALSE, na.strings = "?")
# converting Date and Time variables to Date/Time classes
df$Date <- as.Date(df$Date , "%d/%m/%Y... |
0876707187984bbca3217407ae03e21d2e1c9156 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/AER/examples/USConsump1950.Rd.R | abed51dc5bc1fe2ddd56978b4bb380f9013a1d22 | [] | 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 | 973 | r | USConsump1950.Rd.R | library(AER)
### Name: USConsump1950
### Title: US Consumption Data (1940-1950)
### Aliases: USConsump1950
### Keywords: datasets
### ** Examples
## Greene (2003)
## data
data("USConsump1950")
usc <- as.data.frame(USConsump1950)
usc$war <- factor(usc$war, labels = c("no", "yes"))
## Example 2.1
plot(expenditure ~ ... |
155aa1c1b6150f56961122907ab040c427beace8 | 0f86a75b7631f8b19895c24bc15a1ead720c3738 | /R/p.soft.omni.R | eb716c1b66f4a744c509afcfb9c8a556a2c23bcd | [] | no_license | cran/TFisher | acad8f6088559ce54131aa07dd8262de8fc582ed | c9a1d8fdd7e50c25e9baf2db3789198eb1de75e0 | refs/heads/master | 2021-09-10T06:18:55.516622 | 2018-03-21T11:05:33 | 2018-03-21T11:05:33 | 109,835,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,075 | r | p.soft.omni.R | #' CDF of omnibus soft-thresholding Fisher's p-value combination statistic under the null hypothesis.
#' @param q - quantile, could be a vector.
#' @param n - dimension parameter, i.e. the number of p-values to be combined.
#' @param TAU1 - a vector of truncation parameters (=normalization parameters). Must be in no... |
7b65c4024056dd6bbc11b3eda8de99f7c5d268a0 | 007ada87a0e07f16bf2596a41f28d93b5182bd17 | /R/Lace Analysis Code/histograms.R | e38854265f81f6a5049a153fad43d25b5ab77cb1 | [] | no_license | spsanderson/bmhmc-sql | 94f6e8e243830823af48c71d43cb53f982cf56cd | e2a4d7ea746b094f13c39b8a18b1849077e4f318 | refs/heads/master | 2023-07-07T02:29:33.556474 | 2023-07-03T15:44:55 | 2023-07-03T15:44:55 | 11,010,270 | 9 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,660 | r | histograms.R | # Histograms of Lace Failures, non-failures and faceted
lace <- read.csv("lace for R.csv")
# Required libraries
library(ggplot2)
qplot(TOTAL.LACE,
data = lace,
colour = SEX,
geom = "density",
size = I(1.25),
main = "Density Graphs for Total Lace Score by Sex")
qplot(TOTAL... |
97aeb1a844f8bb65023192839ad551c4de4ea7f9 | e65cd34a3ab0a63df9d10f02767d7fd017e846cb | /.Rprofile | 4cdcb21d69ab0a037a03ea5110f47872d9a8b790 | [] | no_license | uribo/argama | 75e64fcca801f1ddabfdd5b8cd99fac5452c8f0e | c5011154f800fab09eb59dad0dea973cd6a4486a | refs/heads/master | 2021-05-16T16:30:24.578255 | 2018-10-13T23:37:44 | 2018-10-13T23:37:44 | 119,823,798 | 0 | 0 | null | 2019-07-04T02:15:09 | 2018-02-01T10:59:07 | HTML | UTF-8 | R | false | false | 32 | rprofile | .Rprofile | options(blogdown.author = NULL)
|
24ad228638f69b99280900322d90fc52284b0945 | 52e569f75e990862d33b3d8969c4dba89d7622a4 | /shiny.r | 22c8c90b90514f18701f8f5335815dab835f0072 | [] | no_license | danielbonhaure/Corona | e224921ccadc3ac16a5d4419f83048b4778bd03c | c3a58f9b79ee70836b5bfb48992dfdf663fbd833 | refs/heads/master | 2021-03-27T04:04:18.428466 | 2020-05-03T03:54:53 | 2020-05-03T03:54:53 | 247,784,828 | 1 | 1 | null | 2020-03-16T18:06:48 | 2020-03-16T18:06:48 | null | UTF-8 | R | false | false | 26,482 | r | shiny.r | library(shiny)
library(leaflet)
library(RColorBrewer)
library(rgdal)
library(RCurl)
library(plotly)
library(viridis)
library(tidyverse)
library(geojsonsf)
library(sf)
variable <-F
# names(data)
url <- "https://twitter.com/intent/tweet?url=https://danielbonhaure.shinyapps.io/covid-19"
#
# ver: https://carto.co... |
21a05fcee3ed7b2d0c55c4b96c042e0773cd2c14 | 5907502db5ee0ea54c5ebfe654605a2f60c459a6 | /Question5.R | 4620e50ab2e271615b030822711652cdaaace407 | [] | no_license | 97joseph/Parsimonius_Models | 2136a2cb349dc9a1e8d9d9fcddf8f325f88083c3 | e30fd9ea3457d50e7b94486889e513e241dc9844 | refs/heads/main | 2023-05-08T02:01:24.632639 | 2021-05-24T17:49:35 | 2021-05-24T17:49:35 | 369,995,327 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,722 | r | Question5.R | #### 5. (20 points) Partial least squares was used to model the yield of a chemical manufacturing process (Sect. 1.4). The data can be found in the AppliedPredictiveModeling package and can be loaded.
###The objective of this analysis is to find the number of PLS components that yields the optimal R2 value. PLS models... |
975376d2390352e0319b90187270680ae633f70c | dd435c8364b9d2e22bb525addb530d0b6c87b536 | /Code/R/RWithSQLServer/Pull From Local Database Example.R | 54861ad7e195a295ad24a868946f9247b41b7ed9 | [] | no_license | dmerson/ArizonaMastersCapstone | 4e671af40f94f1d008765d34fffb636314775e61 | 0077613e552c6ea2aab114492319634f41fa3d4c | refs/heads/master | 2020-03-22T18:56:25.791691 | 2018-07-23T04:10:58 | 2018-07-23T04:10:58 | 140,492,925 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,670 | r | Pull From Local Database Example.R | library(knitr)
library(tidyverse)
library(readxl)
library(readr)
library(tidyr)
library(RODBC)
#install.packages("sqldf")
#install.packages("DBI")
#remove.packages("DBI")
#install.packages("RSQLite")
library(RSQLite)
library(sqldf)
library(readxl)
getSqlQueryFromSUDB <-function(sqlQuery){
library(RODBC)
serv... |
3bf344a29c72f78e4402d078bb9e72685830bff2 | a3bd035667c854dd0ba974edc5e5fd9724c56a02 | /Rice_QTL_Final.R | 21b00182a960527b494126fc84516a21abd524eb | [] | no_license | tahia/RiceSaltQTLAnalysis | e45426ef15fd0c4fbf429bce7e824ddf3cd5fe80 | 22040e21bf0951fdff270ac5dd2834a97c09c2e6 | refs/heads/master | 2023-01-01T00:29:02.344301 | 2020-10-24T23:35:21 | 2020-10-24T23:35:21 | 210,711,285 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,245 | r | Rice_QTL_Final.R | library(qtl)
library(qtl2)
library(qtl2convert)
library(devtools)
library(devtools)
setwd("/home/taslima/data/JuengerLab/github/My_Gits/RiceSaltQTLAnalysis") #Choose directory
rm(list=ls())
load("Reproductive_Reload_V5_RQTL2.RData")
set.seed(1234)
cross$pheno$SEL<-ifelse(cross$pheno$SES <=5, 1,ifelse(cross$pheno$SE... |
8e46463e0879d622f718e1b9bf9ee77cf39033a7 | ead118e4df14ed6ed4f3724de638f4199d1f7d8b | /biostar_map.R | 10e5ccef6bcd3c4c76f7a9872e0e0b2f9c8d3d81 | [
"MIT"
] | permissive | Honglongwu/bioinformatics-scripts | 1ead902e259e09758ebad096c703dcc56f84d5c0 | 515d2f19ebfd3e7f3bb6fbe38cc7194d1af34997 | refs/heads/master | 2020-12-24T19:46:04.308493 | 2014-12-13T23:40:40 | 2014-12-13T23:40:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 518 | r | biostar_map.R | library(org.Hs.eg.db)
# Examples
x <- org.Hs.egSYMBOL
# Get the gene symbol that are mapped to an entrez gene identifiers
mapped_genes <- mappedkeys(x)
# Convert to a list
xx <- as.list(x[mapped_genes])
if(length(xx) > 0) {
# Get the SYMBOL for the first five genes
xx[1:5]
# Get the first one
xx[[1]]
}
#... |
d8ff0308363a2197a24dfdc8fcc0b2bd8fc578c7 | 4c7b4c60c3268c1115a70a3adc7c5cc45dbc75c2 | /scripts/exitMaze.R | 0896b330f8d8b2f74a093882be350629ffcfaa1d | [] | no_license | nazabic/data_analysis | cc6d9c7519590a90fbe14b6b71f10ac32e2715aa | 8738f5a3882132c300de0bf6db8e8bc2274b6cb3 | refs/heads/master | 2021-01-16T21:03:32.350206 | 2016-12-01T17:19:16 | 2016-12-01T17:19:16 | 64,401,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,576 | r | exitMaze.R | rm(list=ls())
library(rethomics)
library(tools)
############# Fetch data and add conditions
files <- list.files("/Users/diana/Dropbox/Phd Stuff/ESA/data_exp/all_db_mf", pattern="*.db",full.names = T)
query <- data.table(path=files)
list_of_fields <- strsplit(basename(files),'[-.]')
fields_mat <- do.call("rbind", li... |
edd89ff8ddfa2642e5aff000a34288524eb6ceac | 2012cacdb8764d8b4da3b8b4f12bb68a44022020 | /R/filterNA.R | 680d885791068d5df6451b4acc9627ce83e8fb17 | [] | no_license | cran/FuzzyStatTra | bc8ed929f803657dea67ee096e815e9c4bccc873 | 3aa549fd7a902c8656e74d33ee78dba1dcafee52 | refs/heads/master | 2021-01-13T14:09:25.316161 | 2017-02-08T11:46:14 | 2017-02-08T11:46:14 | 81,347,116 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 330 | r | filterNA.R | filterNA <-
function(F){
FoutNA<-as.matrix(F[complete.cases(F),]) # matrix without missing values
if (ncol(F)>1 & ncol(FoutNA)==1) {
FoutNA<-t(FoutNA)
}
noutNA<-nrow(FoutNA) # number of rows of the matrix F without missing values
return(list(FoutNA,noutNA))
... |
38e87d7aeda8a1d0100abe083c468ae04d79697d | 7d5d8492c2d88b88bdc57e3c32db038a7e7e7924 | /kenya-county-profiles/_test_scripts/KACCAL_plots_functions.R | 1f3dea9a338133d318de00ff903dd22259489379 | [] | no_license | CIAT-DAPA/dapa-climate-change | 80ab6318d660a010efcd4ad942664c57431c8cce | 2480332e9d61a862fe5aeacf6f82ef0a1febe8d4 | refs/heads/master | 2023-08-17T04:14:49.626909 | 2023-08-15T00:39:58 | 2023-08-15T00:39:58 | 39,960,256 | 15 | 17 | null | null | null | null | UTF-8 | R | false | false | 5,791 | r | KACCAL_plots_functions.R | # Graphics and other functions
# H. Achicanoy
# CIAT, 2016
# ===================================================================== #
# CHIRPS data
# ===================================================================== #
# Plotting each time serie
plot(1:length(as.numeric(temp.dt[1,])), as.numeric(temp.dt[1,]), type=... |
d9431e44c4579bc2a2dab47128c1fd79baab2f51 | 4e1b31a95fc7adac9b4a13b5ba0fe16706db2dc3 | /Telecom Complaint Analysis/ComCast Descriptive Analysis.R | 38d29115082bdbff7e4bc120d99d767c7ec1c94d | [] | no_license | Ved-05/Data-Analysis | 8e7c83a3823d251a33d60c60f40a2f10297ac600 | 594ec29acb7b8554489dd3da07d80500e8264b5d | refs/heads/master | 2023-05-13T01:19:07.041445 | 2021-06-06T18:06:49 | 2021-06-06T18:06:49 | 368,075,217 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,422 | r | ComCast Descriptive Analysis.R | # Analysis for Comcast Telecom Consumer Complaints.
# Problem :- The firm has been providing terrible customer service.
# They continue to fall short despite repeated promises to improve.
# They need help to pin down what is wrong with Comcast's customer
# service.
library(lubridate)
library(ggplot2)
library(dplyr... |
9452bbf4896fd7302318ee3c5f32b8bd2c8e8c62 | 08143898e6f093d699035414b57fb9cad8e9baee | /ui.R | 5ea4745f16c4bf749bc42a75fbe0c85ed68cf374 | [] | no_license | margiehertneck/HighAltBaking | 7ae0e8c5e40e0a3af42d96a844b167e86d95dc49 | ce1aab5c08d929db92fe24239075368a27c24d1d | refs/heads/master | 2018-12-31T09:47:16.029180 | 2015-06-08T23:28:34 | 2015-06-08T23:28:34 | 37,022,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,045 | r | ui.R | #### ui.R for High Altitude Baking
# Recommendations for adjustments come from
# http://www.kingarthurflour.com/recipe/high-altitude-baking.html
# load shiny library
library(shiny)
# Set up header and input fields in sidebar
shinyUI(fluidPage(
titlePanel("Adjustments to Time and Temperature for High Alti... |
e0ebb49ff44a842f8eabf867a43b3ebe363e7b26 | f93f30c1735d38d48ddfe21d997ce01791896ad7 | /man/algo_leverage.Rd | 29afca90d48241a16d28d007c28f87206ac6c0d7 | [
"MIT"
] | permissive | stevebroll/stsci6520hw2 | 58f1d6d3cec32483414f4e1b2d5bec253ab6e21c | 93464f6e6a486b3c500ecab838af9e2c91709a25 | refs/heads/master | 2023-05-04T20:32:34.298506 | 2021-05-26T01:10:49 | 2021-05-26T01:10:49 | 362,645,513 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,556 | rd | algo_leverage.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/algo_leverage.R
\name{algo_leverage}
\alias{algo_leverage}
\title{Algorithmic Leveraging}
\usage{
algo_leverage(x, y, subset_size, num_sample = 500, method = "both")
}
\arguments{
\item{x}{Predictor matrix x, with n rows and p columns}
\item... |
f7bf7530bf5b4f22e5d509220f604f5ca416d098 | 3591ec3e8c3f969a166652aa1b9ef84ba6a9d720 | /tests/testthat/test-main.R | 5d329957d99823b13ea81f23e9c5e3dcf5956a24 | [] | no_license | M-E-Rademaker/cSEM.DGP | 837eafd53a3b17a28070309c472417d37fd9bc46 | aefd1600cdfa5385fef9a3d5025f88a3dcc7d22a | refs/heads/master | 2023-08-07T22:29:51.237284 | 2020-02-05T15:53:43 | 2020-02-05T15:53:43 | 208,060,390 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,615 | r | test-main.R | ################################################################################
#
# Purpose: central file to be sourced to several test-xxx.R files
#
################################################################################
## What is allowed:
#
# A maximum of 5 exogenous constructs is allowed if a structur... |
e93207c36dc1ef3d58076f8cd9a43365870b8f3c | 85979b19f7cc84ff4c55d6af0a25a68ee4b7b2d8 | /COMPARISON_DAILY_Ground_HIS_Time_series_00_04.R | ac5dd9c9c801c9f017f220aebadc8fef8822e7cd | [] | no_license | karafede/amal_scripts | c7b57ea99624e6a8157357471263200ca2b68747 | 44b06eb9f805cc81349eb2460241f8cada91dd96 | refs/heads/master | 2018-10-13T02:25:57.230891 | 2018-07-26T05:44:51 | 2018-07-26T05:44:51 | 110,553,054 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 44,056 | r | COMPARISON_DAILY_Ground_HIS_Time_series_00_04.R |
library(readr)
library(dplyr)
library(lubridate)
library(raster)
library(rgdal)
library(NISTunits)
library(stringr)
library(reshape2)
setwd("Z:/Data_analysis")
# merge extracted WRF-data HISTORICAL with ground observations 2000-2004--------------------------------------------
#####################... |
3209dd6519a214c30564c407dd3d1f2da7293ab5 | 4d292de6f127f4793560727944c7ee62f44e3918 | /Quiz Week 1/13.R | 83453c769bf2be7f280f8ea05809d034cf559df5 | [] | no_license | armandyne/R-Programming | f58475e8c2540ea9259ddb039ba979581dfb8ae9 | 507f5eea0701fe0838bb1aae8e3e8a9fc59cd8a1 | refs/heads/master | 2021-07-07T02:51:08.077314 | 2017-10-02T19:18:09 | 2017-10-02T19:18:09 | 104,900,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 88 | r | 13.R | setwd("D:/coursera/R Programming")
x<-read.csv("quiz1_data/hw1_data.csv")
print(nrow(x)) |
eb760558b03f1877292f60a1000ebbbd29d99933 | 405f0cc8bf4fc2302c924015d4367e1c3cf7c09a | /man/str_count_setdiff.Rd | 861ad529c5f80e1381ef0d364c0646d58c92f353 | [] | no_license | cran/textTools | 46c777abf428fefe560c52f7d096adea58860e4b | 83bcb2e07bf66ccc2e65075dad052de8287cac39 | refs/heads/master | 2023-02-27T12:42:59.510094 | 2021-02-05T08:00:05 | 2021-02-05T08:00:05 | 336,253,138 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 666 | rd | str_count_setdiff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/text.table.R
\name{str_count_setdiff}
\alias{str_count_setdiff}
\title{Count the words in a vector that don't intersect with another vector (only counts unique words).}
\usage{
str_count_setdiff(x, y)
}
\arguments{
\item{x}{A vector of words.... |
66f7761de212432bc079e741d3b4263d070a3fe9 | e35593d0a185a626cf27d511a4dc87de0f9517f6 | /solutions/common-issues-04_embedded-subheaders.R | ee5e34e3a0b972caf772fc49cbdcc7dbabf591c6 | [] | no_license | gauravgupta88/data-cleaning-course | f26676635981cf45c7f022f9ff84a9065bbbbbef | ae6b48987493e9677e95e9cc6a14a4ecec254483 | refs/heads/master | 2023-04-24T15:49:37.317489 | 2021-05-12T02:23:02 | 2021-05-12T02:23:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,341 | r | common-issues-04_embedded-subheaders.R | ## %######################################################%##
# #
#### Missing, implicit, or misplaced ####
#### grouping variables - your turn ####
# #
## %##########... |
9fd9c67debe411ab74d2103473235e4b48bb8678 | a83ffaeff962ab30f902c1460dfcefbc581dac75 | /9.R | cb0c6e0e7b8c66c1d5b1cac4a9f67839205d1960 | [] | no_license | nilesh-hegde-060/DSR-Lab-Programs | b97e0ff11f58e5352a0bdfc0a8c56b7072926ffe | 1642b13e1609c9784730f8651acf78d67984501e | refs/heads/master | 2020-09-08T04:36:04.547470 | 2019-11-11T16:03:59 | 2019-11-11T16:03:59 | 221,017,642 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 446 | r | 9.R | install.packages("rpart.plot")
library("rpart")
library("rpart.plot")
p <- read.csv("C:\\Users\\niles\\Desktop\\DSR-Lab\\DT.csv")
p2 <- data.frame(p)
p2
fit=rpart(play ~ outlook + Temperature +Humidity +Wind,method="class",data=p2,control=rpart.control(minsplit=1),parms=list(split='information'))
fit
str(fit)
... |
eb67ec48e19cbed016c71133637a03bddb317f5c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/shape/examples/writelabel.Rd.R | 5c5cc33017f535f3205672fcffd6d757763a87b8 | [] | 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 | 241 | r | writelabel.Rd.R | library(shape)
### Name: writelabel
### Title: adds a label next to a plot
### Aliases: writelabel
### Keywords: aplot
### ** Examples
plot(runif(2), main = "writelabel")
writelabel("A")
writelabel("B", at = 0)
writelabel("C", at = 1)
|
0766b66c81dd00d2eff66471d0ea03b1e16cb1c2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/animalTrack/examples/dead_reckoning.Rd.R | 55805d4f6b4168e7419f5b53a67df3b300bfd571 | [] | 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,994 | r | dead_reckoning.Rd.R | library(animalTrack)
### Name: dead_reckoning
### Title: Create a course steered and course made good using the
### principles of navigation by dead reckoning.
### Aliases: dead_reckoning
### ** Examples
## Import the "missionbay2" dataset. See help(missionbay2)
## for full documentation.
data(missionbay2)
tria... |
3bff1c90b6d2d05e3fc8a7a5186392d1044d2e77 | f7d6406e64c9a1ae95680a0b9b5d9e85efc87c8d | /cachematrix.R | d3d1a14310b1ece755d701e81839c7291b206dbc | [] | no_license | KenHopwood/ProgrammingAssignment2 | 47cfc444f5a1d0c500f90495dcaee9ff78afa985 | 560f9c2772dea7aa72aebc6b5b204dc77b17ac1c | refs/heads/master | 2021-01-18T12:29:28.105438 | 2015-04-17T05:39:26 | 2015-04-17T05:39:26 | 32,506,063 | 0 | 0 | null | 2015-03-19T07:04:07 | 2015-03-19T07:04:07 | null | UTF-8 | R | false | false | 1,051 | r | cachematrix.R | ## cachematrix.R
## Ken Hopwood 16-APR-2015
##
## This set of functions will create a matrix and it's inverse. Caching is used
## to speed processing time.
## makeCacheMatrix provides matrix get and set functions. It also provides get
## and set functions for the inverse of the matrix. The inverse matrix will be
##... |
dc0cc94630632a9d5afc16d6307728613f7ff376 | 2648e10a256a28937fcf83ae6f2e3b055396a812 | /Exercises/Chapter1_Exercises.R | e8ab9006d18036c7426a8049b2e1d75bbd446134 | [] | no_license | rumorej/ModernStatsforModernBiol | 6e16b60b9b0edff0477c2b89ec52900afa86bf2f | fe895999483b74569d7aac944a9082360847e4a7 | refs/heads/master | 2020-07-31T13:17:33.009569 | 2019-12-05T13:01:03 | 2019-12-05T13:01:03 | 210,615,183 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,471 | r | Chapter1_Exercises.R | ##Chapter 1 Exercises
##Exercise 1.1
#When computing tail probabilities such as p(X>a)
#you can use pnorm and pbinom
##Helpful scripts for downloading R files for Modern Stats for Modern Biol Text Book
#Run on CMD
##wget -r -np -nH --cut-dirs=3 web.stanford.edu/class/bios221/book/Rfiles/
##Helpful Script f... |
7e6a6086c619f939e85dcf46f59e42307b951a77 | b310f8412ea3cfef7be133959c331d029bd1899f | /man/lavaan2xlsx.Rd | 1167eb6a210f3309d812d411bed8c1c2dc06e157 | [] | no_license | clbustos/rcebn | 9444f387b4b46e5870f140f40ec90ba6a43f87db | 7173891eae8b10ab93087a229aa677ff2674c004 | refs/heads/master | 2023-05-10T20:08:26.821587 | 2023-04-28T17:17:17 | 2023-04-28T17:17:17 | 29,193,481 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 668 | rd | lavaan2xlsx.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lavaan2xlsx.r
\name{lavaan2xlsx}
\alias{lavaan2xlsx}
\title{Generate a xlsx file for a lavaan object}
\usage{
lavaan2xlsx(x, extra.matrix.f = NULL, order.matrix.f = NULL)
}
\arguments{
\item{x}{lavaan object}
\item{extra.matrix.f}{extra matr... |
503e718862253565c28035691683e5cf87fa0b11 | c18691bfbc70d8c869d542017cf285078a763052 | /feature creation.R | 1e3a65432ee53f6300e5355855c128a16d987983 | [] | no_license | ofigue/BNP-ParibasCardif | bbc56aee2aa525edaa64cc20713b46675b412691 | 89fdc9fcb8b81aa8303755480cdbe205fd41ece9 | refs/heads/master | 2016-09-12T14:20:06.186820 | 2016-05-06T21:25:45 | 2016-05-06T21:25:45 | 58,234,579 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,164 | r | feature creation.R | ##########################
# train
##########################
train$fe1<-train$v50*train$v10
train$fe2<-train$v50*train$v12
train$fe3<-train$v50*train$v14
train$fe4<-train$v50*train$v114
train$fe5<-train$v129*train$v40
train$fe6<-train$v129*train$v34
train$fe7<-train$v129*train$v21
train$fe8<-train$v114... |
6e738f256ba1dea310434ac2e67d026e80dd9614 | 3b6d3f3a17580fc270707254e7bfc823bc86ae06 | /cachematrix.R | 17a29ef4c2ecbf1da6db80d8885dd28e26b24506 | [] | no_license | abaldinelli/ProgrammingAssignment2 | 00f511d4595d9809a515093be61c48f409ff75ee | 7974e714832a556354d07d799159beb98243a2df | refs/heads/master | 2022-09-16T10:11:03.125355 | 2020-05-26T18:54:45 | 2020-05-26T18:54:45 | 267,109,814 | 0 | 0 | null | 2020-05-26T17:36:18 | 2020-05-26T17:36:17 | null | UTF-8 | R | false | false | 1,894 | r | cachematrix.R | ## This file defines a set of functions for creating and manage a special kind of
## matrix that stores its inverse internally. There is some code for testing
## proposals.
##
## This function creates an special type of matrix to cache internally its inverse.
## This type is composed by 4 functions:
## - set: sets a... |
89386a987fa93008e695bf6da3594a5f1d3bf235 | 5ada63667fdfb87eaff4a087e70c6f5a4267ea74 | /R/OutcomeImputationCOXINVERSION.R | 46fd6e75018b44a38d705826840b8c968c8e2c48 | [] | no_license | lbeesleyBIOSTAT/MultiCure | d3a00f23e40c87b4e984e2e315b50ee0a9226056 | f33c994ce2aa2565f0163c9a559fccad2ab277ab | refs/heads/master | 2022-02-03T21:46:32.511343 | 2019-07-08T16:10:44 | 2019-07-08T16:10:44 | 103,183,325 | 3 | 2 | null | 2017-09-11T20:34:18 | 2017-09-11T20:14:41 | null | UTF-8 | R | false | false | 6,586 | r | OutcomeImputationCOXINVERSION.R |
#' UNEQUALCENSIMPUTECOXINVERSION
#' @description The function UNEQUALCENSIMPUTECOXINVERSION will perform an imputation algorithm to handle unequal follow-up for recurrence and death. This function can be applied when we assume COX baseline hazards. This function performs imputation through inverting the survival funct... |
d83345e095f21f4db0818d1508dd44c56b2f2717 | 217cc788dbe051e6921a7376dc830d91b7189488 | /man/cronjob-package.Rd | 7ea24ef3fd66b1de1b5e4403c21b29b8ebf16bfc | [
"MIT"
] | permissive | mkearney/cronjob | b1503b12544459d961f6c901c70e007e27afc33d | c9e1c36d62375545017d010074eef200fd4783bf | refs/heads/master | 2022-04-09T21:34:39.022011 | 2020-03-29T01:30:56 | 2020-03-29T01:30:56 | 250,391,631 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 572 | rd | cronjob-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cronjob-package.R
\docType{package}
\name{cronjob-package}
\alias{cronjob}
\alias{cronjob-package}
\title{cronjob: Manage Cron Jobs}
\description{
Create and manage crontabs.
}
\seealso{
Useful links:
\itemize{
\item \url{https://github.com... |
c5e0a88f9599bd03b7a6db7e4e27e7216fbe4816 | 378cd513fc4083b2b66fd7fcff2597081341bdb7 | /man/chickadees.Rd | a55c896ef8707a904cded3177e746e5949d19148 | [] | no_license | ChristinaMasco/song | f303f12b663c05cb3f6d9b16c6ec42820600a5c3 | 0a68a626b1b9be706ceb758aaf0984b406105eb6 | refs/heads/master | 2021-01-18T11:11:12.716513 | 2016-07-11T16:42:13 | 2016-07-11T16:42:13 | 31,434,988 | 2 | 1 | null | 2015-02-27T19:16:57 | 2015-02-27T19:16:56 | R | UTF-8 | R | false | false | 814 | rd | chickadees.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/song.R
\docType{data}
\name{chickadees}
\alias{chickadees}
\title{An interaction between a black-capped chickadee and a playback stimulus.}
\format{A data frame with 50 rows and 3 variables}
\source{
Baker TM, Wilson DR, Mennill DJ. 2... |
b6e2920f20244fadae6ad7e7ecad4bcd7fe5e0dd | 8fcee8357f48413bd2977542fed0b3eb6c353602 | /OCC5.R | a968219f0a9111f583329cc2a444fa4a28e29f6b | [] | no_license | HobsonB/occ_sim | 0c2dfefa59d0dded53400869aa476a772da08087 | a0f19c57186d2d947f605cb96090687f98abaa3a | refs/heads/master | 2022-11-22T01:31:40.545921 | 2020-07-22T16:15:30 | 2020-07-22T16:15:30 | 281,723,189 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,985 | r | OCC5.R | dev.off()
rm(list=ls())
cat("\014")
#----Occupant-Centric Controls Function 5: Preferred Illuminance Setpoint----
# Function for extracting information relating to occupant-centric controls based on:
# H. B. Gunay, W. O'Brien, I. Beausoleil-Morrison, and S. Gilani,
# "Development and implementation of an a... |
4fd7bba50b0ea5850761e6d59e708871d88bbe92 | 2432e21f46897965e9feac59e0d05bd3964e7c03 | /classification.multiple.ho.R | 0512c9a7500069d991b39e40622a576bd26e2e7f | [] | no_license | xime377/UAV-classification | 89b4bcacef49863bc13e1d8a65cc89b5c633cb39 | e300fefd1c4fdca27340c713a14b70d5f691649b | refs/heads/master | 2020-05-18T12:59:01.799268 | 2020-03-04T16:30:39 | 2020-03-04T16:30:39 | 24,793,989 | 1 | 4 | null | null | null | null | UTF-8 | R | false | false | 3,293 | r | classification.multiple.ho.R | ######## Function to perform multiple classification algorithms using caret ######
classification.multiple.ho <- function(data, #dataset
train.ind,
fmla, #formula
k, #number of... |
600fbd04a2374517e89605bf502cf0c2e204c78b | b3024e8047b5fc811fbb69ca0f651e1a0a43fd18 | /man/dnsaf.Rd | eb20b80be45c12bde9d1078dc4b4651d0f846e4f | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ed-lau/calcDNSAF | 83733539506546d517942a3a68ce9b247233d953 | 06d73662eb1d9cadf021ceb8667a2dccdb1d0a1d | refs/heads/master | 2020-03-30T02:42:42.045692 | 2019-09-07T17:09:28 | 2019-09-07T17:09:28 | 150,645,269 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 992 | rd | dnsaf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dnsaf_functions.R
\name{dnsaf}
\alias{dnsaf}
\title{Calculate dNSAF}
\usage{
dnsaf(percolatorFile, fasta, test_run = F, q_cutoff = 0.01,
nonUniqueDummyCount = 0.5)
}
\arguments{
\item{percolatorFile}{a tibble read from the percolator target... |
24961dcfa80048d6fe67bfaf6cb2466d4077a0e3 | 3b0be5721a5478b1bac4e6b08cdcd1b88e3a4046 | /inst/snippets/Figure4.12.R | 3d934d2671db8fd62ad3ea9e47991cc312e9207a | [] | no_license | stacyderuiter/Lock5withR | b7d227e5687bc59164b9e14de1c8461cb7861b14 | 417db714078dc8eaf91c3c74001b88f56f09b562 | refs/heads/master | 2020-04-06T06:33:39.228231 | 2015-05-27T11:41:42 | 2015-05-27T11:41:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 157 | r | Figure4.12.R | RandomizationDist <- do(1000) * rflip(10, .5) # 10 because n=10
head(RandomizationDist)
histogram(~prop, label=TRUE, width = 1/10, data=RandomizationDist)
|
3693510fab9e30dfaaa7912e83d5a4a935555829 | e2a5cdf2dcbd788ac7c091897b5a027a809c302a | /man/winterTemperatures.Rd | f8840f4ed012854d67337e1d905b8328be6d24bd | [] | no_license | lindbrook/cholera | 3d20a0b76f9f347d7df3eae158bc8a357639d607 | 71daf0de6bb3fbf7b5383ddd187d67e4916cdc51 | refs/heads/master | 2023-09-01T01:44:16.249497 | 2023-09-01T00:32:33 | 2023-09-01T00:32:33 | 67,840,885 | 138 | 13 | null | 2023-09-14T21:36:08 | 2016-09-10T00:19:31 | R | UTF-8 | R | false | true | 338 | rd | winterTemperatures.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/winterTemperatures.R
\name{winterTemperatures}
\alias{winterTemperatures}
\title{Average Winter Temperatures.}
\usage{
winterTemperatures()
}
\description{
Gareth Stedman Jones Appendix 2, Table 12, p.384.
}
\examples{
plot(winterTemperatures... |
b78964096d36793d8113adb3809db8c7a1e01bce | fe6081add8edaa493c70d5128dc282e32a862f44 | /plot2.R | 390e1c068013f1bce97ca0658bbc93a1e8b287df | [] | no_license | robinmd/ExData_Plotting1 | 60606842da691305655237c3b2455be0a28139aa | 790e2132729483aeed8694d881ecce55cbf53182 | refs/heads/master | 2021-01-18T10:37:23.710404 | 2015-08-09T09:14:47 | 2015-08-09T09:14:47 | 40,286,561 | 0 | 0 | null | 2015-08-06T05:35:30 | 2015-08-06T05:35:28 | null | UTF-8 | R | false | false | 1,064 | r | plot2.R | # Generate Plot2
# Exploratory Data Analysis
# Project 1
#
# download data, unzip, load data and generate Plot2
#
if(!file.exists("./data")){
dir.create("./data")
}
fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
fileD <- "./data/household_power_consumption.zip"
if(... |
48604c8a16406db47c674f207b641816a7cbc31c | 56053ecb70a673c879d4c4293c21eb18380f508b | /R/LOB_meanDB.R | 5aac7e2dcb2a029ebc04b0e182d2b11bd9a1c98c | [] | no_license | hholm/LOB_tools | e47e945303fad328e834e91c0e623fed0036d5f6 | 785d79c80c83777c08eb8c19de96766459a50dc4 | refs/heads/master | 2023-06-22T05:16:28.332620 | 2023-06-08T19:02:02 | 2023-06-08T19:02:02 | 172,795,196 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,107 | r | LOB_meanDB.R |
### Double Bond Average Computation ###
LOB_meanDB <- function(LOBpeaklist, samples, class = NULL){
#Cut down to certian classes if desired
if(!is.null(class)){
run <- LOBpeaklist[which(LOBpeaklist$species %in% class),]
}else{
run <- LOBpeaklist
}
done <- data.frame()
for (j in 1:length(unique... |
8e0d5498d41995af0ceba5ce8ba5dc6ef77fa3e3 | 42c520e9b518197bbfbf937551888501ef993329 | /9-2 구글핍즈.R | df6f0496564c7a41136b36a14f036ef9fca06f16 | [] | no_license | Lee-jun-young98/Data_visualization | b8d945c4a2a4d5b22471f9bb5aee4f7ccfbb2861 | 77fef70b88f36d75f32e91af4df1c86310d2837c | refs/heads/main | 2023-06-26T05:23:38.188186 | 2021-07-25T03:38:11 | 2021-07-25T03:38:11 | 389,252,584 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,373 | r | 9-2 구글핍즈.R | library(tidyverse)
library(googleVis)
setwd("C://R_data")
##서울 지하철 1-4호선 이용승객현황
line <- read.csv("1-4호선승하차승객수.csv", header=T, sep=",")
line
##열이름 영문으로 변경
colnames(line) <- c("line_no", "time", "out", "in")
line
##google 모션 차트 찍기
t1 <- gvisMotionChart(line,idvar="line_no",timevar="time",
... |
c38b1f6c74211d78ef5cd9f145e4330eb98d411e | c723b14038ea8628ceb74ce04e291c281cc976d4 | /man/reg_coef.Rd | 14522920fd94957d20ab30deac2d660adb4ecff7 | [
"MIT"
] | permissive | hokerl/ltxtab | a14b12dc3951789aa4e7f6a6fddb28267f56a1c0 | 483d2678d533b78f8620f347859572ea257e9717 | refs/heads/master | 2021-10-19T08:29:44.423944 | 2019-02-19T14:48:27 | 2019-02-19T14:48:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 508 | rd | reg_coef.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reg_coef.R
\name{reg_coef}
\alias{reg_coef}
\title{Get regression coefficients and significance stars}
\usage{
reg_coef(reg, vcov = NULL, sig = c(0.1, 0.05, 0.01))
}
\arguments{
\item{reg}{regression object}
\item{vcov}{covariance matrix, de... |
1067d7daf2d3ede064f38de8dc4247660999cd64 | 331b734a213e6d2b8038ed90797d1440de1b1094 | /src/multiple_covariate_correction.R | ecc382034ff9cf30f50fa4c0c52ea612b72e9ae8 | [] | no_license | leekgroup/networks_correction | b51d0fd36d91e3206a1b54008899561501f0d320 | ef24a718c86bd9c4ad5b9b15e2f64703bc3ffc51 | refs/heads/master | 2021-10-28T07:35:46.170680 | 2019-04-22T16:58:08 | 2019-04-22T16:58:08 | 106,853,810 | 15 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,340 | r | multiple_covariate_correction.R | # load libraries
library(dplyr)
library(recount)
# load data
inputargs <- commandArgs(TRUE)
exp.fn <- inputargs[1]
# exp.fn <- "/work-zfs/abattle4/parsana/networks_correction/data/raw_subset.Rdata"
tiss.pve.fn <- inputargs[2]
# tiss.pve.fn <- "/work-zfs/abattle4/parsana/networks_correction/results/tissue_pve.Rds"
load... |
b87147153b3fa71b92649140796dc28246b471a4 | b395c5da4cc380705d56ab636c7a778668474629 | /plot1.R | f053af1f9c23e5b5699b7b1af2c8993ce73dee12 | [] | no_license | Zhen-hao/ExpDataAn | 61b85b50a83b1dadf897a6424e0d6177a915b5af | c27cb4909ad0963d8eca8de89c7898b884432c07 | refs/heads/master | 2021-01-23T04:09:54.237537 | 2015-04-25T13:18:55 | 2015-04-25T13:18:55 | 34,568,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 834 | r | plot1.R |
# Reading files
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
##Reshaping data for plot1
library(reshape2)
meltData <- melt(NEI,id = "year", measure.vars="Emissions")
yearEmissions <- dcast(meltData, year ~ variable,sum)
#Coverting the units from ton to million tons
yearEmiss... |
fe87817c809a1be8b8f96573cc0784666cfa8312 | 20d2719276549686b09793d0636919ce09f56312 | /data_cleaning/old/frequency_map.R | bd9ac712b13ab3b36ab7d79537682be7ac355c0e | [] | no_license | franciscothebrady/weather_forecasts | 288249844e66c5e6b955e936635f632e8fdfe525 | 9acb879461779e3a5f5dcc6ed9726ac7dd3cd21d | refs/heads/master | 2021-01-19T07:52:40.451718 | 2019-02-03T20:53:46 | 2019-02-03T20:53:46 | 87,580,631 | 1 | 2 | null | 2017-08-03T20:34:36 | 2017-04-07T19:34:57 | R | UTF-8 | R | false | false | 12,315 | r | frequency_map.R | # event frequencies
# combining 15 years of data on storm events to build a frequency measure for severe rain events in CONUS
# timeframe: 2000-2015
setwd("~/weather_forecasts/")
library(stringr)
library(dplyr)
library(ggmap)
library(ggplot2)
library(maps)
# install.packages("mapdata")
library(mapdata)
#install.packag... |
c9e86a0e77a5f5572b5d0deba9e7ccff834fed03 | 14c500c215c3c539503cefae4b3400cdd974bd82 | /analysis_polyE_data.R | f7f2540516fde18720c257730aa67adeb7ff375a | [] | no_license | bryjalab/2022_Kravec_ScienceAdvances | c709846839b90c4c969f2ecf5f7251fca54bcf86 | f1a2530afe1d78be3f4f98464a2266b9f51bc4c1 | refs/heads/main | 2023-04-11T02:48:21.634402 | 2022-10-20T08:32:53 | 2022-10-20T08:32:53 | 554,207,944 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 592 | r | analysis_polyE_data.R | # Script for statistical analysis of DVL3 subcellular localization
library(lme4)
library(lmerTest)
library(reshape)
library(multcomp)
D <- read.delim(file = "path/polyE data.txt") # adjust path according to particular file
D1 <- melt(D, id=c("exp", "treat"))
fit4 <- lmer(value ~ treat + (1|exp), data = D1[which(D1$... |
4e7185390f3da2b331fc54259ea4c4c81664d8be | 3b9736dc267fd02a4dd8b8f754d0f7f547a88114 | /categories/script/smartwhatch.r | 590870fd3eadb2d5bba8d57a7f8cf4662cedbe5d | [] | no_license | kasrasammak/AprioriTransactionAnalysis | cd4a15316407a4629c10f214c2a865fc0281c07d | 9a07dd7845c4218b081e324c73533cdb60fe015b | refs/heads/master | 2021-03-03T02:51:20.519494 | 2020-03-09T02:23:57 | 2020-03-09T02:23:57 | 245,924,405 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 950 | r | smartwhatch.r | #create df, csv & transactions file for SMARTWHATCH
dfIdOrderAndSkuSmartWhatch <- smartwhatch[c('id_order', 'sku', 'name_en')]
write.csv(dfIdOrderAndSkuSmartWhatch, "/Users/owlthekasra/Documents/Code/RStudio/RecommenderSystem/categories/IdOrderAndSkuSmartWhatch.csv")
idOrderAndSkuSmartWhatch <- read.transactions("/U... |
ae4d2d6ef3c52ad0153797436b04b7744c5fc5a8 | 1267295b4dc6938181811b0d20f785fe2c87ba3c | /R/pgnorm-internal.R | 85e791241d169240799949bda220113fbfadf1de | [] | no_license | cran/pgnorm | c4f72b2adb80e9edd2856a9c6a2df73f5bfb373a | 93263927583b9d94d6f6d9875e331c6cff069106 | refs/heads/master | 2021-01-16T01:01:38.850565 | 2015-11-24T15:08:34 | 2015-11-24T15:08:34 | 17,698,486 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,398 | r | pgnorm-internal.R | .Random.seed <-
c(403L, 532L, -1134443871L, -768325319L, 454138273L, 1616487675L,
-332138857L, -1085509620L, 355632913L, -1665533238L, 1018959096L,
-1630893905L, -1421531101L, 1544116033L, -530062943L, -242239448L,
-1005309530L, 1502899014L, 693810032L, -1097625268L, 360675189L,
-1654198732L, 553821648L, -1843... |
f9909a86fb0e83c5c8dc6e93fad864d9df702b5a | 22dc0e0e631061a2cdb471773ea3c35a418ec874 | /R/score_sapphire.R | f565a0c4ff8f258393e50b7e36ec91767db7ad03 | [] | no_license | clangi/CampaRi | b042e2556b379ff78292af67d3eab1994e2b0fee | 48daa261fd39fd12a7eee17ad42773b8ffa24ba5 | refs/heads/master | 2021-01-20T11:38:31.987264 | 2018-07-19T17:05:11 | 2018-07-19T17:05:11 | 101,677,109 | 0 | 1 | null | 2017-08-28T18:57:51 | 2017-08-28T18:57:51 | null | UTF-8 | R | false | false | 31,596 | r | score_sapphire.R | #' @title Scoring the SAPPHIRE-plot basin division
#' @description
#' \code{score_sapphire} uses the information provided by the SAPPHIRE basin recognition in order to score the identified free energy basins
#' against the original partition (annotation).
#'
#' @param the_sap Name of the PROGIDX_<...>.dat ... |
39c99143bc389767da45efb25fc62d62ad834a8c | 461674805253ca434b2a2a0a5151d60924327365 | /man/arithmeticSet.Rd | 79d6c81290bea577f0752a84fa1c018c828eef51 | [
"MIT"
] | permissive | porteous54/caRtesian | 59a9d542282d0efa718157ffe04a0659a90c4477 | 700336f20736257519b17954e55c260834ada898 | refs/heads/master | 2021-03-22T04:52:44.153310 | 2018-05-03T23:26:16 | 2018-05-03T23:26:16 | 119,096,074 | 0 | 1 | null | 2018-05-03T23:26:16 | 2018-01-26T19:47:55 | R | UTF-8 | R | false | true | 337 | rd | arithmeticSet.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/funcSet.R
\name{arithmeticSet}
\alias{arithmeticSet}
\title{arithmeticSet}
\usage{
arithmeticSet()
}
\value{
the function set created
}
\description{
Creates a function set containing the basic arithmetic operators (+, -, *, /)
}
\examples{
a... |
b41964d46a128079abc92d2786d38512d8ab0530 | db04dbad2522dc7c96ed65c897a5b7b7353d209d | /ProblemSets/PS5/PS5_Stinnett.R | f8c3e194e54cbe1c26578ed6e2cd51d0aa6cac3d | [
"MIT"
] | permissive | SloanStinnett/DScourseS19 | 56f5c507600a1ba33226b567b13752489331d71d | b7010590af3fe626f160f2a9e6a7f997743e3cbb | refs/heads/master | 2020-04-16T21:49:40.251323 | 2019-04-18T12:00:11 | 2019-04-18T12:00:11 | 165,941,650 | 0 | 0 | null | 2019-01-15T23:50:54 | 2019-01-15T23:50:54 | null | UTF-8 | R | false | false | 564 | r | PS5_Stinnett.R | library("rvest")
library("quantmod")
library("forecast")
# code for scaping Rehnquist data
url <- "https://en.wikipedia.org/wiki/List_of_United_States_Supreme_Court_cases_by_the_Rehnquist_Court"
RehnquistCourt<- url %>%
read_html() %>%
html_nodes(xpath='//*[@id="mw-content-text"]/div/table[2]') %>%
html_t... |
9e57a409fb5532e5475c034fbe2d7d6c1f33c094 | 35f36246fc268af1337a5d486bdc2dbcb76ac863 | /man/getLibsizes3.Rd | f239480c05ccab73f1bf07b557b22518f602aa46 | [] | no_license | WaltersLab/doseR | 763786d502e9aa5e2c4f0a1891bbf553d2c8c72e | 12b96faee2c12bd81211611b51ce699d24302f82 | refs/heads/master | 2023-03-05T05:25:30.151052 | 2023-02-24T13:35:57 | 2023-02-24T13:35:57 | 92,343,309 | 2 | 2 | null | null | null | null | UTF-8 | R | false | true | 796 | rd | getLibsizes3.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getLibsizes3.R
\name{getLibsizes3}
\alias{getLibsizes3}
\title{getLibsizes3 Get Lib Sizes.}
\usage{
getLibsizes3(se, subset = NULL,
estimationType = c("quantile", "total",
"edgeR"),quantile = 0.75, ...)
}
\arguments{
\item{se}{A Su... |
fe7aeef0b35ae5b538be0b6b8e3651385093edd1 | e0dab6d9ace1a82537e89ef7012831c8209f981c | /Black and White.R | 24a66d847fb33719bf282eb6bf05147fb940debf | [] | no_license | Xizor1970/Black-vs-White | 06fe62d16e56dc3b9521668f323dd8f61a90c872 | 704f3bec004faf2df206a3fc2603a75004c1b676 | refs/heads/master | 2020-05-15T15:19:38.427074 | 2019-04-20T06:41:35 | 2019-04-20T06:41:35 | 182,370,445 | 0 | 1 | null | null | null | null | WINDOWS-1250 | R | false | false | 1,164 | r | Black and White.R | # Author: Hendrik A. Dreyer
# Capture black and white samples into data frame
white <- c(16,17,17,19,17,15,14,19,17,16,18,17,20,15,17,16,16,18,18,16);
black <- c(17,15,15,19,17,18,18,15,17,19,20,18,16,17,17,18,16,17,19,16);
table(white);
table(black);
# Do some EDA
# Normally distributed
par(mfrow=c(2,2))... |
1bc5bef918f43a829336825860529028ef4a4605 | 3d3f11d6002a505483003a59e0a94264ddd86757 | /R/genet.R | 0e54c73debd1e5dc2fb19ba4f4695121f1505bf7 | [] | no_license | cran/lqa | 75a867677d54e2e1b84dbe90822628adf42e6238 | fb0b5a6a7e8ce9028ac5f48adee8ffa8b3434d0b | refs/heads/master | 2020-06-03T14:21:37.296678 | 2010-07-12T00:00:00 | 2010-07-12T00:00:00 | 17,697,200 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,025 | r | genet.R | genet <-
function (lambda = NULL, ...)
{
lambda.check (lambda)
if ((length (lambda) > 3) | (length (lambda) < 2))
stop ("The genet penalty must consist on two (enet) or three parameters (genet)! \n")
if (length (lambda) == 2)
lambda[3] <- 2
lambda1 <- lambda[1]
alpha <- lambda[2]
gamma <-... |
e63384f2b692e64adce7df8efe95770cad9ba53d | 64d5df27325f07af9c602ddf85a81ff4f0aec189 | /inst/examples/report_mig_env-example.R | 6f3a211da9411c9ef91e867d1ddc8adbd593d02d | [] | no_license | cran/stacomiR | 0641860bef2f4b5c05490d06de2c58fe3fe30059 | 981c67ba5d18ee9a5c357192e4ba4f9e864ec039 | refs/heads/master | 2022-07-22T14:11:55.680662 | 2022-07-18T08:20:02 | 2022-07-18T08:20:02 | 95,473,811 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,330 | r | report_mig_env-example.R | require(stacomiR)
stacomi(
database_expected=FALSE)
# the following will load the data provided the user has access to the database
# with data in the iav example scheme.
# prompt for user and password but you can set appropriate options for host, port and dbname
\dontrun{
stacomi(
database_expected=TRUE) ... |
851d7f1bca12692f46ae9be8e80f749e1520d88e | 0de866765239b6fe2159f5da7b364093d43bbb33 | /data-raw/siteData.R | 6274cda34824c15133667519e6739688b2a20a97 | [] | no_license | yangxhcaf/functional_diversity | f0e38a5763d5bc318332e731ca74a48f82be63ca | c8ed2b3d9a0733fa9892f0294a63e4932b0b7c6e | refs/heads/master | 2022-04-08T15:12:38.123937 | 2020-03-04T18:24:20 | 2020-03-04T18:24:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,972 | r | siteData.R | ########################
### Dayment Climate#####
###### Data #########
########################
library(daymetr)
library(here)
library(tidyverse)
library(lubridate)
data_path <- here::here("data", "modis", "daymet_climate.rdata")
if (file.exists(data_path)){
load(data_path)
print("yes climate")
}else{
clima... |
dc4c3ccd4344f758f3c518600f426b59cda15682 | 579d3c9ef6f34d04e88f2cd6e3163d0c1fb78eda | /tests/testthat/files/router.R | 0d6476340dba046c0324b577545c8826cad63f8a | [
"MIT"
] | permissive | vnijs/rapier | 44098190f13849555860611f65241b0184183d84 | 4e195a82ee0da8ded252ed10113ecb64cc60c9c7 | refs/heads/master | 2020-12-11T03:22:31.550630 | 2015-06-13T05:05:37 | 2015-06-13T05:05:37 | 37,435,991 | 1 | 1 | null | 2015-06-15T00:55:24 | 2015-06-15T00:55:24 | null | UTF-8 | R | false | false | 405 | r | router.R |
#' @get /
#' @preempt __first__
function(){
"first"
}
#' @get /abc
function(){
"abc get"
}
#' @post /abc
function(){
"abc post"
}
#' @filter filt1
function(req, res){
forward()
}
#' @filter filt2
function(req, res){
forward()
}
#' @use /dog
#' @preempt filt2
function(){
"dog use"
}
#' @get /dog
#' @p... |
619faed0cfe72be3cead2e40ce1d59a42d627f03 | f58228708c7ac302d1970c7daaa58c545c5f59b1 | /rscripts/myutils.R | 337eaa824b8092364cfd9f509f6492bc09c2ee46 | [] | no_license | escott55/me_variome | 50b59a169ba737eccbed6d59b5ef10108d508281 | 01ca8a601ebecc6226bf30bf024183e0fe4e967d | refs/heads/master | 2016-09-15T23:18:56.211076 | 2014-09-25T16:58:39 | 2014-09-25T16:58:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,256 | r | myutils.R |
library(tools)
######################################################################
# getBasename
######################################################################
getBasename <- function( filename ){
suffix <- file_ext(filename)
path <- dirname(filename)
#basename <- basename(gsub( "(.*)\\.(.*)", ... |
62f9d40244543c7c9ae74f2cfabdc18dcb066ce6 | e1c34fb3226673721ff7038c2ea5bb63adb84931 | /dtw_svm_lvmlight.r | 3a836a8a98ba40f190f9dbca12e61290bbc2c1de | [] | no_license | root2891/Kaggle-EEG | ca6700f658e62165c6d28d5c1dc4f1722009820b | a4860f16e751c053dad563996ff345afe4e45f10 | refs/heads/master | 2016-09-05T14:16:41.215677 | 2014-07-21T10:48:28 | 2014-07-21T10:48:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,263 | r | dtw_svm_lvmlight.r | library("fNonlinear")
library("R.matlab")
library("tseriesChaos")
library("fractal")
library("fractaldim")
library("tseriesChaos")
library("fields")
library("FNN")
library("caret")
library("RSNNS")
library("e1071")
library("wavelets")
library("scatterplot3d")
library("combinat")
library("rasclass")
library("dtw")
path... |
77a629d4ba45a312c3cfdf75b008f6a9021fb7c2 | 0c3ad13ceb982ddff3c51818ce8e5d8807de9313 | /R/day06/r2.R | 8efda69fa73fe6b35b68e49424c78bc283a6c716 | [] | no_license | HanHyunwoo/TIL | befc9ecae77d227832179b49a37248780558697e | cd3c49270ca20f3cb9f841b929490d2e9193bafd | refs/heads/master | 2021-05-25T12:06:30.157595 | 2018-12-09T13:00:46 | 2018-12-09T13:00:46 | 127,377,631 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,555 | r | r2.R | #213p 성별에 따른 월급 차이 - "성별에 따라 월급이 다를까?"
welfare
class(welfare$sex)
table(welfare$sex)
# 이상치 결측 처리
welfare$sex <- ifelse(welfare$sex == 9, NA, welfare$sex)
#결측치 확인
table(is.na(welfare$sex)) #is.na : NA면 TRUE, 아니면 FALSE 해서 개수 보여줌
welfare$sex <- ifelse(welfare$sex ==1, "male", "female")
#welfare$sex 각각 개수 세어줘
table(... |
f6ca6a70a2f0fdbb5f21ae8afe0a7b865774101b | 5f8da4d4d01c6947759af8db517cf295980bfc11 | /stppResid/R/tess.info.R | f559324b3ef73a069a81c5b51b344f801979b50b | [] | no_license | r-clements/stppResid | 8f3042a12c0189ccd28764f9ad6fba29a00c79ea | 471286070dc4a4866860a4e82da656d39ce8ce01 | refs/heads/master | 2021-01-23T05:44:32.818058 | 2018-06-06T03:36:09 | 2018-06-06T03:36:09 | 5,900,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,712 | r | tess.info.R | tess.info <- function(X, cifunction, theta = NULL, areas, tl, n.def = 100)
{
data <- data.frame(cbind(X$x, X$y, X$t))
names(data) <- c("x", "y", "t")
if(is.null(theta)) {
fun2 <- function(z)
{
Y <- rbind(data, z)
Y <- Y[which(Y$t <= z[3]),]
Y <- stpp(Y$x, Y$y, Y$t, stwin(X$xcoord, X$ycoord, X$tcoord))
... |
06da03b761e76646f0e131894898eb1e8124c9ef | d5326e11bad5910a13fb5bb24db0a240126b875b | /bachelors_course/sochynskyi_lab_6_2.R | 7f47029d0e0a3f12936564ea06d273bd01e88f1a | [] | no_license | SochynskyiStas/Data-Analysis | 6798867886c475a3cee173620b6d7f95f2643cdf | d705815a3ef8a83d8699ac4d7a4b6afb1fdd3a01 | refs/heads/master | 2022-03-31T11:16:04.970608 | 2019-12-08T23:08:36 | 2019-12-08T23:08:36 | 79,068,943 | 0 | 0 | null | null | null | null | WINDOWS-1251 | R | false | false | 1,957 | r | sochynskyi_lab_6_2.R | library('ggplot2')
library('forecast')
library('tseries')
library(xlsx)
daily_data = read.csv('day.csv', header=TRUE, stringsAsFactors=FALSE)
daily_data$Date = as.Date(daily_data$dteday)
#daily_data$Date = as.Date(daily_data$dteday)
ggplot(daily_data, aes(Date, cnt)) + geom_line() + scale_x_date('Місяці') + ylab("К... |
f097e39dd2fdb222d0e3de5b12b1ea13b59d0586 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Rnumerai/examples/download_data.Rd.R | 99f9bee96acdc2db32aecbbaeaf5568b335c675e | [] | 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 | 512 | r | download_data.Rd.R | library(Rnumerai)
### Name: download_data
### Title: Function to download the Numerai Tournament data
### Aliases: download_data
### ** Examples
## Not run:
##D ## Directory where data files and prediction files to be saved
##D ## Put custom directory path or use the current working directory
##D data_dir <- tempd... |
0a49af198b22fb5f00b0be345dbe840571c16503 | 26c16d345565ecadc5985cfa047694d342181e67 | /Post_test/03_DESSA_post_test_Raw_Scores.R | 07f7756119d749da9ae0463ced3f2e2e4b5673a6 | [] | no_license | aejb22122/Youth-Social-and-emotional-learning | abdcb24d03c55f53c46aa25a3c63e230a3e15d4f | 92f247f20294dd6a7367b88457269e7c5a5ba06b | refs/heads/master | 2020-05-31T21:22:25.282935 | 2019-12-05T19:52:23 | 2019-12-05T19:52:23 | 190,496,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,333 | r | 03_DESSA_post_test_Raw_Scores.R | # Title: Devereux Student Strengths Assessment (DESSA) - Spring 2019
# Author: Annick Eudes JB Research Manager
# Date: July 23, 2019
# Version: 1.0
# This revision of the stript replaces the original cleaned dataset with the
# sel_data_imputed data that incoporates the missing values.
# ---- Preli... |
bb62f2de1aa11dfc026498bc8964a200583ae63f | 616e8ba5e7356a3b493062cd8095fa98455d12f1 | /Archive/exploring multiplicative factor for tilde c1.R | 533c789da991ac3745769d2a41941bad1fe1ab29 | [] | no_license | Breakend/RIBSS_tax_evasion_ABM | 0813ecc2ac964d0d68a12fb5b4559f26d25b502d | f64c4b8ab1e02a95fa3e032fbcb3b37647eeb017 | refs/heads/master | 2022-02-21T14:40:09.271146 | 2019-09-03T20:39:18 | 2019-09-03T20:39:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,619 | r | exploring multiplicative factor for tilde c1.R | remove(list = ls(all = TRUE))
gc()
##Set Seed
set.seed(55279) ### first seed given by Chris Marcum
set.seed(55333)
#Setting options
options(warn=1)
options(showErrorCalls=TRUE)
options(showWarnCalls=TRUE)
### Find on which platform and macchine we are running this on
if(.Platform$OS.type == "windows"){
if (Sys.i... |
66ee9b2c6f7418e70ac3b753df737e9a5a9c99de | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_ThornthwaiteWilmott/AFL_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1615831494-test.R | 56d1eb686b5ce2f223ee42ca894e0cfe7fe56d63 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 767 | r | 1615831494-test.R | testlist <- list(doy = numeric(0), latitude = numeric(0), temp = c(4.11667183447263e-311, 4.39109691573039e-265, -3.24725805263896e+53, 9.19320775670991e-307, 1.18965321338936e-150, -3.24725792070966e+53, 9.19320775670991e-307, 2.91390127620259e+235, 3.06007463551262e+163, 3.16743122292222e-161, 1.71875486715696e+9... |
cde1a63a55568d8daf10503c3d327f6ab54fe78d | a96e59fef9ec17190f1f32e678d8ba8c1c05dba8 | /experiments/plotting/plot_experiment_results.r | 51fbe43afee8d83f653b591a83aa7c70375d9333 | [] | no_license | stassa/mlj_2021 | b569b25c22fc9bef10eabd190e18130afbab2c83 | de8b822e3df88ef1b6da70950b8c2e21665b253b | refs/heads/master | 2023-04-01T02:31:52.762815 | 2021-04-07T16:21:47 | 2021-04-07T16:21:47 | 350,858,786 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,760 | r | plot_experiment_results.r | library(Hmisc)
source('experiment_data.r', local=T)
# Line types and colours
# 1: sorts, 2: matrices, 3: punches, 4: baseline.
# The baseline is drawn without points but needs a point type in pnt.typs
# otherwise the legend function will raise an error.
plot.type <- 'b'
lin.typs <- 1:4
pnt.typs <- 1:4
systems.cols <... |
5a9ddc5a0a03fa2df18b81bee53ba1902e37ba9b | daa633ef9085cc1567cb040553741386cae76890 | /man/plot.burningEmbers.Rd | bfae330e953a41492e58eb232d7f26a53b9c10d3 | [] | no_license | rkrug/burningEmbers | 6c322ee81e5bcd054e69193dd2c73e4c337093e3 | b8bbf0fd21e962f4aaba1c42b3f024b086cd3a7c | refs/heads/master | 2020-12-30T14:34:55.605088 | 2019-07-04T07:35:38 | 2019-07-04T07:35:38 | 91,074,086 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,774 | rd | plot.burningEmbers.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.burningEmbers.R
\name{plot.burningEmbers}
\alias{plot.burningEmbers}
\title{plot.burningEmbers}
\usage{
\method{plot}{burningEmbers}(
x,
ylim,
labels,
ny = 1000,
relSpace = 7,
add0line = TRUE,
col = rev... |
dfcb666935aea70bb85106c8af4eb3f23be8fb68 | 34fae523eccd13bfdc4fcd529e39840280c6c0a3 | /R/object.R | 19f7d4a60e6664e2fa9ea2baec143662c2e29ed2 | [
"MIT"
] | permissive | Mochi2805/nimue | 161970b5ad7dc24728e70651be93d322646e85f4 | 81c6acf1cce96804b96faa256d587a0295352cc5 | refs/heads/master | 2023-06-19T19:35:17.766158 | 2021-07-19T13:50:17 | 2021-07-19T13:50:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,897 | r | object.R | #' nimue simulation plot
#'
#' @param x An squire_simulation object
#' @param replicates Plot replicates
#' @param summarise Logical, add summary line
#' @param ci logical add confidence interval ribbon
#' @param q Quantiles for upper and lower of interval ribbon
#' @param var_select Vector of variable names to plot (d... |
755cdbeb42e535c0eb849fd189ed58d59398bffb | 591771c6a3972cab8c680696771fd4b4aa0c3f20 | /R/setLastImportDate.R | 3b7b0608d094a490a65df8d121885939b2f63e98 | [] | no_license | Sumpfohreule/S4Level2 | a36dfc014dde47763009dcc4420a198ce11a9a5d | 9034cddbd04efed8cea8c5b90cb2e4fbf16209e7 | refs/heads/main | 2023-08-19T08:58:05.616624 | 2021-09-29T14:47:03 | 2021-09-29T14:47:03 | 304,371,990 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 246 | r | setLastImportDate.R | ########################################################################################################################
setGeneric("setLastImportDate", def = function(.Object, posixct_date) {
standardGeneric("setLastImportDate")
}
)
|
04538b7687fc92b66f09016ce80945089d21ad28 | 2e940271c21be18f391ebaeab2079e03728eecb9 | /man/branchsim-package.Rd | af8ddb6cb0580df9505b44950f1c9800468a1393 | [] | no_license | pspc-data-science/branchsim | 3fe1a98b4f219dd6258f82868f36718c2e344ef5 | d49ab68e071e91ac8f46b074ff23cb728a147c64 | refs/heads/master | 2023-02-13T18:56:06.240842 | 2021-01-12T17:48:36 | 2021-01-12T17:48:36 | 273,470,739 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,080 | rd | branchsim-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/branchsim-package.R
\docType{package}
\name{branchsim-package}
\alias{branchsim}
\alias{branchsim-package}
\title{branchsim: Gamma negative binomial branching process simulation of epidemics}
\description{
A tool suite, including a simulation... |
202f6437cb0100f8b91f7b2adf94271b022d283c | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.analytics/R/kafkaconnect_operations.R | 6c8785f990af8dad6d6283d746bf2ce4b08d8f44 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | false | 17,909 | r | kafkaconnect_operations.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common get_config new_operation new_request send_request
#' @include kafkaconnect_service.R
NULL
#' Creates a connector using the specified properties
#'
#' @description
#' Creates a connector using the specified properties.
#'
#' See ... |
08906c573612ce65e09b5fd59d8df52c8115ec9b | f65d6b7b175b2d9eff34de4a3c7dfe4f09ca9a36 | /R/cpmmc_main.R | 1f8a2619cbb3be7fc8bdd956c2284779c356133d | [] | no_license | OxWaSP2018/cpmmc | a6c21dc13f4f44f0a525f8f6b1f61954ad5f6f22 | c33e7a69907cbfc46af44193febf4a1940ba43cb | refs/heads/master | 2023-08-16T09:02:11.782375 | 2018-11-07T17:22:33 | 2018-11-07T17:22:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,193 | r | cpmmc_main.R |
#' Instantiate cpmmc object and set initial parameters
#'
#' This is an S3 object constructor helper function for class cpmmc which inherit from metropolis_hastings class and markov_chain class
#'
#' @param data, observed data points
#' @param theta_0, initialisation of the vector of parameters of interest
#' @par... |
e661e0bb69b7504b20e2e1dd98b6a9c6f2e238dd | 69630a75fb71b75a1abd21f74b8a811533f7cab4 | /man/energy_scotland.Rd | 84560935b71cdf4f99f59fd289d8a5f968f6f598 | [] | no_license | codeclan/CodeClanData | aa0cd21aea3390d3629ab7ebbd53543623d92941 | e3965c596a0439e125b4643412bd434a54266da8 | refs/heads/master | 2023-03-16T06:52:38.769843 | 2023-03-10T09:02:43 | 2023-03-10T09:02:43 | 190,196,169 | 5 | 8 | null | 2019-08-03T10:46:43 | 2019-06-04T12:24:19 | R | UTF-8 | R | false | true | 281 | rd | energy_scotland.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/documentation.R
\docType{data}
\name{energy_scotland}
\alias{energy_scotland}
\title{energy_scotland}
\format{
A data frame
}
\usage{
energy_scotland
}
\description{
energy_scotland
}
\keyword{datasets}
|
8f40b2c68d2644c908cb63398171575f7c03138e | e553d1a55742c8c8be3d0e7c656583d2cfecb08e | /run_analysis.R | 8947b04c5cd752c8ad24a440a76d9c2f7dc96fca | [] | no_license | AndyGerrity/Getting-and-Cleaning-Data-Project | 074c9595bd6c49943d0503d3b840633353b172a4 | 81fd23dcd3d6fd4399e70e939efdc2872f5330b9 | refs/heads/master | 2021-01-12T17:51:51.873842 | 2016-10-22T17:42:54 | 2016-10-22T17:42:54 | 71,654,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,201 | r | run_analysis.R | ###Get the data
if(!file.exists("./data")){dir.create("./data")}
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(fileUrl,destfile="./data/Dataset.zip")
# Unzip dataSet to /data directory
unzip(zipfile="./data/Dataset.zip",exdir="./data")
###assign dat... |
803d7f4321f97ec7dae3709ad3fcfa20ce5a647e | 3db768da9b99873ec55cdf449feaf64654da1bdf | /R/readGff.R | b18b7c3357fd566ed6c76ce95ea51fcbdc935810 | [] | no_license | zhushijia/STAR2bSMRT | ca8cf30efaca8bed2fda287779b5f705875a4c0d | a3081be9455f6073e6ce1be4a229983aab7c6aad | refs/heads/master | 2021-03-27T08:49:39.151251 | 2019-12-12T23:13:13 | 2019-12-12T23:13:13 | 119,112,032 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 910 | r | readGff.R | #' readGff
#' for reading isoform gff file
#'
#' @param file character value indicating the name of the gff file
#' @param chrom character value indicating the chromosome of interest. By default,
#' STAR2bSMRT works on the whole genome.
#' @param s integeter value indicating the start position of the transcript of
... |
91242cb1159d2d5a8248905145b17529376fc4d2 | 474b9c0dd798418894fd47cea3251da1239cc027 | /readData.R | fc483e6d9cb3ffc99e624641d5bf507bd2e323b4 | [] | no_license | abessudnov/dataanalysis3 | d80af34487aca7685787fa8cf7a79a789e8d2402 | b9689b7442526d96ca6f1d9ce1a874cac900c8b2 | refs/heads/master | 2021-05-12T00:09:24.271244 | 2019-01-17T21:19:35 | 2019-01-17T21:19:35 | 117,527,612 | 3 | 35 | null | 2018-08-21T16:34:34 | 2018-01-15T09:53:42 | R | UTF-8 | R | false | false | 2,510 | r | readData.R | # Reading the data from the Understanding Society survey
# 29 January 2017
# All the data (about 4Gb) must be downloaded from the UK Data Service website and stored
# in the data directory as a subdirectory called UKDA-6614-tab.
# Do not change the original data.
# For our purposes we mostly need the individual leve... |
61551680b8c2edc090464eada8f1e7a3d6b2f85c | 05023be47e53613170dc2c5a52c602fa6e34276b | /R/ZI.plot.R | dfcd3f34d55abaffaf6073a0946f8cf2754dc6a7 | [] | no_license | NathanDeFruyt/WormTools | 087f7558dbf098ec965b0369840ef8ddb356ece0 | 5822d14e79816905c3b9166bec31c27bd82def45 | refs/heads/master | 2022-11-05T01:13:51.282285 | 2020-06-25T13:48:58 | 2020-06-25T13:48:58 | 274,924,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,215 | r | ZI.plot.R | #' Plot in Nathan's favourite style (hint: There are options!).
#'
#' This function elegantly puts together a graph using ggplot.
#' Be sure ggplot2 and ggthemes are installed.
#' @param data Here goes your data as a data-frame.
#' @param x x-values (format: either data$column or column)
#' @param y y-values (... |
d576fc8acc74f447dae2582c42d59aaeaf8b20c8 | 58e8b007f00ff8868b53772844f3b0888b6f2876 | /man/cyclize.Rd | 70ec6f2d779b7c88010e1b1d952c1404cb4625dd | [] | no_license | ckenaley/trackter | 650989f740faefa715c4d322082b07eac9b70f99 | a1e8d02bd921814ea71d1f6257fe0bfc3da619cc | refs/heads/master | 2022-02-08T16:51:52.706637 | 2022-02-07T21:52:21 | 2022-02-07T21:52:21 | 120,318,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,247 | rd | cyclize.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kin.2d.R
\name{cyclize}
\alias{cyclize}
\title{Calculate waveform cycles}
\usage{
cyclize(x, y, start = "peak", ...)
}
\arguments{
\item{x}{numeric; x position}
\item{y}{numeric; y position}
\item{start}{character; where the cycles should s... |
67f5371ebc78adcaadb65663070eed32843c104e | a50d24ab0913759f2ac5f4ec8c19f64801ea6b21 | /man/split_fill.Rd | 233dbdaf0ac6386f1b6c82127e5d5a65ece54212 | [] | no_license | slin30/wzMisc | 960eb9105ddc2306e9bd3d70a567bfb37e8b703c | 5f24fd47ce6e4b61ba8fbb28943acf03101ce009 | refs/heads/master | 2023-02-08T03:51:39.517767 | 2023-01-26T22:21:37 | 2023-01-26T22:21:37 | 68,938,415 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,445 | rd | split_fill.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/split_fill.R
\name{split_fill}
\alias{split_fill}
\title{Split and fill a chr vector}
\usage{
split_fill(dat, targ, split_on, IDcol, rebind = FALSE, keep.targ = FALSE, ...)
}
\arguments{
\item{dat}{a data.table}
\item{targ}{chr; v... |
271c2a095bb1ea9d35ce4a381cfc9e016b2e5fd0 | 17de79e08b7d6836c96d717e5086c58223d8741f | /WGCNA_analysis/WGCNA_1.R | 5f9b44f9bdd735dc3bd1070b819a3e1a502cf328 | [] | no_license | shwatkins/PhD | fcd884a09cf3ae43ab51a361a4344251d75dfe17 | 473e9c3a19544eaeb609cf7a0bba6a80c53666fd | refs/heads/master | 2020-08-12T17:01:42.684693 | 2020-01-24T12:33:49 | 2020-01-24T12:33:49 | 214,805,069 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,409 | r | WGCNA_1.R | ### WGCNA code for AIRES
## F7 timepoint
# Standalone network construction
# adapted from https://horvath.genetics.ucla.edu/html/CoexpressionNetwork/Rpackages/WGCNA/
## DNAm betas have been normalised, filtered, and adjusted for age, sex and cell counts
# Loading data
# install.packages(WGCNA)
library(WGCNA);
# The ... |
8da415203c2659a8c131bccc8406b48c31f99f87 | 412cc2a42a1e62749cdc836dd66259432db252a3 | /run_analysis.R | 8f0d5f4937d14d9a1916fe41a1b0c615b3bd5d2a | [] | no_license | angelacai01/Getting-and-Cleaning-Data | 9430b7dc87b2ceb9e7fdf8d193401c42655b84fa | f0ae2408d785d363d83c82937d581f95070291d2 | refs/heads/master | 2021-01-10T13:51:47.138739 | 2015-05-23T02:12:41 | 2015-05-23T02:12:41 | 36,102,308 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,414 | r | run_analysis.R | # Create one R script called run_analysis.R that does the following.
# 1. Merges the training and the test sets to create one data set.
# 2. Extracts only the measurements on the mean and standard deviation for each measurement.
# 3. Uses descriptive activity names to name the activities in the data set
# 4. Appropri... |
6c7167bf8e512b5c5058b4143f6f899e695bc24d | a176626eb55b6525d5a41e2079537f2ef51d4dc7 | /Uni/Projects/code/P031.MIAC_PM/v2.2015/CS04.mod1and2.TR.PM25_2000-2002.r | 91c07af39d453c22c9a8d01c37297a24203d4eee | [] | no_license | zeltak/org | 82d696b30c7013e95262ad55f839998d0280b72b | d279a80198a1dbf7758c9dd56339e8a5b5555ff2 | refs/heads/master | 2021-01-21T04:27:34.752197 | 2016-04-16T04:27:57 | 2016-04-16T04:27:57 | 18,008,592 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 40,439 | r | CS04.mod1and2.TR.PM25_2000-2002.r | ###############
#LIBS
###############
library(lme4)
library(reshape)
library(foreign)
library(ggplot2)
library(plyr)
library(data.table)
library(reshape2)
library(Hmisc)
library(mgcv)
library(gdata)
library(car)
library(dplyr)
library(ggmap)
library(broom)
library(splines)
library(DataCombine)
#sourcing
source("/media... |
2b2e8525ba5cd49475cbc441dd1b38ee882c4748 | 66a2afd9c0dab1d55e6d236f3d85bc1b61a11a66 | /R/read-metadata.R | 6f3ece795555dbb3d965584746c7c450a4739170 | [
"MIT"
] | permissive | StevenMMortimer/salesforcer | 833b09465925fb3f1be8da3179e648d4009c69a9 | a1e1e9cd0aa4e4fe99c7acd3fcde566076dac732 | refs/heads/main | 2023-07-23T16:39:15.632082 | 2022-03-02T15:52:59 | 2022-03-02T15:52:59 | 94,126,513 | 91 | 19 | NOASSERTION | 2023-07-14T05:19:53 | 2017-06-12T18:14:00 | R | UTF-8 | R | false | false | 6,659 | r | read-metadata.R | #' Read Object or Field Metadata from Salesforce
#'
#' @description
#' `r lifecycle::badge("experimental")`
#'
#' This function takes a request of named elements in Salesforce and
#' returns their metadata
#'
#' @importFrom XML newXMLNode addChildren xmlParse xmlToList
#' @importFrom httr content
#' @importFrom xml... |
2c91715fe7044018f1e77c8a67c0a6647f726eef | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/tatest/examples/ta.test.Rd.R | 3286146a716ab115746cc9fcca8595d9df718a8c | [] | 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 | 475 | r | ta.test.Rd.R | library(tatest)
### Name: ta.test
### Title: t_alpha-test for testing difference between two conditions with
### small samples
### Aliases: ta.test
### Keywords: rhov ttest
### ** Examples
X<-c(112,122,108,127)
Y<-c(302, 314,322,328)
dat<-cbind(X,Y)
ta.test(X=dat,nci=NULL, na=4,nb=4, eqv=TRUE,
alpha=0.05, LOG="N... |
85d3eeda87966aed52863c9b2bdf8a3648243e2d | d4cfbbe9cc786edbd6e418f71f05223f2c309365 | /DC_Analysis.R | 169ff2c3eaaa31ec7c9377fcdf90cac592548dc5 | [] | no_license | deepamghosh/IPL-Exploratory-Data-Analysis | eed1a778ad754309684e96f95480bfdb004508dd | 19e6f557cd71b9db9e21c4a916b9e59da168c3c3 | refs/heads/master | 2020-03-09T20:25:35.329129 | 2018-10-23T05:51:05 | 2018-10-23T05:51:05 | 128,984,433 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,427 | r | DC_Analysis.R | #Analysis of DECCAN CHARGERS HYDERABAD
library(dplyr)
summary(dc_matches$winner)
dc_matches_played <- nrow(dc_matches)
dc_win <- nrow(filter(dc_matches, winner == "DC"))
dc_noresult <- nrow(filter(dc_matches, winner == ""))
dc_loss <- ( dc_matches_played - (dc_win) - (dc_noresult))
dc_tie <- nrow(filter(dc_mat... |
7c703e47859380cac90ee680d2e3df3f62807d38 | 1f99b0491c60411808a1d066ac49b8c211159dc2 | /plot3.R | 5ef5ccda1732da5cf47e67cffc18697ceb4da0a8 | [] | no_license | beyondsunny/exploratory-data-analysis-project2 | 197a336c8d14c6f37f25d9c5950807d97c2099d4 | 1acc21978556bcc06daa9b95869e501e2cf81458 | refs/heads/master | 2020-12-06T15:10:26.821839 | 2016-09-04T16:12:12 | 2016-09-04T16:12:12 | 67,354,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,509 | r | plot3.R | plot3<-function(){
#FUNCTION TO PLOT TOTAL EMISSION BY Baltimore City, Maryland TO SEE WHETHER TOTAL EMISSIONS HAVE INCREASED/DECREASED FROM 1999-2008
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#SUBSET NET FOR BALTIMORE LOCATION WHERE FLIP=24510
baltimo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.