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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
631cca8ead6ac1ebdc9808f19a27741df7abffbc | a78ce6dbca90fc5521d6f645c0df5284f7e8047c | /74688018/examplePackage/man/examplePackage-package.Rd | 96a2f31d19afd3c4dac58eebbf218e491c10fd71 | [] | no_license | eddelbuettel/stackoverflow | 9bf5cdc097510cb7239290dcb58255f3aa762b9f | de57106c911095509013e47dba8a9893fdaa3f46 | refs/heads/master | 2023-08-18T05:11:41.956688 | 2023-08-14T19:42:50 | 2023-08-14T19:42:50 | 157,002,433 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 364 | rd | examplePackage-package.Rd | \name{examplePackage-package}
\alias{examplePackage-package}
\alias{examplePackage}
\docType{package}
\title{\packageTitle{examplePackage}}
\description{\packageDescription{examplePackage}}
\section{Package Content}{\packageIndices{examplePackage}}
\author{\packageAuthor{examplePackage}}
\section{Maintainer}{\packageMa... |
8f1c5cf5a138be29f2e006872fb02a273c7e2819 | 7139bcfbcf42995caf49d0127a773ecb665449a2 | /GetTrimData.R | 5cf0716eba0cc652edbcfa5746f46649ee632cea | [] | no_license | ioanvlad/ExData_Plotting1 | d43137fabcc9074f029f14471fd5923f63675c3e | 0249f7a379c7cfe5f026630beb7a21a55a239c3b | refs/heads/master | 2021-01-22T05:38:49.907671 | 2017-02-12T03:16:55 | 2017-02-12T03:16:55 | 81,687,857 | 0 | 0 | null | 2017-02-11T22:49:24 | 2017-02-11T22:49:24 | null | UTF-8 | R | false | false | 1,333 | r | GetTrimData.R | GetTrimData <- function() {
# This function checks if the saved reduced data file needed for assignment
# 1 exists. If it does, it loads the data from it. If it does not, it
# downloads the zip file from the web, unzips it, extracts only the
# subset corresponding to the relevant dates, saves it ... |
21bcc06dbc0affcbab166ec739c4d58337cefdd4 | 39f88826e318b0b351667806602c6957d5ae01d0 | /man/get_data_sec_investment_companies.Rd | fee8189812cf828f007532f75ea1c9e4d85dc28a | [
"MIT"
] | permissive | jngod2011/fundManageR | 9b79169ba3b8157d8ae9ade3bd066c2b5f82c255 | cea3e117a217bb7c770670ddd440822094a728cc | refs/heads/master | 2020-03-28T07:22:15.138769 | 2018-07-29T16:26:53 | 2018-07-29T16:26:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,076 | rd | get_data_sec_investment_companies.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sec_functions.R
\name{get_data_sec_investment_companies}
\alias{get_data_sec_investment_companies}
\title{SEC registered investment companies}
\usage{
get_data_sec_investment_companies(nest_data = TRUE,
return_message = TRUE)
}
\arguments{
... |
04573ce31ac9109f4c2aca7094404abdc96b5cc4 | 6ef25123fac82d300307f2ecc785cac407b89eb1 | /tests/testthat.R | 6fb0d8f06fc13986b69ba8766fe96d5a0c725500 | [] | no_license | cran/fecR | 988e3953c1a7f0e0251de8fa6065c9b0add741c2 | 38c0ea017c4719699aefc518a275e7944c9dda71 | refs/heads/master | 2021-01-12T10:52:09.937971 | 2017-09-09T13:19:53 | 2017-09-09T13:19:53 | 72,737,800 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 52 | r | testthat.R | library(testthat)
library(fecR)
test_check("fecR")
|
ea8d63162f9a29b6d450b4113662116d09688e08 | 3982d0e473e189cebc52944722aa0aa43568f70e | /plot_heatmaps.R | 45ec9476569e9d34069875560e2e2dd265678fbf | [] | no_license | Joshmoss11/TKO | e887894617b506283a951371b4e78a0de0d53fff | c9cd94e5400bbc5ed9d4f56f9256514985addaf2 | refs/heads/master | 2020-12-25T14:34:07.220876 | 2016-09-27T14:12:02 | 2016-09-27T14:12:02 | 66,776,313 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,193 | r | plot_heatmaps.R | #mat.dir <- '/mnt/lustre/hms-01/fs01/joshua.moss/cedar/embryo/tko_analysis/heatmapper_results'
mat.dir <- '~/tko_analysis'
tko.k4.f <- file.path(mat.dir,'tko_h3k4me3_matrix.tab')
tko.k4 <- as.matrix(read.table(tko.k4.f,header=F,skip=2,nrows=-1))
rotate <- function(x) t(apply(x, 2, rev))
library(RColorBrewer)
#bk = c(... |
695e784d28f53702c12d7fa63bbeedbfa5cab76a | 9ba17a398ef142f8edd71f591bdb494615d043fe | /decisionTree/preprocess/NAs.R | 395eb9da0d3e587802ef3ede1d4423abe36ea6a6 | [] | no_license | jaumeCloquellCapo/data-mining-preprocess-and-classification | 6fff17f635c0a07e77a6ec8cb2654a31c0d46cb3 | 62e19b26ed9453e6da25ddc913d22975c51dbb48 | refs/heads/master | 2020-04-28T23:29:08.736974 | 2019-03-14T16:18:39 | 2019-03-14T16:18:39 | 175,656,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,349 | r | NAs.R | library(mice)
library(missForest)
#Función que elimina las filas que continen algún atributo con valor NA
na.delete <- function(dataset){
return(na.omit(dataset))
}
imputacionKnnTotal <- function(x){
#' Se incluye dentro una primera función imputacionKnn
imputacionKnn <- function(x, y){
#' Se le pasa ... |
a25c6e41a9977d345e4afbf6a654a0bbb164def1 | ba945883b338fa643b6edddf530083efcc09e184 | /R/8_experiment.R | ca2b34866000abcd2f7b83fef26c02905d600a55 | [
"MIT"
] | permissive | passt/dyngen | 592abe0d299464c9e71b0b60af117d1b8b3772ef | 0967ed8af06a318d01971983fd05b87572995a4e | refs/heads/master | 2022-12-30T20:44:45.136214 | 2020-07-15T09:18:19 | 2020-07-15T09:18:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,863 | r | 8_experiment.R | #' Sample cells from the simulations
#'
#' [generate_experiment()] runs samples cells along the different simulations.
#' [experiment_snapshot()] assumes that cells are sampled from a heterogeneous pool of cells.
#' Cells will thus be sampled uniformily from the trajectory.
#' [experiment_synchronised()] assumes that ... |
b977f2776d1b791f71ab82daf9b1ef8b641e7664 | ab3fd5416be6772a9e9c6a979b5d6d1681620883 | /man/apply_stylerignore.Rd | 89be09c4a2e37453b9102aacc6585aaeeaf693d7 | [] | no_license | jb388/styler | ff8eccda9eeeab52d7b7a5d0fe45790799a53b33 | e49afbf6eec54990f6bf07fad16ae61bbc1b37bd | refs/heads/master | 2021-01-02T19:00:34.486266 | 2020-02-10T23:48:28 | 2020-02-10T23:48:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 709 | rd | apply_stylerignore.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stylerignore.R
\name{apply_stylerignore}
\alias{apply_stylerignore}
\title{Ensure correct positional information for stylerignore expressions}
\usage{
apply_stylerignore(flattened_pd)
}
\arguments{
\item{flattened_pd}{A flattened parse table.... |
51edd6a6590701871880ce741ee9eba7652fe53e | cbb2bd4a136c87a0799983385cee8584a3e85add | /tests/testthat/test-3agglomerate.R | ab6d83f737d5202263aed8d281e8fdc50913197a | [] | no_license | microbiome/MicrobiomeExperiment | b4220f7210871ea1579c552d384ee9f060e4e6a5 | 3012ee51ff8a9082d161130bc4fb962bb6757d07 | refs/heads/master | 2023-01-03T16:25:14.820550 | 2020-10-25T11:32:15 | 2020-10-25T11:32:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,575 | r | test-3agglomerate.R | context("agglomerate")
test_that("agglomerate", {
gr <- GRanges("chr1",rep("1-6",11))
df <- DataFrame(n = c(1:11))
mcols(gr) <- df
grl <- splitAsList(gr,1:11)
mat <- matrix(1:110, nrow = 11)
xtse <- MicrobiomeExperiment(assays = list(mat = mat),
rowRanges = unnam... |
4a5530c917fc187db29d16e414bdb4a210e2bbc8 | 2b379acc87342a02c4c607cff8575dc822261962 | /cachematrix.R | 42eb5e11d0ce9c59c0183b38fb334c4d74f482c2 | [] | no_license | yangweiliu/ProgrammingAssignment2 | 4009c432acf9f9cb6a63f5ab46efb9697802710c | 4375273dda5ef3fb751e174fc3d5397f62c3bca0 | refs/heads/master | 2021-01-25T02:29:59.010648 | 2015-08-23T23:04:43 | 2015-08-23T23:04:43 | 41,267,173 | 0 | 0 | null | 2015-08-23T21:00:55 | 2015-08-23T21:00:54 | null | UTF-8 | R | false | false | 1,318 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## The following is to create a matrix object that can cache its inverse
makeCacheMatrix <- function(x=matrix()) {
## Initialize
i <- NULL
## set matrix
set <- function(matrix) {
m <<- matrix
i <<- NULL
... |
b3606735b7eddd6725a33c19978058e91eae8bfa | 6a2836aa5d43e5925c7d6f66f89121f8d55a4ee9 | /Code/logitModell/man/maxLikeEst.Rd | 1204c0dd102c9b8032d3f671bb9ac7bd902d9869 | [] | no_license | xuansonle/LogisticRegressionFromScratch | 3ab73b077c8757c00fb4b5a9ccc813c4faa36134 | 2a3b58c247e2f34e0a86ec382fd64cce3c0338e1 | refs/heads/master | 2022-08-01T23:52:19.567470 | 2020-05-18T09:53:37 | 2020-05-18T09:53:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 834 | rd | maxLikeEst.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/logitModell.R
\name{maxLikeEst}
\alias{maxLikeEst}
\title{Maximum Likelihood}
\usage{
maxLikeEst(y, X)
}
\arguments{
\item{y}{a matrix/vector containing the dependent variable}
\item{X}{a matrix containing the intercept and all independent v... |
b963f7f5dbc2b62d85dba160982cb0691df92a33 | 7b36e0401cfb3d56f0f812a1e37c36a00cd86033 | /homework2/server.R | 62b657b997daea650eb04dbdc8109a21de32f2aa | [] | no_license | mong2/msan622 | d6c587d2fbb07634e41ac2a7de8a68dac0bcf899 | fa18e6032ea82f857f741afc2fd9a4ec1a1e4fcc | refs/heads/master | 2020-12-06T23:27:33.420498 | 2014-05-16T07:00:19 | 2014-05-16T07:00:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,767 | r | server.R | library(ggplot2)
library(shiny)
# Load global data to be shared by all sessions
loadData <- function(){
data("movies", package = "ggplot2")
movies<-subset(movies, budget>0)
movies<-subset(movies, mpaa !="")
genre <- rep(NA, nrow(movies))
count <- rowSums(movies[, 18:24])
genre[which(count > 1)] = "Mixed"
... |
af540539954630551a9e188079e1f5c721bb858c | 4115c98348bf0e7fe944272d91fe351d58d22a96 | /R/get_RMF_from_NASIS_db.R | 662408e1199d1be40759707ce778e99ff8bda562 | [] | no_license | ncss-tech/soilDB | a933bf98a674fd54b5e1073a4497ee38a177bdf2 | 380440fc7b804b495aa711c130ab914c673a54be | refs/heads/master | 2023-09-02T14:19:17.348412 | 2023-09-02T00:56:16 | 2023-09-02T00:56:16 | 54,595,470 | 68 | 20 | null | 2023-09-01T19:00:48 | 2016-03-23T21:51:10 | R | UTF-8 | R | false | false | 2,391 | r | get_RMF_from_NASIS_db.R |
#' @title Get RMF data from local NASIS
#'
#' @description Prepare a list of `data.frame` objects with data from the "phrdxfeatures" and "phredoxfcolor" tables. These tables are related by "phrdxfiid" column, and related to horizon data via "phiid".
#'
#' @param SS logical, limit query to the selected set
#'
#' @par... |
6e09faf8c372540d4c9fb440e514d8e07457ea9f | c7ee5bc6a094dd513c2aba7a401495f6d93ec24c | /R/coefficient.song.solution.R | dd6dac098944887215875fe215d30522c4c579a6 | [] | no_license | cran/boussinesq | b6961abca782e0f188876c429bf74c860abbc723 | 3d77b848c8c156c162f8b7c967549bc388e326b3 | refs/heads/master | 2023-08-31T00:46:17.117323 | 2023-08-28T16:00:07 | 2023-08-28T16:34:06 | 17,694,868 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 964 | r | coefficient.song.solution.R | NULL
#'
#' Alogorithm for resolution of the series coefficient \eqn{a_n} for the dimensionless formula for \eqn{H} in \code{\link{beq.song.dimensionless}}
#'
#' @param n approximation order
#' @param lambda dimensionless parameter related to \eqn{\alpha} see Song at al, 2007
#'
#'
#' @return the \eqn{a_n} series ... |
0ec7894bfa71e479cb4c5e7b77adebea58adb4dd | 377c8851390a7e85f2cca30246e0f9f6df7d13cc | /r_scripts/response_analysis_pilot.r | 216011454c02a03d0b34c30ac4c931be63db94cf | [] | no_license | GallupGovt/ngs2 | bb9eca850dc0d76b39d7aa16aeb1ef59d6d640fb | ed9443400bcd2a46907dae6701a7bd4580499772 | refs/heads/master | 2023-05-26T16:45:47.820293 | 2020-12-17T09:48:56 | 2020-12-17T09:48:56 | 147,573,574 | 4 | 4 | null | 2023-05-22T21:36:06 | 2018-09-05T20:07:10 | R | UTF-8 | R | false | false | 29,970 | r | response_analysis_pilot.r | # Empanelment stitching for attrition analysis within NGS2
# Author: Matt Hoover <matt_hoover@gallup.com>
# directory setup
if(Sys.info()['sysname'] == "Windows") {
setwd(paste0('C:/Users/pablo_diego-rosell/Desktop/Projects/DARPA/Cycle 1/',
'Research Protocols/Registration/Experiment 2/Mock data')... |
c24fe0ebcc2bc67ab1de206e24b082d42c88cb34 | f84555689fd60f3a8811c7a2dd63a04a4c141477 | /man/ets.low_F_NP.Rd | 7e3d7f7780246f3a01a1169596f55b86958d8bd9 | [] | no_license | raphael210/MaziBox | ca4edada9a187a603a7664e4cb5143537345eccd | 0a341bf9ba183383c36f2ab63cd8320138552828 | refs/heads/master | 2021-04-26T16:44:49.165127 | 2017-04-24T03:26:48 | 2017-04-24T03:26:48 | 79,436,863 | 0 | 0 | null | 2017-04-24T03:26:49 | 2017-01-19T09:23:48 | R | UTF-8 | R | false | true | 278 | rd | ets.low_F_NP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/funset.R
\name{ets.low_F_NP}
\alias{ets.low_F_NP}
\title{get ETS of stocks with low forecasting}
\usage{
ets.low_F_NP()
}
\value{
ETS object.
}
\description{
get ETS of stocks with low forecasting
}
|
05e799546d6d2224b06658c7d13e5bb88303975b | c8b151735d2abc1fd181f1dabb4724936506dbd6 | /deathCauses_Rplot.R | 7cb7d8e15000c8682911423687bb05047d4a0e86 | [] | no_license | Jo11jo/The-4-Loop | 41128b1a93f0fe8c884b1376e454c09229cc8331 | 0c9e8cf060abd60980e31fa496f0c5192dd03953 | refs/heads/master | 2021-05-12T01:26:49.547612 | 2018-01-19T16:07:43 | 2018-01-19T16:07:43 | 117,559,652 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 465 | r | deathCauses_Rplot.R | library('tidyverse')
library('ggplot2')
install.packages('ggplot2')
common_deathCauses <- read.csv('common_deathCauses.csv')
# This makes a bar graph of the most common death causes in the years 1820 until 1920
ggplot(common_deathCauses, aes(x = reorder(cause, deaths), y = deaths), position = position_stack(reverse =... |
cdac17cfed1395bb9ed3ab4244169adc76cd7e13 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diceR/inst/testfiles/connectivity_matrix/libFuzzer_connectivity_matrix/connectivity_matrix_valgrind_files/1609958623-test.R | acb36c95cec9860068f7272ab17f7635e028bdb5 | [] | 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 | 429 | r | 1609958623-test.R | testlist <- list(x = c(1.65468513579984e-316, 1.12414655062708e+79, NaN, NaN, 1.64966219107908e-115, 3.522512689419e-312, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,... |
cfc8a127fc5cc9cfa11ddf884505901d33800f37 | bf90dbae3ffc02f046740589591afbd0288a62f8 | /R/bayesPiVector.r | a2dc2ce85b34161b2230f728b5ea3902d03056ea | [
"MIT"
] | permissive | atredennick/EoAR | 65a70d59a429a013e3f8453e638dc626c6aa8a1e | 068e9d70940ccd3f87b66e0567c27273ac71b6a8 | refs/heads/master | 2023-07-10T21:02:07.010382 | 2021-08-13T14:47:38 | 2021-08-13T14:47:38 | 289,321,390 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,631 | r | bayesPiVector.r | #' @export
#'
#' @title Baysian estimation of a multinomial
#' proportion vector assuming a conjugate
#' prior.
#'
#' @description This routine assumes you have an observation
#' from a multinomial distribution with k classes (k >= 2, parameter
#' \code{x}) and have assumed that the multinomial distribution's
#' propor... |
c6b70b730107f55bbe3c2cfd75bde0fa684700cc | 4d9a2b7d548a1787f7444b0247c4ee3f55b5cbed | /start_bn2.R | da834eea6c2939809e31cfcabab0d6f3099d9901 | [] | no_license | matteovadi/bit_app | 1d45aa5a3d9faa22d7bff5173b2f3051ee7c8cc6 | 9bfb46eec5eafef5cf4730e01f8b97e177af2111 | refs/heads/main | 2023-01-08T14:00:56.844921 | 2020-11-01T22:51:27 | 2020-11-01T22:51:27 | 296,031,716 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,581 | r | start_bn2.R | ## inizio.programma_bn ##
setwd("/Users/matteovadi/Desktop/bookintime/BIT")
# Inizializzazione #
rm(list = ls())
library(RcppQuantuccia)
h.max = 8
residuo6180 = h.max
residuo6250 = h.max
duedate6180_bn = as.Date(ISOdate(2020,9,30))
duedate6250_bn = as.Date(ISOdate(2020,9,30))
X = c(as.Date(ISOdate(2020,4,14)),
a... |
a6682ee63608ced604b87e7519789d608b0ab4a1 | b6eb519b8ef49e9466060b5fe8f287f97aca5bcc | /NYTIMES_API_WEEKLY_CUT.R | 43d1703b4babf85bc67ef108e7f8f4c64e55b796 | [] | no_license | ChangMinSeung/NYTIMES_API_WEEKLY_CUT__Practice | 9ce3959b972074e338be53ca481b8363dae12f8b | fac0f5231208af68b2178643c9be92428a55b754 | refs/heads/master | 2020-04-05T20:11:36.349526 | 2018-12-28T05:57:30 | 2018-12-28T05:57:30 | 157,168,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 831 | r | NYTIMES_API_WEEKLY_CUT.R |
#NYTIMES API 접속
Sys.setenv(NYTIMES_AS_KEY = "INTER_YOUR_KEY")
Sys.getenv("NYTIMES_AS_KEY")
install.packages("rtimes")
library('rtimes')
#NYTIMES API 데이터 요청
NYNK_6month <- as_search(q ="North Korea",
begin_date = "20180601",
end_date = "20180731",
... |
17a28c9fff8bbac4e1520baa97b66ad97fc2336f | 280275f0e84b1a15a5273dc1bcbb705d651ed573 | /MODIStspPruebas.R | 475a4081792b9a383510f091d7bb681aded2ca61 | [] | no_license | Carlitoshsh/Testing-R | c3c440470b6c76dea1ed40843029fd15b5640cf7 | d124ba4bd9701c4ece224f7e71a8137e74bdc551 | refs/heads/master | 2020-05-02T09:34:06.586009 | 2019-03-28T01:38:10 | 2019-03-28T01:38:10 | 177,875,065 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 326 | r | MODIStspPruebas.R | #Package available on https://github.com/ropensci/MODIStsp
#install.packages("gWidgetsRGtk2")
#library(gWidgetsRGtk2)
#install.packages("MODIStsp")
library(MODIStsp)
options_file <- "C:/Users/carlo/Desktop/pruebas/options.json"
# --> Launch the processing
MODIStsp(gui = FALSE, options_file = options_file, verbose =... |
ea1f0d6abe235b3e7084960d3b05b4d0a58c769a | 0afd8381918f860af0238fae12377fe4b4e5b921 | /man/fars_map_state.Rd | d725ab60f044aae5dfb4b89a448a03d9dcd6d24f | [] | no_license | rafaelcb/FARS | 46b06de8f128621049f96db483965b27be417fea | c70c499cfbfa131c09d19e3ca8f3574d346706e5 | refs/heads/master | 2021-01-01T06:28:14.628023 | 2017-07-23T20:48:16 | 2017-07-23T20:48:16 | 97,430,175 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 969 | rd | fars_map_state.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars_functions.R
\name{fars_map_state}
\alias{fars_map_state}
\title{Create map with Fatality Analysis Reporting System data}
\usage{
fars_map_state(state.num, year)
}
\arguments{
\item{state.num}{A numeric value with the state number to plot... |
9cee6af3479ad8d2178ece6f7887191cec95b84d | 2e6ede33c821f7da4d2735b971a8a25e6b376c8f | /aufgabenpool/start.R | 9c7494326de864e892874915bc0f1c611bb2f40b | [] | no_license | japaweiss/TEST-aufgabenpool | 0dba28d41a9deb32ced7cd3725eea1190cb4f597 | 6d09503fc0371190c26653cc14abc389c2bc3063 | refs/heads/master | 2021-06-02T00:54:45.666915 | 2019-10-03T16:58:51 | 2019-10-03T16:58:51 | 39,435,022 | 0 | 0 | null | 2015-07-21T09:12:25 | 2015-07-21T08:56:46 | null | UTF-8 | R | false | false | 1,649 | r | start.R | ## Exams-Paket laden
library("exams")
## Vektor mit den Aufgaben erstellen
myexam <- c("ZRr_01_zinsJahr","ZRr_02_zinsMonat")
## Erzeugung der PDFs und dazugehöriger Lösungen
exams2pdf(myexam, n = 3, name = c("PDF-Aufgabenblatt", "PDF-Loesungen"),
encoding = "UTF-8",
dir = "C:/aufgabenpool/output",
edir = "C:/au... |
27968e2177078ea6eebe833f3d0f2cbc54b7f5cc | 91ddd0b092f72ddbb3442a4f0ad04873b8638015 | /man/construct_incompMat.Rd | 4532a31dabdcc853ebc3950e8188e6f5b3886417 | [
"MIT"
] | permissive | PMildenb/SteppedPower | d601258f53d7d399b17fedef03e451360b18bd4f | b7e0512714924142e8a6430ae45869f994eb3c56 | refs/heads/master | 2023-06-24T19:18:23.895589 | 2022-08-10T10:41:00 | 2022-08-10T10:41:00 | 156,396,213 | 1 | 0 | NOASSERTION | 2021-07-07T08:26:32 | 2018-11-06T14:29:19 | R | UTF-8 | R | false | true | 1,250 | rd | construct_incompMat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/construct_DesMat.R
\name{construct_incompMat}
\alias{construct_incompMat}
\title{Constructs a matrix of 0 and 1 for unobserved and observed cluster periods, respectively.}
\usage{
construct_incompMat(incomplete, dsntype, timepoints, Cl, trtma... |
32e12cdfccdd09defcfe6c7cf1eb60d3642e94c8 | c4e48240f47280fd3b57f1e682e50841aa527763 | /analysis/functions/func_qqplot.R | d08e8eb21271b7c76d4a65616b65435e4f15b5b7 | [] | no_license | bwtimmermans/SRS_wave_analysis | 66ba6739d31f108661de879a178febb71b9d0fd6 | ce06c2bbb8424988eec6fb699f0130c5154ec081 | refs/heads/master | 2022-10-14T13:05:27.067573 | 2022-09-22T20:21:57 | 2022-09-22T20:21:57 | 181,764,121 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,558 | r | func_qqplot.R | # qqplot function derived from extRemes package.
# Modified to allow changing font size of legend and line size of regression fit.
func_qqplot <- function (x, y, pch = 19, xlab = "x Quantiles", ylab = "y Quantiles",
regress = TRUE, make.plot = TRUE, cex.leg = 3.0, lwd.reg = 3.0, ...)
{
args <- list(...)
... |
b9d9075ac2561550ffda23eb5c10a3e67f4df017 | b34fbe86f91c485a05ca183df81a40a6bdcca6c6 | /R/knapsack_dynamic.R | 71a2b221d590baefb3a12ecd409d901b9a227ebb | [] | no_license | Jorisvdoorn/lab6group8 | 588ebec6ff93379ea31df986a4e8b2de921a89e4 | 982126f6f467e8c64ebb008695aab261766c6915 | refs/heads/master | 2020-08-07T09:55:07.717184 | 2019-10-13T18:45:52 | 2019-10-13T18:45:52 | 213,400,404 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,523 | r | knapsack_dynamic.R | #' Knapsack Dynamic
#'
#' Returns the maximum value given the capacity of knapsack by using dynamic programming.
#' @usage knapsack_dynamic(x, W)
#' @param x A \code{data.frame} consisting of two variables. \code{w} represents the object's weight and \code{v} is the value.
#' @param W the maximum capacity of the knaps... |
0e564ed2e825afc82c01a9c8d80d20691de7a5b9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/addreg/examples/conv.test.Rd.R | b0eb66af32d0521f7c80df107c29bdcb89a29643 | [] | 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 | 278 | r | conv.test.Rd.R | library(addreg)
### Name: conv.test
### Title: Convergence Test Based on L2 Norm
### Aliases: conv.test
### Keywords: models misc
### ** Examples
theta.old <- c(4,5,6)
theta.new <- c(4.05,5,6)
conv.test(theta.old, theta.new, 0.01)
conv.test(theta.old, theta.new, 0.005)
|
2dd930a449374dae03d1a56f9aee2b2803d5616d | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /output/sources/authors/258/bipartite/mgen.R | 5529d5c1c9401345d4fd50a4f02d2609e32ae760 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,323 | r | mgen.R | mgen <- function(web, n=sum(web), keep.species=TRUE, rep.cell=TRUE, autotransform="sum", trials=100){
# function to generate a quantitative network based on a probability matrix
# by Diego Vazquez (brushed up for a more bipartite-consistent use of names by CFD)
# web a matrix with observation probabilities, emergi... |
4f193ced394047fd4c95e4d47d45ef7daeaa47b8 | 21733d8a9b0d59e63f575623848e79d0e5062092 | /CourseProject/Capstone/capstone_project_app/server.R | f187980caae29b5b9b7edeb4d653707b031dc467 | [] | no_license | zhangjinge588/datasciencecoursera | f66c6bc679650464b138f0ac072ab0812546eb2f | df33e473858122a95cec2a8273d0e232b28ac4c3 | refs/heads/master | 2020-08-27T16:33:08.814478 | 2020-05-04T16:29:55 | 2020-05-04T16:29:55 | 217,433,692 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,631 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(tm)
create_corpus <- function(data, language='en') {
my_corpus <- VCorpu... |
84dc6346c78d6935dd88cc15ba6b6699b1ee0292 | a53a47b66692362a3257c59afb754cf4d6777b07 | /inst/doc/nearestCentroid.R | 90b7507d642ec3b919b0ab40745bd5bb0ec12e16 | [] | no_license | cran/lolR | a755f8ebf1a6e5b9082d0ffc5d1f2f70034767b2 | 0e92f4f31cb5eccecdcc6451ddd9f6028cf6f06b | refs/heads/master | 2021-05-04T12:57:38.205418 | 2020-06-26T21:30:03 | 2020-06-26T21:30:03 | 120,304,157 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,321 | r | nearestCentroid.R | ## -----------------------------------------------------------------------------
require(lolR)
require(ggplot2)
require(MASS)
n=400
d=2
## -----------------------------------------------------------------------------
testdat <- lol.sims.mean_diff(n, d)
X <- testdat$X
Y <- testdat$Y
data <- data.frame(x1=X[,1], x2=X[,... |
b36132f8506292e56371e5d03b20beade9b45b1c | b023b0d675db64020da9955d7d0ee669b36ffeee | /pollutantmeanold.R | cc7c14fa7fe743562d3411a9fe9ab5137a3e1bc2 | [] | no_license | chanovin/R-Prog | 55c7f91e17bf8eb6b7a4454c201fe8ba4059f39a | 92644f2b8f627d24352dc7f9d9b40c14fb9aa43a | refs/heads/master | 2020-02-26T16:28:05.099489 | 2016-10-18T01:34:46 | 2016-10-18T01:34:46 | 71,196,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,517 | r | pollutantmeanold.R | pollutantmean <- function(directory, pollutant, id = 1:332) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'pollutant' is a character vector of length 1 indicating
## the name of the pollutant for which we will calculate the
## mean... |
e1bcd7f4ef25540cf7f13fc5282833c645decc36 | 027165157365f3abed4569620b7a708f365208d8 | /man/delete_fmri_data.Rd | 30ff23e98d829b337f2d708c4904039418f581ea | [] | no_license | neuroconductor/kirby21.fmri | 2b4d0a1d498ae0d8adcb306e87717137be48c893 | 02ab8d98d6ce8e9095966b64086f99654e7a9f8d | refs/heads/master | 2021-07-06T07:32:20.562175 | 2021-05-15T01:04:13 | 2021-05-15T01:04:15 | 79,593,151 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 432 | rd | delete_fmri_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/delete_fmri_data.R
\name{delete_fmri_data}
\alias{delete_fmri_data}
\title{Delete fMRI Image Filenames}
\usage{
delete_fmri_data(...)
}
\arguments{
\item{...}{arguments to pass to \code{\link{delete_kirby21_data}},
\code{modalities = "fMRI"} ... |
68d0d60c19685503bc8d6666ed8a84167fcc8fa2 | a712c2035083d98870728ce622b90f6bed0cc149 | /portopt/R/retrieve_close.R | 2a3c045997ad3e58a8d7e083e08da1e72113d020 | [] | no_license | Dom-Owens-UoB/FinProject | 59e2a5dd3da88e69b44c7d957dc346a542a39b15 | d960f84581202d41df1eff99ea8fd066154c1c3b | refs/heads/master | 2020-09-05T04:10:17.648126 | 2020-01-17T12:58:10 | 2020-01-17T12:58:10 | 219,978,477 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,149 | r | retrieve_close.R | #' Retreieve the close prices between specified dates
#' Columns containing missing values will
#' @param data A dataframe to be subsetted by date. The dataframe must have a column
#' with the name 'date'.
#' @param from A character string which gives the date of the earliest
#' entry e.g. 2018-01-01.
#' @param to A ch... |
67d24ebbaad522504b9a1437f823e6b03469e780 | 160a8c80035360a176900fc3a7b9b56905a682a6 | /R/main.R | 66fa8934fbbb010b85653382673844ae981f3c62 | [] | no_license | marinegenomicslab/red_drum_map | 9635caef86f31c3bf557787129c8bfc9cdf2933f | bf2cf11cb70f0aa5367e0928be16dc68d197404b | refs/heads/master | 2020-05-23T03:53:18.913236 | 2016-10-17T13:02:29 | 2016-10-17T13:02:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 278 | r | main.R | # Create tables and figures
# See data/README for descriptions of data files
# Create the figures
system("Rscript R/figure_1.R")
system("Rscript R/figure_2.R")
system("Rscript R/figure_3.R")
# Create the tables
system("Rscript R/table_1.R")
system("Rscript R/table_2.R")
|
3f4ac828902e3e05452650287c394fed8db0296d | 89dd5bf35cc8f2b3c66cfc5902e9db33445a77fd | /Scripts/all_sdgs_data_format.R | 7ff7e2bf42b0e7a7a8180c03a0a658ebd4a4f897 | [] | no_license | spoonerf/SDG_HBModels | 59e40994d1949ad460a4cdc1c16375abfb82c92c | 8388d01a833ee50698a6ca6ffcdacaa2bd40a8b1 | refs/heads/master | 2021-05-18T13:02:48.457631 | 2020-03-31T10:38:11 | 2020-03-31T10:38:11 | 251,253,596 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,512 | r | all_sdgs_data_format.R | library(dplyr)
library(readr)
library(janitor)
library(tidyr)
library(rnaturalearth)
library(rnaturalearthdata)
source("~/Documents/ECEHH/SDG_Tracker/sdg_useful.R")
source("Scripts/get_iso3.R")
sdg_df <-
read.csv("Data/All_SDGS_by_Country.csv", na = c("", "NA"), stringsAsFactors = FALSE) %>% clean_names()
table(sd... |
82d02540059fe41f78e0594b325602bb6180ee28 | 2da593c68a2bb1fd6ee94b8e5e68a894d37f6c10 | /man/reference.gff.file.Rd | e1f3d06e6f45f8f477d6ede318c655fd5646d17c | [] | no_license | anu-bioinfo/neoantigenR | 78e3f1e3ceb63234d43f8a3495fd12364b7daa98 | f9a4533b18ba4086e5b5a37a26f940c5915083ad | refs/heads/master | 2020-04-05T03:42:03.272403 | 2018-04-18T20:38:55 | 2018-04-18T20:38:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 511 | rd | reference.gff.file.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conf.R
\docType{data}
\name{reference.gff.file}
\alias{reference.gff.file}
\title{the path for reference annotated gene database file}
\format{An object of class \code{character} of length 1.}
\usage{
reference.gff.file
}
\value{
the path for... |
cd96837c059346d5b633b9290418faea1746f53a | 853ca7600c8146f64982399ec8d191febf42f6f1 | /010_DIAG.R | 913b856d0280f4e5ddd440ca707e61e111047e5c | [] | no_license | mvoigt87/CancerEdinburgh | 3839f55b9db2bb179cf1aa089c34f15eafbd0910 | 044e661279f34240baadd40aa39913f4e1876206 | refs/heads/master | 2020-03-30T16:38:04.182898 | 2018-10-10T14:59:01 | 2018-10-10T14:59:01 | 151,418,596 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,753 | r | 010_DIAG.R | ###
### A file for creating a mask for the final analysis
### - Part 1 - Time Series Analysis for stage at diagnosis -
###
### 0.1 - Load Packages
library(tidyverse)
library(forcats)
library(data.table)
library(broom)
library(survival)
require(MASS)
require(Hmisc)
### 0.2 - Load Data (load any data set)
# set path to... |
4835d9b51e1492eb199fccf64269da767255ecf5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ggenealogy/examples/plotDegMatrix.Rd.R | b02a632fc9caa88c0fa63d4b700c3416a7e7942e | [] | 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 | 439 | r | plotDegMatrix.Rd.R | library(ggenealogy)
### Name: plotDegMatrix
### Title: Returns the image object to show the heat map of degrees between
### the inputted set of vertices
### Aliases: plotDegMatrix
### ** Examples
data(sbGeneal)
ig <- dfToIG(sbGeneal)
varieties <- c("Bedford", "Calland", "Narow", "Pella", "Tokyo", "Young", "Zane")... |
c35a6f047c9911f417d7fc403f3ad252d6215a04 | 4c027025f70a9393c511cbfa066afb63614b2e2f | /IRIS.R | 39403904786cb322b5c6fcf535a85e9726cac44d | [] | no_license | Anandxu/PCA-and-K-means | f28cbe6b6b5991fc40973437a7ded6b5e3d15c95 | 9d94fd59979956adbbbd12d38545eac47de52a36 | refs/heads/master | 2020-08-27T18:53:52.629439 | 2019-10-25T06:18:42 | 2019-10-25T06:18:42 | 217,463,930 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 932 | r | IRIS.R | library(cluster)
library(factoextra)
library(NbClust)
library(fpc)
library(ggplot2)
library(ggfortify)
data(iris)
head(iris)
iris2 <- iris[1:4]
#PCA
PCAtemp <- prcomp(iris2)
summary(PCAtemp)
PCAtemp$rotation
screeplot(PCAtemp, type = "lines")
abline(v = 2,lty =2, col = "red")
autoplot(PCAtemp)
autoplot(PCAtemp, dat... |
ddbe129b4cfbd7bc60d09b9a83b6dc5e0f1b540d | 7de45ce117ac9f1e9df09ed3cd8aea73ac773857 | /R/xform.R | a397efed0920e1bdd9a3489cdef25485bc9c52f7 | [] | no_license | acamargofb/RNifti | 1043593ff757b1bdffc9a3f41e12bfbbad68c992 | 44e92773d30a6efc519dac141b1c56bf056f9868 | refs/heads/master | 2020-08-24T20:08:55.035931 | 2019-09-26T14:43:27 | 2019-09-26T14:43:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,210 | r | xform.R | #' Obtain or replace the ``xform'' transforms for an image
#'
#' These functions convert the ``qform'' or ``sform'' information in a NIfTI
#' header to or from a corresponding affine matrix. These two ``xform''
#' mechanisms are defined by the NIfTI standard, and may both be in use in a
#' particular image header. The... |
8267e270a0e8e409c959596e979910c5eef4bfa9 | 934f98f884deeb66925cee156022f6d6329b25a2 | /R/datashieh_CI.R | f606ad6ac39bd29ebedd5047f1842f00af672953 | [
"MIT"
] | permissive | arcaldwell49/deffectsize | 970f2b3908bb25ae15940d26c70b1ee66998187f | d3c4b58a3d72b686a6de95f7d9447b305e460d46 | refs/heads/main | 2023-03-27T17:43:20.614061 | 2021-03-23T09:50:27 | 2021-03-23T09:50:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,371 | r | datashieh_CI.R | #' Function to compute CI around Shieh's effect size estimators
#'
#' @param Group.1 a (non-empty) numeric vector of data values.
#' @param Group.2 a (non-empty) numeric vector of data values.
#' @param conf.level confidence level of the interval
#' @param unbiased a logical variable indicating whether to compute the b... |
a4abc33be36e07cdd72d0ee1b41e31b42c4bd62f | 1790c48507e09f3c019ea2535afd0326e2b54c4a | /man/contig_1993.Rd | 921c4b3e9b51e04152f5daf86121c8815c1ba41e | [] | no_license | zalmquist/networkMethods | 2d7a06a23688d86863a5fc8385504979a1f0edac | 6d613882355180358b0e667e048e0a269380b46a | refs/heads/master | 2021-03-13T00:10:25.427612 | 2015-11-26T22:30:04 | 2015-11-26T22:30:04 | 39,535,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 594 | rd | contig_1993.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{contig_1993}
\alias{contig_1993}
\title{Correlates of War 1993: Contiguity among nations}
\format{A network object:
\describe{
\item{contig_1993}{network}
}}
\source{
\url{http://www.correlatesofwar.org/}... |
6078c065e96e8ec9ad1a9cc117b49489659cfbd2 | f65ef863249f0a1d1309f531d8f34cda029b2e60 | /man/genesbytbruceitimeseries.Rd | cef89caa01e60290ebe8d44985243c468bb60097 | [] | no_license | duncantl/REuPathDB | f01892a1685119f426e00683f33597ca7dc2953b | 8f9764c73df29e87cd7f779c8a5f9ee6aaa6904b | refs/heads/master | 2020-05-18T16:47:42.147123 | 2011-12-06T17:39:50 | 2011-12-06T17:39:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,570 | rd | genesbytbruceitimeseries.Rd | \name{genesbytbruceitimeseries}
\alias{GenesByTbruceiTimeSeries}
\title{Identify <i>T.brucei</i> based on fold change expression difference between a "comparison" time point stage and a reference time point.}
\description{Find genes based on fold change expression difference between a "comparison" time point stage and ... |
6b702dd2ca13021f03f9c40487a55bc1bf325c3b | cfcf2a2002bf6099ed5bbfcfa215f3c83efb14a2 | /07c_texmex_slimline.R | 6ef5374bf39ac8a1e822696cca08bf3334c2daef | [] | no_license | griffada/AQUACAT_UKCEH | c07dcbf1ac277cd4759929e3cc2fe121cdc68fb5 | cee49f0fa5a8b3d1fc7dab7f02da4f64648ffc5a | refs/heads/master | 2023-08-16T08:02:51.831710 | 2021-10-22T13:50:48 | 2021-10-22T13:50:48 | 281,631,316 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,894 | r | 07c_texmex_slimline.R | #~~~~~~~~~~~~~~~~~~~~~~~
# Adam Griffin, 2020-02-21
#
# Rewritten functions to perform HT modelling on big dataset.
# Takes texmex and pulled it apart, making use of a small number of internal
# texmex functions.
# Generally, this is an aim to reduce overheads by removing copying of large
# objects and large lis... |
f302f1ebea0fa4273b3d14d72891372efc69eefc | 26987ef5df4d9c081b77d438cd3443fc8c4a4ca2 | /plot3.R | 82a05d32714b0c7c3aab82637fc9aa130d3db1cc | [] | no_license | joexu28/Exploratory-Data-Analysis-Project1 | db7d8ec89f57cf62bbb69ae2f6690347a9b0b218 | 0522c8b16d1064f2cbd635748228e1024e421fb5 | refs/heads/master | 2021-04-05T06:30:35.871199 | 2020-03-19T14:57:18 | 2020-03-19T14:57:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,179 | r | plot3.R | library(dplyr)
library(data.table)
if (!file.exists("HPC.zip")){
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", destfile = "HPC.zip")
unzip(zipfile = "HPC.zip")
}
setwd("./exdata_data_household_power_consumption/")
HPC <- fread("household_... |
ec461569649df020119f1562628ef13b0fc1c865 | e668b887e946b7c8ddee5d621cf4eadd0d4770cb | /basics/04_tests.R | 43b12bceaad753597cb30d82776e0077cda18f0d | [] | no_license | LisaGotzian/statistics-course-r | bfd4fa50aee97e248ab12b9bd16c82682a00f77e | 76127e36c3923084f6dd4d3687813a1a1a59d9fe | refs/heads/master | 2020-06-05T19:05:24.818607 | 2019-07-19T10:13:18 | 2019-07-19T10:13:18 | 192,519,710 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,097 | r | 04_tests.R | #------------------ Simple tests in R ------------------
#
# Goal: show t-tests and other simple tests
#
# Lisa Gotzian, April 24, 2019
#shapiro-wilk
sample1 <- rnorm(70, mean = 0, sd = 1)
shapiro.test(sample1) # check the slides: what does this test?
# F-Test
sample1 <- rnorm(70, mean = 0, sd = 1)
sample2 <- rnorm... |
30eea81ccd403daa3857f53e10da5909ab093c48 | f294979b4774239fad1b3487bcb01ff103e20a44 | /R/analysis.r | 6cb8bd3d0d08422d1fba1a3f4663d6d38fcb63d7 | [] | no_license | lvanden/fortune500 | 8a1b40a84e4659ae5dc6e0162a1e3a7611274f87 | 34693b4c2b20e69c1ed53039f80959239f43d30f | refs/heads/main | 2023-02-23T03:36:36.354761 | 2021-01-21T02:29:28 | 2021-01-21T02:29:28 | 325,390,241 | 0 | 0 | null | 2021-01-21T02:29:29 | 2020-12-29T21:26:10 | R | UTF-8 | R | false | false | 9,566 | r | analysis.r | library(dplyr)
library(tidyverse)
library(ggplot2)
library(viridis)
# read in csv file
company_list <- read_csv("fortune_500_companies.csv")
# parse DMARC record ----
company_df <- company_list %>%
filter(rank <= 100) %>%
dplyr::mutate(
# remove quotes around record and remove new lines
... |
b032851dd8def8c5483ab7f463c61ca0beb2809c | 83b714ef66b35b66e3e6f899b9f4d69a53cb7e9b | /pplots/figure/PPlot2.R | 013d75041ff0e25fd83449abc7bdf49b720cd377 | [] | no_license | ultraviolet3/pplots | 7fb278bb37083e460e04dea15300bcbf1e324fc3 | 3146d8f1e0150f071a12b1038b64468db9730a1b | refs/heads/master | 2021-01-10T02:02:22.446800 | 2015-10-09T13:52:29 | 2015-10-09T13:52:29 | 43,953,742 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 878 | r | PPlot2.R | ec <- function() {
if(!file.exists("exdata-data-household_power_consumption.zip")) {
temp <- tempfile()
download.file("http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp)
file <- unzip(temp)
unlink(temp)
}
else {
wd=getwd()
fil="household_power_consu... |
34278ba40f75a44580f5ef8d4a9efa701e9835fd | 144c098014b96b1c63daac5f0b369c3335ba6fb1 | /datawrangling.R | a38b99404199643fbad7f39753d457a7e731c909 | [] | no_license | MelainaWright/test | a03fe53ed9825cc93e59fb9d8ad40cb0f43a9722 | f467ba1c0c11abaa84c9590c3b915d1f742f313b | refs/heads/master | 2021-01-20T01:34:44.246038 | 2017-06-09T15:43:06 | 2017-06-09T15:43:06 | 89,299,563 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,880 | r | datawrangling.R | #############################################################
#ESM 262
#4/28/17
#datawrangling part 1 - importing and tidying
#book: R for data wrangling, Grolemund and Wickham
install.packages("tidyverse")
library(tidyverse)
###############################################################
#tibbles
#tibble is like a ... |
c879c4c670c7aba5fed1b8d3ff0ffd57e89b41e0 | 5729b5786f86e793d0fe44cec251caef37e6ce78 | /man/MFA_ECM.Rd | 181e8360b2c3aab60744ce7e2924438f58b341ae | [] | no_license | cran/autoMFA | 8d3e4a62b8e2abdad81dd5806bd6c845dc418aea | 010e868f88a352d55743a5eac0d36b9d60d01206 | refs/heads/master | 2023-07-07T11:19:17.020869 | 2021-08-10T11:00:05 | 2021-08-10T11:00:05 | 394,796,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,928 | rd | MFA_ECM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ECM.fit.R
\name{MFA_ECM}
\alias{MFA_ECM}
\title{ECM-Based MFA Estimation}
\usage{
MFA_ECM(
Y,
gmin = 1,
gmax = 10,
qmin = 1,
qmax = NULL,
eta = 0.005,
itmax = 500,
nkmeans = 5,
nrandom = 5,
tol = 1e-05,
conv_measure = "d... |
40214dee99ffeb9c9781fe999307b1b71d97ee7a | 9dcd3df4848d12afca77453d93c6dfaebf3ad57d | /R/mixsiar.r | 8b5358008657224c6469bb037f87971b399618fb | [] | no_license | apmonr/MixSIAR | dce776b0136d172230b66801600215944e1f6a92 | b4e4397a82cde7fb57d06133e21381cc2c8bddba | refs/heads/master | 2020-12-29T00:42:00.042523 | 2013-10-17T22:32:33 | 2013-10-17T22:32:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,390 | r | mixsiar.r | # Brian Stock
# Oct 15, 2013
#
# Previous version:
# MixSIAR GUI 0.2
# Major changes:
# Convert MixSIAR into a package-able form: function mixsiar() that builds GUI
# Made global all gWidgets that are used in other functions...quick fix for now
# Revised wording:
# - "Discrimination" instead of "Fraction... |
12b8e7706e65740e2496caed4d7bdaae0e54fdfb | 043903e2b1d2e905c8b6bf10b4ae834743eb895d | /R/auth.R | d739946f8c2b56e74249b54dfb70d2bf88397324 | [
"MIT"
] | permissive | retina-dot-ai/rgoogleslides | 1653f91b197d8df59909bc86ac3e50a4013a3b7f | ec30e23aa52761595e49541007d420abc4304505 | refs/heads/master | 2021-01-19T20:48:31.232311 | 2017-04-17T22:26:52 | 2017-04-17T22:26:52 | 88,556,163 | 0 | 0 | null | 2017-04-17T22:26:03 | 2017-04-17T22:26:03 | null | UTF-8 | R | false | false | 1,278 | r | auth.R | .slidesEnv <- new.env(parent = emptyenv())
.slidesEnv$Token <- NULL
# Set token to environment
set_token <- function(value) {
.slidesEnv$Token <- value
return(value)
}
# Get token from environment
get_token <- function() {
.slidesEnv$Token
}
#' Authorize R package to access Google Slides API
#' @description Th... |
2fd40cc4180f90c1c5184ecbec36fb87203142f1 | 47248e6d22eb023dbfa7be13025e7b5697676d3b | /R/get_results.R | 6371b522a09a1df3509ee24edac977f0afcc07a7 | [] | no_license | markhwhiteii/stat-comp | 9b096676beac874146c81a8e0f7c4b37286a8cbe | a76ab0eb1a472f0f3dcc7e9a5e2c5d271626af2d | refs/heads/master | 2021-08-23T06:42:49.525748 | 2017-12-03T23:58:47 | 2017-12-03T23:58:47 | 105,834,980 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 670 | r | get_results.R | get_results <- function(predicted, actual) {
conf_matrix <- as.data.frame(table(predicted, actual))
tp <- conf_matrix[(conf_matrix[1] == 1) & (conf_matrix[2] == 1), 3] %>%
ifelse(length(.) == 0, 0, .)
fp <- conf_matrix[(conf_matrix[1] == 1) & (conf_matrix[2] == 0), 3] %>%
ifelse(length(.) == 0, 0, .)
... |
dbcd955fa3a3c0540a744a3c04c0d7360976bbe8 | a9ed2d55f7f585a25fdb2f548d82263ee3f567b6 | /man/numericorNULL-class.Rd | 62a520722a099003acb4846f56ad289c66e96f8b | [] | no_license | cran/distrTEst | 65a8ae1353d8be867f0fb2a7f33072c27e2222fe | 9dc34ea714bed295febf78605f2dd666d2f6d849 | refs/heads/master | 2022-11-19T16:02:11.686622 | 2022-11-12T21:30:05 | 2022-11-12T21:30:05 | 17,695,557 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 992 | rd | numericorNULL-class.Rd | \name{numericorNULL-class}
\docType{class}
\alias{numericorNULL-class}
\alias{DataframeorNULL-class}
\alias{CallorNULL-class}
\title{Classes "numericorNULL", "CallorNULL", and "DataframeorNULL"}
\description{ auxiliary classes; may contain either a numeric vector or NULL
[or a call / data.frame or NULL, res... |
1c2dd80808f15ab5c3d430438322a3860aacb5b6 | 63b4c2d6d75b451b0f66eb6c03162684e617334e | /tests/testthat.R | d21fba39dfa3967e0e052efffe7abee67dd446b6 | [] | no_license | nemochina2008/rangl | 8b1b50bc671999057c6842436e7c45d42a92da0d | 4f3027af452ea45cb1c24e16b4aadd48304dd873 | refs/heads/master | 2021-05-16T05:53:44.168584 | 2017-09-12T12:47:11 | 2017-09-12T12:47:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 54 | r | testthat.R | library(testthat)
library(rangl)
test_check("rangl")
|
2af1a435a9050e9e5346406d38e9da773b30b0af | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RSEIS/examples/winmark.Rd.R | 99e1a8d2c12ee132bdcadf70b9deb4978ec20c24 | [] | 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 | 914 | r | winmark.Rd.R | library(RSEIS)
### Name: winmark
### Title: Window Mark
### Aliases: winmark
### Keywords: aplot
### ** Examples
plot(c(0,1), c(0,1), type='n', xlab='', ylab='' )
winmark(.3, .7, side=3, col='brown', arrows=TRUE, leglen=.4)
winmark(.3, .7, side=1, col='blue', arrows=TRUE, leglen=.5)
winmark(.3, .7, ... |
6634eeb39e8547ab86e300d4f9cc3edf35b3b781 | 7255f071174e76a76399ec3cca5cd674cf397afd | /R/gender_df.R | d83923661acbb85dd3ac8bdc686b5a7904df88ee | [
"MIT"
] | permissive | bmschmidt/gender | 628fa527b599aa24e826ac8ba240b996b7a6c09e | 3ca8f9eb721c1eb22c5f6506f1cf8e3e93f969fb | refs/heads/master | 2021-01-18T17:59:42.170732 | 2016-09-15T19:21:25 | 2016-09-15T19:21:53 | 20,813,775 | 1 | 0 | null | 2016-09-08T22:02:45 | 2014-06-13T18:28:21 | R | UTF-8 | R | false | false | 3,001 | r | gender_df.R | #' Use gender prediction with data frames
#'
#' In a common use case for gender prediction, you have a data frame with a
#' column for first names and a column for birth years (or, two columns
#' specifying a minimum and a maximum potential birth year). This function wraps
#' the \code{\link{gender}} function to effici... |
043c791005a03e3ad5992827b614e6bf6f1e2050 | 4b0f440d75205d89c126a260d1da1b44a065deb0 | /3.R_basics/Estadística_en_R/Functions/Intervalo.Confianza.media.R | ac4d12ab16b8e04de8ea329539eb74c512dbcebe | [] | no_license | JoelDela/Master-Data-Science | 12802a2c41e54bc5babb00eefb7b5e06b9b70868 | 48d352661ceffbcf5d64dae5a1e5357e98cf3e40 | refs/heads/master | 2023-09-01T02:55:57.458119 | 2023-08-17T07:24:11 | 2023-08-17T07:24:11 | 216,080,851 | 1 | 0 | null | 2023-08-17T07:24:12 | 2019-10-18T18:03:20 | Jupyter Notebook | UTF-8 | R | false | false | 563 | r | Intervalo.Confianza.media.R | Intervalo.Confianza.media<-function(data,alpha,sigma.conocido=T,sigma){
n<-length(data)
xbar<-mean(data)
if (sigma.conocido)
{
Z.alpha <-qnorm(1-alpha/2,0,1)
lim.inf<-xbar-Z.alpha*sigma/(n^(1/2))
lim.sup<-xbar+Z.alpha*sigma/(n^(1/2))
}
else
{ s<-sd(data)
t.alpha<-qt(1-alpha/2,n-1)
lim.inf... |
48a23d18e616aaf369567b789601e63d2e153501 | b020bb5900efddfaa849714a1758a2df8cd00a0b | /scripts/uncategorized/basic_maps.R | f0c5166786bb85f35c9a88b1f00b6488ed4136d0 | [
"MIT"
] | permissive | duttashi/visualizer | a8908157bebde07f47085a921e6e6ba5d0e065b9 | 33bf1d5e0ba9f9dfa5704958f49e55a2c3a87023 | refs/heads/master | 2023-04-16T14:04:50.536510 | 2021-04-27T07:13:37 | 2021-04-27T07:13:37 | 90,606,378 | 14 | 1 | MIT | 2021-04-27T07:13:38 | 2017-05-08T08:49:15 | R | UTF-8 | R | false | false | 642 | r | basic_maps.R |
# Basic maps with tidyverse
library(tidyverse)
# map usa
map_data("usa") %>%
ggplot(aes(x=long, y=lat, group=group))+
geom_polygon()
map_data("state") %>%
ggplot(aes(x=long, y=lat, group=group))+
geom_polygon()
map_data("state") %>%
filter( region %in%
c("california","nevada","oregon","washing... |
89c8b686f8581abc8869c37dad30bf6bd0985192 | caf69e070111ee22f47ea041cd4447ad39fb0b54 | /tmp/readClust.R | 4d02444639bc5d8c9abf1b00e8f204ea43793457 | [] | no_license | shdam/flowsom-stability | df19a256804b7fef895357e5bdbbdb9b0c77c74b | a51f80745d65f417c9abf74d1f3701a130b84e74 | refs/heads/master | 2022-04-17T06:25:51.981505 | 2020-02-05T10:21:18 | 2020-02-05T10:21:18 | 238,408,000 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,137 | r | readClust.R | #!/usr/bin/env Rscript
###########################
### Read cluster result ###
###########################
list.of.packages <- c('mclust', "optparse", "Sys.time", 'umap', 'ggplot2')
loading = suppressWarnings(suppressMessages(lapply(list.of.packages, require, character.only = TRUE)))
param_index <-readLines("stdin")
... |
00d27383536583c7152bd0e5f0495773b8ac55d9 | 0471c748337a1027ee6458a701d1a4b988689d22 | /man/fill_NA_using_value.Rd | 3cd21386446f4a48c466c58db66c6fb92d20c40a | [] | no_license | stemangiola/nanny | 888dbb34703e47e6019f19ab6dc4f852928d20d0 | 4426035da5329cfce3d573421c41ca390bdb35b6 | refs/heads/master | 2023-08-03T12:02:58.039874 | 2023-07-25T07:11:15 | 2023-07-25T07:11:15 | 254,525,030 | 26 | 1 | null | 2020-12-15T02:01:45 | 2020-04-10T02:24:13 | R | UTF-8 | R | false | true | 839 | rd | fill_NA_using_value.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{fill_NA_using_value}
\alias{fill_NA_using_value}
\title{This function is needed for DE in case the matrix is not rectangular, but includes NA}
\usage{
fill_NA_using_value(
.data,
.element = NULL,
.feature = NULL,
.va... |
36080735cecf54916f402eef457f4a9488d88323 | 81f1247147de4712285ee008e7810a14a5bc3d28 | /Week3_RCoursework/code/Vectorize1.R | de2a2d8e2decc50495a93b8d8497d418ff38f99a | [] | no_license | yz2919/CMEECourseWork | fd60d4c975131dd933eafbccd6fd206d8313ed59 | 77739ab8f3f80140574606b2666d831ab49971d6 | refs/heads/master | 2020-08-11T05:29:14.996171 | 2020-04-21T22:05:51 | 2020-04-21T22:05:51 | 212,313,767 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 645 | r | Vectorize1.R | #!/bin/env Rscript
# Author: Yuqing Zhou yz2919@imperial.ac.uk
# Script: Vectorize1.R
# Desc: sums all elements of a matrix, compare operation time of code with loop and with inbuilt function
# Arguments: 0
# Date: Oct 2019
M <- matrix(runif(1000000),1000,1000)
SumAllElements <- function(M){
Dimensions <- dim(M)... |
88bde567a367b153c5dc9e27c2a93c0fd0775364 | 88c6f16d3c734011e8d363c7537c98249534f6d8 | /Ejemplo03.R | 570261ac340f0fcd4ca5728a6d9c4294e7ec6fb4 | [] | no_license | soymelisa/Sesion07_RCloud | f3df20248f474ecf65f9c13ccfcb8479262c0fc0 | 743ecc7562541190cec910cf85328259c88d5ba0 | refs/heads/main | 2023-02-24T05:26:34.480467 | 2021-01-27T20:10:58 | 2021-01-27T20:10:58 | 333,529,704 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 254 | r | Ejemplo03.R | install.packages("pool")
install.packages("dbplyr")
library(dbplyr)
library(pool)
my_db <- dbPool(
RMySQL::MySQL(),
dbname = "shinydemo",
host = "shiny-demo.csa7qlmguqrf.us-east-1.rds.amazonaws.com",
username = "guest",
password = "guest"
)
|
f55d5c7504e609b72d5779b54c0ec1198c9c3878 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Basler/terminator/stmt21_181_218/stmt21_181_218.R | 1f320cd02f8815479a491611a7defe605bd049c5 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 713 | r | stmt21_181_218.R | c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Input Clause Count: 8712
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 8711
c
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 8711
c
c Input Parameter (command line, fil... |
d11d50cf633004bcbe706c1922cbee8d071f95fa | 28d89d7bf4835af548dd01e3dadd3a0ec1a30ed9 | /deber1.R | 4190b6fd5406f104672c0217c101c21de2c4b1e3 | [] | no_license | jorchimalve/deber1 | 2bf1c0e5f879a8dbea53a122ae380ec72e4ee192 | 2601eccd1fd96976318a43abe1f6c802eca381bb | refs/heads/main | 2023-02-12T19:59:04.514229 | 2021-01-17T02:07:21 | 2021-01-17T02:07:21 | 330,295,359 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,462 | r | deber1.R | # INTEGRANTES
# JORGE CHIMARRO
# DAYANARA PEÑAFIEL
# GUIDO OCHOA
# DIEGO CAJAMARCA
library(readr)
datos <- read_csv("C:/Users/JOCHA/Desktop/MAESTRIA/MODULO 8 - HERRAMIENTAS PARA CONTROL DE LA PRODUCCIÓN/deber 1/segmentation_data.csv")
#View(datos)
datos <- datos[,-c(1),drop=FALSE]
View(datos)
#ground ... |
d099411364c962b834611767eaeefb6c85a72ef0 | 49ca49c57d5781055798c02aa1ce3162b49ed607 | /Weighted and optimal importance sampling.R | 924ba736c68252b362c3a33bbb9b535f352f8ba4 | [] | no_license | sakib-malik/Statistical-Simulation-And-Data-Analysis | 2dc817e8bb5df2872dfede28a5e374fb770129d4 | 71ffa7712b151ecf15f68ad66a3929c57cb5540e | refs/heads/main | 2023-02-18T14:35:53.652095 | 2021-01-15T11:00:01 | 2021-01-15T11:00:01 | 329,884,284 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,616 | r | Weighted and optimal importance sampling.R |
#################################
### Plotting weights and
### Weighted average
##################################
set.seed(1)
alpha <- 2
beta <- 5
alpha.p <- alpha + 1
lambda <- 4 #proposal
N <- 1e4
samp <- rgamma(N, shape = alpha.p, rate = lambda) # importance samples
weights <- dgamma(samp, sha... |
fe85b5f5b413adfbe7b6713d9dc20eff33bcd874 | d15f12f29ed2f09d1b3af5d14e53c2d9f97cee44 | /tests/testthat/test-list.R | 938c87e476c9443edae0974251d0fe80a8fe2462 | [
"MIT"
] | permissive | r-lib/fs | ab3e5b896149b953de115d5a79b579b0e034c7b8 | 06c246909c65666058e9e401b1ed0ea73662c07f | refs/heads/main | 2023-09-04T05:54:57.448977 | 2023-07-20T12:16:29 | 2023-07-20T12:16:29 | 114,168,421 | 361 | 101 | NOASSERTION | 2023-07-06T05:54:28 | 2017-12-13T21:01:16 | C | UTF-8 | R | false | false | 7,618 | r | test-list.R |
describe("dir_ls", {
it("Does not include '.' or double '/' in results", {
with_dir_tree(list("foo" = "test"), {
expect_equal(dir_ls(), new_fs_path(c(foo = "foo")))
expect_equal(dir_ls("."), new_fs_path(c(foo = "foo")))
})
with_dir_tree(list("foo/bar" = "test"), {
expect_equal(dir_ls(r... |
d8a152d6cd03dee339ae65b5131f59a405855084 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/splus2R/examples/allTrue.Rd.R | 630b07352b38468a9fcefc7521b0f42dc54915bf | [] | 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,353 | r | allTrue.Rd.R | library(splus2R)
### Name: allTrue
### Title: Test whether all expressions return TRUE
### Aliases: allTrue
### Keywords: utilities
### ** Examples
# This is the type of expression that may be found in a test file
# to be run by do.test -- inside {} are lines that create one or
# more objects, followed by multiple ... |
0a327f3bf044d912df7e005306802979bfe28726 | 094f81c31a3cfd560b24280e476d5af4fb52b9e3 | /R/zipper.R | 27d051162c9124b1fa35f43be552a1820ddc2581 | [
"MIT"
] | permissive | PJOssenbruggen/Basic | 6c2343dcb135cb364d059160925ded5cb43b5455 | 1885fa40d3318cc554b4dd80154b263baef19ac4 | refs/heads/master | 2021-01-25T11:57:19.583401 | 2019-01-04T13:03:32 | 2019-01-04T13:03:32 | 123,449,454 | 0 | 0 | null | 2018-03-05T12:26:55 | 2018-03-01T14:56:48 | R | UTF-8 | R | false | false | 3,512 | r | zipper.R | #' The \code{zipper} function can be used to simulate interaction among three vehicles in car following
#' on a single lane or three vehicles merging on a two-lane highway.
#'
#' @param tstart start time, a number
#' @param tend end time, a number
#' @param ustart1 start speed (mph) for vehicle in lane 1, a number
#' @... |
658e37e34154324b8b477563816e1385ab3ec2c7 | 1688a2ff3643cb1872421708fb166bc9f87ecbdd | /gap_plot.R | 70c916558d60fbe2e376335f0b63f5b6e0f274df | [] | no_license | ccjolley/DECA-app | 71d7c765ce8c4f8d0c91d2f3d57a1ec486b7e684 | 15d31fbd4d9bcfa6d89481d74b24d2352d6a3a69 | refs/heads/master | 2020-12-04T06:29:38.124825 | 2020-03-25T17:00:25 | 2020-03-25T17:00:25 | 231,657,506 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,948 | r | gap_plot.R | source('plots.R')
library(stringr)
wb_findex <- read_csv('findex.csv') %>%
select(-starts_with('barrier_'))
# TODO: find another source on urban/rural population split so I can calculate urban levels
# A better plot for visualizing gender (and similar) gaps
# Instead of showing a singe "gap score", show the absolu... |
7c82c3659147394ed2948ecaa7820e09b07028bb | 58f4a54e7d85fa0cc013d97f80c9a8507784c5c5 | /man/rinker_interviews_formality.Rd | 4ef3a857c3c7c7a81d7b24a4b68eeffd79bcaefc | [] | no_license | trinker/testing | ebec35af8f0e16cba7c34d2ca99f70d0d6117e50 | dc08f09d64d0a980614cd91447531736db94e72c | refs/heads/master | 2021-01-01T05:22:56.755359 | 2016-11-06T05:00:28 | 2016-11-06T05:00:28 | 56,280,598 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 870 | rd | rinker_interviews_formality.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rinker_interviews_formality.R
\docType{data}
\name{rinker_interviews_formality}
\alias{rinker_interviews_formality}
\title{Interview Formality}
\format{A data frame with 1 rows and 13 variables}
\usage{
data(rinker_interviews_formality)
}
\de... |
f5a33b6ac51d80f91aaafd10f2e05231711c2959 | c45d72d7b9ab0496cd5461222ecebf75b070b67a | /modularity_conn/31.role_tables.R | fad90176096f4d761f4233725d352f408ab4a984 | [] | no_license | michaelandric/steadystate | 3ca33888effbcb56a4db602cfcf1529e57555031 | f6da02cbb7d481725cabc88bbb56b2a2749f0c8c | refs/heads/master | 2021-01-19T11:02:40.227087 | 2014-06-17T21:57:06 | 2014-06-17T21:57:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 654 | r | 31.role_tables.R | ## generate role tables
subjects <- c("ANGO","CLFR","MYTP","TRCO","PIGL","SNNW","LDMW","FLTM","EEPA","DNLN","CRFO","ANMS","MRZM","MRVV","MRMK","MRMC","MRAG","MNGO","LRVN")
conditions <- seq(4)
for (ss in subjects)
{
setwd(paste(Sys.getenv("state"),"/",ss,"/corrTRIM_BLUR/",sep=""))
print(getwd())
role_mat ... |
d0da6cd4f6d2078818cb6084e0939bd74292ae7e | 870e48cd13c3876cf580e1dd4701dd8ae4cf8dd8 | /MapUS.R | 33656443a1e5b048ae929d4ec34cacc918fb367e | [] | no_license | CUBigDataClass/Twitter-EmotiMap | 5fc6386580ead73c56fa5be8e360fe32afc783d9 | a87582953bf840bbc0da9aa444f7dc2ec970d72d | refs/heads/master | 2020-05-29T12:30:52.417144 | 2014-05-16T14:31:46 | 2014-05-16T14:31:46 | 16,750,294 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,927 | r | MapUS.R |
##############################################################################
Sys.setenv(NOAWT = 1)
library(OpenStreetMap)
library(rgdal)
library(stringr)
library(ggplot2)
library(ggmap)
library(maps)
library(scales)
library(Rgooglemaps)
#Set Working Directory
setwd("~/Documents/School/Computing/Twitter-EmotiMap/Data... |
c29ba3aa7a3754a1ea9ed83611594a7ce2dca3bf | ef7ce2d16174e46b1db92333effa753603b33ec7 | /Exercise7_Liu_Yu.R | 93cbebc35250cfbb3c000d952602390768dd9f82 | [] | no_license | nationstrong/Biocomp_exercise07 | 5eef0ff46fcfbd33e52af711c38bc7995ddd7b76 | 23a1b3efcb8c515d81003dc712cfed06d05b7e6d | refs/heads/master | 2022-03-16T01:57:28.485337 | 2019-11-15T07:07:12 | 2019-11-15T07:07:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,359 | r | Exercise7_Liu_Yu.R | ## Excercise 7
# Question 1
# Write a function that returns the odd (1, 3, 5, etc.) rows of any dataframe passed as an argument.
oddrows = function(df){
rownumber = nrow(df)
if((rownumber %% 2) == 0) {
row.index = 2*c(1:(rownumber/2))-1
} else {
row.index = 2*c(1:((rownumber+1)/2))-1
}
print(df[row.in... |
8f4a14f32c800540a955ab1c1dca33d64ccfb3d5 | 4ad1c361c12dfcb71bb00b5e1baee6d3d3a3f4a5 | /R/MaraDownstream.R | 780982f843ebe80665dc16ffa8cc946fa481f58a | [] | no_license | jakeyeung/SleepDepAnalysis | 3e0c78c9dea123cedd6b13515c4230fcfb0d6541 | 92b941c91ece6a6e9349160583e7d96d9ec65714 | refs/heads/master | 2021-12-16T06:46:48.955058 | 2021-12-06T09:15:07 | 2021-12-06T09:15:07 | 168,015,963 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,010 | r | MaraDownstream.R | #source("R/functions/PlotFunctions.auxiliary.R")
LoadMaraOutput <- function(act.dir="data/sleep_deprivation_gene_exprs_all"){
act.f <- file.path(act.dir, "Activities")
zscores.f <- file.path(act.dir, "Zscores")
cnames.f <- file.path(act.dir, "Colnames")
se.f <- file.path(act.dir, "StandardError")
act.mat ... |
7bd228f593167368b03a86f53cf0af32f249c854 | d3756e689a59b564a7ba0aec7c6c7130cc811815 | /R/compare.bio.rep.r | c977b268ab940930cb5ad696413bc0bc54f2c755 | [] | no_license | PacificCommunity/ofp-sam-r4mfcl | 710824eb52bc02a604123ca6860d9271ddcd949b | 6b8f9e6f452b6d203da65a1d8902e28fd2f5a175 | refs/heads/master | 2023-02-21T12:52:16.632352 | 2023-02-07T02:28:02 | 2023-02-07T02:28:02 | 23,813,801 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,100 | r | compare.bio.rep.r | #' @export
compare.bio.rep <- function (vrep = c(""), vpar = c(""), vcrep = c(""), modnms = c(""),
plotfol = c(""), plotnm = "")
{
if (length(vrep) > 7) {
stop("No. models to compare > 7!!")
}
rslt <- c("a_rslt", "b_rslt", "c_rslt", "d_rslt", "e_rslt",
"f_rslt", "g_rslt")
pars <- c(... |
719d1cb4916ca99a7a75c13e8ee2e63cb655b0e6 | 824ddd92b46d8eea656919f2dfc03914f91e2807 | /100_adsl_cancer.R | 97a081adbef8ef0dc8819642b6e30dd9b98ade54 | [] | no_license | coursephd/PostgreSQL | beec040f412c97da8b8df0c77ca7daca1a2f6bc5 | 0bf90e3505c64e77204fb8a849918013c13d7601 | refs/heads/master | 2023-09-01T21:31:21.627358 | 2023-08-24T06:27:08 | 2023-08-24T06:27:08 | 127,494,908 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,076 | r | 100_adsl_cancer.R |
######################################################
# Program name: 100_adsl_cancer.R
# Output files: 01adsl_cancer.csv, 01adsl_cancer.rds
# Create calculations using base01_ip and base01_op
######################################################
#C- Cancelled
#U - Condn. Unnecessary
#Y -Conducted
#N - No... |
ecf0f751ec9707e68f712b11d8a88ef72171769b | 296f060dd7d51e6d0dd58cec150955e44fc8e1e2 | /ui.R | 893c5e8be71846e0e12387a152018384e1c9bf70 | [] | no_license | pinghu/courseraLearning | a1e48ffa38be280b2c8541fc801eeef966f5a1e6 | aa4df7a29bc1f5a5101597be8359b8a3220409ed | refs/heads/master | 2020-04-14T23:50:19.086495 | 2019-01-16T03:12:44 | 2019-01-16T03:12:44 | 164,218,368 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 607 | r | ui.R |
library(shiny)
shinyUI(fluidPage(
# Application title
titlePanel("Final Project 1-12-2019 Ping Hu"),
# Sidebar with a slider input for number of bins
pageWithSidebar(
headerPanel('Iris k-means clustering, please choose parameter below to see the resulted clusters'),
sidebarPanel(
selectInput... |
7ebc4aaacb0fb703725d1b5cab54d9ac9bdfbdde | 6e8e04c50edd8f5c67d9d5f8ba7eea1b486e4bdc | /R/ds.exposome_pca.R | 1c56e5b9267880e92a150978683f6371e4902430 | [
"MIT"
] | permissive | FlorianSchw/dsExposomeClient | 1b0431b63ead3277f44ca11e37dc82fd754f7649 | b3d800b9cc72459b46f03cec4a3fffe17c09d541 | refs/heads/master | 2023-05-10T14:42:10.289311 | 2021-06-11T13:54:03 | 2021-06-11T13:54:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,774 | r | ds.exposome_pca.R | #' @title Principal components analysis of an Exposome Set
#'
#' @description Performs a non-disclosive PCA given an Exposome Set on the study server,
#' the Exposome Set can be subsetted by families to perform the PCA
#'
#' @param Set \code{character} Name of the exposome set on the study server
#' @param fam \code{... |
a54d7f08c1323e8649718c8651a04d7a315982db | 68d2930eaa1716467565f9c1794fdfae6620367a | /Session 12 (upload).r | 0ac35d54f053214d35321649399ed23966710b77 | [] | no_license | dgopal2/data_science | 5342db598af9d07dc45a33a08239ec330d1979d7 | 0f8877c932edc02315b13569d6d93da9aa95f3e5 | refs/heads/master | 2020-12-05T03:10:04.533477 | 2020-01-06T02:23:59 | 2020-01-06T02:23:59 | 231,992,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,918 | r | Session 12 (upload).r | #=========================================================================
# IDS 462, Session 12
#========================================================================
# Copyright Zack Kertcher, PhD, 2018. All rights reserved.
# Do not distribute or use outside this class without explicit permission
# fro... |
751f2676ce5e29684060b0a9b62d5a20f56ec7f1 | 2f9e4caf2dea903fa1398263c5a16890039321de | /DesarrolloPreguntas.R | 085ece11e624e06ec7badbb95a1c43cd3f894298 | [] | no_license | barbarapablaza/Tarea_3 | 7eeead6fbb25bcca3d4e4e9dda527642f2ae0ee8 | b7b133ff703494b1de3dab3818e10651013e6355 | refs/heads/master | 2020-08-02T20:18:12.014413 | 2019-09-30T13:03:15 | 2019-09-30T13:03:15 | 211,494,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,738 | r | DesarrolloPreguntas.R | # Lista de numeros
listaDeNumeros <- list(2,5,6,2,1,5,6,10,11,20,15)
# Ejercicio 1
listaDeNumeros[0]
listaDeNumeros[17]
listaDeNumeros[-5]
# Ejercicio 2
listaDeNumeros[5]
unlist(listaDeNumeros[5])
if(listaDeNumeros[5]+1>0){
print("se cumple")
}
if(unlist(listaDeNumeros[5])+1>0){
print("se cumple")
}
# Ejercici... |
53b9cdac19fb8eded65f52e9b856b3545a1469d6 | 69f4b59b4fa537e356d18898f8b01eb667e600c9 | /CSAW_differential_binding_phipps.R | 95732ce6818cc701ed81da8e210ccd26d156ac31 | [] | no_license | ajphipps/EpiAD | 7a6fb49ecfa3d931c161ef7e45bc7e0e062b3b22 | 593aca0cde82efb832ffaaf19f2b5c16abf82e4a | refs/heads/master | 2021-10-19T04:18:22.692503 | 2019-02-18T01:07:14 | 2019-02-18T01:07:14 | 105,228,275 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,678 | r | CSAW_differential_binding_phipps.R | #Title: Differential binding analysis with CSAW
#Author: Andrew Phipps
#Date: 06032018
#notes: summary of csaw experiments
###############################################################################
#download and install required packages - note you need R 3.3.3 or later
#source("https://bioconductor.org/bi... |
89626d3b039ff38e3688333bbc7f87bd19767186 | 0935642ce9675185a442d299e7ddf95ab74bab6c | /Neural Networks/NN_Concrete.R | e8f9c9188f4bbc5406835dd371a1619952258358 | [] | no_license | PraveenAithapaga/Datascience-Assignments | 96388f6a5fecce528ab2e95173dae001fb819d21 | 3a463821841d94ad799d6a615ed510635e9587d5 | refs/heads/master | 2022-07-29T01:18:29.664200 | 2020-05-20T15:14:59 | 2020-05-20T15:14:59 | 265,233,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,187 | r | NN_Concrete.R |
concrete <- read.csv(file.choose(),header = T)
View(concrete)
str(concrete)
attach(concrete)
normalize<-function(x){
return ( (x-min(x))/(max(x)-min(x)))
}
concrete_norm<-as.data.frame(lapply(concrete,FUN=normalize))
summary(concrete_norm$strength)
summary(concrete$strength)
concrete_train<-concrete_nor... |
f0fe31a9eb40bd8ba33b85da2c6639262db785c2 | f44a214a714ce68e1cbb8fd8cd01fd608fe073f1 | /Subject_Statistics/distro1.R | 2bb3cb77f85022e4c4e164f80188c7538830a733 | [
"MIT"
] | permissive | mahnooranjum/R_Programming | cdc4cffb3decabb07a6ed2e37515cdd055eb2bde | 3227d95323d7c33644edeb6d21264d50f18a2725 | refs/heads/master | 2023-02-17T13:35:11.697968 | 2021-01-18T12:22:12 | 2021-01-18T12:22:12 | 257,075,397 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 194 | r | distro1.R | # the data frame
data <- data.frame(outcome = 0:5, probs = c(0.1, 0.2, 0.3, 0.2, 0.1, 0.1))
# make a histogram of the probability distribution
barplot(names = data$outcome, height = data$probs) |
5d4e7f507e2f95f181af706cf3cc57b5654c7b3e | e012063d891c2102adb9dce8a62387abd0170c78 | /COVID-trends-shiny/function-pt.R | 702a1e797cf0c79a41f38d0258c6b32ebfcfae75 | [] | no_license | Wang-526/Trinity-project-G2 | fb7482b78b5fecaa671f5e8a632cc697c34b7073 | a131c8103fa9c25a76bbed8972e2fed172c8f42a | refs/heads/main | 2023-01-27T21:27:48.616674 | 2020-12-15T05:01:32 | 2020-12-15T05:01:32 | 314,225,680 | 0 | 1 | null | 2020-12-01T22:42:35 | 2020-11-19T11:21:59 | null | UTF-8 | R | false | false | 11,279 | r | function-pt.R | # function to obtain legend_name according to keywords
legendName=function(keywords){
if(length(keywords)==1) {
legend_name=keywords[1]
} else if (length(keywords)==2) {
legend_name=paste(keywords[1],', ',keywords[2],sep='')
} else {
legend_name=paste(keywords[1],', ',keywords[2],', ... |
21028848c764e4982885cb30674cf9a347d9d75c | 446056e4c3fe1f6ef7fcfda4e0ee3f1e71b93e16 | /src/urban_polygons/compute_population.R | f9bb8187ec64282b3e7e393c996796d4cc87567f | [] | no_license | gonlairo/geomcity | d90b3871d374bbcce48420a0f8d7378ccbad374f | dd5a9882c6b3a78fa00cd910d33df87e0becb94d | refs/heads/master | 2022-12-16T22:26:05.732975 | 2020-09-22T19:39:30 | 2020-09-22T19:39:30 | 226,718,600 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,898 | r | compute_population.R | # compute population
setwd("/Users/rodrigo/Documents/tfg/")
library(raster)
library(sf)
library(dplyr)
path_pols = 'data/ups/track_other/ups_4326.gpkg'
pols = st_read(path_pols)
# YEAR 1990 #
path_ghsl_pop1990 = 'data/data-raw/GHSL/population/GHS_POP_E1990_GLOBE_R2019A_4326_9ss_V1_0/GHS_POP_E1990_GLOBE_R2019A_4326_9... |
737929901095b3ef0296c0226f031c611132a294 | 6c5afeeb3eefbfcf5ba6cfc2e7895d8c9dbf83c5 | /R/man/construct_holiday_dataframe.Rd | b37f3406d05033a15c39a95cba5e08e5e2e7f104 | [
"MIT"
] | permissive | facebook/prophet | 59a74aa92d27bdc673ceaede02016a9218556cc4 | 2ac9e8fa760e587371e1d1260f3e9f1fac9d76cb | refs/heads/main | 2023-09-01T12:43:34.236541 | 2023-08-21T22:27:06 | 2023-08-21T22:27:06 | 73,872,834 | 13,093 | 4,448 | MIT | 2023-08-24T21:49:59 | 2016-11-16T01:50:08 | Python | UTF-8 | R | false | true | 528 | rd | construct_holiday_dataframe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prophet.R
\name{construct_holiday_dataframe}
\alias{construct_holiday_dataframe}
\title{Construct a dataframe of holiday dates.}
\usage{
construct_holiday_dataframe(m, dates)
}
\arguments{
\item{m}{Prophet object.}
\item{dates}{Vector with d... |
09e34426b140b5b8c78687ae43778898e024d885 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/HistData/examples/Virginis.Rd.R | 2bac081da36375af5d86c4b09fa735678e94562d | [] | 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 | 626 | r | Virginis.Rd.R | library(HistData)
### Name: Virginis
### Title: John F. W. Herschel's Data on the Orbit of the Twin Stars gamma
### _Virginis_
### Aliases: Virginis Virginis.interp
### Keywords: datasets
### ** Examples
data(Virginis)
data(Virginis.interp)
# Herschel's interpolated curve
plot(posangle ~ year, data=Virginis.inte... |
110aebc5dd687239b945464dfcd3a4f9d5787c8d | 1112756730a0bb4c5259d7011da1709e7ae18b49 | /cachematrix.R | cc25fcf0a98bc4534dd394b0093dc3ac1dfba43e | [] | no_license | probA-K/ProgrammingAssignment2 | 22bb5fa3195ac47116197982ac7f38edbc255c94 | 590251678d4a475c0572743788d608b65136cc3f | refs/heads/master | 2023-06-01T10:39:43.621498 | 2021-06-11T16:54:59 | 2021-06-11T16:54:59 | 375,817,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 936 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
## My Comment: this creates a cache for the matrix and its inverse
## to reduce runtime if needed in another environment
## default x returns a 4 by 4 matrix of 16 random numbers
makeC... |
2ae2cd041f9fb2e4023348b6a2079509e31e5dae | f96af69ed2cd74a7fcf70f0f63c40f7725fe5090 | /MonteShaffer/humanVerseWSU/humanVerseWSU/man/standardizeDollarsInDataFrame.Rd | e8b6e50448363e2d13bc4dbea84b0b1cb63cc5a8 | [
"MIT"
] | permissive | sronchet/WSU_STATS419_2021 | 80aa40978698305123af917ed68b90f0ed5fff18 | e1def6982879596a93b2a88f8ddd319357aeee3e | refs/heads/main | 2023-03-25T09:20:26.697560 | 2021-03-15T17:28:06 | 2021-03-15T17:28:06 | 333,239,117 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 981 | rd | standardizeDollarsInDataFrame.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions-inflation.R
\name{standardizeDollarsInDataFrame}
\alias{standardizeDollarsInDataFrame}
\title{standardizeDollarsInDataFrame}
\usage{
standardizeDollarsInDataFrame(
df,
anchor.year,
dollar.source,
year.source,
dollar.out,
... |
96c014cf47648fafa2a2c1c1c234fa28cd2425ae | cb3ca9f0958f816c3c64664a8d10e4d768897fc3 | /2_analyses/2_exploring_effect_max_segment_length_and_startup_value.R | 4cfb884af8956504aa6cda9b346e1bdf34aa33a6 | [] | no_license | tamarlok/spoonacc | 71ca8ed6d612fa8b4d4f772a378562bd43cab14c | d50b30590d2f89813a8515de2c8c981fc0db07d3 | refs/heads/main | 2023-04-09T10:01:09.525103 | 2023-01-16T13:48:57 | 2023-01-16T13:48:57 | 470,207,329 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,463 | r | 2_exploring_effect_max_segment_length_and_startup_value.R | # check performance for the flexible segmentation method with different sampling durations
### Run the model with flexible segmentation, including GPS speed, but first splitting the 10 sec segments into smaller segments (to reflect the length of the segments at which the data is collected on the majority of transmitte... |
445357657112cadf02c0f7e8f2c70907ccd7cd82 | 1eb3ba68e2a3e395b0d5438d4d4b2c28ae389736 | /Deaths.R | 6152f49ac6e39b66cdcc9c399f2293dd33c263ba | [] | no_license | davidjhawkins/COVIDGIT | 1741459e398180a0ecc091f0a8eb9e33baa50be5 | d9a7d5b26c2ed718656e106562331da74e9e57a4 | refs/heads/master | 2023-06-01T07:49:31.505197 | 2021-06-16T09:25:15 | 2021-06-16T09:25:15 | 377,123,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,275 | r | Deaths.R | ### Deaths from gov.uk
library(data.table)
library(readxl)
library(tidyverse)
library(ggplot2)
library(plotly)
library(scales)
library(fasttime)
library(lubridate)
###
ho <- fread("https://api.coronavirus.data.gov.uk/v2/data?areaType=region&metric=newDailyNsoDeathsByDeathDate&metric=newDeaths28DaysByDeathDate&metric=n... |
a7a017283afc2b2cedd289a481c11bea8b5a6f9e | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.security.identity/man/waf_create_size_constraint_set.Rd | dd9f5c663b04bbc3dc7eabee8e2d7c9a4561a278 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 3,627 | rd | waf_create_size_constraint_set.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/waf_operations.R
\name{waf_create_size_constraint_set}
\alias{waf_create_size_constraint_set}
\title{This is AWS WAF Classic documentation}
\usage{
waf_create_size_constraint_set(Name, ChangeToken)
}
\arguments{
\item{Name}{[required] A frien... |
409eccaf1e7ab81483ccce4266662be468d8916e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ROCit/examples/cartesian_2D.Rd.R | 80c2be638de5110baffd80ef7521ba545aff325b | [] | 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 | 180 | r | cartesian_2D.Rd.R | library(ROCit)
### Name: cartesian_2D
### Title: Cartesian Product of Two Vectors
### Aliases: cartesian_2D
### ** Examples
x <- seq(3)
y <- c(10,20,30)
cartesian_2D(x,y)
|
4ec669570a767004d333f1d64e1b2752b6bbb047 | ec3fde959d6e1a46f2bc01f312a48e6bff71e089 | /LinguagemDeProgramacaoR/Exercicio_Temperaturas/Temperaturas.R | af701ddb463388a7697f21e59db2278d115ecbbb | [
"MIT"
] | permissive | LuisFernandoBenatto/Programming-Language-R | f67d2bc50a69708d8f000897a98954be7accc5e1 | 29ee4dc3431c18d129b5f179a2299302dcccb7e5 | refs/heads/main | 2023-07-12T10:25:44.055044 | 2021-08-21T00:20:14 | 2021-08-21T00:20:14 | 392,460,559 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,485 | r | Temperaturas.R | # install.packages("readr")
# install.packages("data.table")
# install.packages("dplyr")
# install.packages("ggplot2", dependencies = TRUE)
# install.packages("scales")
# install.packages("magrittr")
library(readr)
library(dplyr)
library(ggplot2)
library(scales)
library(data.table)
library(magrittr)
# As temperatura ... |
e880b5a1646aa000935881ce64fdcefce6a5f48d | 87fd5524793058ac328e97cab69877d93242dd70 | /CombineMarkerEffectEstimation.R | be866a586f66cb1e7cee731b313fecc8bd05027f | [] | no_license | aiminy/IBD-GCA-model | 2bf2c4b80d19ead96a153350b9d1d61c88246295 | 49f2636063fc2a6d4222f14b594f6548b77ca2b7 | refs/heads/master | 2016-09-06T01:05:36.973865 | 2015-02-14T17:11:31 | 2015-02-14T17:11:31 | 30,801,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 837 | r | CombineMarkerEffectEstimation.R | load("1008_marker_effect_estimation.RData")
load("1015_marker_effect_estimation.RData")
load("1016_marker_effect_estimation.RData")
load("1017_marker_effect_estimation.RData")
load("1018_marker_effect_estimation.RData")
load("1019_marker_effect_estimation.RData")
load("1020_marker_effect_estimation.RData")
load("1021_m... |
e60be7db68eb6953ab23e47fee97d054b5e8a522 | 8a49c48aa8a4969d38dfdc5f756c69958c627da0 | /R/AllGenerics.R | 5122a2a05437978f2c7d7d4e6c780d8db85430bb | [
"MIT"
] | permissive | mal2017/clique-signal | 033d9262ac85b426a4859239e91b1194743109ad | 6b3b8f65a28b7e60f11c380865a3cf97d1afa2dd | refs/heads/master | 2020-03-12T03:17:36.516649 | 2018-04-26T22:59:11 | 2018-04-26T22:59:11 | 130,420,779 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,651 | r | AllGenerics.R | # -----------------------------------------------------------------------------
# generics --------------------------------------------------------------------
# -----------------------------------------------------------------------------
#' @rdname name
#' @export
setGeneric("name", function(x) standardGeneric("name... |
deb8a473d98b66ea740455a52efbdb88a16b28b0 | 6e2ebf0cb3142a146319497232386025f39669cc | /run_analysis.R | 94835c7de47101b2d6010dcbe7e4b4f059b13e05 | [] | no_license | thefatalist/Getting-and-Cleaning-Data | cd354f954dbe5249483c5ca0c86ea40878fe1440 | 23a91a3b6a9e22b4597934511f383f4e69d1eaf4 | refs/heads/master | 2021-01-10T02:30:12.358094 | 2015-05-23T17:49:39 | 2015-05-23T17:49:39 | 36,135,034 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,383 | r | run_analysis.R | # R script called run_analysis.R that does the following.
# 1. Merges the training and the test sets to create one data set.
# 2. Extracts only the measurements on the mean and standard deviation for each measurement.
# 3. Uses descriptive activity names to name the activities in the data set
# 4. Appropriately l... |
8d8b1b6dbee45ea4e542f35318dbfa2ee0ff0246 | 84cf92d31063ba128d38b7ab68bff47ab554fe36 | /tests/testthat/dummy-test.R | dc10c6d6d07659e8fb37fbe92fbd5373b03f4c80 | [] | no_license | minutestatistique/R-template-project | c375a0c4accd992ef19926f9c00c349a0e8d64b0 | a641be7f70cfc1aad3423dbe9139924406ba0cb7 | refs/heads/master | 2021-06-13T09:25:11.962429 | 2017-03-21T21:15:32 | 2017-03-21T21:15:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 188 | r | dummy-test.R | library(testthat)
context("My test")
test_that("Dummy test works", {
expect_true(1 + 1 == 2)
m1 <- matrix(1:4, 2, 2)
m2 <- m1 * 2
expect_equivalent(matrix(1:4 * 2, 2, 2), m2)
})
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.