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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e8d5f63bb1bd5ca5296609d54dcd0ecdef1d2f3a | 3ae15c160733d93b01156b792c0d485fdfd63aea | /fork-bomb.r | 7dac2a6cda112269de53516b448b84cbabc9b878 | [
"Unlicense"
] | permissive | Backup-eric645/fork-bomb | 3a7d49c4ebfd6e44e2ca7173cf006ab59df23a0f | 67bcd9396b03b4e662593b27b50082747d2a9098 | refs/heads/master | 2021-05-23T13:37:42.945791 | 2020-04-05T21:11:01 | 2020-04-05T21:11:01 | 253,315,585 | 1 | 0 | Unlicense | 2020-04-05T19:30:10 | 2020-04-05T19:30:10 | null | UTF-8 | R | false | false | 41 | r | fork-bomb.r | library(multicore)
while (TRUE) fork()
|
7d8e8ccb83327e255b83f35f841708c1fd70d0ed | 5f8497ec36417aa1dfc9a8f687c979b47d40556e | /R/likelihoodRatioSelection.R | eb591c9a48fb5c36469bc03da71da660ea6ad669 | [] | no_license | garthtarr/ClassifyR | f51bf32f99f58da59a416d017343e144cebfd4a2 | 5a7b9afa510753ed8422c74efa978f72e51049d1 | refs/heads/master | 2020-03-20T07:43:28.366037 | 2018-04-30T14:41:40 | 2018-04-30T14:41:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,213 | r | likelihoodRatioSelection.R | setGeneric("likelihoodRatioSelection", function(measurements, ...)
{standardGeneric("likelihoodRatioSelection")})
# Matrix of numeric measurements.
setMethod("likelihoodRatioSelection", "matrix", function(measurements, classes, ...)
{
likelihoodRatioSelection(DataFrame(t(measurements), check.names = FALSE... |
c6735409023b22721b7ae0075e06694b1e6a614f | 8b423736b1ed57097bbb7cb9706cbfb58aecd5c4 | /.Rproj.user/9290F97D/sources/s-E1D1340C/9C088814-contents | f5d9dbbab4dc9bcdb3fd7f2abd1ca9f8af7fdd97 | [] | no_license | FredericLoge/taskDrivenRandomForest | ef06aa5ecc99a47361109e57d3e851f5efe68385 | dae0922e5ed37e6739a16227cfefb620195999ba | refs/heads/master | 2020-09-08T03:03:08.969500 | 2019-11-11T14:25:06 | 2019-11-11T14:25:06 | 220,996,018 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,868 | 9C088814-contents | #' @title This function computes greedily the best split for samples (x, y) for a customized loss function
#' @param x a matrix, representing the features of parent node observations
#' @param y a vector, representing the target of parent node observations
#' @param customized_loss_foo loss function user-specified, whi... | |
75e64d76a98e423e4a66e0fd1d15ad315cd4382a | 076d000d41c9d0bbf387521a3e967f05b7e03b68 | /Scripts/RasterizeResults/ResultRasters_Avg.R | 5953de0c85f69754b9b425ff3dcc50625babc3d0 | [] | no_license | rilllydi/MidwestSALUS | 9ab12be37e70c545530566570fefc73863ea62fb | 54ae5060061629ac9647a7528b6480ed5387ec72 | refs/heads/master | 2021-04-30T17:34:30.208111 | 2017-02-02T20:39:49 | 2017-02-02T20:39:49 | 80,221,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,481 | r | ResultRasters_Avg.R | # This script extracts data from the Soil/CDL raster. It also uses the Weather polygon shapefile to determine weather grid points for each raster pixel.
# The SALUS results (per MUKEY and weather ID) are matched to each pixel grid point
# A new raster for average GWAD, CWAD, and max NLCC is create for each state.
# No... |
f1de987a58a96d8303d02a42adb0fa9c3a6d647a | d193bbb36f572b6ab9a14fd02b0647b83f2df2ba | /tests/testthat/test-utils.R | 888d4615f09b915e4a1a31fc1e29ff8fcf8e008a | [] | no_license | gaborcsardi/argufy | 9e7f9d0c137f2ca2e9f88ce4dca31b57407a836c | bceef7904eef178c9aa67709940a29c1483c3c13 | refs/heads/master | 2020-12-24T16:16:08.348182 | 2016-03-12T14:54:45 | 2016-03-12T14:54:45 | 40,500,181 | 34 | 1 | null | 2016-02-02T14:55:32 | 2015-08-10T18:56:23 | R | UTF-8 | R | false | false | 1,902 | r | test-utils.R |
context("Utilities")
test_that("find_parent", {
f <- function() {
foo <- "bar"
g()
}
g <- function() {
parent <- find_parent(quote(f))
expect_equal(
get("foo", envir = sys.frame(parent)),
"bar"
)
}
f()
})
test_that("find_all_parents", {
f <- function(recurse = FALSE) {... |
b37a7345adaab8df3a62da36d23168393554bc08 | b4c321b3ee864ff55f42442e2cd8ec309002e7d8 | /TOPIC1/topic1.R | 86849a77f7c838b7d948932c4775ccb2ef680e90 | [] | no_license | ColinRho/L_POINT | 1b2236ce19e76818bfed60075ef904a56e224824 | 87fad4fad5da705903eefa4df8a23c3f8d124d1c | refs/heads/master | 2021-01-10T18:19:13.156434 | 2016-01-08T09:30:58 | 2016-01-08T09:30:58 | 48,106,600 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,743 | r | topic1.R | ### TOPIC 1.
## 분석목적: 상품 출시 후 반응 진단 및 향후 매출 예측
## 평가기준
# - 모델 적합성(45) : 분석 데이터 가공, 통계적 적용에 따른 최적의 방법론
# - 독창성(20) : 분석 방법의 다양성 및 창의성
# - 결과활용도(25) : 분석 결과 해석의 적합성 및 활용성
# - 프레젠테이션(10) : 명확한 표현 및 효과적인 의사전달
suppressPackageStartupMessages({
library(data.table)
library(dplyr)
library(ggplot2)
})
#########... |
3b1a2d6a77a9e547c65c7af215c57a057d57da2e | c0e8ed5f61647f58ab98a7f83eebcd0dac8a02d9 | /R/calculate_TOWT_model_predictions.R | 680cbd377638dffa8faaeb137dc9c95f16390ff4 | [
"MIT"
] | permissive | LW-G38/nmecr | 08bb9391a50c61f727fe1edf9331832a1d92883c | dd7556430c5d91495df9e89bc7bd761af532e69a | refs/heads/master | 2020-09-17T07:21:43.950487 | 2019-11-27T20:25:53 | 2019-11-27T20:25:53 | 224,034,107 | 1 | 0 | MIT | 2019-11-27T20:25:54 | 2019-11-25T20:22:29 | null | UTF-8 | R | false | false | 3,898 | r | calculate_TOWT_model_predictions.R | #' Calculate TOWT model predictions
#'
#' \code{This function calculates predictions from model_with_TOWT}
#'
#' @param training_data Training dataframe and operating mode dataframe. Output from create_dataframe
#' @param prediction_data Prediction dataframe and operating mode dataframe. Output from create_dataframe
#'... |
fdbf4541599f5359684e8d1d4eed3bf2aeafb801 | d47833e60e3b9760619cf9c348d97b188f342db3 | /MobileNetworkDataSimulationTemplate/code/src/deduplication/man/getGenericModel.Rd | ef4e60ec7c48908fadb8d36a5a65f702f582f15b | [] | no_license | Lorencrack3/TFG-Lorenzo | 1a8ef9dedee45edda19ec93146e9f7701d261fbc | e781b139e59a338d78bdaf4d5b73605de222cd1c | refs/heads/main | 2023-06-04T00:23:16.141485 | 2021-06-29T21:31:25 | 2021-06-29T21:31:25 | 364,060,022 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,222 | rd | getGenericModel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getGenericModel.R
\name{getGenericModel}
\alias{getGenericModel}
\title{Builds the generic HMM model.}
\usage{
getGenericModel(
nrows,
ncols,
emissionProbs,
initSteady = TRUE,
aprioriProb = NULL
)
}
\arguments{
\item{nrows}{Number o... |
0d94ea88a5a555ada99a1eb93f280bb9a3a0fe67 | b4b05cee5fd571d1b4f7483d38308065d94add4f | /R/datanode.R | 43ca614d6897648f1b9678c32962f4d267a49ea7 | [] | no_license | jullybobble/datanodes | d55ddfd87a03b0e9497bcc10e8c7a75499a612fd | 84c222108f0b07d7cedc0e066b7fdc038a8139c0 | refs/heads/master | 2021-01-10T09:29:48.983346 | 2015-06-14T08:34:03 | 2015-06-14T08:34:03 | 36,557,937 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,106 | r | datanode.R | #' Cache the result of a given expression.
#'
#' Evaluates an expression and caches its result. If a cache exists, the
#' expression is re-evaluated only if one of the dependency files is more
#' recent than the cache.
#'
#' The given expression \code{expr} is evaluated only if one of the
#' following condition is true... |
b068fea3270f7c39d3eac3b329d924bff99fa71f | 087b18969b18b4c1ec310b1a74dd35c845ce9b4d | /plot1.R | a608a659402aecb0a337ced59e81e324de664fe2 | [] | no_license | DigitalSocrates/ExData_Plotting1 | 3562f3c5d4143bede20a7b3d26fae3ccff154c74 | 61a13b26a1049c555a5e056dd1de0ed84a0c168e | refs/heads/master | 2021-01-18T13:14:18.498029 | 2015-11-15T03:00:32 | 2015-11-15T03:00:32 | 46,198,288 | 0 | 0 | null | 2015-11-15T00:42:57 | 2015-11-15T00:42:57 | null | UTF-8 | R | false | false | 756 | r | plot1.R | plot1 <- function() {
# specify output file
png(file = "plot1.png")
#Read raw data from a txt file
# specify: keep header and define delimiter
rawData <- read.table("household_power_consumption.txt", header=TRUE, sep=";", stringsAsFactors=FALSE, na.strings="?")
# tranform a column in a raw dataset and assig... |
c85621a04b8bd05c6406c92338594b04e02f1996 | d6759ae2d4ea707fce4a65ba1c4c0bf999395236 | /man/verify.Rd | e28f42336ff6b84613e607aac9610424354304db | [
"MIT"
] | permissive | xtmgah/assertr | 9855af8db9353229d133f25e768450d2ad3f651c | fd4042a594fbd62a1803dbfe38edeabdb9f7352d | refs/heads/master | 2020-12-26T04:55:14.240432 | 2015-01-23T19:56:01 | 2015-01-23T19:56:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,280 | rd | verify.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/assertions.R
\name{verify}
\alias{verify}
\title{Raises error if expression is FALSE anywhere}
\usage{
verify(data, expr)
}
\arguments{
\item{data}{A data frame, list, or environment}
\item{expr}{A logical expression}
}
\value{
data ... |
330c22b3e5a7600e0676969e562ce39af4fdfcb8 | c7663ac9bc5171eef2fc488c150e7214f5ad74fa | /R Programming/while_s.R | 5da423154480e88991d95aa2028c2948b6ad66f0 | [] | no_license | androidpcguy/datasciencecoursera | d6c7009d4894ecce17a374d022f15fa75acad083 | bcfc15ae63ae3c09522cebc8f95cb7167e6c3366 | refs/heads/master | 2021-01-01T18:23:41.685126 | 2015-08-28T05:01:57 | 2015-08-28T05:01:57 | 40,271,179 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 132 | r | while_s.R | z <- 5
coin <- 1
while(z>= 3 && z <= 10) {
print(z)
coin <- rbinom(1,1,0.5)
z <- if(coin == 1) {
z + 1
} else {
z-1 }
}
|
af4400d76f85f37ab47650b24096b00434c2cc7c | 5f413d1ac57354edbb3735265c64fcc20f801b30 | /tuto5/Oil_price forecasting.R | 5683084b35ffa4f30852211e83189509f1006f1c | [] | no_license | otakoryu/Econometrics-for-Finance | b3f89d050095fcd43853c33ed1835bb5fce24e05 | 9294566a037354b49576b8ccd662eb1812e99fef | refs/heads/master | 2020-04-29T22:32:38.657075 | 2019-03-19T08:22:43 | 2019-03-19T08:22:43 | 176,450,833 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,299 | r | Oil_price forecasting.R | crude.oil<-read.delim("crude.txt",header=T)
attach(crude.oil)
crude<-ts(crude)
plot(crude)
crude.r<-100*diff(log(crude))
plot(crude.r)
library("quantmod")
chartSeries(crude.r,type = "candles")
candleChart(crude.r)
acf(crude.r)
pacf(crude.r)
library(tseries)
adf.test(crude.r)
length(crude.r)
crud... |
d31e11f0c5b6e876acb3cf1630c21fc04f559219 | 4f2743db548d08f57ec5c441011d94c28aa0ccac | /man/metaplot_character.Rd | 07b322938a319557d38a9c792a13aaf27670396f | [] | no_license | bergsmat/nonmemica | 85cdf26fa83c0fcccc89112c5843958669373a2a | 8eddf25fdd603a5aca719a665c5b9475013c55b3 | refs/heads/master | 2023-09-04T06:10:48.651153 | 2023-08-28T13:23:18 | 2023-08-28T13:23:18 | 78,268,029 | 4 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,267 | rd | metaplot_character.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/superset.R
\name{metaplot_character}
\alias{metaplot_character}
\title{Metaplot Character, Standard Evaluation}
\usage{
metaplot_character(x, groups, meta = NULL, subset, var, ...)
}
\arguments{
\item{x}{object}
\item{groups}{columns by whic... |
774330d8abc54f9b0c30f139e836b68e4f2570ea | 50077e1b39dd5c29cde35299667f46f74a5479f2 | /man/synthesize.Rd | 8058982b7112adabc15647350d16a2a101145f3c | [] | no_license | dkyleward/ipfr | 812ddab7296c9406040fd92619d994470dce9de4 | 0e4aad0b624a3816132d7ddc03cca468cdfc6996 | refs/heads/master | 2021-07-02T21:40:53.377678 | 2020-04-02T13:02:12 | 2020-04-02T13:02:12 | 199,922,071 | 4 | 4 | null | 2020-11-20T15:01:03 | 2019-07-31T20:09:55 | R | UTF-8 | R | false | true | 1,513 | rd | synthesize.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/synthesize.R
\name{synthesize}
\alias{synthesize}
\title{Creates a synthetic population based on ipu results}
\usage{
synthesize(weight_tbl, group_by = NULL, primary_id = "id")
}
\arguments{
\item{weight_tbl}{the \code{data.frame} of the same... |
2c47bf158a3ff0dbb509f7c7b77f82b5817b322d | 408427dfca1d2c58bc91ff2e5477253aafbf0213 | /Web traffic/web traffic 2.R | ef7beaa4d7828fb2bb96a538f07969a9cf1389c9 | [] | no_license | krag57/DS-Python | 71a846122720b0dc97f8ed9b8b9f519a2cb4ce00 | a115a6837ffb1d9292ec3e427177fbf83578be1a | refs/heads/master | 2021-01-05T12:42:05.409127 | 2020-02-26T17:53:13 | 2020-02-26T17:53:13 | 241,027,104 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 387 | r | web traffic 2.R | #install.packages("forecast")
library(forecast)
data <- readLines(file("stdin"))
#data <- readLines(file("input.txt"))
d <- as.numeric(data)
startDate <- as.Date("2012-10-01")
t <- ts(as.numeric(d[2:d[1]+1]),start = startDate, frequency = 10)
set.seed(123)
fit <- nnetar(t, decay=0.5, maxit=10)
fcast ... |
0b2221a192b365934af9c2c63b5de9e8f1c29353 | d859174ad3cb31ab87088437cd1f0411a9d7449b | /autonomics.import/man/filter_exprs_replicated_in_some_subgroup.Rd | d1119a8f2eb6862e8eefa9417d032e0ed936a4a1 | [] | no_license | bhagwataditya/autonomics0 | 97c73d0a809aea5b4c9ef2bf3f886614eceb7a3c | c7ca7b69161e5181409c6b1ebcbeede4afde9974 | refs/heads/master | 2023-02-24T21:33:02.717621 | 2021-01-29T16:30:54 | 2021-01-29T16:30:54 | 133,491,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 884 | rd | filter_exprs_replicated_in_some_subgroup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filter.R
\name{filter_exprs_replicated_in_some_subgroup}
\alias{filter_exprs_replicated_in_some_subgroup}
\title{Filter features with replicated expression in some subgroup}
\usage{
filter_exprs_replicated_in_some_subgroup(
object,
compar... |
53dad58a767ca93921b31b94c8f47774e333590d | f527faa5336900eb9108fde1c2da41c117fdc415 | /src/regres.R | 4aa72539d27614d606d1075b39d8f6cfb175f389 | [] | no_license | racarlos/optimizeR | 04c29e48bef269b1f2dcbf3ca8462ec74810a8ee | ff12cecd3dc95e4ed9cb59f90227a606559d3639 | refs/heads/master | 2023-03-24T16:59:56.498359 | 2021-03-20T10:21:45 | 2021-03-20T10:21:45 | 349,691,407 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,492 | r | regres.R | # Author: Carlos Robie A.
# Student No: 2018 - 03026
# Gauss Jordan Function for solving the system of equations
GaussJordanMethod <- function(matrix){
# Gets the augcoeff matrix and the variables
test = matrix
# For the row and column of the matrix
row = nrow(test)
col = ncol(test)
... |
f998259ff8323a62038555e6da4f011015591fdb | 5c2e9b10687dc0d7c98173698e5c538f84e4538e | /R/environments.R | 85968b59d4edc77f833c057c252f423a6f79b13d | [] | no_license | miraisolutions/styler | 3e3c5facd4a1bf4d2ed709af40380f4a42e95bbb | de626c98680c9ddf82e3c78d2d9926c7d657c172 | refs/heads/master | 2020-03-20T14:45:13.829347 | 2019-02-15T18:48:01 | 2019-02-15T18:48:01 | 137,494,448 | 1 | 0 | null | 2019-02-15T18:48:02 | 2018-06-15T14:03:11 | R | UTF-8 | R | false | false | 1,989 | r | environments.R | #' Work with parser versions
#'
#' The structure of the parse data affects many operations in styler. There was
#' unexpected behaviour of the parser that styler was initially designed to work
#' around. Examples are [#187](https://github.com/r-lib/styler/issues/187),
#' [#216](https://github.com/r-lib/styler/issues/21... |
3c790c9a8ec0488f47ebdccc5fb1f987925a85aa | ba95ca23cd4d1463fba07d6f88cdfa5fb0e7ebce | /R/localDB.R | a68ab5ab815ada8c32087851abc208c8dbf11c3b | [] | no_license | adrianacarmo/FunctSNP | b0ae937ac0dfb09f54a2658bc066b8cc24c58c2a | 1b52238c1d203d2c3df8ef49f7f18cbe5cbbf7f6 | refs/heads/master | 2021-01-18T02:39:48.461738 | 2010-02-01T00:00:00 | 2010-02-01T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,282 | r | localDB.R | # download pre-assembled/supported database
downloadDB <- function (speciesCode,db.list=FALSE) {
dest.dir <- paste(.install.location(), "extdata", sep=.Platform$file.sep)
#list databases that can be downloaded
if (db.list==TRUE) {
print(.supportedConfig[,c("code","species")])
} else {
... |
1ee29d5f0d0d34cff620a454449f5614e5038239 | 990a049d3ad2341cc32b82e14ee94a342f9d3a8f | /man/plus.Rd | 12ae59cbae9d2ae404378dad317f88fd1d9cd92c | [
"Apache-2.0"
] | permissive | JDOsborne1/AOC2019 | 7fb5644589a283afb5e565b4e3a4162922c2315e | 5c3e50a8b2c1b0de7ea0499a713fea396e60cc87 | refs/heads/master | 2020-09-23T08:12:24.999663 | 2019-12-14T12:21:28 | 2019-12-14T12:21:28 | 225,449,016 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 264 | rd | plus.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Day_3.R
\name{plus}
\alias{plus}
\title{Written wrapper around `+`}
\usage{
plus(x, y)
}
\arguments{
\item{x}{LHS}
\item{y}{RHS}
}
\value{
}
\description{
Written wrapper around `+`
}
|
20e5c326c59444a13998a92f0e06eab0d505c8fe | 53b811328857ef4a8023d963c49ec9c61427f677 | /src/Linear_method.R | c6a88e8e50cd77c63b68f365e4070019c840cef6 | [] | no_license | ClemenceKiehl/Prediction-of-odour-based-on-molecular-property | 993f7b11c0373b3fc1ea422d908c20566b585c75 | a0f67ca60f3ce2e55eeb3d66734620cae03c2613 | refs/heads/main | 2023-03-19T07:08:56.788532 | 2020-12-21T16:56:58 | 2020-12-21T16:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,574 | r | Linear_method.R | library(readr)
library(tidymodels)
library(ROCR)
library(glmnet)
library(caret)
library(PerformanceAnalytics)
library(tensorflow) #use_session_with_seed
use_session_with_seed(199)
#Load data
test_data <- read_csv(file.path("data/test_data.csv"))
training_data <- read_csv(file.path("data/training_data.csv"))
data <- ... |
ed4b70be67cb81763c90da146209f22a1377b59c | be470e53cd8023986847e721c0f0df462b2e01d2 | /man/ChoiceModelDesign.Rd | df21d854ac1392c4789bc06d57d28c0bc4c8b581 | [] | no_license | NailKarimli/flipChoice | a48c924d50f8342aa4500332e2c66b24dff7d724 | 948d2424aa16779b3b05dde7b55ae2a7a273565e | refs/heads/master | 2023-03-16T18:42:24.068699 | 2018-03-08T02:39:33 | 2018-03-08T02:39:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,643 | rd | ChoiceModelDesign.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/experimentaldesign.R
\name{ChoiceModelDesign}
\alias{ChoiceModelDesign}
\title{Choice modeling experimental design}
\usage{
ChoiceModelDesign(design.algorithm = c("Random", "Shortcut",
"Balanced overlap", "Complete enumeration", "Efficient"... |
cd0a42565dad6f22e4fed5a97c872c0d7e54c83b | b406befbab9bcf0ea7c0eac21d6e163c3888ef9a | /man/ftest.pow.Rd | 5878744f682965ad91a2734bd83fc0a3b2b8cd81 | [] | no_license | olli0601/abc.star | 0f5fc8a3d1d4ba7edb3719dc46b688454bab9cfa | dbda96d2e52b096e74a2fbdef32f3443b45da7a7 | refs/heads/master | 2016-09-15T03:35:43.924846 | 2016-04-14T20:11:38 | 2016-04-14T20:11:38 | 8,214,145 | 0 | 1 | null | 2016-04-03T13:43:53 | 2013-02-15T07:11:58 | R | UTF-8 | R | false | true | 2,483 | rd | ftest.pow.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ftest.R
\name{ftest.pow}
\alias{ftest.pow}
\title{\code{ftest} power function}
\usage{
ftest.pow(rho, tau, n.of.y, p, alpha = 0.01, support = c(0, Inf),
log = FALSE, norm = 1)
}
\arguments{
\item{rho}{Vector of quantiles}
\item{tau}{Upper ... |
25d3f8fa94feb6eb37a69c19fae00d37113d62b9 | 4a59f3f18c52e582312d5c2323c469990bf0ed0d | /R/DTDWT.R | e06b51c06394d2542a2cbb921fea7ed26849a90d | [
"Unlicense"
] | permissive | dr-offig/listenR | 8d10fbdea7fec3ed0e2448a4e006f662a208b7a8 | 691b72f52aa3321d1d45863ee712e9a4d8c025be | refs/heads/master | 2020-04-04T02:49:22.150174 | 2019-06-26T04:31:01 | 2019-06-26T04:31:01 | 155,697,483 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,966 | r | DTDWT.R | library(waveslim)
library(zoo)
Faf <- waveslim::FSfarras()$af
Fsf <- waveslim::FSfarras()$sf
af <- waveslim::dualfilt1()$af
sf <- waveslim::dualfilt1()$sf
DTDWT <- function(x,J)
{
return(waveslim::dualtree(x,J,Faf,af))
}
DTDWT.inverse <- function(wc)
{
J <- length(wc) - 1
return(waveslim::idualtree(wc,J,Fsf... |
7e6a46cec67ce893b6808527df01b78ab238961a | 1f630c89e17324b9a6222f68b048739e8b728e4f | /useful functions and code/Probability to get Yatzy.R | 8e1e78184e5ad4079da9c235fa3a83f13d178157 | [] | no_license | martinju/VariousR | 4a5eeaf1078dec6359ffd34dec68ca543ff1526f | 347972324d3d225d7fd8d22270be8458c22dee31 | refs/heads/master | 2021-01-20T18:34:21.987741 | 2016-06-02T12:54:04 | 2016-06-02T12:54:04 | 60,178,902 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 808 | r | Probability to get Yatzy.R |
a=2.639
b=2.655
c(a+0.5*(b-a),(b-a)/2)
### Yatzy
n=10^5
throw=function(tt)
{
this.max=which.max(tt)
this.number=as.numeric(names(tt)[this.max])
many.numbers=tt[this.max]
samp=sample(1:6,5-many.numbers,replace=TRUE)
samp.new=c(samp,rep(this.number,many.numbers))
return(table(samp.new))
}
count=rep(0,n)
f... |
7c4850186325d17f4e9abb95625b752efefde9f0 | de59b0a840d831eeef38dbcbdef9534e54e485ed | /man/random.Rd | cbd25e255c7198e66683704fc26787034a1f5741 | [] | no_license | cao123yudong/D3ManhattanPlots | ac8e487ae2dccd26dde15a4574092f5ccdf96924 | a3d6329f32e73861ddc485e4def139c0974bdd20 | refs/heads/master | 2021-01-13T12:33:01.137075 | 2015-08-01T21:56:56 | 2015-08-01T21:56:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 496 | rd | random.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/manhattanPlot.R
\docType{data}
\name{random}
\alias{random}
\title{Randomly generated snps and pvals}
\format{A data frame with 100 rows and 2 columns:
\describe{
\item{SNP}{Snp names. Character}
\item{PVal}{P-Values. Float}
}}
\u... |
84a12dba28f14af78ab4f2eea0ce5561d5d6ef12 | 1474dce63db5c492c8ed4e5df17bde69945586dc | /man/PATHChange.Rd | ee5190783e666d7272d8a6332d91437f4a9fcfc8 | [] | no_license | cran/PATHChange | 5128f5a4bbf305b6e140960566126a97e511f739 | d55ef02f362d50c6762ba522ba6344c41b90e59a | refs/heads/master | 2021-01-17T05:58:18.966559 | 2016-06-17T08:18:35 | 2016-06-17T08:18:35 | 61,350,485 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,513 | rd | PATHChange.Rd | \name{PATHChange}
\alias{PATHChange}
\title{Determination of differentially expressed pathways using multi-statistic comparison}
\description{This is the main function of the PATHChange package. It applies to each histological comparison selected that the three non-parametric tests (Bootstrap, Fisher's exact and Wil... |
bb8bf2f4fe6a9cd9c7843ca47a375047bb481019 | d00e16b9befdabc3ad93b99327511d3ec65032cf | /output_generator.R | afca69c678f95cb533f571574f49d0b292b5b8dc | [] | no_license | user05011988/userproject | 420b3063e0b0c7956667268dd2a620a4a39dc736 | d01fc42d3fb78b6b7c291dc0929985a5a9114574 | refs/heads/master | 2020-07-23T21:08:14.839296 | 2017-03-02T11:12:40 | 2017-03-02T11:12:40 | 66,847,673 | 0 | 0 | null | null | null | null | IBM852 | R | false | false | 4,248 | r | output_generator.R | #########################################################################
# Dolphin - R package for reliable automatic quantification of 1H 1D NMR spectra
# Copyright (C) 2017 Daniel Ca˝ueto
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Gen... |
faf1c6be7e50c87ca7a18a56ac2c8a68952ab38a | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /bayesmove/tests/testthat/test-expand_behavior.R | bbf15c3e4030f6072994c51b881e62080fe7df13 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,362 | r | test-expand_behavior.R | test_that("behavior proportions augmented from segment to observation level", {
#simulate data
id<- rep(1:4, each = 250)
date<- rep(seq(c(ISOdate(2020, 8, 14, tz = "UTC")), by = "hour", length.out = 250), 4)
SL<- sample(1:5, 1000, replace = T)
TA<- sample(1:8, 1000, replace = T)
time1<- rep(1:250, 4)
tse... |
906bb6b117669af753c369d27e9719a468c06a6f | 767ccae7c89cb4b6e3093f9636fba7f5bfe9752c | /plot2.R | 483ab5af121da831225df376bfa095f47204b40b | [] | no_license | MaFer92/Proyecto-2_curso4 | 68dc0b2b06e5909d9bdad5953f3e48192b79fefc | 019825fa892d31227b51b4016dc3f84190c4015e | refs/heads/main | 2023-03-18T01:03:36.645942 | 2021-03-19T22:57:07 | 2021-03-19T22:57:07 | 349,574,058 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,074 | r | plot2.R | #PREGUNTA 2
#¿Han disminuido las emisiones totales de PM2.5 en la ciudad de Baltimore, Maryland,
#de 1999 a 2008? Utilice el sistema de trazado base para hacer un diagrama que
#responda a esta pregunta.
#Directorio donde se encuentra la BD
setwd("C:/Users/Mafer/Documents/R-curso4/proyecto")
#librerias
libr... |
0ba39b29a33d7d9f7fb855699cd1ca62db8b0127 | e6df7c4a0e955ac7ed2068efabd35a740ccd8895 | /rscripts/scatterPlot.R | 2477fca6b57b8e501f77cd1b315c659e7774f95b | [] | no_license | dvallin/pclref | 3bbb77e2d8e822b9fd7a00251f23a99e469b8cac | 5b7ddf45fba7c5caa99fdf5a31c5cf33bb251131 | refs/heads/master | 2020-12-02T22:08:20.150424 | 2017-07-03T08:17:06 | 2017-07-03T08:17:06 | 96,087,163 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,989 | r | scatterPlot.R | library(ggplot2)
library(GGally)
library(stringr)
require(reshape2)
require(Hmisc)
library(hexbin)
#options(device="png")
min_overlap <<- 0.2;
max_overlap <<- 1.1;
symmetric <<- 3000;
#names = c("re_r_rep.f", "ransac_translation_error.f");
methods = c("linear", "linear");
names = c("L2_keypoints.f","L2_features.f", ... |
7a3764ef89bb1cabd2c7a7efdef3ace0192dbcea | f43931a3d2fe0075098a13662c3497e6dbc49115 | /R/mainDisplayUI.R | 7c873deb1fcbc073930ab92b0a6eb537ebdda698 | [
"MIT"
] | permissive | JDMusc/READ-TV | 43f25df5659d28a044cea5765855a4aab7bec773 | 8ddceec04563f5586bbc35eb9918eda8ed06cf6d | refs/heads/master | 2021-07-04T13:57:40.323156 | 2021-01-19T00:01:36 | 2021-01-19T00:01:36 | 214,256,737 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 565 | r | mainDisplayUI.R |
mainDisplayUI <- function(id) {
ns = NS(id)
fp = fluidPage(
shinyjs::useShinyjs(),
shinyjs::inlineCSS(list(.invalid_query = 'background-color: #f006')),
tabsetPanel(
tabPanel("Data Upload",
dataUploadTabUI(ns("dataUpload"))
),
tabPanel(
'Filter & Facet',
... |
8958cd68faf95eb41142d849a7525ea2b8898133 | 2b81cd341c4d789cd39bc6dbf346d0e9d2cd5d16 | /man/get_msigdbr.Rd | 23e3916350d5b9f31965ac11e4bc6e3863d7a5a9 | [
"GPL-2.0-only",
"MIT"
] | permissive | CityUHK-CompBio/DeepCC | c9ca802823c0f40df58c278ee606ed491c9e82e0 | 3cd5dc849e1a64c43b9a354c3209b607d95761d0 | refs/heads/master | 2021-12-03T14:29:19.422369 | 2021-12-01T14:47:07 | 2021-12-01T14:47:07 | 67,822,552 | 18 | 18 | MIT | 2020-06-12T08:13:45 | 2016-09-09T18:25:42 | R | UTF-8 | R | false | true | 529 | rd | get_msigdbr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_msigdbr.R
\name{get_msigdbr}
\alias{get_msigdbr}
\title{get MSigDBr from R package `msigdbr`}
\usage{
get_msigdbr(cores)
}
\arguments{
\item{cores}{a integer indicating cpu cores used in parallel computing (default = all cores -2 )}
}
\va... |
a03a80ece78a35e6389d5b1c6044f581cd99fae2 | 7fc453391224956da9ce2867d9bd54530a66aa43 | /man/cbs_tree_prior_to_xml_prior_distr.Rd | ef992767b12934d68bba04b673ea8feeb4ac009f | [] | no_license | cran/beautier | 880277272f6cf48b4eca9c28db68e4a42c4ccc3a | 439683e296d755698c3861b447106556e540aa9f | refs/heads/master | 2022-08-30T18:21:31.772630 | 2022-08-11T09:40:07 | 2022-08-11T09:40:07 | 127,175,959 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,133 | rd | cbs_tree_prior_to_xml_prior_distr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_beast2_input_distr.R
\name{cbs_tree_prior_to_xml_prior_distr}
\alias{cbs_tree_prior_to_xml_prior_distr}
\title{Creates the tree prior section in the prior section of
the prior section of the distribution section
of a BEAST2 XML paramet... |
d288e65df6bc4c7797e8eab0d8ad03f607b74b7e | 808e37074a3652ea10ae384f4747bd9b2e3607fd | /R/02_decision_model_functions.R | 7a7d970fc5018844476f6b59fc7622bf29156a6a | [
"MIT"
] | permissive | fthielen/ce16_modelling_course | 248a9eab42d32009e9b417a0fe44e339bf410717 | 62bb04618abfd5ff603b128885b68cda8dc52d9d | refs/heads/master | 2023-05-05T17:17:50.542522 | 2021-05-17T10:03:49 | 2021-05-17T10:03:49 | 368,138,798 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,851 | r | 02_decision_model_functions.R | #' Decision Model
#'
#' \code{decision_model} implements the decision model used.
#'
#' @param l_params_all List with all parameters of decision model
#' @param err_stop Logical variable to stop model run if set up as TRUE. Default = FALSE.
#' @param verbose Logical variable to indicate print out of messages. Default =... |
dccbce54f0bbe416fa3bb1f0f74576f94615302b | 24172214c9edf499820407de65f322d24e6a0e08 | /tests/testthat.R | e46973e5ccb689267f666fb169fde3d8827c690c | [] | no_license | JohnCoene/chartist | b1f2409e83210a70d1d80f89eb96481fdbe88abb | 9e7ec1734a67965cd744a4b2bf3562d6ade09715 | refs/heads/master | 2021-01-19T11:42:50.287324 | 2017-03-02T05:42:42 | 2017-03-02T05:42:42 | 82,259,387 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 64 | r | testthat.R | library(testthat)
library(chartist)
test_check("chartist")
|
663f5172b0b182fe4e7bcdd9b1df378a5d8a6968 | 1a3d0a196941958034361ea10f900bc3248d3912 | /man/sparse.mediation.Rd | 3a73f43059a95fb77d24cc7ab1ada55c6ed4aab1 | [
"MIT"
] | permissive | seonjoo/sparsemediation | d4535a90ebf5a32ed298a4adae6eed81f3bb9772 | 0f0f6214ad9ed917659207317feb899811f995a1 | refs/heads/master | 2021-01-19T13:05:48.388465 | 2019-06-02T23:27:37 | 2019-06-02T23:27:37 | 88,060,500 | 0 | 1 | MIT | 2019-06-02T23:31:04 | 2017-04-12T14:21:42 | R | UTF-8 | R | false | true | 2,885 | rd | sparse.mediation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sparse.mediation.R
\name{sparse.mediation}
\alias{sparse.mediation}
\title{Sparse mediation for high-dimensional mediators
Fit a mediation model via penalized maximum likelihood and structural equation model.
The regularization path is compu... |
351a0c9e6aa618040324acccff7d5f5e25d8ea53 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/lavaSearch2/man/summary.calibrateType1.Rd | 65a676f801a8a4fd142a6f770f33aef51073b16f | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,225 | rd | summary.calibrateType1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary.calibrateType1.R
\name{summary.calibrateType1}
\alias{summary.calibrateType1}
\title{Display the Type 1 Error Rate}
\usage{
\method{summary}{calibrateType1}(
object,
robust = FALSE,
type = "type1error",
alpha = 0.05,
log.tra... |
c87d5e3d79c3410eb59d5ae6db1f399489dfe7f2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/AMCP/examples/chapter_13_table_2.Rd.R | 1dcbd89c0219ae9f364d90d67dc093e2272d97a3 | [] | 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 | 338 | r | chapter_13_table_2.Rd.R | library(AMCP)
### Name: chapter_13_table_2
### Title: The data used in Chapter 13, Table 2
### Aliases: chapter_13_table_2 C13T2 Chapter_13_Table_2 c13t2
### Keywords: datasets
### ** Examples
# Load the data
data(chapter_13_table_2)
# Or, alternatively load the data as
data(C13T2)
# View the structure
str(chapte... |
325740e6fcb70ca68f6aa11b2d08d327ad894aa0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/doMPI/examples/sinkWorkerOutput.Rd.R | eb108ac61cf625a915aa9c4f417c4e4f9e62e158 | [] | 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 | 234 | r | sinkWorkerOutput.Rd.R | library(doMPI)
### Name: sinkWorkerOutput
### Title: Redirect worker output to a file
### Aliases: sinkWorkerOutput
### Keywords: utilities
### ** Examples
## Not run:
##D sinkWorkerOutput(sprintf('worker_##D
## End(Not run)
|
598d8cb54eed2320185ed7736c6f2513a3e3467e | 7589304e8ef13df13726a6eb806603cd4bd81e67 | /R/ErrorHandling.R | d6855017bbf9fbab6358da1f7d7db497ab497be0 | [] | no_license | ralmond/Proc4 | ad0f71c7bc652856b0eaae003618541ad9b5e414 | 25522c582e34a3a723418a5f9c5fbfacddae21ec | refs/heads/master | 2023-07-15T15:43:23.453766 | 2023-07-12T17:58:01 | 2023-07-12T17:58:01 | 240,610,249 | 0 | 0 | null | 2023-08-30T21:22:23 | 2020-02-14T22:35:32 | HTML | UTF-8 | R | false | false | 7,731 | r | ErrorHandling.R | ## Code taken from
## https://stackoverflow.com/questions/1975110/printing-stack-trace-and-continuing-after-error-occurs-in-r
withJavaLogging <- function(expr, silentSuccess=FALSE, stopIsFatal=TRUE) {
hasFailed <- FALSE
messages <- list()
warnings <- list()
logger <- function(obj) {
# Change be... |
480d7e41e6c00ec6b96d349644b2ab01fb9b878b | 75e6920c6c8d5c44da0c1c44e3dcc5559efc8e47 | /R/euler.rot.R | 2049dbbedb7b47bc9d5ea4012fe2f901c40239a5 | [] | no_license | cran/fossil | 111edf36c4fe19cd59d52011c1e621e395813c21 | f139d41cea588210fc72eb71910a648d4dab6afd | refs/heads/master | 2021-01-10T20:05:22.617612 | 2020-03-23T10:30:05 | 2020-03-23T10:30:05 | 17,696,124 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 598 | r | euler.rot.R | `euler.rot` <-
function(lat1,long1,rotdeg,lat2,long2) {
rad <- pi/180
a1<-lat1*rad
a2<-long1*rad
rd<-rotdeg*rad
b1<-lat2*rad
b2<-long2*rad
dlon<-b2-a2
dlat<-b1-a1
ca1<-cos(a1)
sa1<-sin(a1)
cb1<-cos(b1)
sb1<-sin(b1)
a<-(sin(dlat/2))^2+ca1*cb1*(sin(dlon/2))^2
d<-2*atan2(sqrt(a),sqrt(1-a))
sd... |
e0b1cfd6bb295c20b87d8cd4b13a7e27423e6a9d | 1843152ac893e8d6eb1214de18905a9dd1c39053 | /issb/R/gillespie.R | c50d018fe5825c14d09cafc0fa566aab7faf1f4f | [] | no_license | csgillespie/In-silico-Systems-Biology | cbb66bcee4e3e6026e3426f304a68179914b9617 | 35b9a2a288df26c48ab968a3c848233463d362a1 | refs/heads/master | 2021-01-10T22:12:28.531458 | 2014-08-05T09:43:23 | 2014-08-05T09:43:23 | 5,810,219 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,443 | r | gillespie.R | #' @title Stochastic simulation using the standard Gillespie algorithm
#' @inheritParams deterministic
#' @param tstep output time step
#' @author Colin Gillespie
#' @return A matrix. The first column contains the simulation time, the other columns contain the species
#' levels
#' @keywords character
#' @export
#' @e... |
62d7f9b30faf9621b63a179ead5e392bef56d618 | 67b3b013574e659229dcaf6547ceb9ab062ad4d2 | /cachematrix.R | 0a136668e806d41ffaa99cad9d85cd51c8f6e80a | [] | no_license | edinathesaint/ProgrammingAssignment2-1 | 4118be3e63fa3690f747c326e1f076571eec7955 | 8d3a996437a14668ee04c67831aa9c165359bada | refs/heads/master | 2020-12-25T10:09:59.464865 | 2014-07-27T19:31:22 | 2014-07-27T19:31:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,342 | r | cachematrix.R | # Matrix inversion is usually a costly computation
# and their may be some benefit to caching the inverse
# of a matrix rather than compute it repeatedly
# EXAMPLE usage
# m = rbind(c(1,-2), c(-2,1))
# mcm =makeCacheMatrix(m)
# mcm$get()
#
# When executing the below row, it should compute the inverse of the matrix ... |
d82718a4c24f158b5981a22c87894c308791eae1 | 70ceafccb7ed3005e64521551eae6657385118e5 | /R-Portable/library/Matrix/tests/validObj.R | 21c8192120f0fcaf0fd6b2642c3bd2e1ae0ccb4e | [
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.0-or-later",
"GPL-3.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-public-domain",
"CC0-1.0"
] | permissive | ksasso/Electron_ShinyApp_Deployment | 6e63686b27bc38607bca1e5b50ed7cd58f6a4a3b | 1402f4d6bbb4a415bce07ebfddc8b76704f11f97 | refs/heads/master | 2023-07-06T11:48:21.413305 | 2020-04-30T12:53:11 | 2020-04-30T12:53:11 | 120,221,429 | 100 | 24 | CC0-1.0 | 2023-06-25T03:17:43 | 2018-02-04T20:42:11 | HTML | UTF-8 | R | false | false | 6,748 | r | validObj.R | library(Matrix)
### Do all kinds of object creation and coercion
source(system.file("test-tools.R", package = "Matrix"))
## the empty ones:
checkMatrix(new("dgeMatrix"))
checkMatrix(Matrix(,0,0))
## "dge"
assertError( new("dgeMatrix", Dim = c(2,2), x= 1:4) )# double 'Dim'
assertError( new("dgeMatrix", Dim = as.integ... |
9409cf7e714e5b43214df7cbfe0516ad97586528 | 79afffae6d108b1a93aea7c72a55cf1fc7247498 | /man/print.summary.nnr.rd | f8ef9989bb728de9dc816815cb09cccbdbcf702a | [] | no_license | cran/assist | efbbad8da52741412f5dc933457774672de90b12 | 866a22f739a0e84d8631044225e3676651c987f2 | refs/heads/master | 2023-09-01T13:13:28.031385 | 2023-08-22T07:00:02 | 2023-08-22T07:30:44 | 17,718,448 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 607 | rd | print.summary.nnr.rd | \name{print.summary.nnr}
\alias{print.summary.nnr}
\title{Print Vales}
\description{
Print the arguments of a \code{summary.nnr} object
}
\usage{
\method{print}{summary.nnr}(x, ...)
}
\arguments{
\item{x}{ an object of class \code{summary.nnr}}
\item{\dots}{unused argument}
}
\details{
This is a meth... |
7c8386eae3dfad33ee83b46b5e94472a55b96c06 | ef4f011de8875e867bfba3cda2e60a1b504bdfa8 | /R/calc_maf_mr.R | b2ca897d398d7ee7b182277faa5081ff3dfd774c | [] | no_license | DiDeoxy/pgda | dd081f79b857cfc033bf90ce6df495448010dbe5 | f0888207b4ffbcbd06e4a91948db4c335ab9e3c7 | refs/heads/master | 2021-07-16T21:58:35.362394 | 2020-06-15T20:09:15 | 2020-06-15T20:09:15 | 179,556,989 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 918 | r | calc_maf_mr.R | #' Calculate the MAF and MR
#'
#' Calculates the minor allele frequency (MAF) and missing rate (MR) of each
#' marker
#'
#' @importFrom dplyr bind_rows tibble
#' @importFrom magrittr %>%
#'
#' @param wheat_data the parsed gds object
#'
#' @return a list contianing the above data organised by genome
calc_maf_mr <- func... |
677ec275a4bef18a5b21512d7eda21a7d04a4f01 | f2ad973fc4e7eae9f5e141f2c008ed330b057930 | /taxonomy/updates.R | 8eae5c4feba0e139fa43fa1bc0d07b2a6b68ee6b | [] | no_license | leithen/hedgerow-manage | abe84c6d5ac7ec15946ce47c3e22f7d8f271cdae | 97e5dad080ebedb1d3514f17b046753283355d38 | refs/heads/master | 2020-04-06T03:39:49.810869 | 2015-04-01T18:22:17 | 2015-04-01T18:22:17 | 33,264,221 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,157 | r | updates.R | update.taxonomy <- function(dd) {
megachile <- read.csv('manage/taxonomy/2013/Megachile_changes.csv',
header=TRUE)
dd$Species[match(megachile$unique.id, dd$UniqueID)] <-
as.character(megachile$species)
dd$SubSpecies[match(megachile$unique.id, dd$UniqueID)] <- ''
dd$SubSpecies[which(... |
5b4002cdcc56d2173c0ed5170b6401ca14affce8 | 6fc3ced70177ce1f071b39b04e1500bd3b53b663 | /CoDaSeq/R/codaSeq.effect.r | 5b2ee4138031a6ec7641d2c14682aca96467d960 | [
"MIT"
] | permissive | ggloor/CoDaSeq | 03e691b9acad45315cce4fb16e62f965da11f90c | cafd7e1ea6d565a413a50ee6788f466b386fd060 | refs/heads/master | 2023-08-17T04:32:31.612507 | 2023-08-08T16:43:50 | 2023-08-08T16:43:50 | 58,082,037 | 29 | 19 | null | 2023-09-08T15:36:31 | 2016-05-04T20:30:16 | R | UTF-8 | R | false | false | 1,798 | r | codaSeq.effect.r | #' Estimate effect size between two distributions
#'
#' Calculates relatively robust measures of standardized mean difference (effect) and dispersion from a matrix or dataframe of numbers. The output value is smaller thant Cohen's d by a factor of 1.418 when comparing two Normal distributions. There is an option to nor... |
01c82136b7938407920879373274f019a0817fee | 477f8c6127c6f2947b8fd5826bf83e15c23e0415 | /man/coef.hqreg.Rd | 03802edbf5dce5fe2a8c8667b590db6842a96043 | [] | no_license | jsliu/hqreg | b61c44b157c18cf07cc9a5055e2e3825fc016702 | 254c89fd8f9d3a7e74511f22572968cce61f7e04 | refs/heads/master | 2020-05-30T22:03:18.393052 | 2019-07-15T10:27:27 | 2019-07-15T10:27:27 | 189,985,677 | 0 | 0 | null | 2019-06-03T10:38:02 | 2019-06-03T10:38:02 | null | UTF-8 | R | false | true | 391 | rd | coef.hqreg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.hqreg.R
\name{coef.hqreg}
\alias{coef.hqreg}
\title{coefficient of cross validated models}
\usage{
\method{coef}{hqreg}(object, lambda, exact = FALSE, ...)
}
\arguments{
\item{object}{cross validated hqreg model}
\item{lambda}{a vect... |
da158f7a7ad01c0246726b2c94147162bd5a259a | f0c4f62350ce5e7bcdd2c30842d95921d9dc69a3 | /DEGs/DEGs_workflow.R | f6242a4010bec2e7e832285b795d3dfc418ab46a | [] | no_license | unswo/msc_project_files | 1ab8e6517d41a704be3b362438981c0c3b41e490 | fb39e963762390595a00ba94248c0c18d9d152ae | refs/heads/main | 2023-05-14T03:10:42.064993 | 2020-11-25T17:23:19 | 2020-11-25T17:23:19 | 316,006,901 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,223 | r | DEGs_workflow.R | #!/usr/bin/Rscript
# Differential expression analysis
# Adrienne Unsworth 190033848, 2020
#
# Perform standard analysis from transcript abundance estimates obtained from Stringtie
# Could easily be adapted for use with salmon by altering tximport command or raw counts from HTseq/Featurecounts.
#
# Import libraries
libr... |
23355dcd07496d4088be31b50c2e306845f69462 | a5ecc66b3d85d32f9a033577574622f7cf0cf81d | /Credit application prediction_Logistic Regression.R | b00bf937139c66f199650d1686c3e44d2d9decf1 | [] | no_license | Mulan2019/Classification | 006985eb54d949c5590ecc1f2c928b8cb60a3508 | 23b3f3cbba6f24e2df8ef22192b948fa0dc1d649 | refs/heads/master | 2022-11-28T05:59:40.342319 | 2020-08-10T21:42:48 | 2020-08-10T21:42:48 | 286,556,483 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,661 | r | Credit application prediction_Logistic Regression.R |
if("pacman" %in% rownames(installed.packages()) == FALSE) {install.packages("pacman")} # Check if you have universal installer package, install if not
pacman::p_load("caret","ROCR","lift","glmnet","MASS","e1071") #Check, and if needed install the necessary packages
# To ensure "appled-to-apples" comparisons with log... |
260d92312f27f2386bfb053aef52349fbc548072 | 880c8d4a9401d2e08b62a23306fe5b5f4dfeeb78 | /man/greeks_by_time.Rd | 7fe440b0103a3698b416e1efdc930082f217ac81 | [
"MIT"
] | permissive | zumthor86/OptionsAnalytics | 6717ea8a76238f6a304171352e17e123db8dc088 | a1a9d56a0c635729b333086272d8f8d3c4e8642c | refs/heads/master | 2021-07-07T07:51:51.645454 | 2020-10-16T12:50:35 | 2020-10-16T12:50:35 | 196,432,023 | 8 | 5 | null | null | null | null | UTF-8 | R | false | true | 603 | rd | greeks_by_time.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compute_strategy_greeks_by_time.R
\name{greeks_by_time}
\alias{greeks_by_time}
\title{Compute greeks over time for single option}
\usage{
greeks_by_time(option_leg, underlyer_prices, underlyer_datetimes)
}
\arguments{
\item{option_leg}{Option... |
3d70436d8144a7eb8c1a82ca52407df7c8a06aaf | d436640bba4f095b4c999aa770c957fe7d322874 | /tests/testthat/test_datasets.R | 8cffd94fd07247e2ff5c1a2822c2d62a351dfd09 | [
"MIT"
] | permissive | revodavid/azureml-sdk-for-r | e5ceaf4853c2fec445d6cffee786d3246dcc8247 | cdcb6769490d3f616372a52d7cb89342793f43f9 | refs/heads/master | 2020-08-14T09:26:47.906582 | 2020-05-07T18:08:30 | 2020-05-07T18:08:30 | 215,140,811 | 1 | 0 | NOASSERTION | 2020-01-24T21:25:32 | 2019-10-14T20:39:14 | R | UTF-8 | R | false | false | 2,621 | r | test_datasets.R | context("datasets")
source("utils.R")
test_that("create a tabular dataset, register multiple versions of a dataset,
unregister a dataset",{
skip_if_no_subscription()
ws <- existing_ws
# upload files to datastore and create dataset
ds <- get_default_datastore(ws)
file_name <- "iris.csv"
upload_f... |
81744bb8f6acf39e1b71bd6b2d689c0cdfd3d579 | 6470ce550c26c7cd13245dab8b84623534e78655 | /第5章 数据分布型图表/图5-2-9 云雨图.R | 23f65ecbd1c857234c3462b3af1592aa7b50b1ec | [] | no_license | EasyChart/Beautiful-Visualization-with-R | 0d73ed4ee1e1855e33048330294335fbad6d2a25 | 27990b9349b697ec4336d3e72bae5f3a08d5f5ea | refs/heads/master | 2023-06-10T07:36:29.289034 | 2023-06-05T03:48:59 | 2023-06-05T03:48:59 | 189,740,776 | 687 | 446 | null | 2020-02-26T08:07:21 | 2019-06-01T14:14:10 | PostScript | UTF-8 | R | false | false | 5,119 | r | 图5-2-9 云雨图.R | #EasyCharts团队出品,
#如有问题修正与深入学习,可联系微信:EasyCharts
library(ggplot2)
library(grid)
library(RColorBrewer)
library(dplyr)
library(SuppDists) #提供rJohnson()函数
# somewhat hackish solution to:
# https://twitter.com/EamonCaddigan/status/646759751242620928
# based mostly on copy/pasting from ggplot2 geom_violin source:... |
12ecb6de809c550d88439bb4a0e6da59d222ae48 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/NHPoisson/examples/LRTpv.fun.Rd.R | 6ec826f41d1a814a37100e9ef1009c473e3d97ec | [] | 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 | 591 | r | LRTpv.fun.Rd.R | library(NHPoisson)
### Name: LRTpv.fun
### Title: Likelihood ratio test of the covariates in a model
### Aliases: LRTpv.fun
### ** Examples
data(BarTxTn)
covB<-cbind(cos(2*pi*BarTxTn$dia/365), sin(2*pi*BarTxTn$dia/365),
BarTxTn$TTx,BarTxTn$Txm31,BarTxTn$Txm31**2)
BarEv<-POTevents.fun(T=BarTxTn$Tx,thres=318,
dat... |
20b21f6b68f29b8cd3daf3595474c58632a2d2bd | 6fd62788f43f8bcb435efe040bce50bd681de329 | /hashtag 2.R | 4b05330ef75dca6183aa779c39c9c66f7cf16b35 | [] | no_license | ThePatrickLynch/twitterhashtags | 4aeddf32df0f57162d65d29830851b6d28c519ef | f7100298485235eca434664a6bbc6c3a9ef111e9 | refs/heads/master | 2021-07-11T22:47:42.692113 | 2017-10-12T10:08:59 | 2017-10-12T10:08:59 | 106,794,341 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,792 | r | hashtag 2.R | #Retrieving Text from Twitter
rm(list=ls())
#Twitter API requires authentication since March 2013. Please follow instructions in "Section 3 - Authentication with OAuth" in the twitteR vignettes on # CRAN or this link to complete authentication before running the code below.
library(twitteR)
library(wordcloud)
librar... |
f36eeb937814db8dda3f2e078fd399467712a7a3 | d5aa7e759f4faa62d954728222f9239dbdd8f995 | /F210I/11.HetVHomDE.R | ddcf83e8ac13f67e6af44dd2e08d6d3d0861dbc8 | [] | no_license | SethMagnusJarvis/PhDFigureCreation | 1b58a42eab64fdf0d49fb28fbb6e965f6d266b28 | b076b021abc2df2677e2e55129f837cd6b3e2a55 | refs/heads/main | 2023-03-09T19:04:14.529315 | 2021-02-25T12:39:29 | 2021-02-25T12:39:29 | 342,240,232 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,754 | r | 11.HetVHomDE.R | library(tidyverse)
library(ggplot2)
library(rgl)
library(pheatmap)
library(limma)
#import data
HETDE <- read_csv("F210IAdultDE.csv")
colnames(HETDE) <- c("EnsemblID", "log2FoldChange", "stat", "pvalue", "padj", "signedZ")
HETRPKM <- read_csv("rpkm_values.csv")[,c(1,3:14)]
HOMDE <- read_tsv("deseq_F210I_HOM_embryo_J... |
41d112f3757e677e30d71bc20b0d187bb74cb387 | 0fa66774f82e96082b72ad9556543599ee12ddcb | /demonstrative/R/pbto2/nonlinear_slogistic_binom.R | 90fe9ff00cc8d061ba375deabcff6acafac7341a | [] | no_license | eric-czech/portfolio | 229a6eb662c3b633cda6db357f0f952cfdbb1e46 | d467ae2b3c8b58b35c11bf6aff11ea651e76c1a4 | refs/heads/master | 2021-01-17T03:48:56.571739 | 2018-01-23T21:09:40 | 2018-01-23T21:09:40 | 21,694,456 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,355 | r | nonlinear_slogistic_binom.R | library(foreach)
library(dplyr)
library(ggplot2)
library(gridExtra)
library(rstan)
library(reshape2)
source('~/repos/portfolio/demonstrative/R/pbto2/common.R')
source('~/repos/portfolio/demonstrative/R/pbto2/nonlinear_utils.R')
source('~/repos/portfolio/demonstrative/R/pbto2/nonlinear_binom_utils.R')
rstan_options(au... |
d662cd3591ef20f55cfb49260f3715dfddb91687 | dc1040d310ba7f19ecff4f38716cd27c722d7a03 | /analysis/HappinessvsIncome.R | 3c891e177011bb40858bcbb425b2a4ebb2eb434f | [] | no_license | datares/happy-pineapples | 5809c760b8c112cec7ceb8c22f4411a3d8c54127 | f5d896b6378f8961bce06625753ccb014fd4093b | refs/heads/main | 2023-03-30T02:13:16.690609 | 2021-03-30T03:48:59 | 2021-03-30T03:48:59 | 309,789,278 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 1,057 | r | HappinessvsIncome.R | #income data from Gallup
income <- read.csv("C:/Users/thehu/Documents/Fall 2020/Data Blog/IncomeByCountry2020.csv", header = TRUE)
happy <- read.csv("C:/Users/thehu/Documents/Fall 2020/Data Blog/2020.csv", header = TRUE)
names(income)[names(income) == "ï..country"] <- "Country.name"
df = merge(income, happy, by... |
1d584fe4187c147ba812fbe317fa1067583dd091 | 2d3d3d9cd6c1b3be05a297688947d7558f20bcaa | /HopkinsR/Assignment/Hopkins_5_Weather.R | f559ed290144d1668e54d4e755e880a67ace7d93 | [] | no_license | ethanxsun/Code | 84a1dca928d6e1b51673a40570abd8359e9ad7e4 | 4084301044ee7ff8e19ce1b645f2d54941244a98 | refs/heads/master | 2021-01-20T04:43:01.736781 | 2017-05-11T14:27:20 | 2017-05-11T14:27:20 | 89,718,798 | 1 | 0 | null | null | null | null | GB18030 | R | false | false | 4,612 | r | Hopkins_5_Weather.R | # function 1: calculate mean value of sulfate or nitrate
pollutantmean <- function (directory, pollutant, id = 1:322){
#directory <- c("specdata")
#id <-1:20
target.dir <- c("C:/Work/DataAnalytics/HopkinsDataScience/Course2_Wk2_ProgrammingWithR")
location <- paste(target_dir,"/",directory,sep="")
setwd(... |
ebd8b6bba29091fac464ade5a92004b73e338f9a | 17807e9372c8e22c0d5dd3b23185487ba53a2f37 | /pollution_eda/plot6.R | 286e99d28345e20dfdf453854e04ba240e86fc50 | [] | no_license | S-95-pix/r_repository | 67afa2b7758f9b03d8f48f493f9f5dc144f45699 | 962674a579e383b3d6b33ce428295193d5391a09 | refs/heads/master | 2023-07-08T03:04:09.903954 | 2021-08-17T16:34:10 | 2021-08-17T16:34:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,675 | r | plot6.R | ## Get libraries needed
library(dplyr)
library(ggplot2)
## Set directory
if (!file.exists('final_project_eda/')) {
dir.create('final_project_eda/')
}
setwd('final_project_eda/')
## Data extract
if (!file.exists('epa.zip')) {
download.file('https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data... |
8fcd9adeb3566a1dd067c46da8e70fd069da4445 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/estimatr/R/S3_nobs.R | 401b164a04734a21d51da75324c8ea24d93f9403 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 252 | r | S3_nobs.R | #' @export
nobs.lm_robust <- function(object, ...) object$nobs
#' @export
nobs.iv_robust <- function(object, ...) object$nobs
#' @export
nobs.summary.lm_robust <- nobs.lm_robust
#' @export
nobs.horvitz_thompson <- function(object, ...) object$nobs
|
7685c4ffa62a7831674611033a014aed15d2000f | ffd303c7beebbdea53e74448fceb2f2ab2037d54 | /plot2.R | c313b0d7f08904687aeec1ec388525d2b0205791 | [] | no_license | sisi881022/ExData_Plotting1 | 6064785a1283c03482b921129528c8a895b2150b | aab92cbe03ca2011d602e5f48388d08c97afebff | refs/heads/master | 2020-12-25T01:44:00.155683 | 2014-08-10T09:58:36 | 2014-08-10T09:58:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 509 | r | plot2.R | # Read in Data
powerConsumption<- read.csv("household_power_consumption.txt",header=T,sep=";", na.strings = "?")
colnames(powerConsumption)
#Convert date
powerConsumption$Date<- as.Date(powerConsumption$Date,"%d/%m/%Y")
#subset data
dat<- subset(powerConsumption,Date>="2007-02-01" & Date<= "2007-02-02")
#convert the d... |
d16378dc82bf9d549b88275a159d4adc48e0b5d0 | dfd1208b151f320b0430e6adeb7fa5823d283959 | /man/defineMUM.Rd | 3683c214582f8c9b2e89e3b9e907319e881c5195 | [] | no_license | ksawicka/spup | 8bffdd98766d17063a48197a660b3402ebb787bc | b073094603f351c2b55cec42498639a8e4e4b83d | refs/heads/master | 2021-04-18T22:59:36.822987 | 2020-08-24T09:29:32 | 2020-08-24T09:29:32 | 56,239,409 | 9 | 5 | null | 2017-05-02T15:12:25 | 2016-04-14T13:25:06 | R | UTF-8 | R | false | true | 2,015 | rd | defineMUM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/defineMUM.r
\name{defineMUM}
\alias{defineMUM}
\title{Define Mulivariate Uncertainty Model}
\usage{
defineMUM(UMlist, cormatrix, ...)
}
\arguments{
\item{UMlist}{a list of uncertain objects creaded in defineUM().}
\item{cormatrix}{matrix of ... |
1d58d223ffe7952fdf8808c984d60bb3e06f689b | ac42c7b87b90f08c8ec9b12d5e17a534ffb84b02 | /man/cr_buildtrigger_repo.Rd | 1af346987715768b0eccd2b13901a8239613647a | [] | no_license | alainlompo/googleCloudRunner | 990c819c9f4f46ca5a39a720627da4003a6410f3 | 6622d22f1c19d58f6b5888ae929f32d86b57a1c6 | refs/heads/master | 2023-09-03T15:33:00.968050 | 2021-10-27T21:18:23 | 2021-10-27T21:18:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,399 | rd | cr_buildtrigger_repo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/buildtriggers_github.R
\name{cr_buildtrigger_repo}
\alias{cr_buildtrigger_repo}
\title{Create a buildtrigger repo object}
\usage{
cr_buildtrigger_repo(
repo_name,
branch = ".*",
tag = NULL,
type = c("github", "cloud_source"),
github... |
e12f90b0490ac86b1d2a2b768667e45dfb8bf6ed | f4404d415af085c7c13fbe39f6c29cbb3fd7b68e | /note1.R | 117ec0f0801003e35d877f9d1e3a441498707a4c | [] | no_license | yunsung/Yunsung_Jung | 5ba46f4fb989bc11066c1d15a8811b83e24ba3e9 | 24112ad53f54453401ce88f2cef6cc99cd04b98c | refs/heads/master | 2021-01-15T11:11:59.123028 | 2015-07-15T06:32:45 | 2015-07-15T06:32:45 | 38,352,857 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 170 | r | note1.R | Pollution <- read.csv("C:/Users/Jung/Desktop/ISS/1. Data science/7.1/SKKU_DataScience_2015-master/data_sets/Pollution.csv")
Pollution
plot(Pollution$POP,Pollution$SO2) |
80349b94a2748662f446fbc9abd0d7fb2d16369e | af33eeb8d253a5150b529477e7f9fd6e0e2a2ce6 | /locations.R | f0a3232529c8e827335a624a5f2384f5a75494b4 | [] | no_license | PeerChristensen/Global_terrorism | 06bd1e142cf3001abc9a863ec99e4fa2e9e8ce4d | b6e7e9e1ae5467fd1c0da7010d640e0e55e91626 | refs/heads/master | 2021-06-22T14:53:28.922570 | 2021-04-05T17:26:53 | 2021-04-05T17:26:53 | 206,867,626 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,050 | r | locations.R | # where attacks occur
library(tidyverse)
library(hrbrthemes)
library(ggsci)
library(gganimate)
library(ggthemes)
library(viridis)
df <- read_csv("global_terror_clean.csv")
df %>%
group_by(region_txt) %>%
count() %>%
ggplot(aes(reorder(region_txt,n),n,fill=n)) +
geom_col(colour=NA) +
coord_flip() +
theme... |
993e9284dbb376f58278e64ca693f6912244d42e | 423e53b3ca3e81220813d88be963cb4b8b3fd9b2 | /R/plot.survFitCstExp.R | b33efae0d6807cb6ff9f9ad4522e669fdde8a3a9 | [] | no_license | cran/morse | 9715ca0a55cdf7c42ecfd13039065a88a273f6dd | 262ed591e1b80190e1cea7a3ae93164b0d030df2 | refs/heads/master | 2022-11-08T06:29:36.523446 | 2022-10-28T10:45:09 | 2022-10-28T10:45:09 | 20,999,880 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,347 | r | plot.survFitCstExp.R | #' Plotting method for \code{survFit} objects
#'
#' This is the generic \code{plot} S3 method for the
#' \code{survFit}. It plots the fit obtained for each
#' concentration of chemical compound in the original dataset.
#'
#' The fitted curves represent the \strong{estimated survival probability} as a function
#... |
724bcd7bb1794582550a1ff6e1b0347361437f6c | 5781dd18cdbb889e8da1778f8f37f11d10e24b65 | /Lista 03/ajuste_3a_lista.R | 6728acf92971eff4bf9e0fb0b26c22f156a735e1 | [] | no_license | Cayan-Portela/ENAP_regressao | 6ee84a1aaff5e1c87e11f824eda261bcf4b1298a | dc77f8752a674d4544b2a7042e36810cf7a0adba | refs/heads/master | 2020-04-04T03:08:42.811630 | 2018-12-03T12:42:43 | 2018-12-03T12:42:43 | 155,709,073 | 3 | 2 | null | null | null | null | ISO-8859-1 | R | false | false | 2,375 | r | ajuste_3a_lista.R | install.packages("lmtest")
install.packages("plm")
install.packages("sandwich")
install.packages("olsrr")
install.packages("mctest")
install.packages("GGally")
library(lmtest)
library(plm)
library(sandwich)
library(olsrr)
library(mctest)
library(GGally)
library(plyr);
library(lmtest);
library(sand... |
b4c58137ba13fe398ea29182d8a60dbc9f97330c | 82ebc73dc6869319a2bf47f57ac41fe306dc12f2 | /man/fit.fast.model.Rd | 5961920232e048494f4c485adb04f77c2aedaa49 | [] | no_license | Sage-Bionetworks/snm | d5418b0f989089e342f7505756c2c304101f80c9 | 1ef4124d2819577b4428ffd13a25c443f71cf916 | refs/heads/master | 2021-01-01T18:49:14.757942 | 2012-08-24T22:30:22 | 2012-08-24T22:30:22 | 5,533,556 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,869 | rd | fit.fast.model.Rd | \name{fit.fast.model}
\alias{fit.fast.model}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Fast Version of SNM Algorithm
}
\description{
Fits the Study-Specific Model without a mixed effects model. This function estimates the intensity-dependent effects after down-weighting all of the probe-s... |
e19ebc8cbdab4af28941517cd3bd839307c5a12a | aabebc5609759c7b79f8e586a9e00bf3a901a408 | /run_analysis.R | 49dc51279ef043d8c014a5e8fae66546716d4f30 | [] | no_license | Grizzly16/GettingAndCleaningDataPeerAssess1 | af940c82dee59b536faca881bb49cb5f206c7da8 | 038c512b12635fde52f36051d255c46848ec2815 | refs/heads/master | 2016-09-08T02:06:10.383504 | 2014-04-24T20:27:18 | 2014-04-24T20:27:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,508 | r | run_analysis.R | # Getting and Cleaning Data - peer assess 1
setwd("~/Desktop/Classes/Getting and cleaning data/Programming Assignments")
library(reshape2)
#data is stored in a data folder
subFolder <- c("./UCI HAR Dataset/") # update this if you've moved the folders around
print("Reading labels")
#get the activity lables
actLbl <-rea... |
4eada06d06ce4f23b669e75c8317339377ff0dfb | 28474bc816d56724df45e8a74c2b524144212091 | /cachematrix.R | 18c109fa7868aa88ac00b7be7543e4307968445a | [] | no_license | tlee133/ProgrammingAssignment2 | d83a8ac9f212e59bed8e000e9ab1971a344040b9 | f9913c3e541148558837175249ebf11b568b47d5 | refs/heads/master | 2021-01-19T21:58:41.565776 | 2015-05-15T08:49:44 | 2015-05-15T08:49:44 | 35,644,072 | 0 | 0 | null | 2015-05-15T00:17:16 | 2015-05-15T00:17:14 | null | UTF-8 | R | false | false | 2,753 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
# makeCacheMatrix creates a object which can be used to store a matrix and its
# inverse. Calling the cacheSolve function on the makeCacheMatrix object will
# solve for the inverse matrix of the matrix in the makeCacheMatrix object and... |
af9622498d3dd7062a0de9c16ff4d821e603a13c | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/4315_0/rinput.R | 5e81c3d029c447d7670b301df7e807d0cdc0dece | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("4315_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="4315_0_unrooted.txt") |
7e75119ad33db254078e937ae50d8d6879a7f3e2 | 78c1ddb45451d526b4b60309199345330303ceb0 | /R/aaa.r | ede51bc5b81fc1f9633a2d3a0f4c9348cd881653 | [
"MIT"
] | permissive | mevers/hrbrthemes | 5acc8e4b092e3991bca6ef93eb59e0999f23ab12 | db5717567c28be224c2b42bb9054774720299afb | refs/heads/master | 2020-09-04T20:01:11.665983 | 2019-11-15T00:47:17 | 2019-11-15T00:47:17 | 219,876,680 | 2 | 1 | NOASSERTION | 2019-11-06T00:24:43 | 2019-11-06T00:24:42 | null | UTF-8 | R | false | false | 306 | r | aaa.r | try_require <- function(package, fun) {
if (requireNamespace(package, quietly = TRUE)) {
library(package, character.only = TRUE)
return(invisible())
}
stop("Package `", package, "` required for `", fun , "`.\n", # nocov start
"Please install and try again.", call. = FALSE) # nocov end
} |
0a26c6941bc4b553e82cc1a837e3c790a1ca0ee7 | 9874fc9b629c8893efe000a35ccf27390bece5f6 | /00_R_Source/Mapping.R | b4947615fb9b169d55a7b8539cc2063f9c1ae127 | [
"MIT"
] | permissive | SchSascha/manuscript_tripleRNAseq | b7a15c2cc835dbeae0b5e8893ebccedd3052a2c2 | 9f35ed2d75041e6c87f26afd0c9c1e068ec57e19 | refs/heads/master | 2022-12-23T02:47:37.489128 | 2020-10-01T13:48:58 | 2020-10-01T13:48:58 | 299,326,599 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 37,151 | r | Mapping.R | ####-
##-====================================================
##-========================== MAPPING ===========================
##-====================================================
####-
#' Make TopHat2 (Bowtie2) genome index
#'
#' Wrapper function for creating Bowtie2 index files, which are used by
#' TopHat2.
#... |
9bda910173fc98df1ab13e8345081338937efafe | 384c3dbc571be91c6f743d1427dec00f13e0d8ae | /r/kernels/graf10a-titanic-alexey-pronin-1/script/titanic-alexey-pronin-1.R | 9198ebfe6e8e03a755d5160a12a1347b11c4f8b0 | [] | no_license | helenaK/trustworthy-titanic | b9acdd8ca94f2fa3f7eb965596eed4a62821b21e | ade0e487820cf38974561da2403ebe0da9de8bc6 | refs/heads/master | 2022-12-09T20:56:30.700809 | 2020-09-10T14:22:24 | 2020-09-10T14:22:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,427 | r | titanic-alexey-pronin-1.R | # Reading the train and test data.
train <- read.csv('../input/train.csv')
test <- read.csv('../input/test.csv')
# Adding the 'Survived' column to the test data
# to make it compatable with the training data
# for rbind-ing.
test$Survived <- rep(NA, nrow(test))
# Combining the data
data <- rbind(train, test)
# I... |
9af127fb573c2aaed2f9f375044dbb55e6f62a90 | 8a043e5910c0b145c9a939d28d4f41275e1a0ff4 | /plot4.R | 552f287f176f9ce8cdb0acec772b617382f8424f | [] | no_license | crusainte/Exploratory-Data-Project | a4e21d35f40c1bd072b88273e7e5507ddd86ccbe | d261cdca7048993b7efcd404035e587c9d726fc8 | refs/heads/master | 2021-03-12T22:03:42.875062 | 2015-02-20T16:19:50 | 2015-02-20T16:19:50 | 31,066,655 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,401 | r | plot4.R | ## Plot addresses the following question:
## Across the United States, how have emissions from coal
## combustion-related sources changed from 1999–2008?
## Read in the files
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
library(dplyr)
## Filter coal related sources
SCC.filt... |
0155e2e3ef48e9a49bcfe114046ed6c8988f1e1f | 03d819fd2b7fc35f9221310634d6c47693fd69f0 | /man/distance.moved.Rd | c958f80fff2e5b2955178fdb5c1fd9f51cb09fe5 | [] | no_license | pydemull/modeid | 4ccce0b9653e9ca7385d414ffe89001437028829 | 8e6be89501f5df94a10f7e434f22dde81dfbb913 | refs/heads/master | 2023-03-22T23:20:52.443700 | 2019-03-11T06:14:23 | 2019-03-11T06:14:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,048 | rd | distance.moved.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distance.moved.R
\name{distance.moved}
\alias{distance.moved}
\title{Distance moved}
\usage{
distance.moved(dataset, last, time.window, epoch.length)
}
\arguments{
\item{dataset}{The dataset you want to apply this to, we assume it has been cr... |
a8b46089156740b24f2aeeccd080e67f02dc9cec | 5b87ee9403a3c1275c1dbfcc87f7c18b6d0f77f5 | /Course Project 2/plot5.R | cb3e3b7d923870c19e5a00258f7d61838beca314 | [] | no_license | ben-liu/Exploratory-Data-Analysis | 6f882b65299bd5bff245b12f1c71c8251f0ffda8 | c9d460131bcbe60af9c0c550f8f4ccf3f54e1d68 | refs/heads/master | 2021-01-25T06:37:09.326604 | 2014-10-26T08:12:47 | 2014-10-26T08:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 786 | r | plot5.R | # setwd("~/Google Drive/Coursera/Exploratory Data Analysis/Course Project 2")
NEI <- readRDS("./exdata-data-NEI_data/summarySCC_PM25.rds")
SCC <- readRDS("./exdata-data-NEI_data/Source_Classification_Code.rds")
# 5. How have emissions from motor vehicle sources changed from 1999–2008
# in Baltimore City?
mv.code= ... |
bb0e07384149ed24012464b8f8b18757fb4f2737 | 1d90318c97024bd3821b2ed160012682711d5772 | /R_projects_6414/2_Multiple_linear_regression/fram.R | 57f5923873e3a3aa98983ac013f2d5fe0c9930e5 | [] | no_license | adrihernand/Projects_6414 | 194b0a93533dd766a5c606a01aa2f1dceb0a20e5 | 136e8a41968e3b26b331d1be0edd07d1d7c38c8b | refs/heads/main | 2023-07-27T01:20:07.252283 | 2021-09-06T06:41:48 | 2021-09-06T06:41:48 | 403,512,044 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 879 | r | fram.R | # Quizz 2
# Importing the data
data = read.csv("C:\\Users\\adri_\\Documents\\Gatech\\ISYE6414\\Homeworks\\2_Multiple_linear_regression\\fram.csv", head = TRUE)
# Converting categorical to quantitative
data$SEX <- as.factor(data$SEX)
data$CURSMOKE <- as.factor(data$CURSMOKE)
# Fitting the linear model
m... |
5d044f35f9db9bac251a4dba698ef3aba7a494d2 | 21960cbad6a8d83b8e394513cfed63a96093f7fb | /R/convert_density.R | 21c8a84b986ca6ca217af028153fc7af5231c41f | [] | no_license | mattreusswig/convertUnits | fbbff61c7fba579862b5b733fa2bfb8ea2401b57 | e8764a0e7fe94bade7941294dd69bc8fa91a1f90 | refs/heads/master | 2021-03-06T05:34:10.347027 | 2020-03-18T01:46:01 | 2020-03-18T01:46:01 | 246,182,675 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,242 | r | convert_density.R | #' Convert between density units -- kg/m3, g/L, mg/L, lb/gal, lb/ft3
#'
#' @param x A vector of numbers to be converted.
#' @param from A character vector of the units x is in. Must be length 1 or same length as x.
#' @param to A character vector of the units into which x will be converted. Must be length 1 or same len... |
6fec6dcb288739f24f5a0708d92ff37235ca11b5 | 370a1098faf08af78a30c0ee7a65ac42091d0705 | /Clustering/kmeans.R | 7f8303f9670e85cb5addd7a9a5b0049a55da85db | [] | no_license | Mando75/CS450 | 81aa9f9569be3ccfbef3e8ff1827f176a419b1c2 | 105566d1faea1ae7bac97f8b54703d0947a65276 | refs/heads/master | 2020-04-15T19:21:53.032291 | 2019-05-10T01:31:37 | 2019-05-10T01:31:37 | 164,947,197 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,616 | r | kmeans.R | # Title : TODO
# Objective : TODO
# Created by: bryanmuller
# Created on: 2019-03-13
###########################
# KMeans
########################
# Step 1
##########
data <- scale(state.x77)
# Step 2
#########
myClusters = kmeans(data, 3)
# Summary of the clusters
summary(myClusters)
# Length Class Mode
# clus... |
9e600e1db9c2f0016f34ecf5af66aee8871dbed5 | 5f1a9e4340ee17f4dcdf5c07f9abcf7c048e2e90 | /R/OandaPricing.R | eef8ad2cef43e92dd86f31a7158e72a3f1789ca8 | [
"MIT"
] | permissive | ivanliu1989/RQuantAPI | 764b5919443d8560e2e796e96616ea851ebdd96f | 00881560c93318e10596b6e0b324193b61268364 | refs/heads/master | 2020-07-21T20:35:59.982809 | 2019-09-07T13:11:59 | 2019-09-07T13:11:59 | 75,069,525 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,585 | r | OandaPricing.R | #' Get Priceing Information for Oanda Instruments
#'
#' @description
#' Get pricing information for a specified list of Instruments within an Account
#'
#' @param ACCOUNT_TYPE "practice", "real" or "sandbox"
#' @param ACCESS_TOKEN The authorization bearer token previously obtained by the client, can be found in oanda e... |
e9806adbaa3cbb0e621fe7198e813a4c20863371 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/bsts/examples/plot.holiday.Rd.R | b29f91fb1b3e12188772b5b07a4c97b7d029cada | [] | 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,995 | r | plot.holiday.Rd.R | library(bsts)
### Name: plot.holiday
### Title: Plot Holiday Effects
### Aliases: PlotHoliday
### ** Examples
trend <- cumsum(rnorm(730, 0, .1))
dates <- seq.Date(from = as.Date("2014-01-01"), length = length(trend),
by = "day")
y <- zoo(trend + rnorm(length(trend), 0, .2), dates)
AddHolidayEffect <- f... |
2260f58fe05c384a165c2525f7ee953dd72c1524 | 396df2552224ffcb0294fe6e297b231aa2e59e68 | /_working/0111-nz-election-results.R | 27f2b9383163c5455e862966a84de6fb2773f18f | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | ellisp/blog-source | d072bed980a5074d6c7fac03be3635f70ab5f098 | 1227f83df23af06da5280214ac7f2e0182be5707 | refs/heads/master | 2023-09-05T07:04:53.114901 | 2023-08-27T21:27:55 | 2023-08-27T21:27:55 | 122,695,494 | 17 | 8 | null | 2023-08-27T21:15:33 | 2018-02-24T02:36:45 | HTML | UTF-8 | R | false | false | 4,012 | r | 0111-nz-election-results.R | #-------------functionality and data----------------
library(tidyverse)
library(scales)
library(nzelect)
library(grid)
library(forcats)
library(testthat)
# load up the last prediction data, which is a data frame of 4,800 rows
# (one for each simulated result) and 10 columns of party results
download.file("https://gi... |
cdc2d575a5e8f27fa1a6bf8844f5e1375a00b85a | b8723b94da48a1e39bb7b9b2495f6eb68c9dd7e8 | /R/kmbasis.R | 211d2c1f8afa012c89bceb0b39a364ef5ba79063 | [] | no_license | cran/kstMatrix | 50d9bdc9f8ebfb0b3fddb135a04e8fbba39df578 | b5fbab8ae6e34ce0461bd1b0eeb47b068ce62347 | refs/heads/master | 2023-01-28T00:44:11.723822 | 2023-01-23T14:30:02 | 2023-01-23T14:30:02 | 148,498,260 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,215 | r | kmbasis.R | #' Compute the basis of a knowledge space
#'
#' \code{kmbasis} returns a matrix representing the basis of a
#' knowledge space. If \code{x} is a knowledge structure or an
#' arbitrary family of sets \code{kmbasis} returns the basis of
#' the smallest knowledge space containing \code{x}.
#'
#' @param x Binary matrix rep... |
427ff4dfb11eb142b649df2713165b0a0d9d50cb | 0563103cc766f0cb981ccb8103594357e277dc74 | /man/total_reads.Rd | 8fd18a7c007ccba2bc3d8ad4aa4f24da3f2014a8 | [] | no_license | pblischak/polyfreqs | a140631ae572753ca6123180474f2b067508c27f | b03ec79562842f259ff89b368b6f8a1bf983c6bc | refs/heads/master | 2021-01-21T03:33:59.306182 | 2016-12-16T22:05:25 | 2016-12-16T22:05:25 | 34,615,921 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 373 | rd | total_reads.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_desc.R
\docType{data}
\name{total_reads}
\alias{total_reads}
\title{Total reads matrix}
\format{A 10 x 2 matrix.}
\usage{
data(total_reads)
}
\description{
A dataset of 10 individuals sampled at 2 loci with 20 reads per individual per lo... |
932795a5d1f0deb9b226a66bca089b9b6939670e | aa7bd0ecc5cd61e1115e874eb69bc78b682e88b0 | /plot1.R | 6119ae6569ffff704e490bdc5eb92b5deedfc8ab | [] | no_license | Chinasa1/ExData_Plotting1 | d82274a8e91e91de8be47f03c2102c9b17db6e7f | f461d4e61476f48beb44ee606aca2e47dd85a543 | refs/heads/master | 2020-05-17T16:06:47.624070 | 2019-04-28T07:04:44 | 2019-04-28T07:04:44 | 183,810,191 | 0 | 0 | null | 2019-04-27T18:48:35 | 2019-04-27T18:48:35 | null | UTF-8 | R | false | false | 908 | r | plot1.R | ##Plot 1
#Download the file and extract the file if not exist
dataFile <- "household_power_consumption.txt"
if(!file.exists()){
#)Download the file
fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(url = fileUrl, destfile = "power_consumption.zi... |
26728c06170a1d9b69ce16cd949acabb09d81edd | 8bd332edc981833330b551f5aea7b99cc46e6599 | /helper.R | 73e087f4ff044ad61cd25e241536d29f11ac48c4 | [] | no_license | wangyt316/ShinyApp | dfe8503793920da4572a710c03ff46d23dfec9be | 495c1c765901e4b72408583a9d4cba64740ba834 | refs/heads/master | 2021-01-10T21:05:42.857449 | 2014-06-18T05:11:02 | 2014-06-18T05:11:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,149 | r | helper.R | dataclean <- function(df){
df$ReportPeriod = as.Date(df$ReportPeriod, '%m/%d/%Y')
df = df[, 2:6]
df$Year = format(df$ReportPeriod, '%Y')
df = df[-which(df$Terminal == 'Imperial Terminal'),]
df = df[-which(df$Terminal == 'Misc. Terminal'),]
return(df)
}
roseGraph <- funct... |
edba3f40bb0747cb25c7dd1085e6cde668372058 | 8c7edf1335041a5073df672cbd99f08fcd1439c6 | /makeovermonday/2019w15/mm-2019-w15.R | ea84e8e296556c5d58f04d70b6b47c60ad401f3e | [] | no_license | dmitrijsk/data_viz | 69beeda3fb953bbe1c596a871fabd3c619404056 | 74d3b3680b1bfd931321bd32ae0f618275bb028b | refs/heads/master | 2020-04-29T17:18:36.122450 | 2019-04-15T01:02:21 | 2019-04-15T01:02:21 | 176,293,042 | 0 | 0 | null | 2019-04-08T19:46:05 | 2019-03-18T13:33:11 | R | UTF-8 | R | false | false | 5,485 | r | mm-2019-w15.R |
# MakeoverMonday, Week 15, 2019.
# Original plot: https://www.mercatus.org/statefiscalrankings
# MakeoverMonday Tweet: https://twitter.com/TriMyData/status/1114842772295622658
# Data: http://www.makeovermonday.co.uk/data/
# Packages and functions ----
library(tidyverse)
library(httr)
library(readxl)
library(ggrepel)... |
6e089b8115d8a79c44276110b0652c0b39c58e37 | 4aab4f50e67e46fa372b2149cec54080b286c362 | /R/templates.R | d5e3a6201bd079b1a7d8e7ed3409826be1adffb3 | [] | no_license | lwjohnst86/fost | 477b64bb9af227d030add0b60a5922c7fb9af0cf | 04568a4afb77a211b145421566d40081e36031fd | refs/heads/master | 2021-01-19T11:09:43.419715 | 2018-02-20T18:58:39 | 2018-02-20T18:58:39 | 63,644,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,717 | r | templates.R | #' Convert Rmd to a journal-formatted manuscript.
#'
#' @inheritParams rmarkdown::word_document
#'
#' @return Creates a Word document (or whatever is required) that is formatted
#' according to the requirements of a journal.
#' @seealso See \code{\link[rmarkdown]{word_document}} for a more detailed
#' explanation o... |
9df80db54f587b8e9ac5321342d01b471123f435 | c7e4a8d83741e3cad294dca0bf36b0d1f9563eac | /Simulation/Plot_Group_Contents.R | 1e84ad312e77cfc0150ccacc21e2e6c546b72194 | [] | no_license | Hillna-IMAS/Bioregion_Methods | 189e82cf4aa189e12d3a8b5b9b9569869c9a9ab6 | a7b10b2544041af9bf260f47a082c1d0d78ac385 | refs/heads/master | 2022-11-14T03:37:15.951593 | 2020-07-09T04:46:28 | 2020-07-09T04:46:28 | 161,733,339 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,542 | r | Plot_Group_Contents.R | #############################################################################################
## Compare community modelling methods for bioregionalisation of simulated species dataset
## March 2018. N.Hill with input from S. Woolley
###################################################################################... |
19d57c67ba913a66ec2155807faff2079cd6b1ea | 2e0b18721959cf04addbc1b9f07188b5ce352ebc | /man/futurize.Rd | 95397e779d2b56b9d2eb2dab4df5ab787ef2d26b | [
"MIT"
] | permissive | aclemen1/modulr | cde8ed13e708d8207362006c0dc38f4cc81edb65 | 0162dde8a7281380b82d2446841520f3299f87df | refs/heads/master | 2023-05-25T19:41:37.659195 | 2023-05-18T10:42:45 | 2023-05-18T10:43:37 | 41,587,794 | 9 | 0 | null | null | null | null | UTF-8 | R | false | true | 819 | rd | futurize.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/future.R
\name{futurize}
\alias{futurize}
\title{Tweak a module to a future.}
\usage{
futurize(original_name, name = paste(original_name, "future", sep = "/"),
dependencies = get_dependencies(original_name), strategy = NULL,
lazy = FALSE,... |
05401434d9272cb3990c022b83a1c0daffd2a4e4 | ead6d5613c2c5e53c31e73de65bf384368728597 | /02 Exploratory Data Analysis/Final Project/plot4.R | a7d6e806e1847ee56c8c9d070fd53bf41581a4a3 | [] | no_license | GRawhideMart/DataScience | 21efd5068b9ea5a32d62fd28effb76cf084002e3 | b8e7d1333a8840a4be0a59fea1a92d5af627ab43 | refs/heads/master | 2022-11-22T21:13:11.426114 | 2020-07-27T22:41:30 | 2020-07-27T22:41:30 | 262,305,064 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,161 | r | plot4.R | if(!file.exists('./Data.zip') & !file.exists('./Source_Classification_Code.rds') & !file.exists('./summarySCC_PM25.rds')) {
download.file('https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip', './Data.zip', method = 'curl')
unzip('./Data.zip')
file.remove('./Data.zip')
}
library(ggplot2)
poi... |
082be642e94984c82a332d59ae0b38b8c8431c20 | 872a1187f747a190c3b2cf716b3fcc2332c8c53d | /man/testInteger.Rd | f068c327284c5b9e229fd0c587c9af16c7aad423 | [
"MIT"
] | permissive | johnerichumphries/datasimr | 7843ca3f75cc56d5d989f77892c9f1acd7abf910 | 10733c82fc1e8a4664ec1db603b2ddd150dffc8c | refs/heads/master | 2020-05-14T23:39:43.056644 | 2015-05-04T22:49:18 | 2015-05-04T22:49:18 | 33,015,138 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 462 | rd | testInteger.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{testInteger}
\alias{testInteger}
\title{Check if everything in a vector of numbers are integers}
\usage{
testInteger(x)
}
\arguments{
\item{x}{a numbe or collection of numbers}
}
\value{
Returns \code{TRUE} if all values in vector ar integers and otherwise retu... |
c3c4ffd5eef8d3b42f78ffaa110e07346cd26ab3 | d5c066858e325da60e6ec9703787d2a92ed6f69b | /FD simulation TIMER.R | ed5d81873b52c7c589dc2bf84979bc9cf025f3fb | [] | no_license | AndrewTungYep/Models-for-the-within-host-dynamics-of-bacterial-infections | f611b6e825895f19db05fc5b503dfe60d40d6b72 | 2021c144c56b341f5c3ea557f2699ea60e259751 | refs/heads/master | 2021-01-22T19:54:26.211863 | 2017-09-04T09:11:21 | 2017-09-04T09:11:21 | 85,257,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,061 | r | FD simulation TIMER.R | initial.pop<-1000
gen.number<-400
r.num<-64000
g.num<-80000
g.prod<-1000
p.change<-0.005
partition<-0.013
#initial population setup
pop.table<-as.data.frame(matrix(,initial.pop,7))
colnames(pop.table)<-c("green","red","ratio","division time","divisions","bacteria number","time since division")
pop.table[,1]... |
4b88dd02d21733e1c53684b8444e4d92213933e3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/soc.ca/examples/balance.Rd.R | ab97bc6ef8c7dc51cf28ac302fc1ed85c9aa5f60 | [] | 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 | 171 | r | balance.Rd.R | library(soc.ca)
### Name: balance
### Title: Contribution balance
### Aliases: balance
### ** Examples
example(soc.ca)
balance(result)
balance(result, act.dim = 3)
|
139d5112c134815060a06cc521c4c527e9d9d678 | 608697bb4f083f6ae21e850984d3b99711ecc8d8 | /man/execute.Rd | 6a7d3e8e6c0993cb1040a71244d4db42bf4771a6 | [
"Apache-2.0"
] | permissive | Yovoss/Iris | 172b18ac245962c69a121f5fe7e4d965599fb91c | 6bee976057dec90ee2d8bb8b68bfcb598aa4ea61 | refs/heads/master | 2020-07-02T08:25:23.510976 | 2016-07-26T18:13:54 | 2016-07-26T18:13:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,998 | rd | execute.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/StudySpecific.R
\name{execute}
\alias{execute}
\title{Execute OHDSI Iris}
\usage{
execute(dbms, user = NULL, domain = NULL, password = NULL, server,
port = NULL, cdmSchema, cdmVersion = 5, file)
}
\arguments{
\item{dbms}{The type of DBMS ru... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.