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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
733a348c8fcf2de5808c4812055682ee549db21a | a7f0b0a405fc7f1d4c9e4ebb754529f3877a20dd | /RcodeData/dnaRAD.r | 744a833608661ed9a662a98ea4d700c1434e2ce3 | [] | no_license | tmuntianu/advancedstatistics | 4298c0d0f3a52675d85d67f3aac3b7b11ab5cdc1 | 3885b67da560702df4b6d05b240ada6fde2f727c | refs/heads/master | 2020-12-22T19:03:58.858657 | 2020-01-29T04:08:34 | 2020-01-29T04:08:34 | 236,890,079 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,456 | r | dnaRAD.r | dnaRAD <-
function()
{
da=read.csv("./advancedstatistics/RcodeData/dnaRAD.csv",stringsAsFactors=F)
Surv=da[,2];log10Surv=log10(Surv)
rad=da[,1];n=length(rad)
par(mfrow=c(1,1),mar=c(4,4,1,1))
plot(rad,log10Surv,ylim=c(1,4),axes=F,xlab="",ylab="")
mtext(side=1,"Radiation given, Gy",cex=1.5,line=2.75)
mtext(side=... |
9e27bab8cba4db99ab419a74608d842a7a262ffa | 4672564b592e6ae952c2c2c4e39ef8d86e2555a8 | /R/unit_names.R | 79c364b3078fff36ea9463f78dece11de5423fd1 | [] | no_license | kidusasfaw/spatPomp | f590d477f95aa20e3e7b44b15094c2f34396c689 | 5d93429fe300e84fea1dd83c99bcb44186cb5fb9 | refs/heads/master | 2023-08-17T07:17:12.316329 | 2023-07-28T17:58:45 | 2023-07-28T17:58:45 | 231,446,313 | 9 | 13 | null | 2023-09-11T18:09:59 | 2020-01-02T19:29:33 | R | UTF-8 | R | false | false | 805 | r | unit_names.R | ##' Unit names of a spatiotemporal model
##'
##' \code{unit_names} outputs the contents of the \code{unit_names} slot
##' of a \code{spatPomp} object. The order in which the units
##' appear in the output vector determines the order in which latent
##' states and observations for the spatial units are stored.
##'
##' @... |
8ea5d17181b26394089e30ebca59a0f208bc7b78 | 7667c5c3f9d34396c9a8176aee964db74107246e | /R/split_query.R | da4448d30c61eba86001054e7f754587c78d119f | [
"Apache-2.0"
] | permissive | ianmcook/queryparser | f2dbfe42ac3cb7d198f88d5470193a140d4ca73f | ab74cc99d9df657607d28cc31104cda0618e130e | refs/heads/master | 2023-02-01T20:49:41.655631 | 2023-01-09T21:38:23 | 2023-01-09T21:38:23 | 202,947,077 | 56 | 8 | Apache-2.0 | 2020-03-29T17:27:45 | 2019-08-18T01:29:26 | R | UTF-8 | R | false | false | 9,474 | r | split_query.R | # Copyright 2023 Cloudera Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... |
adeebd3aaefdabb6915b040e7030d35025faa5ce | edac0241b52bdfb0729044ee8222573f3fcc631d | /R_scripts/log2_transform.R | 2c699414225f3948e67dd62e8b011afc8c933863 | [] | no_license | thaddad91/Intern_cluster-specific-SNPs | 913163655fb4a79b218c1175d76a0f2887aa0412 | de301f16d3d72d8e03c5a032b8bde5cbbe6f0ef3 | refs/heads/master | 2023-07-23T09:38:11.943666 | 2021-09-06T18:36:22 | 2021-09-06T18:36:22 | 341,704,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,989 | r | log2_transform.R | # Quick script for fixing the csSNP plots
installdir <- "/data/haddadt/NL_SNP"
setwd(dir = installdir)
snp_dir <- paste(installdir, "/curated_SNPs/", sep = "")
library("ggplot2") # plotting
library("numbers") # fibonacci nrs for bins
# Read frequencies from files
cluster_freq <-
read.csv(paste(snp_dir, "cluster_fr... |
4c272dbf4a8a4e596d1dbcc7e8866d21f63e1116 | 5de89e1e5d4ee4a69d6b6671136fa35bb9b9c34e | /man/print.summary.aggr.Rd | caba66f2c19e25317dfe917f71cbfafdb363653b | [] | no_license | MichaelChirico/VIM | 7ade6599a1eee573705d43cbbfd2930c844fdd5f | 9c71155296f80d4642c6f7d66e69aa815de8643c | refs/heads/master | 2021-10-13T01:18:55.433423 | 2019-08-21T14:17:53 | 2019-08-21T14:17:53 | 211,123,980 | 0 | 0 | null | 2019-09-26T15:37:25 | 2019-09-26T15:37:24 | null | UTF-8 | R | false | true | 650 | rd | print.summary.aggr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aggr.R
\name{print.summary.aggr}
\alias{print.summary.aggr}
\title{Print method for objects of class summary.aggr}
\usage{
\method{print}{summary.aggr}(x, ...)
}
\arguments{
\item{x}{an object of class \code{"summary.aggr"}.}
\item{\dots}{Fu... |
75cfac0c49ca7ce41c741d5a605e0b918a64b47d | 0c736031951055b72ce0472432bac227ad5a7a85 | /modules/models/containers/train.R | 8d019a561ba1c7c03b1d64a8f4f34b6cf62da29d | [] | no_license | JulioMh/TFG | b9a3a8b1d9e18cf37dfcac6e7bdd8796469b1ed7 | a11e1f5c1ad5353c0125f90dd183e29ddd8481f4 | refs/heads/master | 2022-11-25T16:59:49.743989 | 2020-08-01T12:45:17 | 2020-08-01T12:45:17 | 262,852,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,917 | r | train.R | trainUI <- function (id) {
ns <- NS(id)
setUpTrainUI(ns("set_up"))
}
trainServer <- function (input, output, session) {
values <- reactiveValues()
settings <- callModule(setUpTrain, "set_up")
state <-
reactiveValues(
processing_data = FALSE,
training_model = FALSE,
saving_model = ... |
dd485a1101ece1b02dde92dd01c23ca7f40de9c8 | d746fef241f9a0e06ae48cc3b1fe72693c43d808 | /tesseract/rotate/d7ps3c-014.r | f5495f4c6e96b5635ffd08b2b5809d8b3a3f41f0 | [
"MIT"
] | permissive | ucd-library/wine-price-extraction | 5abed5054a6e7704dcb401d728c1be2f53e05d78 | c346e48b5cda8377335b66e4a1f57c013aa06f1f | refs/heads/master | 2021-07-06T18:24:48.311848 | 2020-10-07T01:58:32 | 2020-10-07T01:58:32 | 144,317,559 | 5 | 0 | null | 2019-10-11T18:34:32 | 2018-08-10T18:00:02 | JavaScript | UTF-8 | R | false | false | 195 | r | d7ps3c-014.r | r=0.65
https://sandbox.dams.library.ucdavis.edu/fcrepo/rest/collection/sherry-lehmann/catalogs/d7ps3c/media/images/d7ps3c-014/svc:tesseract/full/full/0.65/default.jpg Accept:application/hocr+xml
|
285398f8a3889f1515525141837ad0ce36dc6084 | 66cf4adc85683e73290da2139c071365b40b6209 | /man/plot_ForestPlot.Rd | 5c1392f8ffda23b9b5fd980a3c889f49be402cbc | [
"MIT"
] | permissive | dpelegri/EASIER | db51d623eae85300b4b63f30f97ac93c9676a004 | ce9101b990874c13f6d8564867fdb3cbdc5a7841 | refs/heads/main | 2023-08-21T21:33:43.968027 | 2021-10-22T15:28:07 | 2021-10-22T15:28:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,049 | rd | plot_ForestPlot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_forestplot.R
\name{plot_ForestPlot}
\alias{plot_ForestPlot}
\title{Forest plot}
\usage{
plot_ForestPlot(
datas,
files_meta,
islowCpg,
gwana_dir,
metaname,
files,
outputgwama,
nsignificatives = 30
)
}
\arguments{
\item{dat... |
772751bdc467c29188163fec6618e4c4f2634015 | 602c144363277f2efc062d78bce139dd7fb75480 | /tests/testthat/test-read_yaml.R | 592840c3501adf306f4795e4451e8933af765add | [] | no_license | mbojan/mbtools | 637c6cfba11a63d7a052867d0afa211af00060ad | ed7680f0f9ae68ea12f6bca403f1b686f20e9687 | refs/heads/master | 2022-07-14T03:25:05.525650 | 2022-06-25T18:43:09 | 2022-06-25T18:43:09 | 29,505,211 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 265 | r | test-read_yaml.R | context("Testing read_yaml() and co")
test_that("it works", {
# Some YAML
y <- "num: 1
key0:
key1: value1
key2:
key22: value22
rcode_num: !r 1:5
rcode_ch: !r paste(LETTERS[1:10], collapse=', ')
date: !r Sys.Date()
"
expect_silent(
read_yaml(y)
)
})
|
300ef954eb0be8077b14bdf597139a7c148f3951 | b2a43f613dd34e70f87c6e757fa8b96fc905e940 | /RcppArmadillo/logisticReg.R | 1af756b4c86c4dda72c72dcd7bea1b73c4384449 | [] | no_license | BonnyRead/Rcpp_RcppArmadillo_tutorial | e98f7ac34b3439d152495d4a2a33762878283f67 | d26687f05804a5b4bf026194fe696f985721719f | refs/heads/master | 2020-04-15T17:17:10.661485 | 2019-01-09T04:39:21 | 2019-01-09T04:39:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,591 | r | logisticReg.R | # install installr
if (!"installr" %in% rownames(installed.packages()))
install.packages("installr")
library(installr)
# require2 will automatically install nonexistent packages
require2(Rcpp)
require2(RcppArmadillo)
require2(microbenchmark)
logisticFunc <- function(t) pmin(pmax(1/(1+exp(-t)), 10*.Machine$double.eps... |
26f1f456fbca5bc508a85f807239c7fc00ded108 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /seqest/R/gen_multi_data.R | c51eca3710544a250d80dddd5a2033efc34500c5 | [] | 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 | 3,274 | r | gen_multi_data.R | #' @title Generate the training data and testing data for the categorical and
#' ordinal case.
#'
#' @description
#' \code{gen_multi_data} generate the data used for multiple-class
#' classification problems.
#'
#' @details
#' gen_multi_data creates training dataset and testing datasets. The beta0 is a
#' p ... |
497cb1cd0ad04120b7da15b2fae3ae11bde46ba7 | bd07cc2347bba2b3790a6ef772a72656a5be81a4 | /R/RcppExports.R | a8dfcad278df5cd67ace786dd3b6859ab3ad2951 | [] | no_license | certifiedwaif/blma | 48ee453ecd97784e09b015d37bb8a759856eb4d9 | 80f438fbad99fb02d542dc36e12327789cf7c91a | refs/heads/master | 2023-07-13T03:33:09.766851 | 2023-07-05T06:22:03 | 2023-07-05T06:22:03 | 114,207,717 | 4 | 4 | null | 2020-07-29T07:51:53 | 2017-12-14T05:45:13 | R | UTF-8 | R | false | false | 27,478 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' BIC prior
#'
#' @param n The sample size, an integer
#' @param p_gamma The number of covariates in the model gamma
#' @param R2 The correlation co-efficient, a number between -1 and 1
#' @re... |
43c76f3f657dc5660f8bd70a7ba93cf57b4c9bd9 | 9d41ea1f26243f178a8d4405373e016c3c0889c7 | /R/supercomp/array_vr.R | 335c2afff282f5653baec2d7c454d02a7757313a | [] | no_license | AldoCompagnoni/climate_drivers_methods | e25ae279c06a899624a428042fc10f0f12dd8fe7 | 8b63e1feb90bf4910eb383f6ad648efe60c14d48 | refs/heads/master | 2023-03-16T05:12:41.331480 | 2023-03-07T20:32:15 | 2023-03-07T20:32:15 | 165,881,013 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 31,300 | r | array_vr.R | library(dplyr)
library(tidyr)
library(loo)
print('load rstan')
library(rstan)
library(testthat)
# "pipeable" Reduce rbind
rbind_l <- function(x) Reduce(function(...) rbind(...), x)
# arguments from command line
args <- commandArgs(trailingOnly = TRUE)
print(args)
# climate variable
spp_num <- args[1]
data_dir <... |
1b6977b67765df57d42668fcd0d257f654a87775 | 84258cd059fd20b0239d56fae64ba9e28fb10578 | /t-test_IHDP.R | 3a8c20a119c9e37392bc7859ef169563ca1883fe | [] | no_license | dhdths914/UCL-MSc-CSML-dissertation | a771caacc8540222e9d57fec00b7a40782541107 | ba8fe7b2483f80b64947c026c7ce48406ebaf531 | refs/heads/master | 2020-12-04T15:30:59.388981 | 2016-09-05T03:46:59 | 2016-09-05T03:46:59 | 67,371,763 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 716 | r | t-test_IHDP.R | # Load the data
X_test <- "add your file path"
Y_test <- "add your file path"
NN_all_IHDP <- "add your file path"
NN_college_IHDP <- "add your file path"
NN_high_IHDP <- "add your file path"
GP_all_IHDP <- "add your file path"
GP_college_IHDP <- "add your file path"
GP_high_IHDP <- "add your file path"
# compute t... |
9e6e1844af55c440df486fbf5fa517e41869ceea | 1ade0e09b238c51f6c67a92c4ccb750d4d9a9ce0 | /positivity graphs.R | b93be94d59e4d9cbaf0a474377b583ed3bb630ce | [] | no_license | Gielpy/COVIDaz | b56ee5cf4803ba8f1e82aae84b4632c6ddfb3a20 | 2083cc4d9bf3c0b08452628dccb17de20829e1dc | refs/heads/master | 2022-12-07T15:15:00.557962 | 2020-08-08T17:39:15 | 2020-08-08T17:39:15 | 278,990,283 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,002 | r | positivity graphs.R | ggplot(covid.az, aes(x=Date, y=New.Cases))+
geom_bar(stat='identity', color='white', fill='#003153')+
geom_line(aes(y=rollmean(New.Cases,7,fill=NA)), linetype='twodash', color='red', size=1.5)+
geom_line(aes(y=rollmean(New.PCR,7,fill=NA)), linetype='twodash', color='green', size=1.5)+
ggtitle('New Cases by Day ... |
79508d53f0eebf657341339b40ca7cfd7d66a5a6 | 451233d58b2828dabdec57b4ef95e6ba6e8bae8c | /rcodes/completion.R | 5c1968caf4fe0ce63db3a482bbacc332d24abfc8 | [] | no_license | Miaoyanwang/nonparametric | db24bbfd196077dffab58514202b5e992768b715 | 24cf0a188b53f448245742b97929682a6168da08 | refs/heads/master | 2023-05-03T10:32:54.998042 | 2021-05-19T04:45:22 | 2021-05-19T04:45:22 | 248,854,912 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,824 | r | completion.R | ## nonparametric estimation of probability matrix, Aug 31, 2020
source("SMMKfunctions_con.R")
library("tensorordinal")
library(gridExtra)
set.seed(1)
m = 11; n = 11;b0 = 0;
## simulate X
X=list();index=0;
for(i in 1:m){
for(j in 1:n){
index=index+1;
X[[index]]=matrix(0,nrow=m,ncol=n)
X[[inde... |
ca4b415424499b5f74b9fd230ccbae1e2e2b2fa3 | 82b5268313427938259bb90c5f19574e349df6a5 | /man/df_opt_dtgch_cbem4_rrlop.Rd | a5dcf8e4c8d135783cf4d6ea876ddc7b9024299c | [
"MIT"
] | permissive | FanWangEcon/PrjOptiAlloc | 72e749fda9d452a5aa1a202503bd8371b2501901 | d9dd2aef97f5cb8a12ef89abc585789bf188df49 | refs/heads/master | 2022-02-12T09:15:17.058676 | 2022-01-24T04:51:59 | 2022-01-24T04:51:59 | 231,813,064 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,443 | rd | df_opt_dtgch_cbem4_rrlop.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ffd_opt_dtgch_cbem4_rrlop.R
\docType{data}
\name{df_opt_dtgch_cbem4_rrlop}
\alias{df_opt_dtgch_cbem4_rrlop}
\title{Optimal Linear Allocation based on dtgch cbem4 solved by solin relow}
\format{
csv
}
\source{
\url{https://www.sciencedirect.co... |
09b8ba89f3c32fb8df1b9bd69890259eae139acc | d5e1d90cc9aab6920c6ee38f863e49c3a2bbf91a | /R/get_academic_pipeline.R | 9b2d9e7b85dd08ac4947f84e5fe4502c466d9960 | [
"MIT"
] | permissive | heike/CyChecks | df32c67bc3072bf3b6349dc22b730b18c7c7e476 | cda09e4d5fbd355e0e32dbb3691776ace3284952 | refs/heads/master | 2020-05-17T16:15:24.452392 | 2019-04-30T14:40:43 | 2019-04-30T14:40:43 | 183,812,546 | 0 | 0 | NOASSERTION | 2019-04-27T19:15:06 | 2019-04-27T19:15:06 | null | UTF-8 | R | false | false | 2,328 | r | get_academic_pipeline.R | #' Create a dataframe of salary data for positions in the academic pipeline
#'
#' @description Create a dataframe that contains salaray data for graduate
#' assistants, lecturers, and professors
#' @name get_academic_pipeline
#' @title get_academic_pipeline
#' @usage get_academic_pipeline(dataframe)
#' @importFrom dp... |
8a18d8c9d6c35ef674c8eb8d6a5c9a1eac7cade2 | 814214910998c704b9b0fb40ba37649f31721154 | /run_analysis.R | 10a0432f7d09362c087c9fa0fa49dac84b1e4f12 | [] | no_license | juandarnay/GettingandCleaningData | b406057bbc1d62ee76ee9dce84d5ae9d2f793aca | 329b3886130a5126d97daca24c1641174b09e210 | refs/heads/master | 2023-01-21T13:24:09.127703 | 2020-12-03T21:57:32 | 2020-12-03T21:57:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,790 | r | run_analysis.R | # Download and read the test and training sets from the txt files provided
if(!file.exists("UCI HAR Dataset")){
dir.create("UCI HAR Dataset")
}
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(fileUrl, destfile = "./UCI HAR Dataset.zip")
unzip("UCI HA... |
155455414e175b4b32faf6b1e4ae7b0b2030afd7 | 17e0b4e4c0fddaa71ce2b137b7f59d17fa47243b | /res/lsr_zero2.r | ea0d3c4c956d833b242c3b2d4eceb14f8c85961a | [
"MIT"
] | permissive | JSpuri/EmuParadise | 6f6d26c43d9dce8f05448b6c07db133d691e39b2 | b8f6cf8823f8553f28dab5c6b44df20978ad6ba0 | refs/heads/master | 2020-06-28T18:33:56.341244 | 2019-11-22T22:49:53 | 2019-11-22T22:49:53 | 200,309,043 | 0 | 0 | MIT | 2019-09-27T15:59:31 | 2019-08-02T23:26:20 | C | UTF-8 | R | false | false | 482 | r | lsr_zero2.r | | pc = 0xc002 | a = 0x00 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110110 |
| pc = 0xc004 | a = 0xfe | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 10110101 |
| pc = 0xc006 | a = 0x00 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110111 |
| pc = 0xc008 | a = 0x00 | x = 0x00 | y = 0x00 | sp = 0x... |
34c2290b5c20ddf39b7a09487cec02db81937933 | 6e5efc0b6b6b37c735c1c773531c41b51675eb10 | /man/RerenderMetPAGraph.Rd | 09af23d72ed71d2d73e86934e2a20852fbc3bef1 | [
"GPL-2.0-or-later"
] | permissive | xia-lab/MetaboAnalystR | 09aa09c9e57d7da7d73679f5a515eb68c4158e89 | 9edbbd1e2edda3e0796b65adf440ad827abb7beb | refs/heads/master | 2023-08-10T06:08:56.194564 | 2023-08-01T15:13:15 | 2023-08-01T15:13:15 | 109,994,826 | 268 | 165 | MIT | 2023-03-02T16:33:42 | 2017-11-08T15:38:12 | R | UTF-8 | R | false | true | 892 | rd | RerenderMetPAGraph.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/enrich_path_graphics.R
\name{RerenderMetPAGraph}
\alias{RerenderMetPAGraph}
\title{Redraw current graph for zooming or clipping then return a value}
\usage{
RerenderMetPAGraph(mSetObj = NA, imgName, width, height, zoom.factor = NA)
}
\argumen... |
bf08ed20cf3d1b66f532e10902b9bb7d9fae7d60 | cabfade76bc5e7ca91184e5f0a135b1739a0f4cc | /R/server.R | 499fd48511722e1a8200c18942409b992e98ffa0 | [] | no_license | RuiyangXu/PredSoccer | 6a0d0c8d2c766a82b0a8ea8acaaa6ac3023f85f6 | 3588270fa1228c748a8a987ae2f5418e1b5c7c3f | refs/heads/master | 2021-01-19T09:13:33.549560 | 2017-04-09T21:55:53 | 2017-04-09T21:55:53 | 87,741,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,447 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
library(stringi)
library(ggplot2)
library(plotly)
source('functions.R')
shinyServer(function(input, output, session) {
output$distPlot <- render... |
0fc8e7cf568dd5f2d5320db0af26f634f5f504ec | 61ae80dc84faad496a920817f56b2f2c94cd7d59 | /removals/ipm/IPM-figures.r | 6196a4d9cf9f3d0bdb8cd2d835129ce747185f3f | [] | no_license | pbadler/ExperimentTests | 1f78c6be8c193345bd63e11c7ba65a423bf77ad4 | b2bfeb446a54446210e3f04a010d689dc577f257 | refs/heads/master | 2021-04-09T17:39:42.583837 | 2021-03-16T22:12:05 | 2021-03-16T22:12:05 | 53,069,884 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,894 | r | IPM-figures.r |
# call from removal_analysis_wrapper.r
# box plots
if(!exists("baseline")) baseline <- read.csv("ipm/baselineCover.csv")
if(!exists("baseline.noARTR")) baseline.noARTR <- read.csv("ipm/baselineCover-noARTR.csv")
if(!exists("removal.noARTR")) removal.noARTR <- read.csv("ipm/removalCover-noARTR.csv")
if(!exists("remova... |
29a21ed6806ef2505911cb5ffb326cd8c0954356 | d837a6b0beaede292aa430adbeb38d7ccc1a3363 | /man/manageArchive.Rd | 99d863715fd3b707e4b4c0ff75098938e0058d99 | [] | no_license | jameslhao/dbgapr_dev | 0503d740e4ffb394426638be31da609fb8f7f950 | 4d67dff0b4bd8dbda0bc74c6ca26362e93619f55 | refs/heads/master | 2020-12-30T13:09:21.487245 | 2017-08-15T12:20:00 | 2017-08-15T12:20:00 | 91,335,051 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,586 | rd | manageArchive.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/commons_internal.R
\docType{methods}
\name{manageArchive}
\alias{manageArchive}
\alias{manageArchive,Commons,character-method}
\title{(internal) Logging archive manager}
\usage{
manageArchive(object, workFile, archiveDir, type, ...)
... |
31f9e9b62c4e1fe56a1f908ae29880ef16eaafcd | 5bdfc99dda831c3b5219a2b9988e0f03a5bf0e4e | /man/SAXLimitsDataAdaptive.Rd | 09235b27f6d0f56466f224678448e0a44f9c6d91 | [
"MIT"
] | permissive | vishalbelsare/FastTSDistances | 1d20fc4c0be39652245da8fcd71e52ce86dbb111 | d7ce4c1dde1c8681558e41c349e856f4e3820888 | refs/heads/master | 2021-09-25T20:45:11.052275 | 2018-10-25T07:25:29 | 2018-10-25T07:25:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,218 | rd | SAXLimitsDataAdaptive.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AggregationFunctions.R
\name{SAXLimitsDataAdaptive}
\alias{SAXLimitsDataAdaptive}
\title{Symbolic Aggregate Aproximation Limits (Flexible)}
\usage{
SAXLimitsDataAdaptive(tsList, alphabetSize = 8)
}
\arguments{
\item{tsList}{A list of... |
8128a7a819ff7f60f067bf958b03245e3bd65207 | c606feaab4dd54e5084f5d11edbed968ff5becbd | /R/bindCNRX.R | 5381165b0b9b02adf07002c953afa2a1f76d1241 | [
"Artistic-2.0"
] | permissive | lwaldron/ccleWrap | 31d0a2c4911152982b9cb658c25931862d3a1c10 | d1eb6b8a3ac80c7c51ed0619cd4a4b0fefb40ca0 | refs/heads/master | 2021-01-19T20:18:48.603475 | 2015-06-17T21:53:39 | 2015-06-17T21:53:39 | 32,178,773 | 1 | 1 | null | 2015-06-17T21:53:40 | 2015-03-13T20:17:08 | R | UTF-8 | R | false | false | 413 | r | bindCNRX.R |
bindCNRX = function( segrng, rxobj ) {
ic50s = IC50(rxobj)
orgs = organ(rxobj)
comps = compound(rxobj)
rn = repairNames(rxobj)
names(ic50s) = names(orgs) = names(comps) = rn
linesInSeg = segrng$CCLE_name
names(segrng) = linesInSeg
okn = intersect(names(ic50s), names(segrng))
segrng = segrng[okn]
se... |
fbd3eec6d646ee5ffba5e1fbb37734659b203893 | f0210d6c7a3bcc5f6fa4e40aad4fae560a278f10 | /R_Data_Analysis/Tanzania_Pump_Data_Analysis.R | 6f9a7aef27ac4e20fba8f237b372ebdf4cfe4107 | [] | no_license | Kuntal-sys/Tanzania_Water_Pump | 283625f22bb9ea51d312b759fcb39dbfd48b47fa | 37f9b9b708af1e4fe6bd1e99df6981d691ea45d4 | refs/heads/master | 2022-11-24T11:35:34.278111 | 2020-06-29T04:36:30 | 2020-06-29T04:36:30 | 274,038,668 | 0 | 0 | null | 2020-06-22T04:21:49 | 2020-06-22T04:21:49 | null | UTF-8 | R | false | false | 16,705 | r | Tanzania_Pump_Data_Analysis.R | library(tidyverse)
# import datasets
pump_data <- read.csv(file='clean_pump.csv',check.names=T,stringsAsFactors = F)
# create Region summary table
summarize_region <- pump_data %>% group_by(region) %>% summarize(
Functional=sum(status_group_functional),
Functional_Needs_Repair=sum(status_group_functional.needs.... |
c0e5a9f6e48824a90885e66be69cc56ae56d0a03 | 7d9955652fd699a515b9b4e178daa9ba5b903cdd | /Auswertung/EvaluationThroughput.R | d2777ed2623d874cf83e8779b3090687023d5ef5 | [] | no_license | andreasPfaffelhuber/Faster-than-in-Real-Time | b0bb07e74e3958121d069d23eed01f6d736b211f | b9f17d75c15916454fee9713bc146abbbbcfc975 | refs/heads/master | 2021-03-02T15:13:05.971013 | 2020-03-19T22:57:38 | 2020-03-19T22:57:38 | 245,878,152 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,109 | r | EvaluationThroughput.R | # Load libraries
library(tidyverse)
library(ggpubr)
library(rstatix)
library(ggpmisc)
options("scipen"=100, "digits"=5)
# Prepare Data Frame
summary <- data.frame(PredictionModel=integer(),TotalTime=integer(), Proband=integer(),stringsAsFactors=FALSE)
# Read original CSV Data
filenames <- c()
for(i in ... |
ae9860634d2d7718e1a65b4ef00d12b56f7c072f | 6bea1cce82a7c0ef4eafb33b75360c0830d7bdff | /tests/testthat/test-utils.R | c8c6b338aa224a795ae165de298ae25027d979f2 | [] | no_license | krlmlr/quantities | cb86a48da7dc11f16ba03d8d1d42e86d1e2c2ea2 | 5cd26e488835e672d8cd529e7f7c40f4e67023c9 | refs/heads/master | 2023-03-07T13:19:54.686971 | 2021-02-21T16:20:01 | 2021-02-21T16:20:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 950 | r | test-utils.R | context("utils")
test_that("objects with errors & units attributes are reclassed", {
x <- 1
expect_is(reclass(x), "numeric")
attr(x, "errors") <- 1
attr(x, "units") <- NULL
expect_is(reclass(x), "numeric")
attr(x, "errors") <- NULL
attr(x, "units") <- 1
expect_is(reclass(x), "numeric")
attr(x, "error... |
86b7a771cbd4d4b2172571a3cc3e1e6415baf908 | 820a329025ccb3a872337607e243a8a9c94c9da3 | /H_update.R | 8fe86cb357fc35d4ea1bea37241f1fc86f9045e2 | [] | no_license | shadowmoon1988/ChangePoint | f63ecc33d5c4f094f838ea1904d65a5c0e17edc4 | c8c5b92a6f33fce9fb51d142f59f6152f0dcd147 | refs/heads/master | 2021-01-12T16:24:42.685465 | 2017-12-17T22:24:50 | 2017-12-17T22:24:50 | 71,990,788 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 16,659 | r | H_update.R | require(lars)
require(MASS)
require(cpm)
require(bcp)
require(ecp)
## Function
Summary =function(S,Y,X,Z){
if (is.null(S)){
coef=lm(Y~X-1)$coefficients
names(coef)=NULL
Estimation=list(Break_Point=NULL,Beta=coef[1:(p+1)],diff=NULL,raw_beta=coef[1:(p+1)])
} else {
p=dim(X)[2]-1
... |
383a143f9d2d91a0feeac6642c8623450f748059 | 79eb7c6958b247770731ee20a5d9be525d8f5ed0 | /exercises/practice/anagram/test_anagram.R | f10a1a0fdee972e27196dd580b770bc7def770d1 | [
"CC-BY-SA-4.0",
"CC-BY-3.0",
"CC-BY-4.0",
"MIT"
] | permissive | exercism/r | 345781f314b8a66be047abd889238cba2630a20c | 566676cca76019e3e6a602f8f4d8086c54a51e1e | refs/heads/main | 2023-08-03T09:30:59.027153 | 2023-07-28T00:18:31 | 2023-07-28T00:18:31 | 24,401,761 | 22 | 37 | MIT | 2023-09-05T11:19:45 | 2014-09-24T05:22:10 | R | UTF-8 | R | false | false | 3,566 | r | test_anagram.R | source("./anagram.R")
library(testthat)
context("anagram")
test_that("no matches", {
subject <- "diaper"
candidates <- c("hello", "world", "zombies", "pants")
expect_equal(anagram(subject, candidates),
c())
})
test_that("detects simple anagram", {
subject <- "ant"
candidates <- c("tan", "sta... |
75da177e97963f7d6046aff7bd65667881fc6f00 | 68ebca23f59b1b751a2f025d5556be74e97393d2 | /Plot1.R | 3595fa76f982a9b9e96a8636eab8d275972b2c0e | [] | no_license | rachitagrawal/ExData_Plotting1 | 0cec148f0ce6e518de9afee98fad682f6b621f49 | 3e5527574208446f4d5f68fb65dcae20731893ac | refs/heads/master | 2021-01-15T20:04:46.581905 | 2015-03-07T18:18:03 | 2015-03-07T18:18:03 | 31,604,340 | 0 | 0 | null | 2015-03-03T15:05:58 | 2015-03-03T15:05:58 | null | UTF-8 | R | false | false | 440 | r | Plot1.R | Plot1<-function(file){
tb<-read.table(file, sep=";", header=T)
tb$Date<-as.Date(tb$Date, format="%d/%m/%Y")
tb<-subset(tb, Date == as.Date("2007-02-01") | Date == as.Date("2007-02-02"))
print(class(tb$Global_active_power))
tb$Global_active_power<-as.numeric(as.character(tb$Global_active_power))
png("Plot1.png")
... |
711c0c8beef2856032c145728c6c66a8680ac96d | 9aeff507412b57718da6db67e708bdf04aa83228 | /man/get.epiweek.Rd | 1633e7238552f92bade2c7f38e03cf4162c95822 | [] | no_license | lozalojo/mem | df00ae00aa190e91d3217ddc60736eb86894f037 | e8bbdcc1df8e31cbeb036ac5037f79b7375d976c | refs/heads/master | 2023-07-03T13:44:40.371634 | 2023-06-21T06:21:11 | 2023-06-21T06:21:11 | 47,120,918 | 11 | 3 | null | 2023-06-21T06:21:12 | 2015-11-30T13:39:39 | R | UTF-8 | R | false | true | 317 | rd | get.epiweek.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get.epiweek.R
\name{get.epiweek}
\alias{get.epiweek}
\title{create epidemiological calendar}
\usage{
get.epiweek(i.date = as.POSIXct(as.POSIXlt(Sys.Date()), tz = "CET"))
}
\description{
create epidemiological calendar
}
\keyword{internal}
|
c2307c1f1e1902eec9ff9bd655d9e5bb806c5956 | 2bafced5f43ecee6fc6e7a78e3be54627f8a864e | /inst/ct_shiny/Inputs/tradeInputs.R | 55e486f60d1f27ff60654bc0b2f0836a38577533 | [] | no_license | luciu5/competitiontoolbox | 9fd70d5aa40e739dab4d3961418c9739702ff5af | 04a1f19c9845f1a8a01dac030dd31e480dfe41c9 | refs/heads/master | 2022-10-08T14:57:48.544298 | 2022-08-24T20:53:41 | 2022-08-24T20:53:41 | 198,494,717 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,579 | r | tradeInputs.R |
##### This function is just the "Tariffs"/"Quotas" version of genInputDataMergers() for "Horizontal". This entire thing needs to be desperately refactored...
tradeInputs <- function(nrows, type = c("Tariffs", "Quotas")) {
# a function to generate default input data set for simulations
type = match.arg(type)
... |
6437343b1f19b5777ae13b5049cef607d86617dc | f90c3956e18e75fd3e2779f00c9ace847114ba82 | /app.R | 58c7d7cd3c16f64cbab53c7b138f6553f3a701ff | [] | no_license | adalrada/JIRD | 31bcb82becf1df1c3f1bdb2891be98b9c34e5255 | b56592657d564f49b0f58fdb6ec0a1bcfe20fe6d | refs/heads/main | 2023-04-22T11:11:19.210019 | 2021-05-11T00:32:23 | 2021-05-11T00:32:23 | 361,972,947 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,822 | r | app.R | options(shiny.maxRequestSize=100*1024^2)
library(shiny)
library(tidyverse)
library(googleVis) ## Version >= 0.3.2 required
library(knitr)
library(markdown)
library(RCurl)
library("rvest")
library(shinydashboard)
library(shinycssloaders)
library(quantmod)
library(DT)
ui <- dashboardPage(
... |
f75ab7f3f2fac2891fdb9970501dc924486adfa2 | 3a2b15c469cf4778a100340bcc2cf2642edd37b0 | /man/tdeath_other.Rd | 59bd503696953c0ab720a5326bdbdbd982600df6 | [] | no_license | Qingys/MILC_backup | 9657aaf2267ffad568c8f8fa2772d3381f31a874 | cabc1bcbabf99cd250abf7b44f662138ed5a4f7d | refs/heads/master | 2023-03-17T01:53:43.623830 | 2014-02-18T00:00:00 | 2014-02-18T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,798 | rd | tdeath_other.Rd | \name{tdeath_other}
\alias{tdeath_other}
\title{Predict the age at death from a cause other than lung cancer
}
\description{Function to predict the age (years) at which a person may die from a cause other than lung cancer given age, gender and smoking intensity, when relevant.
}
\usage{
tdeath_other(u1, u2, stat... |
faab46323a149034990970f6ea282d575c9aa5e6 | b1e1e81f1ae71dfe17a671eb3035332c9d4c36ed | /ODEs.R | 57e14bcaa3f7af773422546fade4c29f23c1cda1 | [] | no_license | ThomasLastName/Rudiments-of-Numerical-Algorithms | ee262ff4365ece644be2af6d0aaeabe74e8ebff9 | bda68ca4c57fca62b170c0c64e65952eec8ddbad | refs/heads/master | 2022-05-31T08:20:32.214990 | 2020-05-03T06:26:32 | 2020-05-03T06:26:32 | 260,302,424 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,878 | r | ODEs.R |
#
##
### the increment function in classical fourth order Runge-Kutta
##
#
Increment.RK4 <- function(from, to, f, y.at.from) {
a <- from
b <- to
yhat <- y.at.from
h <- b-a
K1 <- h*f(a, yhat)
K2 <- h*f(a + 0.5*h, yhat + 0.5*K1)
K3 <- h*f(a + 0.5*h, yhat + 0.5*K2)
K4 <- h*f(b, yhat + K3)
... |
56c4be401518816139b2b719df809c7197a69d59 | 818348533cce918e2b466ad9ad86eb83b345e9cc | /R/parseFile.OSCURS.R | 8699afe7ebb3bb6d1db11d649202e4c2d8bdfe5a | [
"MIT"
] | permissive | wStockhausen/rOSCURS | 11b4d1bfd15718465d2f0fea337dada4056e30d1 | 76c755779293beeafcfbf074114b7f2cd88ca2f2 | refs/heads/master | 2023-05-01T00:34:31.173883 | 2023-04-19T15:59:33 | 2023-04-19T15:59:33 | 185,640,017 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,370 | r | parseFile.OSCURS.R | #'
#' @title Parse an OSCURS output trajectory file to a dataframe
#'
#' @description Function to parse an OSCURS output trajectory file to a dataframe.
#'
#' @param fn - name of file to parse
#' @param verbose - flag to print diagnostic info
#'
#' @return a list with elements "dfr" and "track". The latter is a spatial... |
ad583d9d4cea10b4ece67dc78314b4c27c7e0086 | ef33279f31f8b45cc610a581736264c61f19dbc3 | /appendix1.R | 9920c9f285c2c2bbfb9944cf847059dfbeaa7221 | [] | no_license | Jorge-Dona/cophylogenetic_extinction_rate | ba2685479cfa0f31ad5cd88cc90b4cf517517ccb | 0faa8173f3a1fc72ba9a7de1a0ae357ded3502ef | refs/heads/master | 2022-09-07T05:14:20.800191 | 2022-09-02T08:50:36 | 2022-09-02T08:50:36 | 208,768,344 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,049 | r | appendix1.R | # This function computes the “cophylogenetic extinction rate” (Ec), a statistics that uses data from event-based cophylogenetic analyses and might be informative to assess symbiont extinction risks.
# See Doña & Johnson 2020 for more details.
require(DescTools)
#Load the function
ec <- function(L,E,S) {
est<-Bi... |
c7da561a2079d5d02ba03fc396df04d2a934362b | 9aa317973931936d668493359d4e6ce67de1fb0f | /Podatki/R_01_get_WBank_data_20200402.R | cbb27fcc86e3fed4b3aa62294355d514dbfd625c | [] | no_license | matjazjeran/Covid-19 | cb5879ea28df640d2afc4e24766307bbe1d7583c | dc0279d839a0a1aed42fe3c16429bdaf5311430a | refs/heads/master | 2021-05-23T13:57:38.368534 | 2020-04-21T11:05:00 | 2020-04-21T11:05:00 | 253,324,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,347 | r | R_01_get_WBank_data_20200402.R | # Original code from
# Tidying the new Johns Hopkins Covid-19 time-series datasets (old code before 30.03.2020)
# March 24, 2020 in R
# https://joachim-gassen.github.io/2020/03/tidying-the-new-johns-hopkins-covid-19-datasests/
# adapted for daily use on different platforms
# Matjaz Jeran 02.04.2020
# getting world ba... |
e563002610ff76aef353901ff8ad17dd0371677f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ads/examples/triangulate.Rd.R | 98a7e4686318503971557e6ea3b469b00812848d | [] | 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 | 667 | r | triangulate.Rd.R | library(ads)
### Name: triangulate
### Title: Triangulate polygon
### Aliases: triangulate
### Keywords: spatial
### ** Examples
data(BPoirier)
BP <- BPoirier
plot(BP$poly1$x, BP$poly1$y)
# a single polygon triangulation
tri1 <- triangulate(BP$poly1)
plot(swin(BP$rect, tri1))
# a single polygon ... |
9e0e8665e40653fd338c86fcb4f6259ab87b5357 | 71e663993cdc75945bae8db86e81f6b4fa71ead6 | /PCA logistic regression model.R | 7993d1d6fe37c639baa5e02c350a2001acc552a5 | [] | no_license | LDang47/VMWare_Customer-Enagement | 9bb41cca579eb31093681be64055e469d8e028dc | 06e2887c97d2f3bb7cfd1f11b41cde6ef523fc3f | refs/heads/master | 2022-11-22T23:52:55.101104 | 2020-07-27T16:50:59 | 2020-07-27T16:50:59 | 279,432,497 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,263 | r | PCA logistic regression model.R | rm(list = ls())
options(scipen = 99,digits = 10,max.print = 9999)
gc()
## Check if you have universal installer package, install if not
if("pacman" %in% rownames(installed.packages()) == FALSE) {install.packages("pacman")}
## Check, and if needed install the necessary packages
pacman::p_load("na.tools", ... |
5e243d32c704ff6dfdf31b82a86cecb116c220c7 | b1f59ceea9d75220d3667abb6417ae07312079f1 | /analysis/lib/varpart.sqr.euc_functions.R | 07ebfc87d0bc09e1f2374c26219fa66ccfcbcb67 | [] | no_license | Vileu/omrgc_v2_scripts | efa960c1429da3af2752f25b1a2b8ea1d756a116 | 2bcb70a7d20d59126ecf0802de1eb2c73172ef1c | refs/heads/master | 2022-04-13T00:50:51.044263 | 2020-03-31T08:02:50 | 2020-03-31T08:02:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,511 | r | varpart.sqr.euc_functions.R | # Distance functions
sqr.euc.dist<-function(taula,dim.div=T){
taula<-as.matrix(taula)
if (dim.div==T) n.dim<-ncol(taula) else n.dim<-1
res<-sapply(1:nrow(taula),function(y){sapply(1:nrow(taula),function(x){sum((taula[y,]-taula[x,])^2)})})/n.dim
rownames(res)<-rownames(taula)
colnames(res)<-rownames(taula)
r... |
37152215698f11609236371100da9e40fe36bf39 | d9c8cb891c7bd2250ecad8116f8863adac9fcd4e | /R/estimateMSVmetrics.R | 11d67e7242a32447fc8f45de1f87d2726e012b71 | [
"Apache-2.0"
] | permissive | carsaesi/EHRsourceVariability | 866eeab1508ec1611b3982a920b4dc35101a5353 | 2ab3f3575d6e79384a034d52d120c9f4bace366d | refs/heads/master | 2020-05-25T06:20:18.681077 | 2019-05-21T11:31:14 | 2019-05-21T11:31:14 | 187,666,467 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,560 | r | estimateMSVmetrics.R | # Copyright 2019 Biomedical Data Science Lab, Universitat Polit?cnica de Val?ncia (Spain)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
... |
d741baada1d1a6dc15aa445e851fa6c83175bef1 | bb3d5006868d5f3251ed0e3cee2020f27ec9215a | /man/get_bipartite_nodeset.Rd | 4a1594fded7895543689f180a5c7226027c3d7b5 | [] | no_license | jmw86069/multienrichjam | 133398bf24612bd708eb4fc1246fe891f571b798 | 92730d106893e1e62af5d6f924bb7393f412d704 | refs/heads/master | 2023-07-25T00:10:22.585074 | 2023-07-06T15:46:32 | 2023-07-06T15:46:32 | 139,867,348 | 12 | 2 | null | null | null | null | UTF-8 | R | false | true | 3,952 | rd | get_bipartite_nodeset.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/jamgraph-edgebundle.R
\name{get_bipartite_nodeset}
\alias{get_bipartite_nodeset}
\title{Get partite/connected graph nodesets}
\usage{
get_bipartite_nodeset(
g,
type = "nodeType",
set_nodes = NULL,
sep = ",",
return_type = c("list", ... |
bc9da921d7a6208e032c18d59da1e4a31d1e0431 | 8166e672f3c7a57f8e52bce0f32799e41de165a9 | /scripts/9_Cereals_Inference_under_Parallel.R | 662a7372a6f9be39a757d743f6582921d6677b7d | [] | no_license | mnavascues/DAR_ABC | 6cde8de4f7d5a91e8299afd84edf9f6fad1983b1 | 23e5d86466bcdb03839527f529651f42d9c12575 | refs/heads/master | 2023-07-07T10:02:09.973109 | 2023-06-29T07:40:58 | 2023-06-29T07:40:58 | 545,404,223 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,665 | r | 9_Cereals_Inference_under_Parallel.R | library(abcrf)
source("../../Misc_R_tools/color.R")
source("scripts/sim14c.R")
load(file = "results/num_of_sims.rda")
# load target (i.e. observed) summary statistics
load(file = "results/Cereals_sumstats.rda")
# lead reference tables
load(file = "results/Cereals_parallel_model_reftable.rda")
reftable = reftable[!is... |
9c1eb7b1b8db030e161db9247695fe3fda51143f | 1efcd5467fff4f149fe88d3a5b275b4648a7cdda | /fake-files/clean/02_clean-demographics.R | f328c5ace9653ed9c61545fd4330cc149c49a8aa | [] | no_license | sharlagelfand/sharstudioconf | 17df24869d4daaebd59d5b4ef867099b814551a3 | 19adf23d699ffe3df61b991807370654aeecf1d5 | refs/heads/master | 2020-12-20T13:09:40.871923 | 2020-01-30T00:32:30 | 2020-01-30T00:32:30 | 236,086,370 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 388 | r | 02_clean-demographics.R | read demographics data
analysis_year <- {{{ analysis_year }}}
# Check for any cases where province is "Ontario" but outside_ontario is TRUE. Some of them may have province wrong, some may have outside_ontario wrong.
# Email Carla and ask to check paper files to confirm which is correct
demographics_data <- demograp... |
b6a5cf005b152a63a059c83f03da020c91a83367 | 583616a7d61e83e8a23779456421689818bb8f60 | /tools/heinz/bum.R | ae64e6b807efae084163c2139ac0cbedc28da14b | [
"MIT"
] | permissive | thobalose/tools-iuc | ea3bcc7bfb49da160e3ff1710c4ecbdf5c73664b | f337505deb06b66961f77a64bfae244f88c6a865 | refs/heads/master | 2020-04-25T15:07:36.647154 | 2019-08-29T10:47:28 | 2019-08-29T10:47:28 | 172,867,113 | 1 | 0 | MIT | 2019-02-27T11:50:35 | 2019-02-27T07:36:52 | HTML | UTF-8 | R | false | false | 1,136 | r | bum.R | # Author: Cico Zhang
# Usage: Rscript bum.R --input p-values.txt --output result.txt --verbose TRUE
# Set up R error handling to go to stderr
options(show.error.messages=F, error=function(){cat(geterrmessage(),file=stderr());q("no",1,F)})
# Avoid crashing Galaxy with an UTF8 error on German LC settings
#loc <- Sys.se... |
9caa40be6f294c5ade480cb221db5c6dd1535af1 | 5c09b66c0bd8fb0f7b3bb93d9a039810a0702e47 | /R/Basic/14 - list.r | b29f36251ec271643bb61860cd9d3f007069cf59 | [] | no_license | leandrocotrim/curso_R_PY | a4ccb1020c7aa33dd4a38a0b1d3fe41e9f44028e | 5a9844e9dbd4f765837ea25dee489866ad51bbd1 | refs/heads/master | 2020-06-15T00:15:40.035284 | 2019-08-16T11:08:24 | 2019-08-16T11:08:24 | 195,161,930 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 603 | r | 14 - list.r | # object which contain any element multiply
# use function list()
l1 = list(1, "aa", TRUE, c(0, 2, 3))
print(l1)
# names
cat("\nnames\n")
l2 = list("number" = 4, "list" = c(1, 10))
print(l2)
cat("\norder names\n")
names(l2)
# change position
cat("\nchange position\n")
names(l2) <- c("list", "number")
print(l2)
# a... |
fc69077131b2f860c4e32719656f23b64d301025 | 4438de5c07b9221dffff16db98ffa74789e77316 | /cachematrix.R | 816ac608f05371e09ccc8f5bf9ce4d792e04892e | [] | no_license | bhabishyat/ProgrammingAssignment2 | cc30c684f22de5cae24ede067c5b5aaadb9c2b6d | 75ba5d880db5a7282cc86d1ef35dffba5f16618b | refs/heads/master | 2016-08-11T21:34:53.917759 | 2016-02-06T18:52:38 | 2016-02-06T18:52:38 | 51,216,540 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,200 | r | cachematrix.R | ## These functions are used to save the matrix and inverse matrix and use the saved matrix.
## This function saves and returns the matrix and its inverse.
makeCacheMatrix <- function(x = matrix()) {
i <- NULL #variable to hold inverse
set <- function(y) {
x <<- y ## save the matrix for... |
d6baea68e7eb232cca2daa707785ed9d5776457c | 7efe470604aad14761329a20ea1848dd188ca93a | /Getting and Cleaning Data/Week3/Quiz3_Question3_4_and_5.R | 2572c0f7c7ab672cdb9ea5f106cf60fa8dbac232 | [] | no_license | sintecs/Coursera_Data_Science_Homework | 35980db2d786cb2a44b28cd27adb7eebb812e855 | 8c66282413abf0ceb6a595a5c7d7e2d5436f471e | refs/heads/master | 2020-05-31T20:05:43.432940 | 2015-08-22T17:34:17 | 2015-08-22T17:34:17 | 40,052,645 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,134 | r | Quiz3_Question3_4_and_5.R | ## Question 3
gdp.url <- 'https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FGDP.csv'
gdp2.url <- 'https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FEDSTATS_Country.csv'
setwd('Programming/R/Getting and Cleaning Data/Week3/')
download.file(gdp.url, 'fgdp.csv', method = 'libcurl')
download.file(gdp2.url, 'fed... |
767b5d61c6e4646f2235fc0085a51b135f127929 | 63f10e3e20abdbe467deb3c19d224a93ed0318c3 | /plot2.R | b01900d80891428cf00177e58d2cc6e1f776c726 | [] | no_license | HugoFram/ExData_Plotting1 | 1f91fb637b6e4c8cc00bd2d8538603a74447803d | 6971ae4137a74dbb9d05ba918eb2a72050541c45 | refs/heads/master | 2020-03-27T17:52:08.824978 | 2018-08-31T14:41:43 | 2018-08-31T14:41:43 | 146,880,418 | 0 | 0 | null | 2018-08-31T10:57:51 | 2018-08-31T10:57:51 | null | UTF-8 | R | false | false | 559 | r | plot2.R | # Download, read and filter data for the assignment
source("readData.R")
# Open png device
png("plot2.png", width = 480, height = 480)
# Set local time to english so that dates are printed in english
Sys.setlocale("LC_TIME", "English")
# Plot Global Active Power over time
with(householdPowerConsumption, plot(DateAnd... |
56038d28078a5557b96472d8edde0819d9e95c90 | 3e68564f4897ff9d7ee07c4bd8c6a4afda2db1db | /cachematrix.R | b327e85a9453165b89eafe6e9fef6a4abf20df0c | [] | no_license | salmanhaider94/ProgrammingAssignment2 | ee39bca1ac2f694a2a0e87457457ad044715e246 | 1695a4aaf9f7cf5e898edebe3241eff03f045264 | refs/heads/master | 2020-04-03T20:28:07.654495 | 2018-10-31T12:26:22 | 2018-10-31T12:26:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,222 | r | cachematrix.R | ##Basically matrix inverse_matrixersion is a costly computation and rather than repeatdely doing that particular time cosuming task
##we could make functions that will cache inverse_matrixerse of a matrix
## This function is to create a special matrix object
## that will cache its inverse.
makeCacheMatrix <- func... |
dc47c60fb58bbaacb992f24566ce4f2bfd6a00f6 | c744f8c5401d2ca760d22d556fa2ecbebde39a56 | /rkvstore/man/rkv_store_iterator.Rd | 14865beeb3f62bc3d4c1e1e256a22ce658865bb3 | [
"Apache-2.0"
] | permissive | sshyran/oracle-nosql-drivers | 398816164de9a7507f7363ffbc868dfd73b85761 | 1f421d9ac561ee7ac4b37e084b1e97ae67f562b5 | refs/heads/master | 2022-03-13T23:52:03.170425 | 2016-04-07T14:42:14 | 2016-04-07T14:42:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,546 | rd | rkv_store_iterator.Rd | % File rnosql/man/rkv_store_iterator.Rd
\name{rkv_store_iterator}
\alias{rkv_store_iterator}
\title{Returns an iterator that provides traversal of descendant key/value pairs.}
\description{
Returns an iterator that provides traversal of descendant key/value pairs associated with the parent_key.
}
\usage{
rkv_store_ite... |
3238dfc17dc4f2090bdd0a3e4cd4353f22d16335 | fb72c93c681e581afc7ea6dad9dce6afbe6d69f2 | /HW4/hw4.R | c12ea9daae1b56d90e115be60a785e2e83a43c16 | [] | no_license | OliverXUZY/HPC_HTC-STAT605-fall19 | 515dd51475c51d274b1aff7795f7e2f3a69dd4e4 | 5d4d0ea69b59018c3eb9052d70f72ab304763ae6 | refs/heads/master | 2023-07-31T23:06:23.667114 | 2021-10-03T05:14:58 | 2021-10-03T05:14:58 | 214,275,444 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,881 | r | hw4.R | rm(list=ls())
args = (commandArgs(trailingOnly=TRUE))
if(length(args) == 2){
template = (args[1])
directory = (args[2])
} else {
cat('usage: Rscript hw4.R <template spectrum> <data directory> \n', file=stderr())
stop()
}
### hw2 code for one file
library('astro')
###
cB58 = read.fitstab(template)
#noisy = re... |
2ab61e2906f649a47624dd99c596754c2b7946b5 | 51d2291c595cb72aa8f23fb39009fd92db1a3c3a | /man/readMZ.Rd | f92dd001e013a5e73c73fc1b1ab523e7edb708f2 | [] | no_license | Yang0014/MassSpectrometry | cee487a9db8a9b6786b28c64995056b4c74352a7 | 27d4cd0f125dd3156d9c37b5964fd4b62fc44893 | refs/heads/master | 2021-01-21T04:40:10.302068 | 2016-07-21T20:14:01 | 2016-07-21T20:14:01 | 54,397,527 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,292 | rd | readMZ.Rd | \name{readMZ}
\alias{readMZ}
\title{
Read mzXML files
}
\description{
Read mzXML files.
}
\usage{
readMZ(fns, scanCounts = NULL, starts = NULL, ends = NULL)
}
\arguments{
\item{fns}{
\code{character}(n): the filenames of mzXML files.
}
\item{scanCounts}{
\code{integer}(n): the scanCount to use in eac... |
41ea8c110282315c0b5dc8b79f94e94a8daa22fe | 22f3f3f959b0af491de1cc2cdd2d887343c93969 | /CLASS-CDA-ToDo/reports/Homework/HW3-Due 12052016/HW3-Q1b.R | 59d15e1ad4100497a78691487c6c1ddbf182c62f | [] | no_license | EccRiley/CLASS-CDA | ffef431e2c32579c1b2e2d6d067308609e00cfdf | 5d74ca152e7553987d2ede3d6d9c9eed186e47bc | refs/heads/master | 2021-05-01T01:24:39.675352 | 2017-05-01T16:46:23 | 2017-05-01T16:46:23 | 72,780,877 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,367 | r | HW3-Q1b.R | #' ---
#' title: "Homework 3, Question 1b"
#' author: "Rachel M. Smith"
#' date: "`r format(Sys.Date(), '%d %B %Y')`"
#' ---
#'
#+ setup, echo=FALSE, results='hide', message=FALSE, warning=FALSE, cache=FALSE
source("../SETUP.R") ## still need all of my setup tools though ##
knitr::opts_chunk$set(tidy = FALSE, echo = TR... |
bab6f41e2a38d8137e233d538766274029651eab | 115855fbf4efcdc2211399e1f7a0be6735e0e0e4 | /man/categ.Rd | 2e5d2893a42975bd94071b685b2d2c1862212d87 | [] | no_license | cran/gambin | 145552192e31d5399bfa77eb4f5f78d379462502 | 74158cbb84ba6a564a2a931c865a86db422c8f1f | refs/heads/master | 2021-07-10T16:53:08.513485 | 2021-04-16T17:10:05 | 2021-04-16T17:10:05 | 17,696,247 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 731 | rd | categ.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_docs.R
\docType{data}
\name{categ}
\alias{categ}
\title{Simulated bird SAD dataset with species classification data}
\format{
A dataframe with three columns: 1) 'abundances' = the abundance of
each species, 2) 'species' = the s... |
fdc011064d72ef7ea345c2e62f94e978e5d47916 | 7f98b5078a213a0e9ddfc3f7bcad9e0c4e3250a2 | /2013/Arda_stat_generator.r | 6ed59a6a1c6b6548d8e7a281849ff70af7a88d64 | [] | no_license | bclay/upenn-research-scripts | d1e0dea7286840a2fdf6c854ffce90464b1b84aa | 804d2240798be5899744b0bfaabb1b165cc4c233 | refs/heads/master | 2020-06-06T10:23:42.668746 | 2014-08-26T18:13:33 | 2014-08-26T18:13:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 401 | r | Arda_stat_generator.r | # script of R commands
library(igraph)
g <- graph.data.frame(d,directed=FALSE)
z <- length(V(g))
y <- length(E(g))
x <- graph.density(g)
w <- clusters(g)$no
v <- transitivity(g,"global")
t <- graph.adhesion(g)
s <- diameter(g)
r <- average.path.length(g)
rstr <- paste(z,y,x,w,v,t,s,r, sep = "\t", collapse = "\n")
#rst... |
8f5f1c5371b7e04d45afa015b08fc74cb1a013fb | 90495633545b740ead993b01fb98b85bd62e4b5d | /cullDHs.R | dd0e7ff7b8c126f59597dbd7bb12661a507cfff1 | [] | no_license | smallgrains-uiuc/Wheat-Selection-Decisions-2021 | fca5764aa5f1beca64fd87057141cca0a48979a5 | 7ff5610346050101d7129645a01c9cdbe6ba6cb7 | refs/heads/main | 2023-08-24T16:57:59.854517 | 2021-10-14T16:01:48 | 2021-10-14T16:01:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,983 | r | cullDHs.R | setwd("~/Documents/GitHub/Wheat-Selection-Decisions-2021")
dhdata<- read.csv('DHphenotype_download.csv')
#combine with data from flatfile
setwd("~/Documents/Wheat/2021/Data Upload Files/check urbana dh data")
dhdata1<- read.csv('dhfield_urb_21-upload.csv', row.names=1)
colnames(dhdata1)[1]<- 'observationUnitName'
dhda... |
7370495a3e846e84761dda393a73b0225a6fed9a | 491f755c2255bd133c087e07bd2da0c33a99587d | /R/virtuoso.R | 799f2801785b91dd77a96b8cf7a204358ab4bb08 | [
"MIT"
] | permissive | i-Eloise/virtuoso | 11c4849b3bf86e3662bc79549ff2f0e7e54402db | 0886bd9d6f0d6dc7de7ed19021d232835413af73 | refs/heads/master | 2020-04-12T04:37:32.584651 | 2018-12-11T17:22:15 | 2018-12-11T17:22:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,721 | r | virtuoso.R | ## Some possible helper routines for common requests.
#' Clear all triples from a graph
#'
#' @details NOTE: after clearing a graph, re-running the bulk
#' importer may not re-import triples.
#' @inheritParams vos_import
vos_clear_graph <- function(con, graph = "rdflib"){
DBI::dbGetQuery(con, paste0("SPARQL CLEAR GR... |
edb162e93c536bb9a3aae62830cc10e669426363 | 66f567627c6e8c85ef92f1bf52c0f62a00913e59 | /man/getCommandNames.Rd | 0f092b920a03d4dc0b252ce9fb5697d2444ffba0 | [] | no_license | sebastianrossel/Bioconductor_RCy3_the_new_RCytoscape | 52ae752689e5411043e83cb82e298130acc94c5b | 0649270e489597054b8cd5bb471026e37bbf08ca | refs/heads/master | 2023-03-17T14:13:08.074463 | 2018-02-03T19:55:23 | 2018-02-03T19:55:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 706 | rd | getCommandNames.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RCy3.R
\docType{methods}
\name{getCommandNames,CytoscapeConnectionClass-method}
\alias{getCommandNames,CytoscapeConnectionClass-method}
\title{Gets commands available from within cytoscape from
functions within cytoscape and from installed p... |
97cd594f18c1176a35283c5b49a640277ba79f88 | 12765da07fc94de912a7031e496eec6c1f7eb5c1 | /plot4.R | c0a9b475c0e782f7899f86e1bafa2039f67948ca | [] | no_license | tmarkam/ExData_Plotting1 | 417e393ce0cfcd698376ca944f9b1eb4894ee809 | d7412a5bdb6bb00fba0770d54fa4ec476f274aae | refs/heads/master | 2021-01-20T19:45:46.796628 | 2016-09-13T07:01:39 | 2016-09-13T07:01:39 | 68,065,272 | 0 | 0 | null | 2016-09-13T02:08:44 | 2016-09-13T02:08:43 | null | UTF-8 | R | false | false | 2,316 | r | plot4.R | # plot4.R
# author: Ted M
# date: Sep 11, 2016
# title: Coursera Exploratory Data Analysis Week 4 exercise, plot 4
# function: display 4 plots for period 2/1/2007-2/2/2007
# notes: this script uses the "Electric power consumption" dataset from UC Irvine Machine Learning Repository
# we use the "readr" library - ... |
c6fddb871006c85a4cd3a915a3cdd515c1553728 | 7f3a2d4bd48c7bbbe877894291e2cbf676f6b548 | /R/Plot.R | 814338f23fd2a14d3e9e4b44c61a69caaa3e5ec1 | [
"Artistic-2.0"
] | permissive | yurasong/powsimR | 5420610bbf1143e738ea9793401d6314c1e98001 | d69ca441deb8d57f29717c389b720bcbe3ff5abe | refs/heads/master | 2020-11-28T07:20:04.301930 | 2019-11-27T16:40:52 | 2019-11-27T16:40:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 91,508 | r | Plot.R |
# plotParam -------------------------------------------------------------
#' @name plotParam
#' @aliases plotParam
#' @title Visualize distributional characteristics of RNAseq experiment
#' @description This function plots the results of the parameter estimation. This includes the absolute and relative sequencing dept... |
3f27654a1a251bc733ad047ca9cec423786f0c73 | 70ae6baa8ba5ec4af1cb683e81a7f7dfb27ac77b | /man/layer_point.Rd | 2f8737d82c4cb9d5e25eaa48f564798fb971b6d8 | [] | no_license | nteetor/chartisan | e89e86ba683e07748aa8f00c1c8081e2909dfa09 | d2280928a4dd6a2337a76cfad2c638238eb38e17 | refs/heads/master | 2021-09-04T06:53:09.061171 | 2018-01-16T22:07:16 | 2018-01-16T22:07:16 | 108,591,025 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 282 | rd | layer_point.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/layer-point.R
\name{layer_point}
\alias{layer_point}
\title{A point chart}
\usage{
layer_point(chart)
}
\arguments{
\item{chart}{A \code{chartist} object.}
}
\description{
Add a point layer to a chart.
}
|
a43b111868f0cc039ab3dd1cdc08ea03d11dc813 | 995fa583e9473eee01e003d3bebc8b284ddae31b | /tests/testthat/tests_with_reference_data.R | 99369f0464870e001e15c45e235d59a11211a05b | [
"MIT"
] | permissive | nrosed/ssPATHS | 0892f1a56f61dfb6f6cc0c0109fcf7e09744e379 | d4c0e364591ce9d588d79d40471b31c7b81db3cc | refs/heads/master | 2020-06-24T14:57:53.966786 | 2020-04-14T17:02:31 | 2020-04-14T17:02:31 | 198,993,426 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,209 | r | tests_with_reference_data.R | test_that("Gene weight on reference dataset works", {
data(tcga_expr_df)
# transform from data.frame to SummarizedExperiment
tcga_se <- SummarizedExperiment(t(tcga_expr_df[ , -(1:4)]),
colData=tcga_expr_df[ , 2:4])
colnames(tcga_se) <- tcga_expr_df$tcga_id
colDa... |
d207912a1d2096683fd79f0818e8209b20bd1fa2 | b6b61aac8bb54d857433728fe6fa33c20eb32fd3 | /pipeline/multilocus_genotyper.R | 7dba03e62299e692a82ace7efb9febcca864dfd8 | [] | no_license | asulovar/tandemrepeats | a5e2c6276ad5e070290a015c4c7caed8f431be6e | 618055ca0564edfe651db83369c7f0b5e8de0695 | refs/heads/master | 2021-04-17T00:17:27.182363 | 2018-04-09T22:40:36 | 2018-04-09T22:40:36 | 126,521,076 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 342 | r | multilocus_genotyper.R | source("strvntr_genotyping_functions.R")
args <- commandArgs(TRUE)
input <- toString(args[1])
output <- toString(args[2])
tab_ds <- read.delim(toString(input),header=T)
tab_ds <- PureRepeatCounter(my_dataset=tab_ds,output=tab_ds,start=1,end=nrow(tab_ds),multicounts=T)
write.table(tab_ds,toString(output),sep="\t",... |
7de3b31aaef8753176054a395eacd42021e26be4 | 13af613761463c204117fed1faa169b474f49d28 | /man/make_figure_title.Rd | 17ec85bdefbfc23e136274b1e457aba4e6c750b2 | [
"MIT"
] | permissive | taiawu/dsfworld_package | 22908b87af3add64b45f7ddde772d4e6a83cc582 | e564d25cc5e8a60a87774e04ed23147c1033e964 | refs/heads/master | 2023-08-24T20:58:26.263206 | 2021-11-07T23:04:18 | 2021-11-07T23:04:18 | 342,920,918 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,733 | rd | make_figure_title.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/save_dye_screen_figs.R
\name{make_figure_title}
\alias{make_figure_title}
\title{Automatically generate acceptable figure and plot titles from data}
\usage{
make_figure_title(
df,
.exp_num_col = "exp_num",
.prot_name_col = "identity",
... |
a709cc8db492e0b3d13eaa4c6ae8be1d92ceb699 | db5caac98462b53be43301f41ffb3becb9faea6a | /run_analysis.R | 1659a5083f60ae82fa2ef1e444cea9e416577312 | [] | no_license | arl1024/Getting_and_Cleaning_Data | 874aacb38230fc4049868b4b6c5761b125a36d2f | f84f6561a2c503bc2bece755ccdb5c819fa04021 | refs/heads/master | 2020-05-18T05:06:35.883739 | 2015-04-26T18:51:52 | 2015-04-26T18:51:52 | 34,622,255 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,077 | r | run_analysis.R | ####################
# run_analysis.R
####################
library("data.table")
########################
# Preparation directory
########################
#setwd("C:/CURSOS/COURSERA/Getting and Cleaning Data/EJERCICIO/")
# Read features names
nomcamp<-read.table("features.txt",header=FALSE)
# Identify dir's
dir0<-ge... |
40967d183c6dc43fd774671ad6b328c9a45a4fe9 | 29585dff702209dd446c0ab52ceea046c58e384e | /stratigraph/R/writeTilia.R | 8deb0db291ab701871c5b301a02920d0a5a85a14 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 55 | r | writeTilia.R | "writeTilia" <-
function(...){
writeGPDascii(...)
}
|
d89e47abdc0475dd96f469e66184a05bf961babf | bae5c96ad27bd08805ccd949ff75514e43631fb9 | /04_Codes/06_Summary.R | 7db843c0e6885db3edcfc0a55e7e6dfbbbd5ed7b | [] | no_license | Zaphiroth/MSD_CHC_2020Q3 | 24551cf8f5d4a513bdaf91cf7390e99c41838e54 | e90c5e194bbe1ce84c8a789f765d1214e69a8a4f | refs/heads/main | 2023-01-19T20:12:33.604470 | 2020-11-27T09:32:08 | 2020-11-27T09:32:08 | 315,498,991 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,078 | r | 06_Summary.R | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
# ProjectName: MSD CHC 2020Q3
# Purpose: Summary
# programmer: Zhe Liu
# Date: 2020-11-24
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
##---- Readin data ----
## pack info
pac... |
52600bf7773b5371f5f6736bd2aed37288eaa959 | 34770834499440fc30c10961a3665a37ec5697d9 | /00_meta_roxy.R | d47fb4331eda611c47b947b20b8a1863ccc74f25 | [] | no_license | statsccpr/MultCal2Sim | e4170b2640f9e9f676b9295b196e1741dd59933b | 86e131e90d5d081d2ff84cf6d85cb753ab38c338 | refs/heads/master | 2022-09-19T06:16:47.156157 | 2022-09-01T20:16:22 | 2022-09-01T20:16:22 | 193,562,003 | 0 | 2 | null | 2019-10-08T22:47:45 | 2019-06-24T18:55:10 | R | UTF-8 | R | false | false | 148 | r | 00_meta_roxy.R |
# datzen::rmabd()
setwd("~/projects/MultCal2Sim/")
devtools::load_all()
devtools::document()
roxygen2::roxygenise()
devtools::use_readme_rmd()
|
f6f3b8b52eca473d784bdec5ee4f2b653389bc40 | 3176b20e5bfc4a0dfcf1723ec12932355d418804 | /man/analyzeBoundNBF.Rd | 31ffadfb2a6ab45bb9abc399f1cae1c3e06c0bfc | [] | no_license | cran/binseqtest | abc6be566b0fdd16df5bf70c2dc73406301cc1eb | b3b9bf79354d7a7777aa1251b16db0470957904e | refs/heads/master | 2023-09-01T13:19:15.020724 | 2023-08-24T15:30:02 | 2023-08-24T16:35:12 | 17,694,776 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,788 | rd | analyzeBoundNBF.Rd | \name{analyze}
\alias{analyzeBoundNBF}
\alias{analyzeBound}
\alias{analyze}
\title{
Methods for calculating estimates, confidence intervals, and p-values from binary sequential boundaries
}
\description{
For routine use, these functions will not need to be called directly but are called from within the design f... |
c05bd24b735a86f60a489cd5f99fff5c2c8172e9 | 4848ca8518dc0d2b62c27abf5635952e6c7d7d67 | /R/W_O_ped.R | 507a19597627602ab7bcd9bc6bfcbc2e48fc3a2f | [] | no_license | regenesis90/KHCMinR | ede72486081c87f5e18f5038e6126cb033f9bf67 | 895ca40e4f9953e4fb69407461c9758dc6c02cb4 | refs/heads/master | 2023-06-28T00:29:04.365990 | 2021-07-22T04:44:03 | 2021-07-22T04:44:03 | 369,752,159 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,587 | r | W_O_ped.R | #' The width of the sidewalk obstructed by the facility
#'
#' The width of the sidewalk obstructed by the facility on a pedestrian road.
#' It is an obstruction width caused by factors that impede walking.
#' It follows <Table 14-7> in KHCM(2013), p.621.
#' @param lamppost Number of lamppost
#' @param signal_co... |
b869f47f74678110e21aa5173cb38168391b9cae | 1837634a27be991e0ada423c43e6181a903e87b6 | /interactive-script-bezier.R | d590e35c94c765364cfd9ba0054f308bc2e3d6ab | [] | no_license | ddediu/bezier-hard-palate | b5b8b0de6f9e8dd5647f03054b52ecc39918e123 | 46670b11b66b4e2444c81910eac8d47d5e71d77a | refs/heads/master | 2021-05-12T06:11:52.106898 | 2018-02-15T19:09:58 | 2018-02-15T19:09:58 | 117,211,127 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,226 | r | interactive-script-bezier.R | ################################################################################################################################
#
# R script (for RStudio) for interactively visualize the Bezier curves corresponding to various discretized parameter values.
#
# Copyright (C) 2015 Dan Dediu
#
# This program is free sof... |
32d0a82515dd767a0588a4830232322d32d46a3b | 3c8c09da0c1313f4ad867d74e71d9c3290104ea2 | /generate-files.R | 82b92d006f8820df289c8e756aa4cbac2423b34f | [] | no_license | pkeeffe-zz/data-science-capstone | 066f431a62be1908fc5e35fd2963968b42fa6df9 | cccf2c7d98eb8b01586baeb907395943334beae0 | refs/heads/master | 2022-02-22T19:45:46.483227 | 2018-11-26T21:48:37 | 2018-11-26T21:48:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,465 | r | generate-files.R | options(java.parameters = "-Xmx32000m")
library(tm)
library(NLP)
library(RWeka)
library(stringr)
dtm_2gTokenizer <- function(x) NGramTokenizer(x, Weka_control(min = 2, max = 2))
dtm_3gTokenizer <- function(x) NGramTokenizer(x, Weka_control(min = 3, max = 3))
dtm_4gTokenizer <- function(x) NGramTokenizer(x, Weka_contr... |
42295babbc9f8736ff47ece0f3d9e44c59bd00bf | e6c4a1ea6b4f5aebda43165c5c08bc9099165f01 | /week2/my_na_rm_test.R | 1c500af1ec195eb8aeda59bc8d90b2739c1e0519 | [] | no_license | d1sant/data-analysis-in-r | 1a211381f40b99c598e6d592fc34613986e80579 | 0bf97919d337b5982558d51bb138a9bdb596185c | refs/heads/master | 2021-05-31T16:11:28.096729 | 2015-07-14T08:07:28 | 2015-07-14T08:07:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 142 | r | my_na_rm_test.R | d1 <- rnorm(2000)
hist(d1)
d2 <- runif(2000)
hist(d2)
d1[1:10] <- NA
d2[1:10] <- NA
source("my_na_rm.R")
d1 <- myNaRm(d1)
d2 <- myNaRm(d2) |
314798211f345ea9204970c24886d189c259466f | cfa320693a39096c88adf717e81ad5ceaf826550 | /plot2.R | ad01e3ea891e5e25f1b9992a3058fa34abb74676 | [] | no_license | xsunsmile/ExData_Plotting1 | 8fa189ae1d47a9b7e693e9393e7e964e42bbf8bf | 6685f74c10143e3291ab10a67c22d5a6e001a390 | refs/heads/master | 2021-01-13T16:18:00.153292 | 2014-12-03T17:50:36 | 2014-12-03T17:50:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 547 | r | plot2.R | if(!require("sqldf")) {
install.packages("sqldf")
}
library(sqldf)
png("plot2.png", width = 480, height = 480)
par(mar = c(5,5,4,4))
filePath <- path.expand("~/Documents/DataMining/LearnR/household_power_consumption.txt")
target <- read.csv2.sql(filePath, "select * from file where Date in ('1/2/2007','2/2/2007')")
t... |
22504c4c82ae4eeba2d77ef9b21147fa680bbea1 | f13f280b39b39c1f673b5e53acdeb4ceba755335 | /ImportWood.R | f4b64e691e3f1e8105b12ee9fb5bc0c7ecd2f880 | [] | no_license | bquast/ReplicationWood | 7addbab1052a3634e46fee9912602f9fa996ea96 | f59da89e5f756c961a464c3739c0de7e5401b301 | refs/heads/master | 2021-01-01T19:50:51.174216 | 2014-05-28T09:05:44 | 2014-05-28T09:05:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 182 | r | ImportWood.R | # load package for importing STATA file
library(foreign)
# find the working directory
getwd()
# load the data
Wood <- read.dta('WoodReplication.dta')
# inspect the data
View(Wood) |
25ac944de56d4b88ddcb5fe3f5e9c466ad09883a | 82b018b01a20685e080ee4cb6de3e8bfe816df23 | /Chapter 4/Data import.R | 252ae66558c5a0822cb331e57b50a779e7361670 | [] | no_license | cgolden1993/Dissertation | ce0008c43d789547d557276984fdd7e992045eaf | 96790cff770cf64010b61921277117c7c2e081ac | refs/heads/master | 2020-12-29T23:47:51.496704 | 2020-03-02T16:36:44 | 2020-03-02T16:36:44 | 238,782,708 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,113 | r | Data import.R | ####LISTERIA FARM PRACTICE DATA IMPORT####
setwd("~/Documents/College/Mishra Lab/Poultry Dissertation Project/Listeria Farm Practice Paper")
pacman::p_load(readxl, caret, rpart, plyr, Zelig, pROC, gbm, randomForest,DMwR, Metrics, pdp, gridExtra, ggplot2,
tidyverse)
#FECES DATA#
#read in feces data
fe... |
e9ffb3c791a8dc62dd90cb63b70a926ffca6a0f4 | 6acb1cdd526912a39685aaf3d22c286ff033d892 | /tests/testthat/test-xgboost-deploy.R | 6a7d149c3096508611c75e8201c6f72c76af6468 | [
"MIT"
] | permissive | niilante/healthcareai-r | 921d1fcda3b47b3bc6f3fa70bebc97b36b04e389 | f28c3ed2763bd806a936761e1528dfaa2a3e5c4d | refs/heads/master | 2021-01-21T15:00:21.296649 | 2017-06-20T18:01:30 | 2017-06-20T18:01:30 | 95,368,231 | 1 | 0 | null | 2017-06-25T15:25:54 | 2017-06-25T15:25:54 | null | UTF-8 | R | false | false | 2,432 | r | test-xgboost-deploy.R | context("Checking xgboost deployment")
library(healthcareai)
# 1. Load data. Categorical columns should be characters.
csvfile <- system.file("extdata",
"dermatology_multiclass_data.csv",
package = "healthcareai")
# Replace csvfile with 'path/file'
df <- read.csv(file ... |
885da161b1a0a94129268e9a34285b57a3176291 | 76faeed99f04b513d1944c6cd666e92aae40539f | /02 Data Wrangling/Set 2.R | 2afaf98cd2afce08ad5b0a4466e8570bf180828c | [] | no_license | rachelannearthur/DV_RProject3 | 3146dba573224b2a1561f53395ff42cbfe94a99f | 8dc8440e217d79fad2a208d5322dc2f2ac1a255b | refs/heads/master | 2021-05-30T09:06:35.592897 | 2015-10-16T07:08:30 | 2015-10-16T07:08:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,100 | r | Set 2.R | require(tidyr)
require(dplyr)
require(ggplot2)
require (jsonlite)
require (RCurl)
# outer_join_df
outer_join_df <- enrl_working %>% left_join(., k_12_frl, by = "SCHOOL_CODE", copy=TRUE) %>% right_join(., final_grades, by = "SCHOOL_CODE", copy=TRUE) %>% mutate(PCT_NONWHITE = PCT_AMIND + PCT_ASIAN + PCT_BLACK + PCT_HISP... |
a5748fe519c4323e0573acc9b91e1c73848c1daf | d488095d94b00bc42d355f9b34c276772936b803 | /man/breastcancer.Rd | 1968327e54605b923315abd580fda4867a37eb64 | [] | no_license | DavidHofmeyr/spuds | 5415186be67182ef806b74b0a607ea75ca552edf | ecc9247178a20ae543987dc6631067b52486dd8b | refs/heads/master | 2020-04-13T16:04:33.139774 | 2019-01-06T07:39:08 | 2019-01-06T07:39:08 | 163,311,906 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 975 | rd | breastcancer.Rd | \name{breastcancer}
\docType{data}
\alias{breastcancer}
\title{Breast Cancer Identification}
\description{
Physical measurements from breast masses for distinguishing malignant from benign cases.
}
\usage{breastcancer}
\format{A list with entries $x (a 699x9 matrix with each row corresponding to an individual case) a... |
70a1dd422881a461ecec315979747714390018ac | 18bfdd5b507b261c1dbd7242d9061abc0cf4aaf3 | /src/population/population.r | b628b13be13d3d6294c69bb9d847c704e0903fd6 | [] | no_license | fealuin/app-genetic-mds | 1d44394816a2adec8dd57b25c8cd6fd4cb55996c | 5a5fab43520c6163624973c7b1f7f2b8267c57a9 | refs/heads/master | 2020-03-20T02:36:57.310305 | 2018-06-12T19:49:34 | 2018-06-12T19:49:34 | 137,117,268 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,840 | r | population.r | source('individual/individual.r')
Population<-function(size=100,n=10,m=2){
thisEnv <- environment()
individuals<-list()
me<-list(
thisEnv = thisEnv,
getEnv = function(){
return(get("thisEnv",thisEnv))
},
getIndividuals=function(){
return(get("individuals",thisEnv))
},
setInd... |
964be904253f9a49d43d5a66592c446747931dc3 | 8e35f38bbb6f3f27896e567b75dace5e0be013c1 | /man/make_tint.Rd | 7f75e8372564b976f1d05c07d7dd92facdd9686b | [] | no_license | eknit/isotopevis | 4785699263f2f35629f20e93bab3d61512b48651 | 103a6af8d6ab090950c95f20ec18c50091a4474f | refs/heads/master | 2020-12-02T18:22:25.412682 | 2016-02-06T12:13:51 | 2016-02-06T12:13:51 | 37,761,721 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 351 | rd | make_tint.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/isotopevis.R
\name{make_tint}
\alias{make_tint}
\title{make_tint
Automatically makes tinted shade for plotting. Returns RGB colour.}
\usage{
make_tint(col, tint_factor)
}
\description{
make_tint
Automatically makes tinted shade for pl... |
1466c618112cb2f5b1334723863c589eb80f1419 | f10abc277676761051fae9413764ddc41e5549e3 | /plot4.R | 03ab9d1734ecb5e2bceccade53c135337796c17d | [] | no_license | Kug/ExData_Plotting1 | 6fc4afe8d3a35cd0195c79470cd0eb16ee7e09d8 | 941aa2dacdcfca17886cb48c6812afec4313ecdf | refs/heads/master | 2021-01-18T13:19:55.606829 | 2014-12-07T15:57:20 | 2014-12-07T15:57:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,486 | r | plot4.R | data <- read.table(file="household_power_consumption.txt",sep=";",header=FALSE,na.strings="?",nrows=2880,skip=66637)
colnames(data) <- c("date","time","GlobalActivePower","GlobalReactivePower","Voltage","GlobalIntensity","SubMetering1","SubMetering2","SubMetering3")
data$datetime <- strptime(paste(data$date,data$... |
5218a35f224f887b1f7983ca559bacfd074b88b6 | c86b2a299808d638b373832cad752900c0679537 | /Tutorials_OtherDocs/2017-11_uRos2017/R_code_presentation.R | b2c2cc1ae27e73e511d75cbe3c7ab66e928c08ac | [] | no_license | marcellodo/univOutl | 9518b6ec963a8429aef50437e78b20f4afbac434 | db5431cfd67ef26de0a2ed8527a5096fd0f608b1 | refs/heads/master | 2022-07-12T15:03:20.846840 | 2022-06-21T08:59:40 | 2022-06-21T08:59:40 | 94,315,178 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 7,215 | r | R_code_presentation.R | library(sn)
library(univOutl)
# Location-scale outlier detection
# generate data from normal distr.
set.seed(123456)
r <- rsn(n=200, xi=50, omega=5, alpha=0)
hist(r, xlim=c(30,70))
mc(r) # medCouple skewnes measure
a1 <- LocScaleB(x=r, method = "IQR")
a2 <- LocScaleB(x=r, method = "MAD")
a3 <- LocScaleB(x=r, method ... |
f4b766f830d3bd7b1a0831ff66d769991be339e1 | 5d06cbf5b59b5bc94df9ad9024e382c5611c1ce6 | /temperature_uk/tensor2d_kron.r | debed8ba2aaa51f5e2efaaaa15340c3f76723d1f | [] | no_license | hyunjik11/GPT | f01168d3dc91bf2fe4a68e930cd4d49442db2402 | 1466cb4c34f0f8f0c6de9ffbf494a5baa73e2926 | refs/heads/master | 2020-12-03T05:09:47.873586 | 2016-05-17T08:17:49 | 2016-05-17T08:17:49 | 44,272,333 | 1 | 0 | null | 2015-10-14T19:48:31 | 2015-10-14T19:48:30 | null | UTF-8 | R | false | false | 3,101 | r | tensor2d_kron.r | library(ggplot2)
library(rstan)
load('temp_final.RData')
library(h5); file=h5file("temp_eigenfeatures.h5"); phiU=t(file["phiU"][]); phiV=t(file["phiV"][]);
s=4.4960
r=10
data=list(N=N,Ntrain=Ntrain,n1=n1,n2=n2,r=r,phiU=phiU,phiV=phiV,
indtrainU=indtrainU,indtrainV=indtrainV,indtestU=indtestU,indtestV=indtestV... |
18c32244913249a66ccbd8fdf709dc51ffb97b04 | 5266235fb56102a3506aab04c29e87208ab5412b | /script_modelR_pkg.r | 199f2bed37013db3d19361044205dbc222e3a359 | [] | no_license | diogosbr/scripts-modelagem | eaa3692174643a4adfc5691a1f6d8a23fc3bf8e8 | e14a3c70cb7d9edfda1b687c7c6ce92841961a90 | refs/heads/master | 2021-01-25T12:30:10.799520 | 2019-10-01T12:29:01 | 2019-10-01T12:29:01 | 123,472,865 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,572 | r | script_modelR_pkg.r |
#--------------------------#
#### Script modelR ####
#--------------------------#
#Instalando os pacotes, se necessário ----
packages = c("devtools", "leaflet", "dplyr", "raster", "dismo")
for (p in setdiff(packages, installed.packages()[, "Package"])) {
install.packages(p, dependencies = T)
}
# Instalando p... |
6c791887903ee53ad7a7b9c1f56749f1feeee1a9 | 277450a215e4d40276b921ea6adba802085f638c | /graphics.R | ccc7e1a7f66fafc9ca97393f88e22a43213cf31a | [] | no_license | mcfrank/word_learning_models | 93c40e55a10d88ba03c3daea9d433c1b54a3a36a | d524e0221120a326fe6f731a68ad3c5f897cc525 | refs/heads/master | 2020-09-12T19:30:44.379116 | 2019-11-18T19:35:19 | 2019-11-18T19:35:19 | 222,527,764 | 0 | 0 | null | 2019-11-18T19:29:50 | 2019-11-18T19:29:49 | null | UTF-8 | R | false | false | 1,426 | r | graphics.R | # functions to graph word-object co-occurrences from trial orderings and model associations
make_cooccurrence_matrix <- function(cond, print_matrix=F, heatmap_filename=c()) {
# makes word x object co-occurrence matrix from training list of words and objects by trial
# prints a heatmap if filename is specified
words... |
859815b1271e15d14419aa5e8c426646bd2a6504 | 668a51ac43842e497dc6633ce59a9cba02e41bf2 | /man/VariSel.Rd | 3b74933d20027d8b0f8efaeb770d4d9676ba7cf5 | [] | no_license | Marie-PerrotDockes/VariSel | e31e8fdb5f072a12e54de13606f50980c89ceed3 | 5ffb3105734f7546c378f0563a17a5d15115e542 | refs/heads/master | 2021-08-07T00:01:48.040966 | 2020-04-26T11:54:51 | 2020-04-26T11:54:51 | 161,149,635 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,800 | rd | VariSel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/QTLmodclasss.R
\name{VariSel}
\alias{VariSel}
\title{Description of the function}
\value{
The coefficients of the fused lasso ANCOVA for the different value of lambda
}
\description{
Description of the function
Description of the function
}
... |
91434499939cc3a496ec9dd355cd4fe6f2571751 | 317e0bf18fddd62d1121dd320e37323e18beac1c | /Code/Modeling/linear_model_testing.R | bdb212540c2ee42f1b55a91c251ca069e430d9bd | [
"MIT"
] | permissive | gorodnichy/o-canada-election | 154ab2addf50146e30e3bcd9cf50e27c38b0f7db | b3f243ccb0511da461fe72158b5b6367dba29358 | refs/heads/master | 2022-12-02T20:50:56.386278 | 2020-08-25T02:11:16 | 2020-08-25T02:11:16 | 287,423,435 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,352 | r | linear_model_testing.R | #### Testing linear regression models ####
source("Code/historical_results.R")
results <- historical_results.district %>%
filter(year != 2004) %>%
mutate_at(vars(contains("funds")), function(x) {
x[is.na(x)] <- 0
return(x)
}) %>%
mutate(Quebec = (province == "Quebec"),
Atlantic = (region == "A... |
fc5cdb66d6d87212d459d543be4a796be6e38414 | d3626380f7447b8bae9a0b344c64854cb461e6ea | /R/calc-agreement-mat.R | 237f75fcc22728a89f97cb950b885501a3fe519a | [
"MIT"
] | permissive | emilelatour/lagree | cb05207da2f284457d80b0474957a756d13e648f | ccfda37473ecb9cdd6de8320086ec63b509f0b39 | refs/heads/master | 2020-07-14T02:12:24.995797 | 2019-08-30T17:48:43 | 2019-08-30T17:48:43 | 205,210,029 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,144 | r | calc-agreement-mat.R | #' @title
#' Calculate an agreement matrix
#'
#' @description
#' Create an n x q agreement matrix representing the distribution of raters by
#' subjects (n) and category (q)
#'
#' @param data A tbld_df or data.frame
#' @param ... Columns (unquoted) with the "ratings" done by the raters. Follows
#' the argument met... |
561393e598e10d0d2c4e269f0e4bce158d805845 | 1b158221ddb10742a54e2224cb741d3f8285ff29 | /codiceR/confrontoBias.R | bd14672d92212200e4c72a54fb0bbcdd4fbc1cc3 | [] | no_license | tega/grafici-stat2 | e971f1aad78c4be2ae3dfb7494362a743b57cb5d | 6aacffaba9f1ab86b69f7c4fbcd4762f0a1d81ed | refs/heads/master | 2021-12-14T08:51:25.092775 | 2021-12-03T15:06:21 | 2021-12-03T15:06:21 | 871,653 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 636 | r | confrontoBias.R | # TODO: Add comment
#
# Author: ortellic
###############################################################################
# TODO: Add comment
#
# Author: ortellic
###############################################################################
pdf(file="grafici/confrontoBias.pdf")
f <- function(x) {
... |
eb65378309ebba8911582874ffa6aba968516282 | b5338c02bd9bf11af2b61576eed473ad472ecd55 | /man/translate_old_english.Rd | 1bda898d1d12113c48e081417c1cb4b549fd3f3d | [
"MIT"
] | permissive | rsquaredacademy/funtranslater | 4eddd216f39c5a9f109f2f778c18ac77dded24cc | 149f3eb5d2607134693ab033b338e5ad7030d620 | refs/heads/master | 2023-08-30T17:01:58.605113 | 2018-11-10T07:17:39 | 2018-11-10T07:17:39 | 156,668,183 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 399 | rd | translate_old_english.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/english.R
\name{translate_old_english}
\alias{translate_old_english}
\title{Old English translator}
\usage{
translate_old_english(text)
}
\arguments{
\item{text}{Text to be converted.}
}
\description{
Convert from modern English to old Englis... |
a17a7d41d3281aa8df6edd0b09e181669dd1d986 | 0d82a708ed6247ef43f7af9bd346544243fb83f5 | /maps.R | ee166523912f5c3bf9cb54362191c4242beee283 | [] | no_license | mattmikem/flp | 94488c763518eb84b2c23e6545204f95bb9bb528 | be5bcc7d182e98d9a87db496b86c04d7f26a6498 | refs/heads/master | 2021-01-18T18:32:41.794081 | 2016-09-13T18:10:43 | 2016-09-13T18:10:43 | 61,953,985 | 2 | 5 | null | null | null | null | UTF-8 | R | false | false | 1,766 | r | maps.R | ####################################################################
# Employment Density Maps for HSI #
# M. Miller, UCLA, 16X #
####################################################################
#Packages requires ggmap, ggplot2
#install.... |
2270bd5671fa7a0695cfbc0cab65882c6fcc382f | 909d765c7075ffdec2085e9ea8c74780689cda59 | /naive_bayes/naive_bayes.R | 4fd2595e676db9ec11fd240a830aab353f366feb | [] | no_license | tianqinglong/dmc2019 | 3b76515f935f74c02049ed82c659d6ce7dd8d1da | 38987bac2e8ffdbe487e405db6809a30ac141c29 | refs/heads/master | 2020-05-05T05:11:02.552011 | 2020-03-15T04:05:04 | 2020-03-15T04:05:04 | 179,742,094 | 4 | 3 | null | 2019-04-12T18:40:38 | 2019-04-05T19:23:55 | R | UTF-8 | R | false | false | 1,571 | r | naive_bayes.R | library(tidyverse)
library(caret)
library(h2o)
train <- read.csv("train.csv", sep = "|")
train %>% mutate(
fraud = as.factor(fraud),
totalItems = totalScanTimeInSeconds * scannedLineItemsPerSecond
) -> train
h2o.no_progress()
h2o.init()
train.h2o <- train %>% as.h2o()
y <- "fraud"
x <- setdiff(nam... |
9999d5803655687421e675b3899a7b6cc4e6d266 | a2a0f6efe0c0c9977fe8cef230d43c7d3592139d | /server.R | 48af19d0f3a0c673f0bd2f87d3bd2592beb0a1a4 | [] | no_license | advcloud/retail | 2f500d5915199b99798634c9372cb84742ea199c | 5e997264c6a374f9071f2cd1e88e40e2a395489c | refs/heads/master | 2016-08-12T07:43:06.861491 | 2016-02-18T04:08:47 | 2016-02-18T04:08:47 | 51,977,704 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,006 | r | server.R | # title : 2015資料科學與產業應用工作坊-互動式分析平台工作坊
# date : 2015.6.5
# file : server.R
# author : Ming-Chang Lee (李明昌)
# email : alan9956@gmail.com
# RWEPA : http://rwepa.blogspot.tw/
# encoding: UTF-8
suppressPackageStartupMessages(library(googleVis))
options(shiny.maxRequestSize=4000*1024^2) # max filesize=4GB
optio... |
16eaff4ecca101a4cfd423bf6bead5f6cd9230b2 | 19cc2a3aed2c01401a942294847315bd902aa5b9 | /MLR.R | 63c1df679e865d40e6e5f4fbf37ae2f6a5f99e5a | [] | no_license | sagarhowal/thesis0 | 0648e8d9e7f15b69216166cb91341045fbf0219f | b9639179dbf608223eb82bdaaa192024f507b9a7 | refs/heads/master | 2020-04-14T15:16:05.367215 | 2019-01-27T03:14:52 | 2019-01-27T03:14:52 | 163,920,871 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,989 | r | MLR.R | setwd("/Users/sagarhowal/Code/Thesis/CER Electricity Revised March 2012")
library(data.table)
library(lubridate)
library(forecast)
library(ggplot2)
#Load Data
load("RnD_Clean.RData")
#cleanup if needed [after loading]
rm(DT1491, DT1491New, DT1951, DT1951New, DT1951New2, NArows, rez_full)
rm(corrected_date, DateOrig... |
fbf3206bd216932f87ed6678199a53e5e5e95037 | bd94861ff5caafe67200c1cd99f94b98d5a70557 | /R/glm.hermite.R | 5067427ce3a1103e026c30a224cc655d0f1da0a0 | [] | no_license | cran/hermite | d0a8f5a75f95b5d1440acf1178369bfd4a1399f5 | 5ab6bb8afafb34202124d13af7ec234b8e9f7651 | refs/heads/master | 2021-01-10T19:42:00.240786 | 2018-05-17T12:33:53 | 2018-05-17T12:33:53 | 26,024,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,069 | r | glm.hermite.R | glm.hermite <- function (formula, data, link = "log", start = NULL, m = NULL)
{
Call <- match.call()
m.fixed <- FALSE
intercept <- FALSE
if (!is.null(m))
{
m.fixed <- TRUE
if (floor(m) != m ) {
stop("improper m parameter specification")
}
}
if (missing(data))
data <- environme... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.