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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9856b2cbcaa57062c0934839fd3ea5cff5c9f82 | 726532f1b9cfbce776736221e7ad9515259a7756 | /R/btn_importRecords.R | 9f375181a2f917c5cfda71641789c0135d25c4a5 | [
"MIT"
] | permissive | nutterb/ldsmls | 9b4015754071c60c89b063cf57d572d2aff9b10b | 98ae4991aca4c6bbe7876258326a4df69978d1a9 | refs/heads/master | 2021-01-19T04:18:43.613148 | 2016-07-24T11:56:20 | 2016-07-24T11:56:20 | 46,683,485 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,122 | r | btn_importRecords.R | #' @name btn_importRecords
#' @title Import Membership Records
#'
#' @description Inserts or updates membership records from a CSV file into
#' the Membership table.
#'
#' @param Import The data from the file being imported (Membership())
#' @param Current The Currently stored data (RV$Membership)
#'
#' @export... |
98ac3eec9950266a927d5ea5f100b3ea4c84fa53 | 0ae69401a429092c5a35afe32878e49791e2d782 | /trinker-lexicon-4c5e22b/R/hash_emoticons.R | a1a0211eb4378cee006569d544495b77451ff684 | [] | no_license | pratyushaj/abusive-language-online | 8e9156d6296726f726f51bead5b429af7257176c | 4fc4afb1d524c8125e34f12b4abb09f81dacd50d | refs/heads/master | 2020-05-09T20:37:29.914920 | 2019-06-10T19:06:30 | 2019-06-10T19:06:30 | 181,413,619 | 3 | 0 | null | 2019-06-05T17:13:22 | 2019-04-15T04:45:06 | Jupyter Notebook | UTF-8 | R | false | false | 661 | r | hash_emoticons.R | #' Emoticons
#'
#' A \pkg{data.table} key containing common emoticons (adapted from
#' Wikipedia's Page semi-protected 'List of emoticons').
#'
#' @details
#' \itemize{
#' \item x. The graphic representation of the emoticon
#' \item y. The meaning of the emoticon
#' }
#'
#' @section License: https://creativecommon... |
74054ff7d39cd8f5ec4cea938e2a1bce52728fb0 | 6812e3cab597d4598b569a9e434ed36ca56df25b | /week_05/day3/app.R | 34ccae6fa84bc5e05c9ab99887b4fdfff1972ce4 | [] | no_license | sltoboso88/codeclan_homework_SandraTobon | 4cd2da95248937c72d7c658be331c1928ca33499 | 8718d10ee058d999c488bcfe53160dcf831108ff | refs/heads/master | 2021-02-10T21:39:41.655752 | 2020-05-21T08:46:40 | 2020-05-21T08:46:40 | 244,421,806 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,261 | r | app.R | library(shiny)
library(tidyverse)
library(CodeClanData)
library(shinythemes)
library(shinyWidgets)
source("global.R")
all_teams <- unique(olympics_overall_medals$team)
chosen_season <- unique(olympics_overall_medals$season)
chosen_medal <- unique(olympics_overall_medals$medal)
ui <- fluidPage(
theme = shiny... |
ebf268225e43d823622fe4a22d94ebaa30fb8d1a | cbb9e94ce4d0b6ff444be6129560b5b4d0133d0a | /tests/testthat/test_teams.R | a3ab686e7d5a1d7f48c7b127e2d893764d5f8092 | [] | no_license | pedmiston/totems-data | de39b8a38d9aefcee8ef34868323d5cf054814eb | 5ed46fe78cefafcead59297508a2631e9ea0d27b | refs/heads/master | 2021-07-16T03:17:06.326910 | 2019-02-05T19:53:05 | 2019-02-05T19:53:05 | 104,396,767 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 847 | r | test_teams.R | context("Teams")
test_that("Correctly parse datetime out of ID_Group", {
id_group <- "G_1/25/2017 1:32:16 PM"
expected <- lubridate::ymd_hms("2017-01-25 13:32:16", tz = "America/Chicago")
result <- parse_date_time_from_id_group(id_group)
expect_equal(result, expected)
})
test_that("Parsing date time from ID_G... |
5ae62e070554fe0dbc369cdd84c90195fa7b3961 | c2da8766166c023bd2c1cf191bfd8e27eeaeb7ee | /benchmark.syntheticGRN/sim.grnboost2/regNet.comb.kd9/linksFromNetAct/regdb10/functions.R | f33db938f64e13b22f3bfe15c5d6f3f2af2d11d7 | [
"MIT"
] | permissive | lusystemsbio/NetActAnalysis | 281e6ce4e4a0897c2e44ef70f7f2556037f2d717 | 2c1dcf1cc9530c4fd504fe78f5daafbca2ab6b0a | refs/heads/main | 2023-04-16T20:11:52.294588 | 2022-11-23T17:29:39 | 2022-11-23T17:29:39 | 478,671,839 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 467 | r | functions.R |
format_source_target_nodes <- function(inputNet.df){
tmp.df <- as.data.frame(matrix(nrow = nrow(inputNet.df), ncol = ncol(inputNet.df)))
for(i in 1:nrow(inputNet.df)){
#i <- 1
#print(i)
myR <- inputNet.df[i, ]
if(as.character(myR[1]) > as.character(myR[2]) ) {
tmp.df[i, ] <- c(as.character(m... |
88af1370e287486f4c1c63da3f0b0437dff60995 | 8c1333fb9fbaac299285dfdad34236ffdac6f839 | /equity-valuation/ch5/solution-02d.R | e542245566413512dd3e2e1b0ad2ba0b5798758f | [
"MIT"
] | permissive | cassiopagnoncelli/datacamp-courses | 86b4c2a6d19918fc7c6bbf12c51966ad6aa40b07 | d05b74a1e42b119efbbf74da3dfcf71569c8ec85 | refs/heads/master | 2021-07-15T03:24:50.629181 | 2020-06-07T04:44:58 | 2020-06-07T04:44:58 | 138,947,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 225 | r | solution-02d.R | # Calculate agggregate equity value
equity_value_fcfe <- pv_proj_period + pv_terminal
equity_value_fcfe
# Calculate equity value per share
equity_value_fcfe_per_share <- equity_value_fcfe / shout
equity_value_fcfe_per_share
|
0b66452b9ad5cb4a3c0fcabe9e7395d33dff47bc | 48b3b7371ed4c0aa4ae7beff6448428034c37f14 | /man/MCMC.step.Rd | f75c199d2963c9b6f30405c24a24b6969ee90903 | [] | no_license | andreamrau/GBNcausal | 2d6f2cd522d5ad62aa18cba0d1d36a5fd93d20d1 | 0c117a6c5e09da808dc72dd435b9fd2221d19439 | refs/heads/master | 2020-06-26T04:52:25.525026 | 2015-08-25T10:22:35 | 2015-08-25T10:22:35 | 41,356,538 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,409 | rd | MCMC.step.Rd | \name{MCMC.step}
\alias{MCMC.step}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Main step of the MCMC.GBN algorithm
}
\description{
This function is used by the MCMC.GBN algorithm every step : it uses the newMallowsProposal function and accepts or rejects the proposed GBN.
}
\usage{
MCMC.ste... |
73b19427b7fdac4188ab327d4557338e109e7ca8 | 646b232105aa2faff55cfde95b54b10cc0bdc742 | /plot2.R | 2183d85c805be160677a6a83ddf05d34bb3f67bd | [] | no_license | shashisiva/ExData_Plotting1 | 3817fcf3b76802bbff878cfbb6079218b8e1fb9a | c7adf49cc285b458ff341c9b93679ddb257453ec | refs/heads/master | 2021-09-03T09:06:40.421003 | 2018-01-07T22:51:54 | 2018-01-07T22:51:54 | 116,513,902 | 0 | 0 | null | 2018-01-06T20:37:27 | 2018-01-06T20:37:27 | null | UTF-8 | R | false | false | 743 | r | plot2.R | library(lubridate)
setwd("C:\\Users\\shash\\Documents\\Data Science\\Course 4\\Week 1")
classes <- c(rep("character",2), rep("numeric",7)) #def col classes
powerdata <- read.table("household_power_consumption.txt",
header = TRUE, sep = ';', na.strings = "?")
powerdataSub <- subset(... |
022b4ed2ea55839db95045c2996e66dfd7a9346d | 307198a162f66f69243a701364b45c352f3237db | /r/fit_elo_model/0b_download_club_elo.r | 6888179256d94b4d7d24a9d7d80ff366f629bbaa | [] | no_license | xiaodaigh/football_league_predictions | 9bc4440f7521b7324acccf8188fbb54228662498 | 84addd2893c5d71cb62487a22c2bff57d9391ec7 | refs/heads/master | 2020-03-22T14:18:36.129117 | 2018-10-29T09:21:00 | 2018-10-29T09:21:00 | 140,168,802 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 504 | r | 0b_download_club_elo.r | library(data.table)
library(magrittr)
library(stringr)
# download Elo data from clubelo.com --------------------------------------
# took about 1.5 mins
system.time(elos <- lapply(setdiff(unique(epl_fixtures$HomeTeam),"Middlesboro"), function(HomeTeam) {
if(HomeTeam == "Nott'm Forest") {
HomeTeam = "Forest"
}
... |
4221ba1e2b59ab9a605e9f3825d1e68a19eeab92 | ac88aeb1f6bbeff37ba5d27d5cb0ef3beb0ea5cf | /R/detections.R | 4a1c1a1ec662b6e4d49e4c3bc11806a3bc71ed76 | [] | no_license | effie-pav/detex | cf680ef7fdb02415bbed5b20d55277fddafedbcf | 5544d78c78dbe5ab7815865bab0bae3d90484e47 | refs/heads/master | 2020-03-28T10:51:31.544199 | 2018-09-10T13:12:00 | 2018-09-10T13:12:00 | 147,299,291 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,043 | r | detections.R | #'
#'@title Anomaly detection/ Change detection in time series
#'@description The script imports time series and uses different functions to perform anomaly and/or temporal change detection with different approaches. These include use of thresholds, counting flagged anomalies in rolling windows or discrete periods, cal... |
fadfe45f913aaed756dfb6ea3fdb2d1ad87e8fe6 | bfcc34df9896ef071e319bddec633b59e50ff282 | /inst/tests/test-gettaubootstrap.r | 1909dd0eb9e7834a68f1807e0eaffa1a11133c0f | [
"MIT"
] | permissive | HopkinsIDD/spatialtau | 84a9c85ba36e8e1d30e357b94f7b1c40786a98b0 | a023f2ac9ec71278f928fc6fa54d2f65bb3259f0 | refs/heads/main | 2023-03-17T02:53:09.015020 | 2023-02-07T21:54:48 | 2023-02-07T21:54:48 | 598,820,157 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,056 | r | test-gettaubootstrap.r | context("get.tau.bootstrap")
test_that("get.tau.bootstrap runs and returs 1 when it should", {
x<-cbind(rep(c(1,2),50), x=runif(100,0,100), y=runif(100,0,100))
colnames(x) <-c("type","x","y")
test <- function(a,b) {return(1)}
#should return a matrix of all ones
res <- get.tau.bootstrap(x, test,... |
79e6fbeaa4e74b544dc1b0a38d4d82994831d795 | 4316a6f5f4123d75869a5a7f917d9171a32cecfb | /man/meme_list.Rd | e36b7349f2c168734bb690115fc3edd93c810244 | [] | no_license | gergness/memer | e94b5faa9b9af5a2fd991f7b3aa73a55e4528f47 | fcfdf82f49a9953b240cb052107a520f4d4bb42d | refs/heads/master | 2020-05-15T12:36:07.771580 | 2019-04-19T14:35:48 | 2019-04-19T14:35:48 | 182,271,356 | 1 | 0 | null | 2019-04-19T13:47:30 | 2019-04-19T13:47:29 | null | UTF-8 | R | false | true | 237 | rd | meme_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get-meme.R
\name{meme_list}
\alias{meme_list}
\title{List available memes}
\usage{
meme_list()
}
\description{
List available memes
}
\examples{
meme_list()
}
|
7174cfb5916d83b8d3564929d533bc30f3717ed4 | 762c4b827eff789c0813974bab26c92d85b93dbf | /workingRscript.R | f86c2eb916cc7cceb7d27455908cc1f555255c2e | [] | no_license | testbeddev1/rworkspace | eb65c4728f29f8319761e78c4ad045d3a47ef008 | 1e5aefc05194eb5ebaee43a103145fb7ac3c10ed | refs/heads/master | 2020-04-10T14:48:50.144041 | 2018-12-10T00:36:54 | 2018-12-10T00:36:54 | 161,088,169 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,781 | r | workingRscript.R | #Goal: Investigators use open ended terms to describe their clinical trials on clinicaltrials.gov.
#Here, we consider preparing two versions of investigator originated semantic trial
#naming for consistency. We consider naming conventions in 'key words' and clinical 'conditions'
#for hiv and aids like trials. We a... |
cce39a5c455a46337df8c8119e2b50cd6701637c | c0befdac32dd86f06994c71eb80cab99cb3e5c6a | /R/norpaccatches.R | 027a358d96ef97d5b549f7309412760fd001375f | [] | no_license | aaronmberger-nwfsc/hakedataUSA | 8180602ae01a47f85ad0a6166341db687e5c2fcb | f6ee60568885f670a559502e1728b00f5d90ed5b | refs/heads/master | 2023-02-11T17:09:25.867759 | 2021-01-07T05:37:34 | 2021-01-07T05:52:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,852 | r | norpaccatches.R | #' Workup NORPAC Catches
#'
#' Summarize and plot NORPAC catches for the at-sea hake fishery.
#' Fleet types are assigned to create summaries by fleet and year.
#'
#' @details *Tribal catches*
#' @template cdq_code
#'
#' @param ncatch An R object with NORPAC catches. If \code{NULL},
#' which is the default, then the \c... |
2d6e409cd4fa3d1749a95ebfdb3858c344276b17 | a5f68f65fb63f11ff368b037f4248cc2059899d5 | /opencga-client/src/main/R/man/OpencgaStudy-Opencga-method.Rd | c1ddcd79c014055e71136b189714fa92a0b94c17 | [
"Apache-2.0"
] | permissive | mh11/opencga | bbd8b411e26d993e833883ecd9064a29a4ba239b | 0d8c29b22dd304ac63d6db5785fa450177128831 | refs/heads/develop | 2020-04-06T04:36:56.064829 | 2018-05-31T14:48:01 | 2018-05-31T14:48:01 | 55,725,982 | 0 | 0 | null | 2016-04-07T20:30:49 | 2016-04-07T20:30:48 | null | UTF-8 | R | false | true | 474 | rd | OpencgaStudy-Opencga-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/OpencgaClasses.R
\docType{methods}
\name{OpencgaStudy,Opencga-method}
\alias{OpencgaStudy}
\alias{OpencgaStudy,Opencga-method}
\title{A method to query Opencga studies}
\usage{
\S4method{OpencgaStudy}{Opencga}(object, id = NULL, action, param... |
85eb0004cef12128276b8c48c1de632e75fa3b2d | 2bdd10bdb7aa2130cceccfbfbdd918a62a096950 | /Regresion Lineal Multiple/Regresion_Lineal_Multiple.R | d6ab2a9ad379ec9a0fb633a44415d2b08a68fccf | [] | no_license | billoBJ/regression | 83e50d94b5ee36fe1927bca356e36717c8222911 | b4c20df5793c2a1e27503c9fa0622c0243addddd | refs/heads/master | 2022-12-07T20:03:29.809849 | 2020-08-24T14:47:48 | 2020-08-24T14:47:48 | 289,954,632 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,526 | r | Regresion_Lineal_Multiple.R | # Importar el dataset
dataset = read.csv('50_Startups.csv')
# Codificar las variables categoricas
dataset$State = factor(dataset$State,
levels = c("New York", "California", "Florida"),
labels = c(1, 2, 3))
# Dividir los datos en conjunto de entrenamiento y conjunto de tes... |
d4d79c65ad1f0d82eaf279291fda76d4d39b59f7 | 7c95033415669a0812a5c275547113eabd024db0 | /R/bfa.boot2.ls.R | 5ccdc48ce07179f48bce6ba30967c1e22922fecd | [] | no_license | cran/bifurcatingr | 293d6a7e39e3fd5bbdb6713436f04dd4051e14bd | 90a6596c19ed6f47c158d7587f2d12986d000287 | refs/heads/master | 2023-07-11T02:05:05.328474 | 2023-06-22T01:10:02 | 2023-06-22T01:10:02 | 340,015,192 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,569 | r | bfa.boot2.ls.R | #' Double Bootstrap of Least Squares Estimators of BAR(p) Models
#'
#' This function performs double bootstrapping of the least squares estimators
#' of the autoregressive coefficients in a bifurcating autoregressive (BAR)
#' model of any order \code{p} as described in Elbayoumi and Mostafa (2020).
#'
#' @param z a num... |
ab3f0243d39ff92480895fb89fa53ceaff241742 | 39284ad1738b0a55800d55f556083c4ba53a92fa | /Lsn18.R | 6f931aa2a4154a2079eb79c9193391ddd7a874e6 | [] | no_license | nick3703/MA376 | cf10e82b32104836e99d94d0858e7e89e85179cb | 55e9d21bae9154bb4507d377e0f9ab0ab1341417 | refs/heads/master | 2023-01-29T00:29:55.796978 | 2023-01-09T19:56:02 | 2023-01-09T19:56:02 | 203,806,968 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,852 | r | Lsn18.R | ## ----setup, include=FALSE--------------------------------------------------------------------------------------------------------------------
knitr::opts_chunk$set(echo = TRUE,fig.width=5,fig.height=3)
library(tidyverse)
## --------------------------------------------------------------------------------------------... |
2b9a471f1a7e08938e4a602748d35c55ffb977fd | 697e3ac9cbe9010ed9b50f356a2cddf5ed8cc8a0 | /tests/testthat/tests_tsvreq_methods.R | 56118589d0ac15df3c6fb52eeb1eec13531674a7 | [] | no_license | reumandc/tsvr | 4c2b2b0c9bbbb191ae55058648da87589bc25e01 | f8f7a72d4f8ba40e881e78a1a2fb53791d227d21 | refs/heads/master | 2021-06-01T14:27:34.757125 | 2021-01-08T17:09:11 | 2021-01-08T17:09:11 | 132,662,500 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,505 | r | tests_tsvreq_methods.R | context("tsvreq_methods")
test_that("test the set methods",{
h<-list(com=2,comnull=1,vr=2)
expect_error(set_ts(h,3),"Error in set_ts: set_ts not defined for this class")
expect_error(set_tsvr(h,12),"Error in set_tsvr: set_tsvr not defined for this class")
expect_error(set_wts(h,3),"Error in set_wts: set_wts no... |
f0839c7cce04046cf51d5fff7e15434e956ba821 | 6b3059139c9f74ba211da97c7243cb3f20feef3c | /ChangeDetectionEx-2.R | 4087b59c6ec4b4d39ae58fed5e3ff4e8ea0dccc2 | [] | no_license | PFalkowski/ChangeDetection | 142ab6f858ebd9968a723e1fc73996000b6793ae | 3992ef2c8a837edd497abb94f45b0339ca032010 | refs/heads/master | 2020-09-10T18:13:08.761740 | 2016-09-27T00:07:57 | 2016-09-27T00:07:57 | 66,205,358 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,485 | r | ChangeDetectionEx-2.R | # configure R environment
source("../OneDrive/Repos/Change Detection/Helper.R")
#source("../Helper.R")
Packages = c("lme4", "ggplot2", "lattice", "rio", "lmtest", "rms")
WorkingDirectory = "../OneDrive/Repos/Change Detection/Data"
SetupEnvironment(workingDirectory = WorkingDirectory, requiredPackages = Packages)
# rea... |
d9294fcf424398ad506a06dab85c326939f1bb2b | 54b4976030ae6a42e10282c8f41609ef266721c9 | /man/plot_2x2.ecd.Rd | d5a1078560e57732328892dd884275c12b9654ca | [] | no_license | cran/ecd | b1be437b407e20c34d65bcf7dbee467a9556b4c1 | 18f3650d6dff442ee46ed7fed108f35c4a4199b9 | refs/heads/master | 2022-05-18T20:24:56.375378 | 2022-05-09T20:10:02 | 2022-05-09T20:10:02 | 48,670,406 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 739 | rd | plot_2x2.ecd.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ecd-plot-2x2-generic.R
\name{plot_2x2.ecd}
\alias{plot_2x2.ecd}
\alias{plot_2x2}
\alias{plot_2x2,ecd-method}
\title{Standard 2x2 plot for sample data}
\usage{
plot_2x2.ecd(object, ts, EPS = FALSE, eps_file = NA)
plot_2x2(object, ts, EPS = FA... |
868bc9cf52bb406c10c26a81c3a822c55529d638 | 9ade0e6cefd3d83ecfcc0eba92bbff6be2c6c91d | /R/write_text.R | 3ae610d0cdab040ba3ee11695f6fc511afa7107b | [] | no_license | cran/org | c5db09ec29b9f8975c924fde8662d3ad41fbd360 | d8317bfcd567c275be76a9f590d2566181df68bd | refs/heads/master | 2022-11-28T11:13:35.865795 | 2022-11-22T05:20:02 | 2022-11-22T05:20:02 | 174,553,462 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 734 | r | write_text.R | convert_newline_linux_to_windows <- function(txt) {
needs_converting <- length(grep("\\n", txt)) > 0 & length(grep("\\r\\n", txt)) == 0
if (needs_converting) {
txt <- gsub("\\n", "\r\n", txt)
}
return(txt)
}
#' Write text to a file
#' @param txt Text to be written
#' @param file File, passed through to `ba... |
b28b8e25e4840066edb4845bd3e6859ee37cb13e | 3d557b698ecea160be63191450cac35defd10f58 | /R/overlayPlot.R | 1eec6a69dda1b825277312a841b760f8645e7166 | [] | no_license | bomeara/utilitree | cb0601f105429ad292b27ae3cfeca29a6b348ad0 | 47c908ee5b3b1b285c255a22a29e51de5722f5f8 | refs/heads/master | 2016-08-08T16:23:59.109616 | 2014-07-29T20:46:39 | 2014-07-29T20:46:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,735 | r | overlayPlot.R | overlayPlot <-
function(phylolist, alpha=0.1) {
#inputs are list of phylo objects. Currently assumes all root to tip lengths are the same; rescale xxyy dynamically if this is not so.
initialxxyy<-phyloXXYY(as(phylolist[[1]],"phylo4"))
print(initialxxyy)
tiporder<-initialxxyy$torder
print(tiporder)
plot(x=c(initia... |
843f79b87ccfbd2fcfe47a7e429c7e80cd5508b2 | 3b4aa2880d2922e99adf3eaa343e2557f44e6c79 | /gsample2.R | ebf190fe7a47136896f8320d742da77207e5ec17 | [] | no_license | DBomber60/shiny.objects | b1d408a76fb50619c972b7d43febf7a08e8b4447 | cce35590fa38a3cce2582c46b6080e926dcc85b5 | refs/heads/master | 2023-05-15T04:20:53.305809 | 2021-06-02T00:41:36 | 2021-06-02T00:41:36 | 335,093,126 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,345 | r | gsample2.R | library(tidyverse)
library(gfoRmula)
library(rstanarm)
# generate some data to validate the gfoRmula function
# TODO: can we compute the true Y^{11} for this example??
set.seed(1)
n = 500
X1 = rnorm(n) # let's assume X is CD4
A1 = rbinom(n, 1, prob = plogis(-1 - X1 )) # higher probability of treatment for low CD4
X2 =... |
17337ae59d16952e646b3fd9895ab3d00b69c57b | b9688d34f370073c8865844dc9478ea0f712064a | /man/Package.Rd | 73c622e74d4c11710fd804c6fdbfb8467c31e0c8 | [] | no_license | Majood00/math4753 | 48e71d5ae0d44003634ebd39290d2a4376cee763 | 89d9806a5a44979f04832414170981e82b93107b | refs/heads/master | 2022-04-18T22:29:24.183054 | 2020-04-15T00:51:47 | 2020-04-15T00:51:47 | 234,974,524 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 282 | rd | Package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Package.R
\docType{package}
\name{Package}
\alias{Package}
\title{Functions Package}
\description{
Math 4753 lab functions as produced by Majood Haddad.
}
\author{
Majood Haddad \email{majood00@ou.edu}
}
|
7b009abbb7fa6411a18517891b58b05bdb215f65 | ef01bab1215f822fe415021c73c2b915fdd787ba | /01_data_preparation/step3_merge_datasets/revisit/step38_aggregate_for_vendor_groups_v2.R | 0316258438aae75b845a731fdf61196bf551670a | [] | no_license | nvkov/MA_Code | b076512473cf463e617ed7b24d6553a7ee733155 | 8c996d3fdbbdd1b1b84a46f84584e3b749f89ec3 | refs/heads/master | 2021-01-17T02:48:40.082306 | 2016-09-25T18:53:53 | 2016-09-25T18:53:53 | 58,817,375 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,191 | r | step38_aggregate_for_vendor_groups_v2.R | #Find vendors with several vendor_IDs
#Part 1: General steps, ideas, progress summary and questions
rm(list=ls())
#Set working directory
project_directory<- "C:/Users/Nk/Documents/Uni/MA"
data_directory<- "/Pkw/MobileDaten/generatedData/"
wd<- paste0(project_directory, data_directory)
setwd(wd)
library("data.table... |
124e90570d19efe30abfa86e247929e02648a092 | d276e37a06e119d0b53605a8fac8fd46c4d6eeaf | /s3/s3-continuacion.R | 406270d8784feee46a6abe512376c35f2c33a170 | [] | no_license | andres1898/Programacion-R-intermedio | 3fb55452664e23c0ebf056167993d1b7a3fcaf14 | 68268f27963b684f6e6ea9f05d4ebb76e7a2a64b | refs/heads/master | 2020-08-11T09:29:45.245632 | 2020-01-22T17:39:40 | 2020-01-22T17:39:40 | 214,539,946 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,219 | r | s3-continuacion.R |
###########################################################
## http://www.cyclismo.org/tutorial/R/s3Classes.html#s3classesmethods
NorthAmerican <- function(eatsBreakfast=TRUE,myFavorite="cereal")
{
me <- list(
hasBreakfast = eatsBreakfast,
favoriteBreakfast = myFavorite
)
## Set the name for t... |
a287adda6f026e4b952586a22945791a58cf2ef8 | baff257c506abb2157edfc53a6b30bdfc07ad48d | /R/data for brandon graph.r | 07da65a86ad0b8a172fcdb84568f6ae2da3c6fe0 | [] | no_license | amcox/map | d40a51958c6f66bcdb64adfde44c711fcca481ad | 8e14c849ccfb984ea7cf8df89f7cf8382070ed3a | refs/heads/master | 2021-03-12T22:50:36.980378 | 2016-02-28T21:07:56 | 2016-02-28T21:07:56 | 27,775,802 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,268 | r | data for brandon graph.r | library(ggplot2)
library(gdata)
library(RColorBrewer)
library(plyr)
library(dplyr)
library(reshape2)
library(stringr)
library(scales)
update_functions <- function() {
old.wd <- getwd()
setwd("functions")
sapply(list.files(), source)
setwd(old.wd)
}
update_functions()
df <- load_wide_map_data()
df <- subset(df, ma... |
0320d8a213b36685f3fe7179f46a35f018488c25 | 9dd2947d0dec81ab301ab0e21003943c8b713c5d | /R/iterativeOcc.R | 1d2ef2d57f0e32fb14f90d7c979b46989d9339fe | [] | no_license | benmack/iterOneClass | 8d57746b52c292448d6f828c3e07b7de0fa93b02 | 7bd7161eeb61a4f01130b9ff6c18285716aeaa8a | refs/heads/master | 2020-12-24T16:07:30.775900 | 2014-10-26T18:53:32 | 2014-10-26T18:53:32 | 25,482,522 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,478 | r | iterativeOcc.R | #' @name iterativeOcc
#' @title Train a iterative one-class classifier.
#' @description ...
#' @param train_pos a data frame with the positive training samples.
#' @param un an object of class \code{\link{rasterTiled}} image data to be classified.
#' @param iter_max maximum number of iterations.
#' @param n_train_un t... |
967eb5dad921529a55ce340f74abd40aa8990707 | 60f1edb2bc0c082b7f8ff035ddacb41edd249a45 | /plot4.R | 6112109dca9b565aa2dcb032dca20569f5bea198 | [] | no_license | marnorton/ExData_Plotting1 | 6aa8e6d12ed0fb0f49c3a77acdd7f56b669c46d1 | cb907fb762d62eb50488f3a8843389a437275036 | refs/heads/master | 2021-01-22T11:37:29.705221 | 2014-10-12T22:21:45 | 2014-10-12T22:21:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,714 | r | plot4.R | plot4 <- function()
{
## Read data into "data"
if (!file.exists("data.zip"))
{
download.file(url="https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",
destfile="data.zip",
method="curl")
unzip("data.zip")
}
data <- read.csv("hous... |
e823fb4fce5d61abd940b7547c9df44baf41c903 | f9de6e4a47c41fa5b901f5b4e24c6322942f70af | /R/re_detect.R | 36fb9aab1adb183583dfbab504a0b4d46486da49 | [] | no_license | faccinig/RE | 1d33e6fd1e60b61985f38989804fa738491cc830 | 4ea0805c19059cc9bd87423aa0bc2a9d97094b8e | refs/heads/master | 2021-01-01T18:04:45.067782 | 2017-07-27T20:03:47 | 2017-07-27T20:03:47 | 98,238,229 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 607 | r | re_detect.R |
re_detect <- function(x, pattern, quiet = FALSE) {
if (length(pattern) > 1) {
if (!quiet & length(x) > 1 & length(x) != length(pattern)) {
message("`x` and `pattern` don´t have the same length!\n",
"using the bigger one.")
}
if (length(x) > length(pattern)) {
pattern <- ... |
8afb07cadd87d728c7e929beef871c0ad73e402d | 4f21af2575ca080418d0c6d8cf2594f257ae2a84 | /R/stepdown.update.R | 41e383a7a5ed8b6880f66e478cf945634e5e66eb | [] | no_license | cran/MAMS | 8eef968cc859aec98bf6d72d6f9548a8db4a9c58 | c4b80485048d8739c0e6a6ac533b06cfbba588f3 | refs/heads/master | 2023-04-27T11:45:09.467551 | 2023-04-18T11:30:09 | 2023-04-18T11:30:09 | 17,680,403 | 0 | 3 | null | 2017-08-22T10:14:20 | 2014-03-12T19:21:55 | R | UTF-8 | R | false | false | 15,797 | r | stepdown.update.R | stepdown.update <- function(current.mams = stepdown.mams(), nobs = NULL, zscores = NULL, selected.trts = NULL, nfuture = NULL) {
zscores <- c(current.mams$zscores, list(zscores))
if (!is.null(selected.trts)) selected.trts <- c(current.mams$selected.trts, list(selected.trts))
# checking input pa... |
1b68ab5edb8ab2da7529fb54753c87c47965705c | a53f1f939d3dc8a0278cfcbeed57c000bed77a1f | /R/perform_split.R | 463125c694fe726192c501731628ce7cba6020c1 | [] | no_license | giuseppec/customtrees | 0c803bdb70f7fb5d2d589cfca1b8510e7154288d | f7f50d9357d129c9f88d1985b8862da1f7f2f68e | refs/heads/master | 2023-06-26T22:32:30.207928 | 2021-08-01T15:04:34 | 2021-08-01T15:04:34 | 254,136,481 | 1 | 1 | null | 2020-08-04T11:11:53 | 2020-04-08T16:06:21 | R | UTF-8 | R | false | false | 2,705 | r | perform_split.R | #' @title Performs a single split and measures the objective
#'
#' @description
#' Uses values in split.points as candidates to make intervals.
#' Sums up the objective in each interval (produced by the split.points).
#'
#' @param split.points [\code{vector}]\cr
#' Either a single split point (for binary splits) or a... |
96eb28e266ca86e615a50c2ceb3994e980443f8f | 15ac69e4667a4ec86a5e52d73bf59a6ac73a8dd4 | /cachematrix.R | 72afd33fb913cf78dc32bae4a0fe64915db57222 | [] | no_license | deysantanu84/ProgrammingAssignment2 | 87a724913b430e4e21141164750579a83751d15c | d68767e96029ad0984ea9f533d45be7b9b8cd404 | refs/heads/master | 2021-01-01T20:06:57.945735 | 2017-07-30T01:22:16 | 2017-07-30T01:22:16 | 98,766,216 | 0 | 0 | null | 2017-07-30T00:39:47 | 2017-07-30T00:39:47 | null | UTF-8 | R | false | false | 1,263 | r | cachematrix.R | ## The following functions are used to create a special object
## that stores a matrix and caches its inverse.
## The first function, makeCacheMatrix creates a special "matrix",
## which is really a list containing a function to:
## 1. set the value of the matrix
## 2. get the value of the matrix
## 3. set the value o... |
4a19915a4c21433cb9bee5da2fd582fef37b01b3 | 6c44fd4e8882b63198444221bac999a83c195b00 | /man/getMSF.Rd | 49101ff64be5a0e2ec7861b4b6d1c415dff1b0d0 | [] | no_license | aymanabuelela/ogcc | 4b60d1feb393d47715f52c66b8b40020a8f73a1c | 6071c4cbd7d2b01302f039595510d93682479d2d | refs/heads/master | 2021-01-12T06:40:26.842100 | 2017-02-02T12:23:25 | 2017-02-02T12:23:25 | 77,407,459 | 0 | 3 | null | 2020-12-13T08:16:42 | 2016-12-26T21:21:29 | R | UTF-8 | R | false | true | 767 | rd | getMSF.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ogcc.R
\name{getMSF}
\alias{getMSF}
\title{Get minimum set of features (getMSF)}
\usage{
getMSF(model = "types", d = "RSEM")
}
\arguments{
\item{model}{is a prediction model name from \code{\link{ogcc}}. See \code{model} argument.}
\item{d}{... |
ea5472123dc2af8d85f524278ee18b42b98310ae | b9fdcbf1aba0ce0d55049ae17535e348db74dd3f | /07-DescribeWildLifeStrikeDataSet.R | 8b1c051d31719da19a09d145c5457deecb4f04b1 | [
"MIT"
] | permissive | HoGaSan/FinalPaper | 8123494199c55e90bba7eecf1d1ccf85728f7161 | aa3e65c0981e83d03c32229ac129f91e1cb71481 | refs/heads/master | 2020-04-03T09:56:11.951809 | 2017-06-27T17:36:30 | 2017-06-27T17:36:30 | 63,605,860 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,904 | r | 07-DescribeWildLifeStrikeDataSet.R | #'
#' \code{DescribeWildLifeStrikeDataSet} re-creates the
#' inputs based on the column selection of the data
#' verification report
#'
#' @examples
#' DescribeWildLifeStrikeDataSet()
#'
DescribeWildLifeStrikeDataSet <- function() {
dataDir <- getDataDir()
startYear <- getStartYear()
endYear <- getEndYear()... |
94152609878717e32f0f82812a438acbad5b8fde | 4af1db18fc3fa5e4eb1969eb3daa3c95704bb887 | /ui.R | 6821dc39282e808ad2b7f347d51c11e958eb2031 | [] | no_license | lengning/soxtc_plot1 | 439e165ef1bd720732f7ea621cc7044c28c7d275 | 12485e533c7e7727ba65436c823d3dc700c5fcc3 | refs/heads/master | 2021-01-10T08:40:03.971196 | 2016-04-20T22:20:01 | 2016-04-20T22:20:01 | 47,719,371 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 94 | r | ui.R | ui <- bootstrapPage(
textInput('name', 'gene name', "T"),
plotOutput('plot')
)
|
8e95bdb228424b998e261e17012144aaff6eddf4 | 2814155eb1d450ef708f0c462e9d4a04db747e35 | /pix2img.r | ad986029fc9f4211946a7cea635eeb2d1fd6d179 | [] | no_license | abigaile-d/emotion-recognition-svm-pca | 183809872587ab3bb029498fa5836c942048a04a | 1ed0cdc1408a9ab773f02abd9fcf310c1c49eeb4 | refs/heads/main | 2023-08-11T05:40:08.894213 | 2021-09-20T13:12:30 | 2021-09-20T13:12:30 | 408,058,687 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,637 | r | pix2img.r | BASEDIR <- "C:/Users/Abigaile Dionisio/Documents/Masters/CS280/MP"
setwd(BASEDIR)
# create dirs if missing
dir.create(file.path(BASEDIR, "images"), showWarnings = FALSE)
dir.create(file.path(BASEDIR, "images", "emo_train"), showWarnings = FALSE)
dir.create(file.path(BASEDIR, "images", "emo_test"), showWarnings =... |
040c47ce14cff050a30e0c72ff42a294b078a6d6 | f65ae497d68d9d842febebb5e23bb33df636c266 | /man/removeORFsWithStartInsideCDS.Rd | ba944f437229982de2351435eb4e365c563b7857 | [
"MIT"
] | permissive | Roleren/ORFik | 3da7e00f2033f920afa232c4c9a76bd4b5eeec6d | e6079e8433fd90cd8fc682e9f2b1162d145d6596 | refs/heads/master | 2023-08-09T06:38:58.862833 | 2023-08-08T08:34:02 | 2023-08-08T08:34:02 | 48,330,357 | 28 | 7 | MIT | 2023-07-06T16:17:33 | 2015-12-20T17:21:15 | R | UTF-8 | R | false | true | 819 | rd | removeORFsWithStartInsideCDS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/uORF_helpers.R
\name{removeORFsWithStartInsideCDS}
\alias{removeORFsWithStartInsideCDS}
\title{Remove ORFs that have start site within the CDS}
\usage{
removeORFsWithStartInsideCDS(grl, cds)
}
\arguments{
\item{grl}{(GRangesList), the ORFs to... |
897977f3e45ef53b6c01a75ef86ad52da616a151 | e0137e38aa3dc68045821e5a7e4df226e3934fb6 | /Section 6/tutorial_11_Themes.R | 50344abeeb367e97f7105c43fbbab24f3b892fee | [] | no_license | nihar-dar123/Udemy-R-Programming-A-Z | d22071d564bd228a5872b859bc1ac498ebf290d3 | aa1bbbb524adcd07d13309c8a53b60b568d40a38 | refs/heads/master | 2022-01-05T23:58:48.049469 | 2019-07-29T02:01:12 | 2019-07-29T02:01:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,185 | r | tutorial_11_Themes.R | # using some themes to enhance the graphs
o <- ggplot(data=movies, aes(x=BudgetMillions))
h <- o + geom_histogram(binwidth = 10,aes(fill=Genre), color="Black")
h
# add a label
h + xlab("Money Axis") + ylab("Number of Movies")
# label formatting
h + xlab("Money Axis") + ylab("Number of Movies") +
theme(axis.tit... |
e6fc3dc5b1653749d22a5cc153860830d318a702 | b323da3e2adf3980e160380a1bc3b0ab175d752f | /21 5 3.R | e62615aceac9fe1f3dd4f1ec3991b4ce945a28a2 | [] | no_license | JVanEss/R-for-Data-Science-Week-4-Chapter-21 | 7d519002a5819d318a5e5778c81737e2562a35e7 | 7b64f6c931e177817d1e76d814ebf28191f8c105 | refs/heads/master | 2020-04-05T19:53:42.043636 | 2018-11-12T04:17:18 | 2018-11-12T04:17:18 | 157,155,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 130 | r | 21 5 3.R | #Exercise 21.5.3.1
map_dbl(mtcars, mean)
map(flights, class)
map(iris, ~ length(unique(.)))
map(c(-10, 0, 10, 100), rnorm, n = 10) |
a230fd05f5e8179f12a8b1dd5122ab6b34cdb397 | 2e3f446e2603f6e09d57e744cb40c7aa513bbe02 | /Aircraft Delay Prediction/3_WeatherData/Train/hly.R | d8ef067bad490a4581d2e85dae48460669c24b20 | [] | no_license | kunalrayscorpio/DSProjects | 653f6429a556467cd043a2ff59e306cfeda5404f | 389c678afe16e066228545f5f07a2491db1bdceb | refs/heads/master | 2020-05-09T22:08:46.667037 | 2019-06-10T10:11:35 | 2019-06-10T10:11:35 | 181,461,609 | 0 | 0 | null | 2019-04-23T13:03:04 | 2019-04-15T10:09:08 | null | UTF-8 | R | false | false | 647 | r | hly.R | rm(list=ls())
library(sqldf)
hly01<-readRDS("hly0401.rds")
hly03<-readRDS("hly0403.rds")
hly05<-readRDS("hly0405.rds")
hly07<-readRDS("hly0407.rds")
hly09<-readRDS("hly0409.rds")
hly11<-readRDS("hly0411.rds")
hly<-rbind(hly01,hly03,hly05,hly07,hly09,hly11) # Bring all datasets together
rm(hly01,hly03,h... |
ea1a739fdb36f7d9c49ab26296e2807f7c59ce8f | 5526117d9b268955b3814384744fb40e01723bb4 | /predicting diabetes using different classification ML models.R | 299b32a6c90369230fa20bfb7e5fc323d72adade | [] | no_license | kenkaycee/Diabetes | 6cf6b792754981a3cdc80555f001193c4abfa791 | abf129c2348b8b7f565e50c05b355bce104c98bb | refs/heads/master | 2022-11-28T20:35:52.963641 | 2020-08-09T20:02:36 | 2020-08-09T20:02:36 | 284,454,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,163 | r | predicting diabetes using different classification ML models.R | library(tidyverse); library(caret)
diabetes<- read.csv("diabetes.csv")
diabetes %>% str()
## convert aall predictors except age into factors
diabetes<- diabetes %>% mutate_if(is.character, as.factor)
diabetes %>% str()
diabetes$class %>% table() %>% prop.table()*100
## graphical representation
diabetes %>% ggplot(a... |
c5f21d738cc028fa5ecf7cfe4cc39b3109c64249 | 7dbe77fc28b5703c4e0c68caf1d471b9cf8158ca | /cleanOTUtable.R | d5b5a46a474547e5467f651b7dd3f4771662975b | [] | no_license | slinn-shady/BioinformaticsTools | 0a86cfc7eae8e71989d53c310624e9ca35c50128 | 9e2f23772d45b9fc268fc06a3c44b085c10fdc91 | refs/heads/master | 2020-04-02T00:38:51.256445 | 2018-10-18T22:22:21 | 2018-10-18T22:22:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,926 | r | cleanOTUtable.R | #!/usr/bin/Rscript
#J. G. Harrison
#April 27, 2018
#this script takes an otu table and a taxonomy file and
#outputs an OTU table that does not have non-target taxa (e.g. no plants if you
#are doing fungi). It specifically searches the taxonomy file for the words
#chloroplast, plantae, and mitochondria
#This script ta... |
45c3cfe23796a4b8e823910bde5d86392760f69e | afff1c31b1a85b45c46d56f81f4b4ce237a7a11c | /pulmonary_fibrosis/10x_scRNA-Seq_2019/Fig5_F_S14.R | 0645e52ab34584e0d04f7c5cf8e1dc7b22e417bd | [
"MIT"
] | permissive | tgen/banovichlab | 9f67eeb7cd95a8c65fbccea2e51033de8ea08a63 | 13ee30d91aa30e6a672d56e4f834c2b7b66769a4 | refs/heads/master | 2023-07-11T18:07:48.530129 | 2023-06-26T22:32:52 | 2023-06-26T22:32:52 | 203,832,392 | 32 | 11 | MIT | 2020-03-15T19:08:30 | 2019-08-22T16:24:15 | R | UTF-8 | R | false | false | 8,105 | r | Fig5_F_S14.R | # ==============================================================================
# Author(s) : Linh T. Bui, lbui@tgen.org
# Austin J. Gutierrez, agutierrez@tgen.org
# Date: 03/11/2020
# Description: Create loess plots using pseudotime ordering (Figure 5F and Figure S14)
# ===================================... |
197c778d7687557d165e3a93724d5a459c35d0be | 165e4a729024161336b21edb9eb71ba90786be7e | /covid19/www/4_load_external_data/05_columbia_data.R | c6dccff090a17d904e480a8b2e01f9e87ca42f11 | [
"MIT"
] | permissive | SpencerButt/CHAD | 8de53793777986caa569fa4fe002ed16266d6ff9 | 0dab6db877ea2704581b14c768b33b80fdca95c2 | refs/heads/master | 2022-06-26T02:13:24.604454 | 2020-05-08T13:55:29 | 2020-05-08T13:55:29 | 256,320,196 | 0 | 0 | MIT | 2020-04-20T13:11:42 | 2020-04-16T20:16:09 | HTML | UTF-8 | R | false | false | 2,677 | r | 05_columbia_data.R | #' @description From Columbia University, These files contain 42 day
#' projections which they update on Sunday evenings.
#'
#' @source https://github.com/shaman-lab/COVID-19Projection/tree/master/
#'
CU40PSD<-vroom::vroom("www/4_load_external_data/data_files/bed_80contact.csv")
CU30PSD<-v... |
5217349d94b38103358394787b27981acf6f04b2 | bdccca49ffd9796c31f6bbce55fb2070aa201d89 | /Analysis_backwarddiff.R | 4aef2d299fbb61876a8d0511d56567b36cf4daf9 | [] | no_license | elspethwilson/implicature-development | 0df013ce90eb779572d20749191b91ad7063b4bd | df8ef1684511a5c8be0405cc16a1c1ca2c5b4c81 | refs/heads/master | 2021-06-23T00:56:41.095773 | 2017-08-25T15:48:24 | 2017-08-25T15:48:24 | 100,102,485 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,205 | r | Analysis_backwarddiff.R | library(lme4)
require(optimx)
source(system.file("utils", "allFit.R", package = "lme4"))
# for a more theory-dependent analysis, use backward difference conding
# A) to compare each agegroup to previous - 4-years to 5-years, and 3-years to 4-years
# (taking 5-year-olds as control group)
# B) compare different ... |
961497a1b83975c942694114a802309e150e17f6 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610387048-test.R | cda84345ea6bfb2744aac9d1f5ed94fcd088d22f | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 325 | r | 1610387048-test.R | testlist <- list(a = 16203008L, b = 512L, x = c(-5242946L, -1694498817L, -738263040L, 0L, 5855577L, 1499027801L, 1499017049L, 1499027801L, 688392448L, 1499027801L, 1499027712L, 589657L, 1499027801L, 1499027967L, -1L, -1L, -1L, NA, -1L, -1L, -1L, -1L, -1L, -1L))
result <- do.call(grattan:::anyOutside,testlist)
str(re... |
ddf4b16e14cbf8cb2fa5c55aba01f61770676b7f | 9262e777f0812773af7c841cd582a63f92d398a4 | /inst/userguide/figures/STS--Cs703_multivariate.R | 0a8e62d7d0e62c154d6b48ab91cf764178d4d78d | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | nwfsc-timeseries/MARSS | f0124f9ba414a28ecac1f50c4596caaab796fdd2 | a9d662e880cb6d003ddfbd32d2e1231d132c3b7e | refs/heads/master | 2023-06-07T11:50:43.479197 | 2023-06-02T19:20:17 | 2023-06-02T19:20:17 | 438,764,790 | 1 | 2 | NOASSERTION | 2023-06-02T19:17:41 | 2021-12-15T20:32:14 | R | UTF-8 | R | false | false | 384 | r | STS--Cs703_multivariate.R | ###################################################
### code chunk number 31: Cs703_multivariate
###################################################
vy <- var(y, na.rm = TRUE) / 100
mod.list.x <- list(
x0 = matrix(list("x0", 0), nrow = 2), tinitx = 1,
V0 = matrix(1e+06 * vy, 2, 2) + diag(1e-10, 2),
Q = ldiag(list... |
18cace208629509c65b58e14417bd701e5cf707d | efb0f64b55db89f734fe1c76b7f0393aea0d908d | /R/toyPackage.R | de9c2edd0e8f9c05ad07ca152f28c3beeaf2c85a | [] | no_license | rebeccaferrell/toyPackage | c5f29d12f525a60f2eca2689585e8579d5161391 | d3a742d9f5e3593b16cf42896c89cbd54bbca75b | refs/heads/master | 2016-09-05T08:52:53.273403 | 2015-07-22T18:01:32 | 2015-07-22T18:01:32 | 39,464,167 | 0 | 2 | null | 2015-07-22T18:01:33 | 2015-07-21T18:58:23 | R | UTF-8 | R | false | false | 104 | r | toyPackage.R | #' A toy package
#'
#' Does nothing.
#' Nothing at all.
#'
#' @docType package
#' @name toyPackage
NULL
|
bea83343ba8eaef877eddb93eda856a97460f6ee | 28bb2ce209e8ab2e650ca4c78f46284860e63bac | /src/Ad_GABasedOpt.R | e9fbbb79fdba117a2c59832b9ecce48370f92c35 | [
"Apache-2.0"
] | permissive | Seager1989/HOpt4SMSD | 382c2660af7496aa95c5a95d86665e10bb610649 | e8d0154c9813594e245c9902f4d1e9650c0a758e | refs/heads/main | 2023-04-11T08:49:59.435654 | 2021-04-21T18:51:27 | 2021-04-21T18:51:27 | 314,405,056 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,639 | r | Ad_GABasedOpt.R | library (mlr)
library (mlbench)
library(readr)
library(mlrMBO)
library(emoa)
library(DiceKriging)
library(rgenoud)
library(mxnet)
library(PMCMR)
library(PMCMRplus)
library(metaheuristicOpt)
#####################################################################################################################... |
4dc6f5e9999174a66a7087cee8bd621c8e022c9e | f7128aa987adcdd60c4a65c2f0c2bec2c1920d94 | /cachematrix.R | 172daa98b3a5e479d67a3a44315f00345c1be731 | [] | no_license | bliner/ProgrammingAssignment2 | 9237c8ada8c8200aa8402b79dadd55d2db474b1b | 0d7c7cd98e55be7cce5afd833eba94afc844b76e | refs/heads/master | 2021-01-21T16:27:28.554610 | 2016-07-17T22:25:46 | 2016-07-17T22:25:46 | 63,555,078 | 0 | 0 | null | 2016-07-17T22:23:45 | 2016-07-17T22:23:44 | null | UTF-8 | R | false | false | 1,386 | r | cachematrix.R | # The first function, makeCacheMatrix creates a special "matrix", which is really a list containing a function to
# set the value of the matrix
# get the value of the matrix
# set the value of the inverse matrix
# get the value of the inverse matrix
makeCacheMatrix <- function(x = matrix()) {
MatrInv <- NULL # sets... |
0bc9881afaca7f2f0876966d3669ccf9f64295d3 | 563de1dae5d80e271821a945a985dc5e3e96e31c | /man/catheter.Rd | b8202b0864bdda3da051f95151537b6b7c5635b1 | [] | no_license | cran/MetaAnalyser | 1d17bb2f111c73520ec611213620e9470c0937a5 | bd4ab24e1dff83c13fdb091de8d55e65869f3634 | refs/heads/master | 2021-01-20T19:08:53.428224 | 2016-10-13T00:24:55 | 2016-10-13T00:24:55 | 65,407,026 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,244 | rd | catheter.Rd | \name{catheter}
\alias{catheter}
\docType{data}
\title{
Meta-analysis of antibacterial catheter coating
}
\description{
Data on the effectiveness of silver sulfadiazine coating on venous
catheters for preventing bacterial colonisation of the catheter
and bloodstream infection. A modified version of the data ... |
bb0e1b32ba3069317c51f83c0127e290f402802b | cdbca901bbf564d9c94a74a4ab3aabe303691ce8 | /R/geom_hpline.R | fdbe71b6e6a693a1b77c5a24d9149c679b3e49a4 | [] | no_license | wilkelab/ungeviz | 6d57a5a69bf46efe35f5e4d04f3f413c47273fff | aeae12b014c718dcd01343548f2221b58ece63f6 | refs/heads/master | 2020-03-27T00:49:35.929110 | 2019-01-24T20:14:20 | 2019-01-24T20:14:20 | 145,660,189 | 95 | 8 | null | null | null | null | UTF-8 | R | false | false | 3,779 | r | geom_hpline.R | #' Draw point-like short line segments
#'
#' The geoms `geom_hpline()` and `geom_vpline()` can be used as a drop-in
#' replacement for [`geom_point()`] but draw horizontal or vertical lines
#' (point-lines, or plines) instead of points. These lines can often be useful to
#' indicate specific parameter estimates in a pl... |
7016392cf49ce50fd8826ec0821524ca7d10d520 | 130fac5c7630d17332e253b4da6870f028d6f4d2 | /man/RandomFields.Rd | 03b83f04747ffad190c0e191d5911112b62900b6 | [] | no_license | cran/RandomFields | 41efaabb19f883462ec3380f3d4c3102b0ed86b4 | 41d603eb8a5f4bfe82c56acee957c79e7500bfd4 | refs/heads/master | 2022-01-26T09:24:35.125597 | 2022-01-18T18:12:52 | 2022-01-18T18:12:52 | 17,693,063 | 5 | 4 | null | 2019-05-20T21:08:38 | 2014-03-13T03:21:25 | C++ | UTF-8 | R | false | false | 12,090 | rd | RandomFields.Rd | \name{RandomFields-package}
\alias{RandomFields}
\alias{RandomFields-package}
\docType{package}
\title{Simulation and Analysis of Random Fields}
\description{
The package \code{RandomFields} offers various tools for
\enumerate{
\item{\bold{model estimation (ML) and inference (tests)}}
for regi... |
27969ee219ad9ce33885e83328ab6f07ed2d96c7 | 65e64f4b0b1160bdaacd2738b976b9ccbd8160b6 | /06_RegressionModel/RM/learn_rm.R | 956e3561c758c2169c98acf9e8ffb96a763b36ef | [] | no_license | enliktjioe/r_projects_datascience | 4fbebd382d4e220b423f70702bfc806c7463f458 | da3072b50a5866ee2ee288d37191f78be1576643 | refs/heads/master | 2020-04-16T13:56:33.737787 | 2020-03-04T09:26:41 | 2020-03-04T09:27:23 | 165,648,821 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,462 | r | learn_rm.R | library(dplyr)
library(leaps)
library(MASS)
copiers <- read.csv("copiers.csv")
hist(copiers$Sales, breaks=20)
boxplot(copiers$Sales)
hist(copiers$Sales)
library(manipulate)
expr1 <- function(mn){
mse <- mean((copiers$Sales - mn)^2)
hist(copiers$Sales, breaks=20, main=paste("mean = ", mn, "MSE=", round(mse, 2), s... |
e40a5cf82df443df2c1445ff3626bb75d2216b72 | 339867edfaf54148f797beecd1420182b7c66520 | /src/job_submit_loop.R | d71a0b684a86379fdd7d04ce37581bafd99ac665 | [] | no_license | RCN-ECS/CnGV | d82946dc3969c101a02bcf09db32fa533a008d85 | 4b362f891770bb6286db5195f58d418c353f2f79 | refs/heads/master | 2023-03-19T15:04:58.192221 | 2021-12-15T16:49:48 | 2021-12-15T16:49:48 | 189,079,692 | 1 | 6 | null | null | null | null | UTF-8 | R | false | false | 2,035 | r | job_submit_loop.R | ######################
## Cluster For Loop ##
######################
require(tidyr)
require(ggplot2)
require(dplyr)
# Read in Parameter table
df1 = read.csv("df.csv")
chunk_size <- 1000
df1$chunks <- ggplot2::cut_interval(1:length(unique(df1$row)), length=chunk_size, labels=FALSE)
#chunks1 = data.frame("chunks" = c... |
6bff9f41d652dbedb931f16518d9d2fa6b4a28b9 | a64b5567dbf88560fcb8889ffc9170092179ae11 | /man/ped.mrode.Rd | 87275dfe90d527887e5d0dcc61e2e381932496e5 | [] | no_license | luansheng/AGHmatrix | 91588084cc595e7594d72793288f099e345bb302 | 632575b26cac58aae6012fc5792f53c7b3f5dff0 | refs/heads/master | 2022-04-02T09:07:04.561725 | 2020-01-14T14:20:10 | 2020-01-14T14:20:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 436 | rd | ped.mrode.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ped.mrode-data.R
\docType{data}
\name{ped.mrode}
\alias{ped.mrode}
\title{Pedigree Data}
\format{table}
\usage{
data(ped.mrode)
}
\description{
Data from pedigree example proposed by Mrode 2005
}
\examples{
data(ped.mrode)
}
\references{
R. ... |
bc2d58e2dbc6b0fa418cbcf7333ded24b3969da1 | 1c1e0991ad24c95578d4291a97aed09ab5e7cdf4 | /num_sundays.R | aa76fbddc345a5c65736e15177dd6b33c0f5d0c7 | [] | no_license | adamacosta/euler | f1b74e4d8fb5400f8c15994bbc9d5a5e21506876 | c8286fbaeb11690a563a209c922ce58d933f8aab | refs/heads/master | 2020-06-04T13:25:05.531371 | 2015-05-08T14:06:30 | 2015-05-08T14:06:30 | 34,878,094 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 113 | r | num_sundays.R | library(lubridate)
days <- seq(ymd("1901-01-01"), ymd("2000-12-31"), by="days")
sum(day(days)==1 & wday(days)==1) |
4fda96e5bcf934d4b97cc374bf8a83574977753b | bca1166b487ead5957c695d1b2aa1073e64888a6 | /man/calculate_days_accrued_pref.Rd | d7e6b73f16d44d7b696136035baf45a1b73450b3 | [
"MIT"
] | permissive | fxcebx/fundManageR | d4a02397e9e7c5d37fccfc9e221d80b2398d4be8 | cb11ad0cd648d4d484eec67cf093f35b2d163cda | refs/heads/master | 2021-01-13T13:55:47.905682 | 2017-01-12T19:55:26 | 2017-01-12T19:55:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 608 | rd | calculate_days_accrued_pref.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/waterfall_functions.R
\name{calculate_days_accrued_pref}
\alias{calculate_days_accrued_pref}
\title{Calculate accrued preference for a stated period of days}
\usage{
calculate_days_accrued_pref(pct_pref = 0.1, is_actual_360 = T, days = 31,
... |
f1369641fbfdcfddce4f23b67c4420ade9e75844 | d4fb12399519c7a84cc8bd37fa328bc225a528d6 | /CoVTRxdb/app.R | 367be2d5f97a780c36252acecf65d7466436aacd | [
"MIT"
] | permissive | katkoler/CoVTRxdb | 936ffbfe0b0202445f684450c73f145ae6fd173d | 1edd8e9a65b19c9841e65602d9335fbe213bf463 | refs/heads/main | 2023-03-30T14:32:01.134980 | 2021-04-12T17:52:57 | 2021-04-12T17:52:57 | 334,945,891 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,707 | r | app.R | #
# CoVTRxdb
#
library(shiny)
library(dplyr)
library(reactable)
library(readr)
tbl <- read_csv("master_COVID_trials_info.csv")
# colnames(tbl) <- gsub(" ", " ", trimws(gsub("\\.", " ", colnames(tbl))))
# tbl <- tbl %>% select(TrialID, `Scientific title Original`, `Intervention Original`, `Country Curated Extracted`,... |
8145cd288c96515295337a94b5ef2cdfaedb73f7 | 184d33fbe6d0ab73a260d0db9d3849df00d33786 | /rcmdr.temis/man/corpusCaDlg.rd | a273af48dad85682843aacc98e05cdb6cdfe2a0a | [] | no_license | nalimilan/R.TeMiS | 65660d9fbe4c8ca7253aeba5571eab4445736c99 | 3a8398038595807790087c36375bb26417ca606a | refs/heads/master | 2023-04-30T18:04:49.721122 | 2023-04-25T19:45:04 | 2023-04-25T19:45:04 | 81,315,737 | 25 | 7 | null | 2020-06-29T21:45:06 | 2017-02-08T10:07:16 | C | UTF-8 | R | false | false | 1,587 | rd | corpusCaDlg.rd | \name{corpusCaDlg}
\alias{corpusCaDlg}
\title{Correspondence analysis from a tm corpus}
\description{Compute a simple correspondence analysis on the document-term matrix of a tm corpus.}
\details{This dialog wraps the \code{\link{runCorpusCa}} function. The function \code{runCorpusCa}
runs a correspondence ana... |
aec428b7b57a4be8dfcc6ed37b618de0643db04a | a318f8965ee044e966a0434746378ae5d011b201 | /unit2-linearRegression/climate_change.R | e351175cd86c5889dc9175b44ade13b29fbe09be | [] | no_license | vimalromeo/My_Codes | 100366fd0c6b3b5b292cf00fa3f82fc1ee6d8ad2 | 16072679136faa89a0e5e80191d25b5bf90a9986 | refs/heads/master | 2021-01-10T01:27:51.437792 | 2017-11-14T11:37:59 | 2017-11-14T11:37:59 | 53,647,984 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 537 | r | climate_change.R | setwd("D:/doc/study/TheAnalyticsEdge/unit2")
climate<-read.csv("climate_change.csv")
str(climate)
train<-subset(climate, Year<="2006")
test<-subset(climate, Year>"2006")
str(train)
model1<-lm(Temp~MEI + CO2 + CH4 + N2O + CFC.11 + CFC.12 + TSI + Aerosols,data=train)
summary(model1)
cor(train[,c(3:10)])
model2<-lm(Tem... |
93b86c8307607965fb4ba053b449609029d379ee | adb24b997ddf95e74d412fc09aea40e63623bc12 | /ui.R | c5a301f1ae28ab2c567c191fc0283075e24a8565 | [] | no_license | ExtremeNt/Random-walk-generator | 7734fbe116c0844ed7a9fb3435e67e87a43f74f4 | 278a1698a011ef98775a52eb4389555f4255678c | refs/heads/master | 2016-08-12T23:32:16.716982 | 2016-02-18T03:32:13 | 2016-02-18T03:32:13 | 51,975,779 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 825 | r | ui.R | shinyUI(
fluidPage(
titlePanel('Random walk generator'),
fluidRow(
column(2, wellPanel(
numericInput('stepsz1','Step size 1', value=1),
numericInput('stepsz2','step size 2', value=-1),
numericInput('steppb1','step 1 probability',min=0, max=1,... |
6e8f533ba1af9c5223553c4c613ffa6ee14ed813 | be86308f9cd95be51b4f83ec06895fa1bd4c49e7 | /tests/inputs.R | 644a95d841faad44888ff37c1b46e66a2ade4759 | [] | no_license | duncantl/CodeDepends | 7f60ad0b4e3513dd4e2e723778f44bce39e47fd6 | 878fd24850d28037640cb21fbbf3922b51f996df | refs/heads/master | 2022-05-16T00:25:38.573235 | 2022-04-25T22:11:20 | 2022-04-25T22:11:20 | 3,998,946 | 75 | 16 | null | 2020-01-14T19:30:08 | 2012-04-11T22:17:31 | R | UTF-8 | R | false | false | 6,500 | r | inputs.R | library(CodeDepends)
res7 = getInputs(quote(x <- names(y[a:5])[w]))
stopifnot(identical(res7@inputs, c("y", "a", "w")),
identical(res7@outputs, "x"),
identical(res7@code, quote(x <- names(y[a:5])[w])))
## regression test to ensure formulaInputs argument functions correctly
res10a = getInputs(qu... |
f5cd4b7c5e13a5b60409fc01bfb31247d4637057 | e5aa6627e7e2fdcc69f91e2beddf267708f0c2b1 | /man/autoRope.Rd | 0e961f1debe932ed4c42a4c61bd9f5697e5f35f2 | [] | no_license | BenjaminChittick/BenCScore | 1b289c1a20c8da968b7571a99a98834ed8c9ded5 | 54b821358f77f156796b7878c732f09ab2ae1864 | refs/heads/master | 2021-01-01T04:06:55.614373 | 2016-05-19T15:31:21 | 2016-05-19T15:31:21 | 58,406,675 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 714 | rd | autoRope.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rope.R
\name{autoRope}
\alias{autoRope}
\title{autoRope}
\usage{
autoRope(assay.conc, max.conc, modifier = 1, hillslope = 1, top = 100,
bottom = 0)
}
\arguments{
\item{assay.conc}{numeric value of assay concentration (same units as max.con)... |
07aa6197271f497e86190cae74d0cb22834d57df | 2ad62aa7217dfccc06a37d0207a1584b2f065652 | /R/dataLocationPrefs.R | bf2677d333b3bd81b62efe1f0674c7037a1d7483 | [] | no_license | MattNapsAlot/rSynapseClient | 3138f18f1d6e751a647460542312b4ed5f124267 | 7afa52dfb6a76bcf1951ac75763c2c3f1467d722 | refs/heads/master | 2020-04-03T10:31:39.857816 | 2012-08-30T04:29:22 | 2012-08-30T04:29:22 | 3,358,481 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 601 | r | dataLocationPrefs.R | ## Set and get data location preferences
##
## Author: Nicole Deflaxu <nicole.deflaux@sagebase.org>
###############################################################################
synapseDataLocationPreferences <- function(locationTypes){
if(missing(locationTypes)){
return(.getCache("synapseDataLocationPreferen... |
adfd46d09e9811964b7a0a5dcaf31b72a264de7e | 7c8ec1d7663b010519f2b26c78f8aa889b1e9aed | /workout03/man/bin_variable.Rd | 9dd970f341732cce4cbba929bcc1316b3f8316aa | [] | no_license | stat133-sp19/hw-stat133-AziziDunia | 6c2e99526abfb7b46384dd7391796bd9b41e7768 | 788a1bbefa61f8c6a0c387406d25bdb76bdaf1ff | refs/heads/master | 2020-04-29T00:00:36.947216 | 2019-05-03T21:24:54 | 2019-05-03T21:24:54 | 175,677,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 634 | rd | bin_variable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/binomial.R
\name{bin_variable}
\alias{bin_variable}
\title{Function bin_variable()}
\usage{
bin_variable(trials, prob)
}
\arguments{
\item{trials}{is a non-negative integer; numeric vector}
\item{prob}{is the probaility of success on each tr... |
0520614adc93fff9edf41e0b20815f4fe24c4808 | f72f31c41043c5735d7beb81a0e43d1ae4400d45 | /man/board_get.Rd | 54a26816b35b5e29f39cf0e7d8fc0254dd090004 | [
"Apache-2.0"
] | permissive | kevinykuo/pins | dbd07e4fb87270b9f9ed563636907819e27dbcea | ac74f7066d0d2b981b4bae93755d7b41c81e53e2 | refs/heads/master | 2020-07-02T19:51:57.229387 | 2019-08-10T01:53:38 | 2019-08-10T01:53:38 | 201,645,472 | 1 | 0 | Apache-2.0 | 2019-08-10T15:05:30 | 2019-08-10T15:05:30 | null | UTF-8 | R | false | true | 292 | rd | board_get.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/board.R
\name{board_get}
\alias{board_get}
\title{Get Board}
\usage{
board_get(name = NULL)
}
\arguments{
\item{name}{The name of the board to use}
}
\description{
Retrieves information about a particular board.
}
|
cada393e2f061dc8beb1bed3223d9476091743bf | dd89b14e542e1227b3a63147727be2ec63b4570d | /man/filter_by_evalue.Rd | 0f8417764f0862a3cda9e8b9b47237392a98d42a | [
"BSD-3-Clause"
] | permissive | MetAnnotate/metannoviz | 79b792432b6b719ba4744c4f252256e24763e46e | d9467dcde72f73edb37ff0149954ca9d1bac8aa0 | refs/heads/master | 2022-11-22T02:44:43.923746 | 2020-07-28T05:41:31 | 2020-07-28T05:41:31 | 264,586,383 | 4 | 0 | BSD-3-Clause | 2020-07-28T05:30:50 | 2020-05-17T04:53:37 | R | UTF-8 | R | false | true | 738 | rd | filter_by_evalue.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filter.R
\name{filter_by_evalue}
\alias{filter_by_evalue}
\alias{filter}
\title{Filter metannotate data by e-value}
\usage{
filter_by_evalue(metannotate_data, evalue = 1e-10)
}
\arguments{
\item{metannotate_data}{Tibble of metannotate data}
... |
723cf0e0a1e25ea13e2ce8718395f4ed73e4285f | 7cfdda5c2183941059b3af48c1653ccdc3c0a91b | /code/TestGradient.R | 8f1fcbc337bcd810cbc3ef4e3e935002e640e4df | [] | no_license | liuminzhao/qrmissing-draft | de19f71b57b3dae8d6a1c407e74a29caa79675fc | 3a6efea9a3ea871612550277e42dfdba47721359 | refs/heads/master | 2021-01-22T13:42:10.621663 | 2015-01-11T04:46:59 | 2015-01-11T04:46:59 | 10,259,310 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,648 | r | TestGradient.R | ## Test Gredient Descent Method
## Time-stamp: <liuminzhao 03/16/2013 20:07:05>
## Test for normal MLE first
## Data
n <- 500
x <- rnorm(n)
beta <- c(1, -1)
sigma <- 2
y <- beta[1] + beta[2] * x + rnorm(n, sd = sigma)
## Target function
LL <- function(beta0, beta1, sigma){
return(-sum(dnorm(y, mean = beta0 + beta1 ... |
8fbf025b07e01fd216ecdb220e40f84150644b60 | 30265d02eb92dcb724653e1323ec0dbc4b9bb096 | /man/lam_ecr_repo_url.Rd | 760dd4d897929fa55a2bae881c2bbf2a134bdda5 | [
"MIT"
] | permissive | lewinfox/lambdar | ded3854316b33e484f9405272253cd381a0b6a2e | 0c741757a161fac1167c5bb9e1a9082ce759486d | refs/heads/master | 2023-07-11T19:10:08.701843 | 2021-08-29T10:10:05 | 2021-08-29T10:10:05 | 392,570,039 | 2 | 0 | NOASSERTION | 2021-08-17T02:42:04 | 2021-08-04T06:06:32 | R | UTF-8 | R | false | true | 570 | rd | lam_ecr_repo_url.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aws.R
\name{lam_ecr_repo_url}
\alias{lam_ecr_repo_url}
\title{Generate an ECR repo URL}
\usage{
lam_ecr_repo_url(aws_account_id, aws_region, aws_ecr_repository_name)
}
\arguments{
\item{aws_account_id}{Your 12-digit AWS account id}
\item{aws... |
731738c4f7ff99b162156bd1073e32ed6fdb83d2 | a8710ca51f2c3bd9fa19947b0c0c36b4062aaa33 | /R/S11.R | 27b43eccb7930709591c508ab5abb54e6f3306be | [] | no_license | cran/ELT | 2ba6dd97a0de6620120b93fe008a834f5e8e4f6a | 938a633944b42d92572234a4d1c5c12c9463fc94 | refs/heads/master | 2021-01-17T08:48:38.579908 | 2016-04-11T09:06:26 | 2016-04-11T09:06:26 | 17,678,902 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,400 | r | S11.R |
## ------------------------------------------------------------------------ ##
## Script R for "Constructing Entity Specific Prospective Mortality Table ##
## Adjustment to a reference" ##
## ------------------------------------------------------------------------ #... |
def888a61c31d9c2080e53881b14a14a77780c84 | 304b10494c526fa91fbd8c2fb1a15be80751a242 | /man/getResults.Rd | a168c3737679591fab64ec3e36c3ef167aca17bf | [
"MIT"
] | permissive | fxcebx/abbyyR | cb1bf2b2dcda7162c722355d461265360f999978 | c07e664302fa17b36f24a57508736abf9504da39 | refs/heads/master | 2020-12-26T04:15:54.716626 | 2015-09-20T14:03:59 | 2015-09-20T14:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 615 | rd | getResults.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/getResults.R
\name{getResults}
\alias{getResults}
\title{Get Results}
\usage{
getResults(output="")
}
\arguments{
\item{output}{Optional; folder to which you want to save the data from the processed images; Default is same folder as t... |
6d011afb452ab7d9e75938670942a8af09404a0a | b545da725d70f13c023f8b34660b46536a27288d | /older_files/presence_Absence_count.R | 4a6f4a97bdbbcf1fbd6230e3ac6fc844550c91a8 | [] | no_license | baeolophus/ou-grassland-bird-survey | b64849e5b7c3bf63e1854da5454d3295a4df0709 | 5aa9523a3d09d107a7d92140de7fa8ec62fe411a | refs/heads/master | 2020-04-13T05:23:20.801879 | 2019-05-13T18:59:49 | 2019-05-13T18:59:49 | 68,133,712 | 0 | 1 | null | 2016-09-29T21:01:03 | 2016-09-13T18:01:07 | R | UTF-8 | R | false | false | 829 | r | presence_Absence_count.R | #sample sizes of presence and absence by species
#list of species
specieslist <- c("NOBO",
"UPSA",
"HOLA",
"CASP",
"FISP",
"LASP",
"GRSP",
"DICK",
"EAME",
"WEME",
... |
2d8a26f233992059fb87ac9437c4f837415e2f53 | a1460931d495d0515f16d47aae2129eca81fcb1e | /r_scripts/ndnsim_paper_statistics.R | b935776961442f0c4444274e135f54607aa97aed | [] | no_license | danposch/itec-scenarios | 1299053d6391c71253699cccbe47e3472b6d7e46 | 22a58a9819c2e62c9cc5b2f2e1125ea85cf32f33 | refs/heads/master | 2021-01-20T06:28:23.699993 | 2015-01-13T13:05:24 | 2015-01-13T13:05:24 | 16,543,899 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,019 | r | ndnsim_paper_statistics.R | # adapt working directory
setwd("Z:\\concert\\ndnSIM_paper_simulations")
num_runs<-30
num_clients<-100
num_segments<-299
# the script will create variables called the same as the folder that contains the simulation runs
# loop through all variations of the simulations
subfolds<-dir()
for(subfold in ... |
0833f5ab5744ad40324f9f71060f22be1f045490 | 19c8a0a285325c6f77522177fa8ef71d3c304310 | /tests/testthat/test-sf.R | 46f66f661f5fdb72d3a7e19347d37c86c3cb729f | [] | no_license | dcooley/gpx | 87b9931efbf2b2cd0d942833cb4b5c9c833ef1e1 | 342b521266f4a6553affa8d40514f60201831c15 | refs/heads/master | 2020-04-27T23:53:38.260775 | 2019-10-25T20:07:11 | 2019-10-25T20:07:11 | 174,794,900 | 6 | 0 | null | 2019-05-15T10:55:33 | 2019-03-10T08:07:40 | C++ | UTF-8 | R | false | false | 117 | r | test-sf.R | context("sf")
## tests
## track name (and other properties) are propogated
## z_range and m_range (when available)
|
73de33b3937414ae28845337e2623667165d938d | 210dba066acc1bd50f9d8229f5a8deff88720216 | /man/regress.plot.gen.Rd | 0a1289a9d971eb3709e1b29d82466179cbc8b4d3 | [] | no_license | johnypark/divSPtise | 3fb305e4f51d04e809ad6f4a71294ed5c723999a | b488b0978094b242a14860e7d1b38c2b4214ef75 | refs/heads/master | 2020-12-02T18:10:26.253087 | 2018-02-20T23:34:07 | 2018-02-20T23:34:07 | 96,488,162 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,331 | rd | regress.plot.gen.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/regress.plot.gen.R
\name{regress.plot.gen}
\alias{regress.plot.gen}
\title{============================================================================================================
function ..regress.plot.gen()
this function is to generat... |
affd276cfbdc3867df1781834b86ab4965420983 | e0a2289118030bf9600d5684bdf648442cc5f208 | /2X/2.12/GOSemSim/R/gene2GO.R | f07333809655f2bfdf4375e401e28e42f6f21e95 | [] | no_license | GuangchuangYu/bioc-release | af05d6d7fa9c05ab98006cd06ea8df39455e8bae | 886c0ccb1cd2d3911c3d363f7a0cd790e72329b7 | refs/heads/master | 2021-01-11T04:21:25.872653 | 2017-08-03T05:11:41 | 2017-08-03T05:11:41 | 71,201,332 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,868 | r | gene2GO.R | getDb <- function(organism) {
annoDb <- switch(organism,
anopheles = "org.Ag.eg.db",
arabidopsis = "org.At.tair.db",
bovine = "org.Bt.eg.db",
canine = "org.Cf.eg.db",
chicken = "org.Gg.eg.db",
... |
c98018fa207f818dabc5c57c8eddcfbeb87816be | 7c07bda4bf4be142a34214f0f8b2526f88b807f2 | /R/clsave.R | 4742fc4bf6c68bacb68661bebdde8e26f9c530d7 | [] | no_license | zumbov2/colorizer | 2fc48193217ebaa4f69055ba1ed2a1c9788a33db | e0f63f020276261cb24f16f48d44a7a3612f7e25 | refs/heads/master | 2023-01-08T04:13:52.655688 | 2020-11-09T22:29:03 | 2020-11-09T22:29:03 | 306,308,869 | 22 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,376 | r | clsave.R | #' Save Colorized and Juxtaposed Images
#'
#' \code{clsave} saves images that have been colorized using \code{colorize} or
#' juxtaposed with \code{juxtapose}.
#'
#' @param response a response object of a \code{colorize} function call.
#' @param destfile a character string or vector with the name where the images a... |
830322b52acf8a291aeee9375386f246fd7037bb | 0c670a77c2989187703bf630cda5a4c56549f32b | /R/supp_mat_Sensi_phylogentic_uncertainty_ok.R | 54dffaa4e5a168b746eb5600a56bfa0f10baac55 | [] | no_license | paternogbc/ms_global_flower_allometry | cbaed2a6fcc13d409077e0c545833be74ef02751 | 2a880afa720ac4f8f4a8905d10b0059e1d2df236 | refs/heads/master | 2022-04-30T01:18:59.266731 | 2022-03-08T14:03:26 | 2022-03-08T14:03:26 | 226,209,658 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,522 | r | supp_mat_Sensi_phylogentic_uncertainty_ok.R | # Supp. Mat - Sensitivity analysis (Phylogenetic uncertainty)
### Packages:-------------------------------------------------------------------
library(sensiPhy)
library(phylolm)
library(tidyverse)
library(smatr)
library(phytools)
library(cowplot)
### Start--------------------------------------------------------------... |
5156c7c1271b3c772c1cf22edb1433b36b58c6bd | d1b86f5fc93fc226fcfa8a9e8736b692011f2ad8 | /probdist.R | a996d4c84f5f960b25ef5633ab75f830bb48ea58 | [] | no_license | SrijitMukherjee/RCodes | 4fa2a52b53f6f1ec433f2fd01ba1c027b54baec0 | d90962102b623ea9c3f17cca4eaf90f03ad0cd4e | refs/heads/main | 2023-08-29T12:41:51.734329 | 2021-09-18T06:52:02 | 2021-09-18T06:52:02 | 312,255,601 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,097 | r | probdist.R | library(ggfortify)
ui <- shinyUI(fluidPage(
titlePanel(title = h2("Exploring Probability Distributions", align = "center")),
sidebarLayout(
sidebarPanel(
selectInput("distribution", "Choose your Distribution", c("Binomial","Poisson","Geometric","Discrete Uniform","Hypergeometric","Negative Binomial","... |
cabe23f1fff532a39e7633e0a34a5e15f83a52d7 | ae1394b6b2d9bda2e045c9f2e514223c283f96cd | /11_selection_signatures/A13_all_REVIGO_treemap_p0.05_topGOweight_v38.r | e84cb7a58f145f73cc11df1afd0ce6d312525162 | [
"MIT"
] | permissive | susefranssen/Global_genome_diversity_Ldonovani_complex | 64d0eb3732ed14da378d80c71e10f5c67295db7d | 718db6eb103829e546e1ce2692a4c5352c266f2f | refs/heads/master | 2022-04-17T13:35:41.580544 | 2020-03-27T16:55:14 | 2020-03-27T16:55:14 | 220,972,362 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 13,985 | r | A13_all_REVIGO_treemap_p0.05_topGOweight_v38.r |
setwd("~/work/Leish_donovaniComplex/MS01_globalDiversity_Ldonovani/github_scripts/Global_genome_diversity_Ldonovani_complex/11_selection_signatures/")
dir.create("REVIGO_GO_res_visualisation", showWarnings = F)
setwd("REVIGO_GO_res_visualisation")
library(treemap)# treemap package by Martijn Tennekes
library(data.t... |
e36c50bc983e47f97faa6d5671985bfd789b413f | 0cb6966998569275367c1a4465f3e6c4958fcfb6 | /R/zero.ci.R | 8ca5a0bddf19612b3649e325b89b5e5c406c1f31 | [] | no_license | cran/meboot | 2f9c1c2c0351035ff449f377232854f1acd40a88 | 42e4e93fcacce7b5dc9f6fcee7803b45589d11de | refs/heads/master | 2023-09-02T22:08:24.060860 | 2023-08-22T20:20:02 | 2023-08-22T21:30:44 | 18,176,243 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 635 | r | zero.ci.R |
zero.ci <- function(x, confl=0.05)
{
bigj <- length(x)
yle <- x[x<=0] #le=less than or equal to
m1 <- length(yle)
#m1/bigj
ygt <- x[x>0] #gt=greater than
m2 <- length(ygt)
#m2/bigj
# Want confidence interval adjusted so it covers
# the true zero (1-confl)*100 times one realization gives
# on ... |
e1e4cfe4eb9228d2a74c179fc5b14693216063e5 | b7dc4b6d032ced2c7377ea893aba3d59a53e1c65 | /R/mcmc.R | bb0bb7ebd0d2f7222760d702a2abd564dd40329f | [] | no_license | carlislerainey/strategic-mobilization | b293926e44b3c74b9cb4175a7a8c23fc60e156fe | 084df80c01ad337819ef602bd712468bef74c3df | refs/heads/master | 2021-01-25T05:21:36.573554 | 2014-10-21T10:46:56 | 2014-10-21T10:46:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,131 | r | mcmc.R |
# Make sure that working directory is set properly
# setwd("~/Dropbox/projects/strategic-mobilization/")
# Clear workspace
rm(list = ls())
# Load packages
library(Amelia) # for multiple imputation
library(R2jags) # run JAGS from R
# Load the individual-level (with missingness), district-level, and country-level dat... |
f93301841bc62f49b0752ae04a3ddc5d300621ec | f70031dbc28b916f433ef6f0106dfebbfc8c9338 | /cachematrix.R | 79dd425b0ffcf751097aa5173a012eceba6e6214 | [] | no_license | Calctron/ProgrammingAssignment2 | fc8ea107e509da6cc16c740f3e07e29bb8db7336 | 3dd3da4ac9ba1379a39f9c5f5f805dcf449ff0cb | refs/heads/master | 2022-02-11T06:41:03.712760 | 2019-07-22T20:41:52 | 2019-07-22T20:41:52 | 198,129,103 | 0 | 0 | null | 2019-07-22T02:05:38 | 2019-07-22T02:05:37 | null | UTF-8 | R | false | false | 953 | r | cachematrix.R | # These functions create a list to cache a matrix and its inverse
# and calculate the inverse if it is not already cached.
# This function creates a list that stores the matrix a user
# gives as input and its inverse.
makeCacheMatrix <- function(x = matrix()) {
i <- NULL
set <- function(y){
... |
3d0a67a4fbf0e066496a5ee163b42cab024be7b3 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Numerical_Methods_In_Finance_And_Economics:_A_Matlab-Based_Introduction_by_Paolo_Brandimarte/CH8/EX8.3/Page_436_StopLoss.R | b6c4024f7a76d950110d229f3a2687797588d89b | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 1,420 | r | Page_436_StopLoss.R | require(pracma)
require(tictoc)
StopLoss <- function(S0,K,mu,sigma,r,T,Paths) {
NRepl = dim(Paths)[1]
NSteps = dim(Paths)[2]
NSteps = NSteps - 1
# true number of steps
Cost = matrix(0,NRepl,1)
dt = T/NSteps
DiscountFactors = exp(-r*(seq(0,NSteps,1)*dt))
for (k in 1:NRepl){
CashFlows = matrix(0,NStep... |
9e817814790f5d552fdac0f37d6b06da1680902b | 68912c6d14de1ddbced5ece23eb7ba3531ba817b | /R/dontTouch.R | 49c80a86f315d73a6a7291ef7c3b08036a4f3ec7 | [] | no_license | Auburngrads/DODschools | 8defd7540c6378dd4ea448c47de4a543884ba472 | ab790d0f3a3ad3b45c47a742cc0db90db260ddc9 | refs/heads/master | 2022-11-21T17:13:17.340805 | 2020-07-20T13:13:12 | 2020-07-20T13:13:12 | 93,908,492 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,158 | r | dontTouch.R | #' Extract YAML data from metadata.yml
#'
#' @param file Path to the YAML file
#'
#' @importFrom yaml yaml.load_file
dontTouch <- function(file = NULL) {
yaml <- yaml::yaml.load_file(file)
yaml$affil1 <- paste(c(yaml$affiliation1$university_name,
yaml$affiliation1$faculty_group,
... |
51a262cc5bf6e2ed1c342474af68cc1b45172f1a | 5343587b76fdadeb0dbd8c5d2a4ce3e6422af6fb | /RProjects/Plots.R | 5f011ea66f904d4b4c290c9c38af0bc0a15a8983 | [
"Apache-2.0"
] | permissive | Ankusha/yarn-monitoring | 2822bf9a1c75967d678e489e6deeee13f3f41c81 | edf02d944029dc87f156b67c6e494dfd42c7e830 | refs/heads/master | 2021-01-18T10:18:56.339237 | 2014-07-15T23:10:05 | 2014-07-15T23:10:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,319 | r | Plots.R | source("RProjects/MRRun.R")
source("RProjects/MRRun.R")
source("RProjects/MRTest.R")
plotInputBytesRead<-function(mrtest)
{
res<-vector()
for(i in 1:length(mrtest))
{
res<-c(res, mean(getInputBytesOfMapTasks.mrrun(mrtest[[i]])/(1024*1024)))
}
plot(res,type="l", xlab="run",ylab="mbytes")
}
plotElapsedMap... |
15573adbd0029d4c4a11268f75c41c9e014db358 | 2f6361c852232dbece768fcc2ceca2d617727410 | /R/01_get_cubes.R | 1f3b262450c15be762172f10a878e9d6e266310b | [] | no_license | Datawheel/datachile-r | 53b2de5027cd129b149eed851e1284f3ee8de338 | e75a5dacba18a1a34f05c6555b080d2b3718af77 | refs/heads/master | 2021-01-25T13:41:23.822015 | 2018-03-02T20:00:18 | 2018-03-02T20:00:18 | 123,605,225 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 776 | r | 01_get_cubes.R | #' Obtain available cubes
#' @export
#' @keywords functions
get_cubes <- function() {
ua <- user_agent("httr")
url <- "https://chilecube.datawheel.us/cubes"
resp <- GET(url, ua)
if (http_type(resp) != "application/json") {
stop("API did not return json", call. = FALSE)
}
parsed <- fromJSON(content(... |
b2127fd88f823c7dd3f43013e50ff62d6c5b3956 | 753e3ba2b9c0cf41ed6fc6fb1c6d583af7b017ed | /service/paws.cloudformation/man/paws.cloudformation-package.Rd | 5c2ed6cdab9d3fb8da6bb139242ea435e9c9cad8 | [
"Apache-2.0"
] | permissive | CR-Mercado/paws | 9b3902370f752fe84d818c1cda9f4344d9e06a48 | cabc7c3ab02a7a75fe1ac91f6fa256ce13d14983 | refs/heads/master | 2020-04-24T06:52:44.839393 | 2019-02-17T18:18:20 | 2019-02-17T18:18:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,008 | rd | paws.cloudformation-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paws.cloudformation_package.R
\docType{package}
\name{paws.cloudformation-package}
\alias{paws.cloudformation}
\alias{paws.cloudformation-package}
\title{paws.cloudformation: AWS CloudFormation}
\description{
AWS CloudFormation allows you to ... |
92b860ba6083438678a6f196f4ec8ac8c4a8dfe3 | 9d953f2653fe4f86be11e778eddbe1c9f287717b | /Plot5.R | 7cd8edca696bd971882306de81b3fa7907a47e58 | [] | no_license | ww44ss/EDA_Project2 | b7feb007af504dc8c21b3f1ed70a8845f6dd0277 | 33d9493b8846cdc85411f05702f37dc46ed98666 | refs/heads/master | 2021-01-01T16:00:11.057034 | 2014-09-23T14:08:39 | 2014-09-23T14:08:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,461 | r | Plot5.R | ## EDA Project 2
## WAS
## August 2014
## Plot5.R
## Creates a plot of total PM2.5 emissions for Question 1.
## Get packages
require(RDS)
require(ggplot2)
## GET DATA
## this simple instruction just checks to see if the data are already in memory and if not then rread them in.
## it turns out this has been a huge t... |
5777d030daf4e7a4c5bbe4dd27f43c0a52435243 | 86ec5a7a1fbacca6ffff7224fd97c2a7684a6cfa | /cnv_analysis/gCSI/plotDrugLR.R | 5dee15fec75ccf10997533a4c421d5ef1616088a | [] | no_license | bhklab/CellLineConcordance | f07cadd4a45236d926964a8f6a5cc8e38efb4a91 | acdb1ef9b7da474805d47642ac0abb4484982412 | refs/heads/master | 2021-03-27T09:23:50.147393 | 2019-07-31T14:01:06 | 2019-07-31T14:01:06 | 90,164,953 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,128 | r | plotDrugLR.R | library(gplots)
library(gtools)
library(scales)
library(reshape)
library(ggplot2)
library("RColorBrewer")
plotNoncordantCl <- function(x, title, target, binarize=FALSE,
nonmatch.threshold=0.7, ambiguous.threshold=0.8,
order=TRUE){
myPalette <- colorRampPalet... |
3b14cab99d12876938c564fddab6ce896ba7e350 | 6b93feb6f3e914fd50a2a0e125c1a8b22f533b8b | /Reporte_Grafico_ALL_Vphase.R | 478962f846c53d13aefc6aab4d6c339b7942d5ea | [] | no_license | porrasgeorge/ReporteGuana | e9c3e507c438fc427356de06e5f1ac2c91744c3b | 201b6246ba3c295772d315b1ce295d9a3068a225 | refs/heads/master | 2021-05-17T04:18:22.614953 | 2020-07-05T19:40:17 | 2020-07-05T19:40:17 | 250,619,057 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,792 | r | Reporte_Grafico_ALL_Vphase.R | Vphase_Report <- function(initial_dateCR, period_time, sources) {
## Constantes
# tension nomimal
tn <- 14376.02
limit087 <- 0.87 * tn
limit091 <- 0.91 * tn
limit093 <- 0.93 * tn
limit095 <- 0.95 * tn
limit105 <- 1.05 * tn
limit107 <- 1.07 * tn
limit109 <- 1.09 * tn
limit113 <- 1.13 * tn
#... |
3075af99a52ef2b42919aef2c2a3643268b0637f | a6332520faffad807736705a1fb1625959a66dcc | /code/scripts/laptop/edgeR_2017_P1rnaseq.R | 2cea35f563efa11d4bbcc5fac0555194cfafa5f7 | [] | no_license | tgallagh/EE283project | d74b6c0773351ac95a5deb759b47d8f1b1feccc6 | c59f18bcf97f240878365adc79fb1bbd86df3a6a | refs/heads/master | 2021-01-23T02:35:32.433232 | 2017-03-27T20:48:06 | 2017-03-27T20:48:06 | 86,010,650 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,594 | r | edgeR_2017_P1rnaseq.R | #3/25/17
#script for my macbook
#R version 3.3.1
#EdgeR analysis of HTSEQcount output
setwd("/Users/Tara/GoogleDrive/P1_RNAseq/output/edgeR/")
#source("http://bioconductor.org/biocLite.R")
#biocLite("edgeR")
#install.packages("reshape2")
require("edgeR")
require("ggplot2")
#import data
counts <- read.table("/Users/... |
f478ae50393fd2743e0005d13c079b3df0286151 | f9e7af7b91fd3e0619e5b6b2ac025f40392aa81a | /tests/testthat/test-ast.R | 6a2e2ad459e876235e2e354b45ab33cfc117795c | [
"MIT"
] | permissive | r-lib/lobstr | 0d34f3dae9059ed9d6e6b8c982e830077bb546e8 | d9ea7fb56632590f66bc4cb41f0d0a97875607c1 | refs/heads/main | 2023-08-23T10:43:53.526709 | 2022-06-23T13:34:01 | 2022-06-23T13:34:01 | 32,606,771 | 261 | 32 | NOASSERTION | 2022-06-22T14:13:04 | 2015-03-20T20:57:44 | R | UTF-8 | R | false | false | 785 | r | test-ast.R | test_that("quosures print same as expressions", {
expect_equal(ast_tree(quo(x)), ast_tree(expr(x)))
})
test_that("can print complex expression", {
skip_on_os("windows")
x <- expr(function(x) if (x > 1) f(y$x, "x", g()))
expect_snapshot({
ast(!!x)
})
})
test_that("can print complex expression without un... |
5caab158c3645f0e2bdc70f1d1d40a92d08835e1 | 0dbd60b634c090f2153f21f945fb306495a67df6 | /R/ROMS_COBALT/make_force_ltl.R | 4cea6a18fd3ae26deafaf3ae61876edd8f4e5ae3 | [] | no_license | wechuli/large-pr | afa8ec8535dd3917f4f05476aa54ddac7a5e9741 | 5dea2a26fb71e9f996fd0b3ab6b069a31a44a43f | refs/heads/master | 2022-12-11T14:00:18.003421 | 2020-09-14T14:17:54 | 2020-09-14T14:17:54 | 295,407,336 | 0 | 0 | null | 2020-09-14T14:17:55 | 2020-09-14T12:20:52 | TypeScript | UTF-8 | R | false | false | 10,510 | r | make_force_ltl.R | #'@title creates ltl forcing files from ROMS_COBALT data
#'
#'Creates ltl forcing files similarly structured to temp/salt
#'files made by hydroconstruct. Assumes structure
#'of files made by ROMS_to_hydroconstruct script.
#'Works on one year at a time.
#'
#'Author: Hem Nalini Morzaria Luna, modified by J.Caracappa
#'... |
258f395bdeb11eab6c11f345a34f18da69e46fcd | 906f05f4a01eb6e8d745209fa6f346edf0190a26 | /R Code/server.R | 5ca0829f9a80d24bcf1fea1e92250044ad556165 | [] | no_license | irecasens/govhack_team | e729b5ad70e7e43be5f93c61bc3e8d5fc25ad536 | 62526525b72cb32ed4bcdf3cc4d237a676cefbec | refs/heads/master | 2021-01-01T19:41:43.781882 | 2017-08-07T04:47:01 | 2017-08-07T04:47:01 | 98,654,219 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,825 | r | server.R | # server.R
library(shiny)
library(maps)
library(mapproj)
library(readxl)
library(ggplot2)
library(dplyr)
library(ggmap)
library(ggthemes)
tidy_viz = read.csv('tidy_viz.csv')
map <- get_map(location = 'Melbourne', maptype = "satellite", zoom = 15)
create_map <- function(data)
{
ggmap(map, extent = "device") + geom... |
1c967cd2cb784766d885e192c87aadf36b678704 | 9077699975ffc6239097170bcc851790a5967dc6 | /R/MatchesIndices.r | 7ac0f19139d27274dbc2dcc8a4a121058a2d33a1 | [] | no_license | cran/HFWutils | 8eec52f548293d2057cbfdaad9bdaac39524ba20 | fa8bdcc82482007e09cfa6207ba7d5bd4189853c | refs/heads/master | 2021-01-01T15:51:28.662706 | 2008-05-17T00:00:00 | 2008-05-17T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 582 | r | MatchesIndices.r | MatchesIndices <- function (x,patt,fixed=FALSE)
{
indexF <- function(x) length(unlist(x))>0
M <- Matches(
Vector = x,
patt = patt,
fixed = fixe... |
f11e316f6edd883c539f73aecedfa486b6923757 | 3cd471fd83cdb44fa6f8b938737dd4d192ac323d | /man/vote_history.Rd | f92308e74dcfeacbd438f9c7d0c01ee9ae2fa493 | [
"MIT"
] | permissive | chas-mellish/survivoR | a4a8f7567630e534cd7c840bf13740259c3114ca | 0068ac1565c3093b8d95ddb987dfec976c433051 | refs/heads/master | 2023-04-19T22:33:15.059513 | 2021-05-11T12:58:47 | 2021-05-11T12:58:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,156 | rd | vote_history.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{vote_history}
\alias{vote_history}
\title{Vote history}
\format{
This data frame contains the following columns:
\describe{
\item{\code{season_name}}{The season name}
\item{\code{season}}{The season number}... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.