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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1e6ec1ac7a2738c4b9a1e60e72f8b4804dc91b58 | 2e40146ce11e802417170247ba5ff59a2d15fe91 | /test.R | 80c6fbea4a32e23e9e76e14ea0424c81c48196e5 | [] | no_license | zfredyu/GitAndR | 85a10ac3eaf3430ce0e8d27cd0c4156bdf572f97 | f6712ef9f94b8276fef4b2e5c5efb4d734024344 | refs/heads/master | 2023-02-13T03:18:06.113218 | 2021-01-14T17:07:51 | 2021-01-14T17:07:51 | 329,680,246 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 103 | r | test.R | get_yesterday <- function(){
x <- (Sys.Data()-1)
return(x)
## adding a comment from github web
}
|
f57027aaafe267ccb988a0997d9db722be18d2d8 | d87171bd1f93476112f101c7f6789dd973d57d34 | /R/eyer_package_check.R | 55841f31c9cc5cf23d852184b0466eec8f6b8498 | [] | no_license | DejanDraschkow/TestR | 9cfb90fc0ce0b99b5fe8b96aca82d8de9e761988 | b18c12026fd184a50833d768d806b01f44639684 | refs/heads/master | 2021-01-01T15:53:25.193260 | 2018-02-27T14:06:06 | 2018-02-27T14:06:06 | 97,723,703 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 964 | r | eyer_package_check.R |
EyerPackageCheck <- function(){
if (!require("EBImage")) {
source("https://bioconductor.org/biocLite.R")
biocLite("EBImage")
library(EBImage)
}
if (!require("png")) {
install.packages("png", dependencies = TRUE)
library(png)
}
if (!require("ggplot2")) {
install.packages("ggplot2", depende... |
d433d6346085650f9946bd34c5d2c1ff6a7d68c4 | 94135de9e1c97efc3e23a295a1b842a309600489 | /R/filteR.R | db2ecf955f87730ac49e15e31cc377bd3dbb62ec | [
"MIT"
] | permissive | inambioinfo/RNAseqAnalysis | 8b4338e8cc02c9b9fc2187f0d76c23761ae264bb | 07684e01792866ffb9318d52ffdf182fec64b0de | refs/heads/master | 2020-05-27T02:08:36.059712 | 2018-09-21T12:55:46 | 2018-09-21T12:55:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,514 | r | filteR.R | #'@title Trimming and filtering
#'
#'@description trim and filter raw reads containing N, trim as soon as 2 of 5 nucleotides has quality encoding less than "4" (phred score 20) and drop reads that are less than 36nt
#'@import ShortRead
#'@param a a character(1) with nchar(a) == 1L giving the letter at or below which a ... |
2894a7667f2b4cd72515875a4988ea935ac2f6e1 | 999cdce72d01e4f8af25f6499be03ea89e9b3738 | /src/dove_config.R | 02141d5d0a74304abc602612fde83d182df4d092 | [
"MIT"
] | permissive | dove-project/dove-frontend-r | cd3dd0414b0edcb18ad69f9f3af73189aaef0fc0 | 290406d9993a261812f0190e5d0602c4cbc4eb71 | refs/heads/main | 2023-04-05T01:59:03.690713 | 2021-04-22T19:45:29 | 2021-04-22T19:45:29 | 311,546,417 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,092 | r | dove_config.R | INSTR_FILE = "instr.asm"
# DATA_FILE = "data.csv"
# Prepare file for writing.
close(file(INSTR_FILE, open="w"))
# Load Pseudonyms from file.
# data_format <- read.csv(DATA_FILE, header=FALSE)
# dove_pseudonyms <- list()
# for (d in 1:nrow(data_format)) {
# # data_list <- list()
# # count <- 1
# # for (j ... |
95a129c438a4f117d1bf4783d6f5d7ead348ca63 | b4c63e915976dcbea9295e51d22c16f58e581efb | /man/ReplicationBF-class.Rd | 0bc6695968d87503706ccfacc3cb5cb7731e974f | [
"MIT"
] | permissive | MarielleZZ/ReplicationBF | 1fa17a0d4e53359d5e34a702f5fc999aac2b8e49 | 9b507b053b396506db2dce6ff5fba97c10a9f437 | refs/heads/master | 2020-04-04T23:10:32.804692 | 2018-09-10T09:25:21 | 2018-09-10T09:25:21 | 156,349,458 | 0 | 0 | null | 2018-11-06T08:17:15 | 2018-11-06T08:17:15 | null | UTF-8 | R | false | true | 1,100 | rd | ReplicationBF-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aaaClasses.R
\docType{class}
\name{ReplicationBF-class}
\alias{ReplicationBF-class}
\title{General S4 class for a single Replication Bayes Factor}
\description{
General S4 class for a single Replication Bayes Factor
}
\section{Slots}{
\descr... |
bb065ef6fa69adec91d842071fc6f95391f4cb53 | 2e6a078ac749e7da662197c0b5aedde6a6c4808b | /man/grouseticks.Rd | 00470158c29725c43d8df1555f99f7236590cc9f | [] | no_license | Stat990-033/Timings | 019fd14ed9f643f0e5d0d40163319dea80a17dff | 6a26e98ac79cc60f985ff8881d1f232321574065 | refs/heads/master | 2021-01-21T04:40:24.596854 | 2016-07-22T22:01:11 | 2016-07-22T22:01:11 | 36,084,717 | 3 | 1 | null | 2015-12-11T18:32:25 | 2015-05-22T17:04:54 | TeX | UTF-8 | R | false | false | 2,075 | rd | grouseticks.Rd | \name{grouseticks}
\alias{grouseticks}
\alias{grouseticks_agg}
\docType{data}
\title{
Data on red grouse ticks from Elston et al. 2001
}
\description{
Number of ticks on the heads of red grouse chicks
sampled in the field (\code{grouseticks})
and an aggregated version (\code{grouseticks_agg}); see original sour... |
0b0ef1169fda05f7b1fe2ebed9616da08a44bf9e | 6bc756162a2c9dbc41e5c497bbdebbc95f9f2074 | /man/mulDiff.Rd | e8ca665e6c4a9144f298b5cc9691acd734702ad9 | [] | no_license | cisella/Mulcom | 0be6d52fb89c8417bcdf773a0de2950152454323 | 6e9b6a3a4d3087952c994c9d3e7d42a53c596706 | refs/heads/master | 2020-05-30T06:34:05.135802 | 2019-04-24T10:36:16 | 2019-04-24T10:36:16 | 21,429,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 980 | rd | mulDiff.Rd | \name{mulDiff}
\alias{mulDiff}
\title{MulCom Test Differential analysis}
\description{
Identify the differentially expressed features for a specific comparison with given m and t value}
\usage{
mulDiff(eset, Mulcom_P, m, t, ind)
}
\arguments{
\item{eset}{An ExpressionSet object from package Biobase}
\item{Mulcom_... |
7ab9e0815c85b3fa3a8777b960b0b693434ae746 | b7e5362f3b323b2b65aba4056fa99d2dd5eb035e | /R/myclt2.R | a5527d8b30d26c98ae79ba725564812c3ff53f7c | [
"MIT"
] | permissive | ahanoch/StatsPackages | 327b3436f6ca34914aee5c0d5fb683d4da68fa51 | bee888a58267eba16cf09c7d6495c07ead9ae3d5 | refs/heads/master | 2023-04-16T18:02:16.727551 | 2021-04-23T13:47:00 | 2021-04-23T13:47:00 | 341,334,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 302 | r | myclt2.R | #' myclt
#'
#' @param n mean
#' @param iter standard deviation
#'
#' @return histogram of the distribution
#' @export
#'
#' @examples
#' m=myclt2(n=10,iter=10000)
myclt2=function(n,iter){
y=runif(n*iter,0,5) #A
data=matrix(y,nr=n,nc=iter,byrow=TRUE) #B
sm2=apply(data,2,mean)
hist(sm2)
sm2
}
|
5138ba7b4c3018a8b9c6d080a3130305dc125f51 | c24d1fd18c1cd08287ec718158c47f12a9b801b3 | /Scripts/4.MedianBetaatTSS/1.Median5hmc_atTSS.013020.R | 11637212db5551d8f38f6211abd648f5534372a3 | [] | no_license | Christensen-Lab-Dartmouth/PCNS_5hmC_06112020 | 68b516905bd12827fe476fd7f1b4c134f3bf0b48 | f89e8fbbae365369aa90e6a16827d1da96515abc | refs/heads/master | 2022-11-07T19:01:36.180358 | 2020-06-11T13:35:14 | 2020-06-11T13:35:14 | 271,554,640 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 24,017 | r | 1.Median5hmc_atTSS.013020.R | ##Find Mean 5(h)mc% at distance from TSS
##Nasim Azizgolshani
##12/11/2019
#Examine porportion level of cytosine modifications (5mC and 5hmC) of tumor vs non-tumor
#in relation to distance from TSS
#this is in our subset of top 5% 5hmC
# ===============================================================================... |
c7161adcd749209b9027334e46c413897d0113db | 9693f65177fd72398e6218989815729f155eddb5 | /document.R | a33ce4258aed7a5dd216c53ab4e572fbeac83cd2 | [
"MIT"
] | permissive | poissonconsulting/mcmcrdata | 2d275a2222cff0d476980a876c1aa1684a847ed3 | 3834fbd0625d5109e59fcdca44a6b561352bfcfc | refs/heads/master | 2023-03-05T05:01:44.695976 | 2021-02-12T22:17:55 | 2021-02-12T22:17:55 | 120,050,158 | 0 | 1 | NOASSERTION | 2020-04-23T00:31:08 | 2018-02-03T01:47:26 | R | UTF-8 | R | false | false | 179 | r | document.R | devtools::document()
if(file.exists("DESCRIPTION")) unlink("docs", recursive = TRUE)
codemetar::write_codemeta()
knitr::knit("README.Rmd")
pkgdown::build_site()
devtools::check()
|
8f6a8e680dbf665a8c12b79d97320dcae21954d7 | eaadadf94d1efa41d0fc86462f14be82da31d23b | /cachematrix.R | baa751222aeb10eefb2c27f9a21e690b2024ef16 | [] | no_license | abk11/ProgrammingAssignment2 | 20785e15dbb283c38fa7ef49f28c98743f5c1ff3 | cde980234886af6f6c814ad5ec283baee9c1b931 | refs/heads/master | 2021-01-15T14:11:38.277968 | 2015-06-16T18:43:16 | 2015-06-16T18:43:16 | 37,538,071 | 0 | 0 | null | 2015-06-16T15:16:09 | 2015-06-16T15:16:06 | null | UTF-8 | R | false | false | 2,113 | r | cachematrix.R | ## Because calculating the inverse of a matrix tends to be very costly,
## in case that we need to compute the inverse of a matrix we have already encountered,
## if we have already recorded its inverse,
## there is no need to recompute it since we can just look it up in the cache.
## I assume that the given matrix is... |
d62000906c0d02c1d443111bc429d7b88e6f78bd | b251989491d6f1481894ee206ce94bb55b679845 | /Market Simulation_Beer_BC_BLP.R | ba288f004c52eac9774914115ca8a17d4c1eeae9 | [] | no_license | lukas-jue/cscc-simulation | c0fe78fdc32bd93cb8d8a81433752a9a50a10c3e | 4a3be73bf4729bc2c5fecc835f2c3e6773f82600 | refs/heads/master | 2020-06-15T07:50:23.747341 | 2019-07-18T10:53:47 | 2019-07-18T10:53:47 | 195,241,474 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,881 | r | Market Simulation_Beer_BC_BLP.R | ##################################################################################################
#####Simulation & Estimation - Nash with Budget###################################################
#####BLP-type of indirect utility#################################################################
#######################... |
4cfde652202fece848123b5201ef96d092b9100d | ba61cb6394979cc3430b3d5b8b5dd1136c6c7bf7 | /Clase17Abr2021/ej8.R | 035a9a025cd59f3bb55cc177fe3c1ae5702d4016 | [] | no_license | angpa/RugCGFIUBA | 95e1dece470fcf396ad656deb00d063e909c3b45 | 4a2d0ce0d6349afa1bcbbfee101cb7c8885b933e | refs/heads/main | 2023-04-11T03:41:23.003513 | 2021-04-19T20:51:34 | 2021-04-19T20:51:34 | 356,505,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 171 | r | ej8.R | x
y <- rnorm(20)
y
lrf <- lowess(x,y)
lrf
plot(x,y)
lines(x,y)
plot(lrf)
lines(lrf)
plot(lrf$x,lrf$y)
lines(lrf)
plot(cars,main="lowes(cars)")
lines(lowess(cars),col=2)
|
c6e3d7770216b3e73e1e3c70c4828a4781b0ee0d | 58078cdf345d7340534d5dbf05315f73486e67b8 | /year-2-projects/team-1/04 Sensitivity Analysis/01 precip.R | 78f1c2a69ddc6c9802112a0e17198c70de6102ef | [] | no_license | big-data-lab-umbc/cybertraining | d91de41ec6882b21f8f3c3cb236d13d06f651dba | 2179fb771dcb69d4f302f693b30e057c366f6be1 | refs/heads/master | 2022-07-25T19:59:57.666162 | 2022-07-13T12:03:02 | 2022-07-13T12:03:02 | 118,185,525 | 14 | 37 | null | 2020-09-04T22:01:31 | 2018-01-19T22:24:53 | Jupyter Notebook | UTF-8 | R | false | false | 4,965 | r | 01 precip.R | ## This file does some basic spatio temporal analysis of the precipitation data
# install.packages("lubridate")
# install.packages("TSA")
# install.packages("forecast")
# install.packages("RColorBrewer")
# install.packages("ggplot2")
# install.packages("gstat")
# install.packages("sp")
# install.packages("spatial")
li... |
013fbed8c3cdcdcf4179d7f4546c308c7aaddd47 | 832b90b6a7522f80371d141dbaf74bf8002aa2c7 | /Shiny/app.R | d2da354fb20fbb16fb31f24e373483f45518fa31 | [] | no_license | Lavin9/Happiness_level_predictor | fcb967d2cfc8b193e13775a49f5ac369c8c2bccf | 85eb590424ddc14637d9b12c532229d9d521b073 | refs/heads/master | 2021-08-12T08:22:35.000293 | 2017-11-14T15:47:42 | 2017-11-14T15:47:42 | 110,676,727 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,158 | r | app.R | rm(list=ls())
library(shiny)
library(readr)
library(dplyr)
raw_data <- read_csv("../2015.csv")
raw_data <- arrange(raw_data, desc(Country))
dataset1 <- raw_data %>% select (Region, 'Happiness Score', 'Economy (GDP per Capita)', Family, 'Health (Life Expectancy)', Freedom, 'Trust (Government Corruption)', Generosity)
d... |
5b6e018b790a806d4e86350bdd44bd4a7aa1d37f | d1482841703dc5f4738382090dab1ff6135ecf65 | /Ajuste_Reserva_por_Municipios_e_Poligonais.R | 092bf3621d76be40ec3606d53d0a48844ed549d8 | [] | no_license | hal-delaserna/Rastreamento_de_Inconsistencias | aaba98b02ad63d8ee0c77a356aff152bc2caa0cc | f2b301c4b3282bafc4cdf16bda5bc8b99c5f617f | refs/heads/master | 2023-04-11T11:41:38.339538 | 2023-03-24T14:05:23 | 2023-03-24T14:05:23 | 252,294,622 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 5,903 | r | Ajuste_Reserva_por_Municipios_e_Poligonais.R | # rm(list = ls())
# carregamento ----
source(file = "./Funcoes_R/FUNA_Eventos_RRR_RFP.R")
source(file = "./Funcoes_R/Funcoes_Consumidores.R")
source(file = "./Funcoes_R/Funcoes_de_Formatacao_Estilo.R")
source(file = "./Funcoes_R/Funcoes_Producao.R")
source(file = "./Funcoes_R/Funcoes_Reserva.R")
source(file = "./... |
6beea7e1244c3d0e8bab6846a346d7061e1b3786 | 890ad15b4c57b0ce350facd6c013d7dc423514f0 | /Lecture 4/Chapter_IV_a-b_syntax.R | e32bd16ee2f86a152ba390974aff69669d595c48 | [] | no_license | vegmer/R-Class | c81bb1870debf2227be99935f38729f9847dfea8 | 610d2ca140ae921ac6033fe11dfa6c7659b170dc | refs/heads/master | 2023-01-01T12:52:54.973049 | 2020-10-29T15:25:00 | 2020-10-29T15:25:00 | 308,371,127 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,909 | r | Chapter_IV_a-b_syntax.R | # ------------------------------------------------------- #
# Statistical computing and programming using R #
# with Michael Chajewski #
# ------------------------------------------------------- #
# mchajewski@collegeboard.org // http://www.chajewski.com #
# ------------------... |
bfbe4c72511b77a9c64dc83780e48e704a39b886 | 01c25eb17adde05509a5b925de164b7980cbb326 | /shiny_app/app_functions_oddpub.R | e970d12a0f01237e2c6a4235110f2ddd79cc8905 | [] | no_license | abannachbrown/dashboard | 4669389107ab03bc291c532777492dc54c06b9cd | c93d6ab41099b135a5cf2d782e5fddf7fe2ee076 | refs/heads/master | 2023-02-24T11:20:56.692527 | 2021-01-13T11:52:42 | 2021-01-13T11:52:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,788 | r | app_functions_oddpub.R | #----------------------------------------------------------------------
# oddpub data loading & preprocessing functions
#----------------------------------------------------------------------
make_oddpub_plot_data <- function(data_table)
{
od_manual_pos <- (!is.na(data_table$open_data_manual_check) & data_tabl... |
c322d26c67a21b3409387cbf7dfd703925e766b2 | 39dd176988177f1b4d0f5c8659042fd2b09232c9 | /Modeling and Simulation/Queueing Models/R Code/Queueing Models.R | 0580b9afa42dd36b5a285d785d43df778717fb2e | [] | no_license | rsalaza4/R-for-Industrial-Engineering | 922719bc17a03a6c146b9393c6a9766e65dc3be4 | b22524e9e6811041fa8da4d3bb331d07e3bd447c | refs/heads/master | 2023-01-14T09:57:33.450167 | 2022-12-22T01:15:17 | 2022-12-22T01:15:17 | 235,593,780 | 49 | 24 | null | null | null | null | UTF-8 | R | false | false | 4,088 | r | Queueing Models.R | ### QUEUEING MODELS ###
# Import queueing package
library(queueing)
# lambda = arrival rate
# mu = service rate
# c = number of servers
# k = system capacity
# n = number of customers in the system from which you want to obtain its probabilities. Put n = 0 for an idle probability.
# method = method of computation of ... |
7e2b9cf405c2541c26255ae78538b70e42405c5b | 5e1ff69f4317d74e74638daf3e74d6615e0f4441 | /plot3.R | 1821a54159fdc63c51c4cc573a50a8fa148b85bf | [] | no_license | alexgleon/ExData_Plotting1 | ef68663ab14eadf66d88bae6c4609ea928c5117e | 6f27481b0b25bbae5a0ca0b8055d01152de8daff | refs/heads/master | 2021-01-20T00:34:18.500672 | 2017-04-25T04:25:19 | 2017-04-25T04:25:19 | 89,152,602 | 0 | 0 | null | 2017-04-23T15:37:31 | 2017-04-23T15:37:31 | null | UTF-8 | R | false | false | 1,226 | r | plot3.R | #23/04/2017 Oliver González
#Peer-graded Assignment: Week1 Peer-graded Assignment: Course Project 1
#output: plot3.png
#Setting working Directory and File
setwd("~/RWkngdrctry/plotting")
File <- "household_power_consumption.txt"
# Reading, naming and subsetting data
source <- read.table(File, header=TRUE, se... |
dea01788b7d2a15640aac8e774eb7c3c8ea8b820 | 0d48ee066bbcb8fdb2985d78d8dda8436b85cd64 | /Conferences/fcsm20/code/frequentist_method.R | 423df717c046fd8827001a76d4a7385b99192d2d | [] | no_license | sctyner/talks | 4b9cad85d3fd6186f15065c14135c85de2010faa | 39a3ddf86476cb4220e66339e61329869403fd5b | refs/heads/master | 2022-02-11T08:57:09.561002 | 2022-01-24T00:20:31 | 2022-01-24T00:20:31 | 272,045,415 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 732 | r | frequentist_method.R | # frequentist method: glm
library(tidyverse)
male_births <- read_csv("dat/arbuthnot_data.csv")
successes <- male_births$n_births
failures <- male_births$total_births - male_births$n_births
data_mat <- cbind(successes, failures)
library(lme4)
# logit(p_i) = \mu + alpha_i
# alph_i ~ Normal(0, sigma^2)
mod <- glmer(d... |
50bd19fe05f7984217669d086eb4a94cac6e09ea | bd24f7e679bb7244c7051d9b8e36a45dfc6a4c1a | /man/plotDP.Rd | 79e6d7aaa4a9f7fb9dbb9564ed60c60d2605dcb1 | [] | no_license | sxz155/PFDA | 91f0cca917358688a6ed26bb71199645c8d56f76 | bd6e7a6630b33f21f5c6967e997bb5f5d4c0ff63 | refs/heads/master | 2020-07-25T11:04:14.542604 | 2016-12-14T18:09:21 | 2016-12-14T18:09:21 | 75,235,351 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 701 | rd | plotDP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotDP.R
\name{plotDP}
\alias{plotDP}
\title{Plotting RKHS smoothing mean and its DP version simultaneously}
\usage{
plotDP(DP, text.main = "", legend.cex = 1.4, legend.loc = "topleft",
seg.lin = 0.75, text.font = 2, text.width = 0.15, xlab... |
8fe8de94754fa67668da89d710acd6ab817575ad | acd16314c8165ae150d7c6d4e57fb2e72847417f | /Test EventHandler/runApplication.R | 3553af641bab1827e594f01c13dcb0fb165f2962 | [] | no_license | gideonllee/R-Experiments | 7086666d2f58096a2bb482c7d218be14990a8344 | 37f0edb8ec064d0a57abdebbadb814d2098e0c79 | refs/heads/master | 2021-01-23T19:46:48.004899 | 2015-09-09T05:15:24 | 2015-09-09T05:15:24 | 40,285,362 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 102 | r | runApplication.R | library(shiny)
source("ui.R")
source("server.R")
app <- shinyApp(ui,server)
runApp(app)
showReactLog |
1ede12654c22875d088ce645e654d2c5960191b7 | 4a2d7acafbb25e9ea3712d611a52e69d889cab53 | /man/tidyfield.Rd | 33b2b00cf2731f065fb2f8a347843c4dffc91e9f | [
"MIT"
] | permissive | tjebo/perimetry | 72c7386964d03fd15ddc50794c134bfccf2b9f00 | 1a0bccdb401c3430b41d17b1385bb615ead2bca2 | refs/heads/master | 2023-07-13T15:56:01.652583 | 2021-07-30T15:41:37 | 2021-07-30T15:41:37 | 390,404,349 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 361 | rd | tidyfield.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tidyfield.R
\name{tidyfield}
\alias{tidyfield}
\title{The tidyfield object}
\description{
The tidyfield object is the central object of the perimetry
package. It is designed to allow for efficient and fast usage of
perimetry data in tidy mode... |
0c71447be3d8c4f1c6a9bfddf7dd2b91daaacbb8 | 8fd5b7c83913adb9151b70ea9129bec0db876da3 | /R-intro.R | 47c3f3c904c615e8d37bab0253fb8a87c6e88f15 | [] | no_license | rappuccino/Carpenter-R | 159f11674e74ef3135ad3587ecb9bd0522dc9d6d | ecb57b7677ab5df897d561d475e033e02d02737e | refs/heads/master | 2020-03-07T07:12:23.736792 | 2018-03-29T21:58:10 | 2018-03-29T22:01:25 | 127,342,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 242 | r | R-intro.R | # SWC R Intro #
getwd()
quiz_vector_1 <- c(2,6,'3')
quiz_vector_2 <- c('a', TRUE)
quiz_vector_3 <- c(0, TRUE)
typeof(quiz_vector_1)
typeof(quiz_vector_2)
typeof(quiz_vector_3)
class(quiz_vector_1)
class(quiz_vector_2)
class(quiz_vector_3)
|
ccef833221c5a8028c521cf41033715bf2ac0179 | 17ca53a3827be35bbe7b0b1e88decbeed2f9eded | /R/crestObj.init.R | 161fe0179e8bb1bfadcb1b42a5a8ee656b1e45c7 | [
"MIT"
] | permissive | mchevalier2/crestr | 190afcd9d563f92afe51394b0dad752496ce3e5b | e1978059c243f61475055c1f2ff08d5d8b601079 | refs/heads/master | 2023-08-30T03:59:50.319316 | 2023-08-25T16:00:36 | 2023-08-25T16:00:36 | 269,097,345 | 9 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,559 | r | crestObj.init.R | #' Create a \code{crestObj} object.
#'
#' Creates a \code{crestObj} object with all default parameters.
#'
#' @param taxa.name A vector that contains the names of the taxa to study.
#' @param pse A pollen-Species equivalency table. See \code{\link{createPSE}} for
#' details.
#' @param taxaType A numerical index ... |
9a5dd0f13bfd15b53e58b75a0bd88eec066940c2 | 36e7a3ab63a73a82216f948bcfae6f2e5016ac77 | /R/languageserver.R | d1ffb9915105832aed68c2cfeb8265949e1301b4 | [] | no_license | MJimitater/languageserver | 7f6da363d6b6eb701641d68de918de93274b0112 | 1fa3008b78bdee123d5035da1e401da95a321663 | refs/heads/master | 2023-08-18T10:55:13.722049 | 2021-10-21T14:09:48 | 2021-10-21T14:09:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,694 | r | languageserver.R | #' @useDynLib languageserver
#' @importFrom R6 R6Class
#' @import xml2
#' @details
#' An implementation of the Language Server Protocol for R
"_PACKAGE"
#' The language server
#'
#' Describe the language server and how it interacts with clients.
#' @noRd
LanguageServer <- R6::R6Class("LanguageServer",
inherit = La... |
341c30ae683a488d5df075f974e83f323bb37517 | 6a5d187f124d5b84f64dc2127dff687e19847750 | /vignettes/precompile.R | f5f59a9ca257365ba9dcc46b338d56c94c414d2a | [] | no_license | unina-sfere/funcharts | 6f3e5ce475d9d1a7b2bd4342ea4ec8870da7a4d8 | df57f6c6846de38aaed8fdeee9ff8b196304d0e1 | refs/heads/main | 2023-04-09T17:07:54.079007 | 2023-03-30T14:32:37 | 2023-03-30T14:32:37 | 345,451,129 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 970 | r | precompile.R | ## Create .Rmd from .Rmd.orig
knitr::knit("vignettes/colosimo2010.Rmd.orig", "vignettes/colosimo2010.Rmd")
knitr::knit("vignettes/capezza2020.Rmd.orig", "vignettes/capezza2020.Rmd")
knitr::knit("vignettes/centofanti2021.Rmd.orig", "vignettes/centofanti2021.Rmd")
knitr::knit("vignettes/mfd.Rmd.orig", "vignettes/mfd.Rmd"... |
6a5d153650e474be1d659dc6ca7f883bf4e11c4b | 9016b6a0e2631b93da766c9f9da032ad832ba547 | /basic_workflow.R | 7f6c976fcc8da54591f2bf3bee80ba09acfd5864 | [] | no_license | turnbullr-fly-connect/synapse_prediction | 336edffd6f8b2ccf519237410535dcbd0480e454 | 97f2ca6041c31c04df6cae8667f682734bcba1da | refs/heads/master | 2020-04-08T11:52:56.754824 | 2018-11-29T16:58:38 | 2018-11-29T16:58:38 | 159,324,191 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,146 | r | basic_workflow.R | #get xyz coordinates of connectors
catmaid_get_connector_table(38885) -> connector_table
connector_table[match(unique(connector_table$connector_id), connector_table$connector_id),] -> unique_connectors
data.frame(connector_id = unique_connectors$connector_id,
x = unique_connectors$x, y = unique_connectors$y... |
3717118206b073449135f8eba6c3e01e45585bc6 | 6da6523cba9bd00bfd04a39153684ae129a9f959 | /R/relabel.R | 75a4db50e671c4b37a243cc3eb91767431e0702c | [] | no_license | alistaire47/forcats | 28e24d73a72b46b013cbbf36e7ff1dee7b754f4a | 9126935351ef2c3d6cb4cd6f9d45d76f965e53f0 | refs/heads/master | 2021-05-01T08:53:21.635871 | 2018-02-14T23:27:19 | 2018-02-14T23:27:19 | 121,178,114 | 0 | 0 | null | 2018-02-11T23:30:22 | 2018-02-11T23:30:22 | null | UTF-8 | R | false | false | 1,137 | r | relabel.R | #' Automatically relabel factor levels, collapse as necessary
#'
#' @param f A factor.
#' @param fun A bare or character function name or an actual function in
#' formula, quosure, or ordinary notation to be applied to each level. Must
#' accept one character argument and return a character vector of the same
#' ... |
7cd5a972e3f5da09ae112efc37efb94b0ebe5401 | 751b93ecac667aa73e06956a831811acf00b7faa | /plot4.R | ca15e5eecff52b064b23cfeed8266e7c25e6c194 | [] | no_license | kammerel/exploratory-data-analysis | f3d57ece1d6ec5d5b4f1ce480a6f90f1a67f788f | e14e56845d0e522d1176345c2aafe46045c060a8 | refs/heads/master | 2020-05-29T22:41:41.725862 | 2019-06-04T17:00:22 | 2019-06-04T17:00:22 | 189,416,319 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,411 | r | plot4.R | # set the working directory
Sys.setlocale("LC_ALL","English")
setwd("E:/Dokumente/Fortbildung on the job/Coursera/Data Science Specialization/Course 4 Exploratory Data Analysis/Week 1/Assignment")
data <- read.table(file = "household_power_consumption.txt", header = T, sep = ";",na.strings = "?")
# data$Date <- as.Da... |
a72c00b970b45695691145a591287dfeb8a760cd | decd805a323a5bdb863f9d5501c2963a4fb51ba0 | /MarketSimulator/R/Market.R | a012dd88b9a7e6e9b5970f8feb893c899ba8aa6a | [] | no_license | markhocky/MarketSimulator | eda0d2d11f01c480cc7a40506ae695284b77fee5 | d7000d90bc822521cc084b4c245321c565b716b5 | refs/heads/master | 2016-08-09T20:51:56.167101 | 2016-04-09T01:56:27 | 2016-04-09T01:56:27 | 55,815,590 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,747 | r | Market.R | #'
#'
setClass("Market",
representation(
instruments = "list"
))
Market <- function(instruments) {
if (missing(instruments)) {
instruments <- list()
}
market <- new("Market")
market@instruments <- instruments
return(market)
}
setMethod("getBar",
signature("Market"),
function(o... |
b2ccbd3366b6fcd39b23a75879685bc93bc1df7c | 830876874bf3e1fca80dcbf0c727229e30bdbb12 | /Data Structure/cast&melt.R | 00d3b10fad0398d0e942371ed990b306e6b073b2 | [] | no_license | ShrutiSi/RIA | 761311fdae32ef99f4c7ca7ed09e8e8cf5bf38ae | f55c5655329c28de8b5aedbbae728fd439af5b43 | refs/heads/master | 2021-01-22T21:17:27.307109 | 2018-01-23T05:15:24 | 2018-01-23T05:15:24 | 100,679,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 692 | r | cast&melt.R | df2
rollno = rep(c(10,11,12,13),4)
rollno
(sname = rep(c("Achal","Apporva", "Goldie", "Hitesh"), 4))
(examunit= rep(c("u1", "u2", "u3", "u4"), each =4))
set.seed(1234)
(rpgm = ceiling(rnorm(4*4,60,10)))
set.seed(1234)
(sql = ceiling(rnorm(4*4, 65,10)))
df1 = data.frame(rollno,sname,examunit,rpgm,sql)
df1
str(df1)
#mel... |
c1d981bf31dcdc6147be5749df01f3beb8c99b93 | 8749cd76d533720e28877bdfaf9b7fe45e1ccf5f | /man/loadEIAbulk.Rd | b0e2b4229c47d16e19ecfef867a6103ce8a46bf7 | [] | no_license | bigdatalib/RTL | 89ecba94b24ea1fa65bb87408b0c08eaa5809b23 | 9fe64900c618cae4d5286d6440774bf92819d387 | refs/heads/master | 2020-12-25T00:02:56.479952 | 2014-05-21T18:19:23 | 2014-05-21T18:19:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 309 | rd | loadEIAbulk.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{loadEIAbulk}
\alias{loadEIAbulk}
\title{\code{loadEIAbulk}}
\usage{
loadEIAbulk()
}
\value{
Lots of series...
}
\description{
Loads all EIA NG and PET data as a bulk download.
}
\author{
Philippe Cote <coteph@mac.com,philippe.cote@scotiabank.com>
}
|
21e94d1512c540ecf638307511795ef40797d470 | 3fc443b349b05084fdb33a67644e6d2ae6b2b9f8 | /getTickers.R | b17c5d8cd9cdc9c142c22d723822b2613496d28e | [] | no_license | douglasadamson/RStocks | 0f2f9daddadc3064ba675d7b4d1452e3a5301ad3 | fb76c00f928d85eb4e5ea3e581ef3a0d70740622 | refs/heads/master | 2021-07-02T01:34:20.546001 | 2017-09-20T19:28:51 | 2017-09-20T19:28:51 | 100,506,815 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 503 | r | getTickers.R | library(readr)
#
# Ultimately, get this data from a service
#
getTickers <- function(index) {
# Which Index?
filename = switch(index,
"nasdaq" = "nasdaq100list.csv",
"nasdaq100" = "nasdaq100list.csv",
"favorites" = "ticker.csv",
"ticker.csv")
cs... |
ef81d44b445c886828c12be3d30e0d7003ad1e2c | 094e952da4fa8698b04fb88b69fbf67668218d24 | /code/ch.8/fig8-1.R | 1d5a4a07d5e4542b6d67e78e25b106441840c54f | [
"MIT"
] | permissive | rhyeu/study_rstan | 42a773beef840f56f64fcd20c5b1b24f88d45e1b | a5b998772358ba64996bc7ca775566f0706fa8f3 | refs/heads/master | 2021-07-08T15:51:37.488890 | 2020-10-04T07:10:03 | 2020-10-04T07:10:03 | 195,388,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 928 | r | fig8-1.R | library(ggplot2)
d <- read.csv(file='ch.8/input/data-salary-2.txt')
d$KID <- as.factor(d$KID)
res_lm <- lm(Y ~ X, data=d)
coef <- as.numeric(res_lm$coefficients)
p <- ggplot(d, aes(X, Y, shape=KID))
p <- p + theme_bw(base_size=18)
p <- p + geom_abline(intercept=coef[1], slope=coef[2], size=2, alpha=0.3)
p <- p + geom... |
d64485bbaab719fd1dcd94d6f9ed2f28b0d2686b | 1e3c6d8a48d75f9b59cde049d444d381018c3710 | /utility.R | 60be31a019ec7a2ccce19e0b62e80fb21e764f4c | [] | no_license | legolas347/interview | 6080bc018b3619f78f364d2e47d70ac8f5a6990d | a8c5ab1ce33b34b5d16c41d6b987d0e5db8302b9 | refs/heads/master | 2022-11-22T08:55:15.304499 | 2020-07-29T22:52:13 | 2020-07-29T22:52:13 | 282,916,140 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 606 | r | utility.R | library(dplyr)
library(ggplot2)
f_rmse <- function(x,y){
sqrt(mean((x-y)^2))
}
f_eda <- function(df){
df_missing <- data.frame(t(apply(df, 2, function(x){mean(is.na(x))})))
df_summary_num <- data.frame(apply(dplyr::select_if(df, is.numeric), 2, summary))
df_summary_char <- apply(dplyr::select_if(df, is.ch... |
65738a904e7c8874f4b4d3d1da96469ce5ff04b0 | 8739f0e762414dc911e12af0913af489073b72f6 | /Figures_02_20_20/master_dataframe.R | efa0615602a738766b0f0b41683e852adb9bb743 | [] | no_license | HeatherWelch/melanoma | 5277c6194b3cc556a800df8e4de3488274743a1d | 5093668a248482f3ae82f3909dda1da76318fa3b | refs/heads/master | 2022-09-13T13:52:57.601464 | 2022-08-08T19:28:47 | 2022-08-08T19:28:47 | 231,420,485 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,534 | r | master_dataframe.R | ### putting it all together
source('/Users/heatherwelch/Dropbox/melenoma/melanoma_GitHub/utilities/load_libraries.R')
spatial_dir="/Users/heatherwelch/Dropbox/melenoma/spatial_files"
# medical
b=st_read(glue("{spatial_dir}/AHRF_new_01_30_20.shp")) %>% as.data.frame
ahrf=b %>% dplyr::select(c(STATEFP,NAME,COUNTY_, incm... |
e9ed3986c40f3281a5006c4bdbd062319fcf3911 | f036b4e0b2d850e07feb5975879bb4896ceafdb0 | /R/plot_spcma.R | 16f9cf2f795195bfc9be61ef412659b51d32c3ab | [] | no_license | guhjy/spcma | 736d8b31911d3a9488735ff52aab556374bd9c2a | 670c92bf35ecdea723244ca05ca673932af2c1dc | refs/heads/master | 2020-04-09T10:57:05.950203 | 2018-06-19T20:17:38 | 2018-06-19T20:17:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 995 | r | plot_spcma.R | plot_spcma <-
function(object,plot.coef=c("alpha","beta","IE"),cex.lab=1,cex.axis=1,pt.cex=1,...)
{
plot.idx<-which(names(object)==plot.coef)
out<-as.matrix(object[[plot.idx]][,c(1,3,4)])
colnames(out)<-c("Estimate","LB","UB")
K<-nrow(out)
sig<-as.numeric(out[,2]*out[,3]>0)
neg<-as.numeric(out[,1]<... |
fbac8b9e46f3cfc586c1765e1656c3e7dbf44fa4 | b7a21432aeec6869ee358edc43d7fd98a11cf4d5 | /R/configure-hurricane-wind.R | c93b776888fc74a86cc18fb7bd77ac450c4c90dc | [
"MIT"
] | permissive | mikoontz/twensday | 052ac297badbdc2ca16f14c31dbfc2b4cbe26529 | 4389dc3e3be5cd2e9b1015a47675d965d9a0baac | refs/heads/master | 2020-09-28T13:41:28.305155 | 2020-03-06T21:53:44 | 2020-03-06T21:53:44 | 226,789,519 | 0 | 0 | MIT | 2020-02-24T22:09:22 | 2019-12-09T05:10:58 | R | UTF-8 | R | false | false | 4,016 | r | configure-hurricane-wind.R | # Resample the Fire risk map to be at the same resolution/extent as the Zillow data
library(tidyverse)
library(raster)
library(googledrive)
# devtools::install_github(repo = "JoshOBrien/rasterDT")
library(rasterDT)
library(gdalUtils)
# make the functions available to download the Zillow grid
source("R/download_grid.R... |
df935be74190d9b17ce87018332cc8c1f380bd05 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/RBesT/R/crohn.R | 8adf30f73f221cd3bc364d6772b900642f1a6ce0 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 950 | r | crohn.R | #' Crohn's disease.
#'
#' Data set containing historical information for placebo arm of
#' relevant studies for the treatment of Crohn's disease. The primary
#' outcome is change from baseline in Crohn's Disease Activity Index
#' (CDAI) over a duration of 6 weeks. Standard deviation of change
#' from baseline endpoint ... |
672cb67ff657f817b0f9b5a7251a3347066f4cca | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/summarytools/vignettes/Introduction.R | aecaed4ea05f5af714772e8beafcd22b93ccc923 | [] | 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 | 4,341 | r | Introduction.R | ## ----setup, include=FALSE------------------------------------------------
library(knitr)
opts_chunk$set(comment=NA, prompt=FALSE, cache=FALSE, results='asis')
library(summarytools)
st_options('footnote', NA)
## ------------------------------------------------------------------------
library(summarytools)
fre... |
97fe4d1961014d70359e68b410e27af826d779bd | d1625e2223c81a6c510ccf8bb847c67ed85f8e2f | /man/make_cll.Rd | 23fa3f021e366cd2acf8c226de90da5cc41584d8 | [] | no_license | bmihaljevic/bnclassify | ea548c832272c54d9e98705bfb2c4b054f047cf3 | 0cb091f49ffa840983fb5cba8946e0ffb194297a | refs/heads/master | 2022-12-08T21:37:53.690791 | 2022-11-20T10:00:18 | 2022-11-20T10:00:18 | 37,710,867 | 20 | 12 | null | 2020-08-13T19:39:24 | 2015-06-19T08:30:56 | R | UTF-8 | R | false | true | 391 | rd | make_cll.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/learn-params-wanbia.R
\name{make_cll}
\alias{make_cll}
\title{Returns a function to compute negative conditional log-likelihood given feature weights}
\usage{
make_cll(class_var, dataset)
}
\description{
Returns a function to compute negative... |
6f2ee186a5383977af69539f0038443117d3f756 | fef97b3e002359a91e111b6b0d3e670b89aeb7e9 | /vis/lib_modelEval.R | 312ad2614702127f136146f866be4d927a1ec7c3 | [
"Apache-2.0"
] | permissive | IBPA/GNN | 78e9fcaae8fd566fc542bbf51dfc045275236c0c | c98cdaa29bc8c3112800f35e2ae589e23c29f3b1 | refs/heads/master | 2020-04-03T00:13:53.867293 | 2019-08-24T20:14:59 | 2019-08-24T20:14:59 | 154,893,175 | 11 | 5 | Apache-2.0 | 2019-10-05T19:02:52 | 2018-10-26T20:52:24 | Shell | UTF-8 | R | false | false | 2,388 | r | lib_modelEval.R |
getDfDirPrefixSize <- function(strDir, prefix, nSize, train_prefix){
if (missing(train_prefix)){
train_prefix=""
}else{
prefix = sprintf("%s%s", train_prefix, prefix)
}
print(sprintf("%s_n%d_f[0-9]*.csv", prefix, nSize))
filenames <- list.files(strDir, pattern = sprintf("^%s_n%d_f[0-9]*.cs... |
c6c17dcb426aacb72b3b6e275b8a0ab7bc21cb3d | 46a23d8ffb23dd4cd845864e8183cba216bc8d68 | /modules/tab_monte_carlo_simulation/mcs_mileage/mcs_mileage_fun.R | 364b24871b37a882911355427e92ab849279e4a6 | [] | no_license | DavidBarke/weibulltools-app | 84099f30c1027ed808f9905ec90d0529aeb46565 | 2fe0a3a793231da1539767d81d9e22773598f386 | refs/heads/main | 2023-04-12T06:34:38.306466 | 2021-04-20T14:01:54 | 2021-04-20T14:01:54 | 329,618,724 | 6 | 0 | null | 2021-02-09T09:22:14 | 2021-01-14T13:08:39 | R | UTF-8 | R | false | false | 1,647 | r | mcs_mileage_fun.R | mcs_mileage_fun_ui <- function(id) {
ns <- shiny::NS(id)
r_function(
name = "mcs_mileage",
varname = "mcs_mileage_result",
placeholder = shiny::uiOutput(
outputId = ns("placeholder"),
container = htmltools::pre
),
r_function_arg(
"x",
shiny::uiOutput(
outputId = ... |
ea738b0d35b9891347706f4872e5e8001a95d9a3 | c63cd4eb29aea09ef6e65e2ffe8692555431850e | /app/ui/uiClaster1.R | ee42f1d90c6cd9d11bdbc2556e544fef62f96e42 | [] | no_license | szymonhetmanczyk/ClusterAnalysis | 345704171ff11014f10045991c713d3b0ceb4038 | 262a11f91476a8e39a44dc29d19a6fdd31f1e014 | refs/heads/master | 2020-03-19T00:03:11.004778 | 2018-05-13T23:07:23 | 2018-05-13T23:07:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,180 | r | uiClaster1.R | tagList(fluidRow(
box(
title = "Cluster dendrogram",
width = 12,
selectInput(
inputId = "selectdecostand",
label = "Select method for decostand",
choices = c(
'total',
'max',
'freq',
'normalize',
'range',
'standardize',
'pa',
... |
c67cc79202c6d100966b91ffccd984d9cd2552ee | 2138198e091d8856257e7b4c8b8044152faa67cd | /man/makehistory.two.Rd | 07b51c7d4b266cf470a528fa9c08a3ac4ae8d3ef | [
"MIT"
] | permissive | muschellij2/confoundr | 6dcdeed7d876153a9b1fa5044ca8bc7ee2cc645a | 7010b65c549996268e80a325737afcf29877179a | refs/heads/master | 2021-09-08T23:09:31.091346 | 2018-03-12T19:50:31 | 2018-03-12T19:50:31 | 108,161,813 | 0 | 0 | null | 2017-10-24T17:37:22 | 2017-10-24T17:37:22 | null | UTF-8 | R | false | true | 1,441 | rd | makehistory.two.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/all_functions.R
\name{makehistory.two}
\alias{makehistory.two}
\title{Function to create joint exposure history for two distinct time-varying exposures}
\usage{
makehistory.two(input, id, group = NULL, exposure.a, exposure.b,
name.history.a... |
3eec19c340113cb7d3b547562b0aa09d46e0150a | a990023834ca14ca470afbd5db76d14e4faf8951 | /make-plot.R | 09132a544124d87297cc3df9710473beba411372 | [] | no_license | austensen/covid-cases-mexico | b5bf53ece737ac0773a8e375f75ce592a67e151f | 9ee4f4d601c8179c8544c3488c022236f1aa2164 | refs/heads/master | 2022-11-10T06:39:00.438734 | 2020-06-28T23:51:50 | 2020-06-28T23:51:50 | 275,688,761 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,050 | r | make-plot.R | library(tidyverse)
library(lubridate)
library(gganimate)
library(gifski)
# Data from: https://datos.covid-19.conacyt.mx/#DownZCSV
cases <- "Casos_Diarios_Municipio_Confirmados_20200627.csv" %>%
read_csv() %>%
rename(
id = cve_ent,
pop = poblacion,
name = nombre
) %>%
pivot_longer(
cols = ma... |
a422c6f787d1f4d34b6efa81f0c976d804cf126a | 7a8385a795ca4ab677e135e77a1932e1004b4060 | /TM.R | c6179658b8e918d3c66ddb9ac483b0df00f931f9 | [] | no_license | LilisSyarifah/Association-Rule-Mining | 7c7570ffce234cd5bef39e5b6ce7699eb3cffe8e | 19a039458cb3fa283c445218c0951557bc4f1cfc | refs/heads/master | 2020-04-09T04:51:47.717978 | 2018-12-02T11:29:21 | 2018-12-02T11:29:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,913 | r | TM.R |
library(arules)
library(tm)
library(SnowballC)
library(wordcloud)
library(arulesViz)
cname<- file.path("D:","Lilis Syarifah's File Master","S2","Materi Kuliah","semester 3","Tesis","Program","Data")
#cname<- file.path("C:","Users","Apriliantono","Desktop","SIDANG","Program","Data")
docs <- Corpus(DirSource(cna... |
d7f5a08fd5d36436cfec7dcda758f324bde68cd7 | 97df20d91b382f16222fc61f8b2b2e0f06fae91c | /AirPollution.R | 1726563340921b1deeef01b6e08b77ab32fbf882 | [] | no_license | winnie92/ExploratoryDataAnalysis | 1be767b9ef0d554cb33ff2e91f3b213347ccbf05 | a242610f34464ae9d601602080359ddf3a84cc10 | refs/heads/master | 2021-01-10T02:18:43.337901 | 2015-10-24T06:41:41 | 2015-10-24T06:41:41 | 44,855,357 | 0 | 0 | null | null | null | null | IBM852 | R | false | false | 5,357 | r | AirPollution.R | NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#1. make a plot showing the total PM2.5 emission from all sources for each of the years 1999,
#2002, 2005, and 2008.
nei1<-subset(NEI,select=c(Emissions,year))
nei2<-transform(NEI,Emissions,year=factor(year))
nei3 <- tapply(nei2$Em... |
41fbfaac6117de8bdfde1c9833969c744c1600a4 | b0749f2171b5edae03897fb43732363879333000 | /textMining.R | c6d7a3214de4a8d6c178082635adc30ef251ed66 | [] | no_license | koskot77/DevDataProducts | be10a8c77209b25a166ee0a5799d47c16972e819 | ecb5b94e73c3933be7545e5244e31d9fa682a3b7 | refs/heads/master | 2016-09-05T11:13:35.558135 | 2015-11-27T10:00:28 | 2015-11-27T10:00:28 | 29,824,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,134 | r | textMining.R | require(tm)
tw <- read.csv(file="uk.csv",header=T,sep=',')
tw$Text <- sub("@\\w+","",tw$Text,perl = TRUE)
tw$Text <- sub("(:\\w+:)+","",tw$Text,perl = TRUE)
tw$Text <- sub("http[^\\s]*","",tw$Text,perl = TRUE)
corp <- Corpus(VectorSource(tw$Text),readerControl = list(language = "rus"))
corp <- tm_map(corp, stripWhitesp... |
f2a1ce7fd647ebecf4071964f0b5fcad4069653c | d74c4b4169038f19063b2fc703720a5054230713 | /R/robScale.R | fb1b9dfba63bdcd88269cd4dc1f2e1e20a73ed8e | [
"LicenseRef-scancode-dco-1.1"
] | no_license | aadler/revss | a95d644e4e73d384dc28cf39fa0e65c35454ce4b | 5a9002a47c8609dae3fe91a35bae25f1d5f7608b | refs/heads/master | 2023-08-17T14:49:46.382971 | 2023-02-01T16:52:30 | 2023-02-01T16:52:30 | 267,474,994 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 977 | r | robScale.R | # Copyright (c) 2020, Avraham Adler All rights reserved
# SPDX-License-Identifier: BSD-2-Clause
# Robust Scale Estimator found in Rousseeuw & Verboven (2002)
robScale <- function(x, loc = NULL, implbound = 1e-4, na.rm = FALSE,
maxit = 80L, tol = sqrt(.Machine$double.eps)) {
if (na.rm) {
x <... |
b367911d5f732220bfcfb0bd45687448a8978452 | ae55ccca23e741e6ec249b8c2d53d9f06d2ea431 | /javier/plots.R | a3a6de4557e8d524f2d5cec7b3ab4687841a5a69 | [] | no_license | jmatias/linearRegressionAnalysis | f0fee144355ca4b952651a9efaa0ca22fb849788 | 2029ccaa847f2d29749305749ba77b6ae72b8ba4 | refs/heads/master | 2020-03-25T04:03:07.821711 | 2018-08-03T03:18:29 | 2018-08-03T03:18:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 313 | r | plots.R |
qqplot = function(model, pcol="grey", lcol="dodgerblue", cex=1, title="Normal Q-Q Plot") {
if( length(model$fitted.values) > 1000 ) {
cex = cex*.5 # If there are a lot of points, make them smaller.
}
qqnorm(resid(model), col = pcol, cex = cex, main=title)
qqline(resid(model), col = lcol, lwd = 2)
}
|
9b7719a9f3fef1313b4cbeda710831262d15f52b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/copBasic/examples/RFcop.Rd.R | 98bad60f058bcd76efbe3cbd5d60476f4027fd3f | [] | 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 | 720 | r | RFcop.Rd.R | library(copBasic)
### Name: RFcop
### Title: The Raftery Copula
### Aliases: RFcop
### Keywords: Raftery copula copula (formulas) copula Nelsen (2006)
### Examples and Exercises
### ** Examples
# Lower tail dependency of Theta = 0.5 --> 2*(0.5)/(1+0.5) = 2/3 (Nelsen, 2006, p. 214)
taildepCOP(cop=RFcop, para=0.5)$... |
a8b26351cdffb1dbc86fc0f1f6e45f7c1934ef98 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613103312-test.R | fd862f4d1685b17ee0500b2d235e25fefc0854db | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 304 | r | 1613103312-test.R | testlist <- list(A = structure(c(-1.44121736636402e+219, 7.03636119869644e-251, 992913157178624384, 1.25891760799084e-88, 6.92682164882786e-310, 2.02410200510026e-79, 0, 0, 0, 0), .Dim = c(2L, 5L)), B = structure(0, .Dim = c(1L, 1L)))
result <- do.call(multivariance:::match_rows,testlist)
str(result) |
3457d658eebe95cde86dd3f5f456bed98e076e6a | 29585dff702209dd446c0ab52ceea046c58e384e | /PKreport/R/PKdata.R | d22068627cf379b5382df60847a24516db4065a8 | [] | 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 | 4,419 | r | PKdata.R | #############################################################################################
## File: PKdata.R
## Author: Xiaoyong Sun
## Date: 10/20/2009
## Goal: read in PK data; file config
## Notes:
## -
#############################################################################################
... |
1cb7c3912935909afca67f7df573490c9832a0bb | 7475afe3f33869bc1bc60c9332aa2c3b8febc993 | /R/GetAccessionNo.R | f689e69160c9be50d1095411e3be3908045dd21b | [
"MIT"
] | permissive | jasmyace/finreportr | 2409d1a4495a0ed03c495be323fff45fbaf94f21 | 2b8c5f971a75f243fbf629614429214c13a23224 | refs/heads/master | 2022-08-03T02:08:16.753120 | 2020-05-30T21:14:25 | 2020-05-30T21:14:25 | 266,425,723 | 0 | 0 | MIT | 2020-05-23T21:53:54 | 2020-05-23T21:53:53 | null | UTF-8 | R | false | false | 885 | r | GetAccessionNo.R | GetAccessionNo <- function(symbol, year, annual=TRUE, quarter=TRUE) {
# symbol <- "AAPL"
# year <- 2016
# annual <- TRUE
# quarter <- TRUE
year.char <- as.character(year)
reports.df <- Reports(symbol, annual, quarter)
reports.df <- reports.df %>%
dplyr::mutate(filing.year = substr(.da... |
21f3b92d3e7035b6dec5b2034a4b21c5ebfd54cc | 6e01e88b65509800c2f9ed73a585db64f9bf06db | /apastats/man/lengthu.Rd | b19b6420a6bfc9a140c6cde04a28ee4936ae63a1 | [] | no_license | achetverikov/APAstats | b2449d7375c9f011688a0aad31fc7685a83bfa5f | 448bb214274ee3837c58fd1238b336076552d918 | refs/heads/master | 2022-02-02T22:44:29.299553 | 2022-01-04T19:22:37 | 2022-01-04T19:22:37 | 33,860,134 | 16 | 4 | null | 2022-01-04T19:22:38 | 2015-04-13T09:38:57 | HTML | UTF-8 | R | false | true | 330 | rd | lengthu.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{lengthu}
\alias{lengthu}
\title{Length of unique values}
\usage{
lengthu(x)
}
\arguments{
\item{x}{a vector}
}
\value{
number of unique values in x
}
\description{
Counts unique values
}
\examples{
x<-c(5,7,8,9,5,7)
length(x)
len... |
a86a64e4de594b9e7e9f9e0389b9caaae3c7e544 | a1354a82ca5c9de694baad99421ced7b84a2a3dc | /R/403_graf_comp_primas_rtr.R | b83f220af596985999fd4e7e59bedfa0d630e9bd | [] | no_license | pabloalban/Impacto_501_a_2020 | 98fac5eb3fb996d2d5222e027848f83e5f4a4715 | fbd7d2471e2d2fe9582c687c6655c255480ea62d | refs/heads/master | 2023-08-22T03:33:02.397140 | 2021-09-27T14:09:25 | 2021-09-27T14:09:25 | 381,487,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,567 | r | 403_graf_comp_primas_rtr.R | # Datos para gráfico de Tabla 2 del documento "causas de posible desfinanciamiento".
# Tabla 2: Comparación de las primas de aportes: Resolución C.D. 501 – Resolución C.D. 261.
# Carga de datos -----------------------------------------------------------------------------------
message( '\tGráfica de cooparación entre ... |
7f4b55f5b49eca38c990b3db3ac91a2c6c71a0f3 | ffd09e41f3309a0ac3eaf2adca34674e0920d1b8 | /man/PlotDarkMatter.Rd | 4e10e26e7695d1dbb3f0bccae9934abe63272fb0 | [] | no_license | leipzig/Vennerable | 04b3329c21623176730232f08ffdd79f4515cdc2 | 43b1d2b4f84f85f9578337b92311bc7c35da7952 | refs/heads/master | 2021-01-17T23:15:48.982954 | 2015-12-15T17:22:06 | 2015-12-15T17:22:06 | 51,934,923 | 1 | 0 | null | 2016-02-17T16:00:07 | 2016-02-17T16:00:06 | null | UTF-8 | R | false | false | 721 | rd | PlotDarkMatter.Rd | \name{PlotDarkMatter}
\Rdversion{1.1}
\alias{PlotDarkMatter}
\title{
Plots dark matter
}
\description{
Fills the area of a \code{VennDrawing} universe that is not occupied by any set.
}
\usage{
PlotDarkMatter(VD)
}
\arguments{
\item{VD}{
An object of class \code{VennDrawing}
}
}
\details{
This works by filling the en... |
0624db02ced429106f3e89e9b6698b497ed12fa3 | eaee4b1b3422ab716bfe565600db6c4914a53e75 | /homework 6.R | b7ff0f2d0cd4b09db581b0c37d5c83ef9c2158f2 | [] | no_license | KejiaHuang/Intro-for-R | 06508f66fcca7026ac63d5f73a8ec4f4571e2dd9 | 2c655f16178a7b167e44a34ea57fb3f5ccf1ceae | refs/heads/master | 2021-05-02T06:47:10.368310 | 2018-02-09T06:40:01 | 2018-02-09T06:40:01 | 120,864,561 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 3,477 | r | homework 6.R | library(quantmod)
library(bizdays)
# Use package quantmod download the Option Chain of SPY,
# the maturity date is Dec-042015.
spyop <- getOptionChain("SPY", Exp = "2015/2016")
spyop$`12月.04.2015` # don't know why there is Chinese character in opion chain
callprice <- spyop$`12月.04.2015`$calls$Last
putprice <-... |
1016ed45178842828bb0df0c64103d82d995175c | b39f4a7acf1766383efbeafb4c10ef00cfdaafbe | /R/create_env.R | 37a65e6f619aebca91968ef66cc01824a96c12ea | [] | no_license | hmorzaria/atlantisom | 6e7e465a20f3673d3dbc843f164fe211faddc6fb | b4b8bd8694c2537e70c748e62ce5c457113b796f | refs/heads/master | 2020-04-02T02:24:05.672801 | 2015-12-12T00:06:03 | 2015-12-12T00:06:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 641 | r | create_env.R | #' A function to sample from the environmental truth provided
#' by the Atlantis scenario.
#'
#' @description Uses data provided by an Atlantis scenario and adds
#' observation error and/or bias, along with subsetting, to provide
#' an environmental index for use in subsequent model fitting.
#'
#' @family create fu... |
3c4c6802289b0f8536bb6af60860d2b48445b5d5 | 4397afeebe967fcc95355b0df714a041fe9aeab1 | /scripts/wrangle_x_m_origenes_productos.R | de5cbf0180f464399f58dd396fc28d61f18123ea | [] | no_license | ricardomayerb/cap_estudio_2017 | 8bf107c80c037d65ebafda57f05bc336ba88b2f9 | 1caec208aade0070d80803088452cfc90a82e1ac | refs/heads/master | 2021-01-12T06:55:46.830403 | 2017-04-13T12:42:39 | 2017-04-13T12:42:39 | 76,866,240 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,693 | r | wrangle_x_m_origenes_productos.R | library(tidyverse)
library(countrycode)
library(stringr)
load("./produced_data/x_m_por_origen_destino")
load("./produced_data/x_m_por_producto")
load("./produced_data/cepal_20_countries")
load("./produced_data/cepal_33_countries")
imp_by_ori <- bind_rows(dfs_m)
names(imp_by_ori)[1] <- "origin_region"
imp_by_ori$nomb... |
521c0d22c2d518c629a88b7e7f362b4550d20642 | 341c04301ad9ceaa28012a602f96e56d6859c800 | /rtest.r | 8612f2aeded3c975b2b3d6781e876d6406518939 | [] | no_license | aurorakp/treemodel-compare | e2d3210dbda5c28ef91766036e6b316440fe74b9 | d324b53aec43e87e2841c7ff17817728ab01f4ca | refs/heads/master | 2021-01-17T19:09:59.152923 | 2016-06-30T13:24:37 | 2016-06-30T13:24:37 | 39,741,298 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 626 | r | rtest.r | filename1 = <- paste ( self.dist_to_mean_1,sep="")
filename2 = <- paste ( self.dist_to_mean_2,sep="")
data1 <- read.table(filename1, col.names=c("index1","index2","dist"))
data2 <- read.table(filename2, col.names=c("index1","index2","dist"))
plot_title <- paste("QQ Plot for" treefile1 " and" treefile2 ":",sep="")
outfi... |
1fd5a1088a143da2a653b2a8f9bf0ae6027a23dd | 339975439e4a28d0926efb68a02dbde15310a965 | /source/13. fit_model_3.R | 2afdef69919df5b48a010c8f06ae1fb2dd475e31 | [] | no_license | milicar/master_rad | 1b7dcf619be9d2529a1c9c027562617bcfd72b5d | 0273574840261c93604dbb67079691a90b7ed797 | refs/heads/master | 2022-12-21T13:33:42.608474 | 2020-09-26T11:28:02 | 2020-09-26T11:28:02 | 295,247,332 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,128 | r | 13. fit_model_3.R | # Fitovanje REM modela 3
library(dplyr)
library(relevent)
library(abind)
wie_edgelist_200 <- readRDS("results/edgelist_200_by_timeframe.RDS")
# Ovaj model uključuje sve efekte kao i prvi model, uz dve binarne varijable:
# da li događaj/poruka govori o skupu i da li je događaj pozitivan i govori o skupu
# funkcije k... |
19c243c73f2ee838826668b1d03976d55962e6fb | 23462aba753a872f4c7e89770625da688f0d756f | /mymain.R | 864ffb4266bc44b221845be7eaf7c66955c590cd | [] | no_license | lingyix2/MovieReviewAnalysis | 6b3c3dfa92d25fdfb67e96f64aad2f2b10e48136 | 628ea0b1380f45f8826631ff5bcb5fab19495ae5 | refs/heads/master | 2020-09-15T14:35:25.703612 | 2019-11-22T20:36:48 | 2019-11-22T20:36:48 | 223,477,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,922 | r | mymain.R | if (!require("pacman"))
install.packages("pacman")
pacman::p_load(
"text2vec",
"glmnet",
"pROC",
"MASS",
"xgboost",
"slam"
)
#functions
prep_fun = tolower
tok_fun = word_tokenizer
#stopwords
stop_words = c("i", "me", "my", "myself",
"we", "our", "ours", "ourselves",
"you"... |
9bb0be56d2c69fee246ca94e0e57379bd1efab58 | fe254ef6be0bd316d41b6796ef28f1c9e1d5551e | /man/teachingStuff.Rd | 23e1e455aa9acad7248cf9750b32f23e0030ff34 | [] | no_license | matthias-da/robCompositions | 89b26d1242b5370d78ceb5b99f3792f0b406289f | a8da6576a50b5bac4446310d7b0e7c109307ddd8 | refs/heads/master | 2023-09-02T15:49:40.315508 | 2023-08-23T12:54:36 | 2023-08-23T12:54:36 | 14,552,562 | 8 | 6 | null | 2019-12-12T15:20:57 | 2013-11-20T09:44:25 | C++ | UTF-8 | R | false | true | 1,837 | rd | teachingStuff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataSets.R
\docType{data}
\name{teachingStuff}
\alias{teachingStuff}
\title{teaching stuff}
\format{
A (tidy) data frame with 1216 observations on the following 4 variables.
\itemize{
\item{\code{country }}{Country of origin}
\item{\code{sub... |
0f07a4d3effbad97d83887a23aa7bc7fc2a2244a | ea77df156d9fb138cb2fc1843df20a18b7132294 | /R/selenium_storm_etc.R | 86377b14ce665b95ccbec0da33d37a92afe6d9f0 | [] | no_license | bedantaguru/RSeleniumTools | be0c85a7464c340061ee58f90ed436af0bc83377 | df24ff23f0f6025967744a39f6b24bcb4e86526a | refs/heads/master | 2023-08-14T05:27:28.976800 | 2021-10-06T07:11:43 | 2021-10-06T07:11:43 | 414,105,158 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,914 | r | selenium_storm_etc.R |
selenium_storm_init <- function(port, check, clean_start = F, singular_pid_sid = T, num_sessions,
Browser, headless, client_profile_set){
if(clean_start){
unlink(get_selenium_storm_storr_base_path(), recursive = T, force = T)
}
if(missing(num_sessions)){
num_sessions <- ... |
f39c547043ef917edd1a82ebbe034adecb9deb97 | e37254e0684b7e2bd4d5f82917b0754497d89fe0 | /R Programming/Assignment 1/rprog-data-specdata/corr.R | 4c5e6df6b1705f66a3c8050494d6d1e0380c6a3f | [] | no_license | fformenti/Johns_Hopkins_University | baa9be67b8c1b61eb89dab7a49e1d013c4171356 | 7af1bc74c193e5cb16ec4ae7c79ad7fde0aef23d | refs/heads/master | 2020-06-09T05:09:36.704327 | 2015-03-03T02:11:14 | 2015-03-03T02:11:14 | 28,513,992 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 521 | r | corr.R | ## Assignment 1
corr <- function(directory, threshold = 0) {
filenames <- list.files(directory, pattern="*.csv", full.names=TRUE)
data <- lapply(filenames, read.csv)
v.corr <- c()
for (i in 1:length(data)) {
tmp <- data[[i]]
tmp <- tmp[!(is.na(tmp$Date)) & !(is.na(tmp$nitrate)) & !(is... |
85e3eac556df0ced5586bce5240950e628c2e1a9 | 5b0d2c2a017d2d765873ca15dddabd93fccc5539 | /helper_functions.R | 06980dd33aa784e01552a35c24140aa11ed718bf | [] | no_license | certara/covid19epi | 92d3772f7790079f8f0b38d7fd06b59130ba6855 | 444b3c46db516107987ef1fb04f5143143ebc71c | refs/heads/master | 2021-05-22T15:07:48.020855 | 2020-05-12T20:37:09 | 2020-05-12T20:37:09 | 252,975,571 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 224 | r | helper_functions.R | # https://stackoverflow.com/questions/21011672/automatically-add-variable-names-to-elements-of-a-list
listN <- function(...){
anonList <- list(...)
names(anonList) <- as.character(substitute(list(...)))[-1]
anonList
}
|
dcbaeca9d564be6a64f22d1f4d82c8ab82ef6a26 | 29585dff702209dd446c0ab52ceea046c58e384e | /pla/R/jitterSteps.R | e3cd597705218392c9b950e0da99b0e3aef0d3d1 | [] | 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 | 1,021 | r | jitterSteps.R | jitterSteps <-
function (dataFrame)
{
iSample <- as.numeric(unlist(dataFrame["Sample"]))
Z <- unlist(dataFrame["Z"])
delta <- max(Z) - min(Z)
nrows <- length(Z)
Response <- unlist(dataFrame["Response"])
o <- order(iSample, Z, Response)
do <- dataFrame[o, ]
... |
b57706911c62c20c632bbd7a530514090afa9b4e | 7b73a971dfdb07a7683f93967d2e12b73167d6fd | /man/Rbc1.Rd | 00b390396d6200e9efc49da960cc81b73141d0c0 | [] | no_license | yiransheng/bcprocs | b782d6ab59a8a755eb423fd72454d1928b4e87d1 | a0a16bf1a4babef021b4625ce3aa4f2bafbb9ead | refs/heads/master | 2020-12-25T19:03:49.958994 | 2015-04-22T15:59:48 | 2015-04-22T15:59:48 | 34,399,336 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,518 | rd | Rbc1.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/2.1_Rbc1.R
\name{Rbc1}
\alias{Rbc1}
\title{S3 Class constructor for Rbc1 procedure}
\arguments{
\item{k}{number of treatments}
\item{n}{number of maximum observations to take from each treatment}
\item{c}{design parameter c, cutoff ... |
d8465a43f3ecd1d748e563494d4ac550d4bb6fa8 | a600aadd04129c95e24d5d0a2a90cb130f01efe5 | /Exercises/05_business_model.R | 36fd251ae964a5511f53bf47251739a50d54824a | [] | no_license | fpgmaas/shiny-tutorial | a3daf27354b3a47b120ae13c4d49df3e00d4cf81 | b0403c3721cd1ee21c2f62dff93aaa156d02134a | refs/heads/master | 2021-09-18T15:18:31.637491 | 2018-07-16T07:15:42 | 2018-07-16T07:15:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,146 | r | 05_business_model.R | # Xiaowen has a new business model! She will just buy 10 new houses and rent them all out.
# However, she is unable to choose which houses to buy. Therefore, she develops an application
# that helps her narrow down her search.
# She think the city, the amount of bedrooms and the amount of baths is very important.
# The... |
25908989162ce8eb746fb69c9d112cbbb4f1a78a | d008d74a9c473ca61b96923409811ccb47b96406 | /man/chl.pal.Rd | 86a470fd49f7845b304ed0a84109f3a81c40f108 | [] | no_license | AustralianAntarcticDivision/raadtools | 0246d25a1480888780aa23ea27c1f9985bdaafa0 | d8cc9c553f52e4b5a14c7f2fd738d5bc1318c304 | refs/heads/main | 2023-07-24T23:03:01.099186 | 2023-07-07T01:28:52 | 2023-07-07T01:28:52 | 34,773,324 | 19 | 5 | null | 2023-03-14T10:06:42 | 2015-04-29T05:00:19 | HTML | UTF-8 | R | false | true | 1,661 | rd | chl.pal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datapal.R
\name{chl.pal}
\alias{chl.pal}
\title{Ocean colour colours for chlorophyll-a.}
\usage{
chl.pal(x, palette = FALSE, alpha = 1)
}
\arguments{
\item{x}{a vector of data values or a single number}
\item{palette}{logical, if \code{TRUE}... |
5365610f7f10b7e26ac6e7e9652c7f60543a7a5e | 2e32c18fefc3daadb2bbd25ab40c888b1e21ad68 | /carga fitxero.R | d2d253776fe77290b91b7f7694930fa69180b151 | [] | no_license | ceciliabilbao/Archivos_examen_ds | f992b1ff856a8034fb9b5cc9db7b9d42428be0eb | efeea8e4e0556fa0b44b515e681a2e29e2bdfee3 | refs/heads/master | 2022-08-25T09:48:35.434641 | 2020-05-22T09:05:34 | 2020-05-22T09:05:34 | 266,036,969 | 0 | 1 | null | 2020-05-22T06:36:25 | 2020-05-22T06:36:24 | null | ISO-8859-2 | R | false | false | 1,032 | r | carga fitxero.R | library(stringi)
library(stringr)
library(rebus)
library(dplyr)
setwd("C:/Users/cecil/OneDrive/BUSINESS DATA ANALYTICS/PRIMERO/DATA SCIENCE/RETO 4/EXAMEN DS/Archivos_examen_ds")
load("muestra10.RData", envir = parent.frame(), verbose = FALSE)
dim(muestra10) #dimensiones 335686 3
colnames(muestra10)
#cambiamos n... |
d18c3bb98cfba2b528dc524592d862f95f0fe41f | dc7549847fa8fe32a2d3e0d181ed2fd2c4030144 | /man/meStack.Rd | 70c58bd449fd3ddd50215227238ecc6617c9b115 | [] | no_license | RRemelgado/CAWaR | 5e312fa7ad6f72ae21c1f9e55cc0f53e1426b2ad | 7536d06ce5073b9b686263871135add46adca8b1 | refs/heads/master | 2021-07-14T19:58:47.962666 | 2020-06-04T11:18:34 | 2020-06-04T11:18:34 | 141,430,724 | 2 | 2 | null | null | null | null | UTF-8 | R | false | true | 2,190 | rd | meStack.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/meStack.R
\name{meStack}
\alias{meStack}
\title{meStack}
\usage{
meStack(x, y, z, agg.fun = mean, derive.stats = FALSE)
}
\arguments{
\item{x}{A \emph{list} of \emph{RasterLayer} objects or a \emph{character} vector with the paths to \emph{ra... |
6f3232ef84ed024665074293f7fa7caf280d0d1c | 3e020c520418157c0c408c7496cd6ed2d7b2ebb3 | /src/Mapping/Teen_Birth_mapping_new.R | 95c21365ac89922f42ef4f19cebdfaf709ffaa8d | [] | no_license | DSPG-Young-Scholars-Program/dspg20halifax | c5e390345fe69696f58686496540f806679ce866 | 2206402db3fded94830cfe40611c067e68d0ab1c | refs/heads/master | 2022-12-20T16:34:58.563462 | 2020-09-23T12:00:01 | 2020-09-23T12:00:01 | 271,644,345 | 1 | 1 | null | 2020-08-03T13:50:08 | 2020-06-11T20:50:51 | HTML | UTF-8 | R | false | false | 2,976 | r | Teen_Birth_mapping_new.R | library(sf)
library(sp)
library(leaflet)
library(dplyr)
library(BAMMtools)
library(here)
library(leaflet.extras)
#Counties_VA_geometry <- st_as_sf(VA_counties) %>%
# mutate(County = NAME) %>%
# select(GEOID, NAME, NAMELSAD, geometry)
#Teen_Births_VA <- Teen_Births_VA %>%
#select(State, County, "BirthRate2018", "B... |
ef5a91f08f22bd5f3ebb22e61e7e5501d9f2ceab | eac1c073635a0f79349c27fb431d816fc3cb2662 | /man/make_regional_plot.Rd | 0510f9974a9ff96257cae1526776de1d2c72394a | [] | no_license | manning-lab/WGSregionalPlot | 8e39cc4d44514975ab1de7b65acac99e57f6913c | e02a77daeed78db95da5d7647bea9aa01d2d1c1f | refs/heads/master | 2020-07-04T17:44:52.333954 | 2019-08-29T15:55:26 | 2019-08-29T15:55:26 | 202,359,297 | 0 | 0 | null | 2019-08-29T15:54:35 | 2019-08-14T13:45:03 | R | UTF-8 | R | false | true | 2,735 | rd | make_regional_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_regional_plot.R
\name{make_regional_plot}
\alias{make_regional_plot}
\title{Generate a regional plot from summary statistics for a desired interval}
\usage{
make_regional_plot(chr, start, end, variant_data, variant_chr_column,
variant_... |
c94e372d971870287cbe92a5a398002c23663b72 | 3f1d3eff34ed84b974cf3c8c7c5538e46864d046 | /EA_VDT_EHR_Variance.R | 3fc0dc4061e0426851130355b397a50d6edc71b7 | [] | no_license | Lwylie/DocGraph_MU_Analysis | 1f036a804b572d4bdfae7e96a4eb5699545cde61 | 50652e975ddcbade6268a8d7bfb1343ae3240d3e | refs/heads/master | 2016-09-06T15:52:03.577692 | 2015-08-03T19:31:02 | 2015-08-03T19:31:02 | 40,132,997 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,330 | r | EA_VDT_EHR_Variance.R | #Load relevant libraries
library(ggplot2)
#Load datasets into dataframes
S1EP <- as.data.frame(read.csv("G:/Learning/FredTrotter/MU_EHR_result_replication/view_for_stats_S1_EP.csv"))
S1EH <- as.data.frame(read.csv("G:/Learning/FredTrotter/MU_EHR_result_replication/view_for_stats_S1_EH.csv"))
S2EP <- as.data.frame(rea... |
bb6773d7c6d22592389ea938883bd9afa27773db | 0340f7072487228935286537b4590468cb852588 | /man/hotspots.Rd | c229eaf3d455130952d3e83d16072f0380abceb3 | [] | no_license | AMBarbosa/DeadCanMove | b4007db56ea38c3259e63a485b467811e07d1f85 | a5182facd759e5624dd5a228d5c8cf37e638d126 | refs/heads/master | 2021-11-11T15:06:07.326845 | 2021-11-02T17:51:39 | 2021-11-02T17:51:39 | 237,043,280 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,409 | rd | hotspots.Rd | \name{hotspots}
\alias{hotspots}
\title{
Calculate roadkill hotspots
}
\description{
This function identifies the hotspot regions in a dataset, or in a submatrix compared to the total dataset, using an adaptation of the method of Malo et al. (2004).
}
\usage{
hotspots(dataset, submat = NULL, region.column,
subsampl.co... |
4a50f62090d24971bac549f0d374ff458c2abe2d | bb54736aa1405caeddff2b0e0766026b15a51fe8 | /tests/testthat.R | 054a6d695359b93338100fdcc3577dcdaf0a72e5 | [] | no_license | bprs/RSvgDevice | df74e12a7db7f10cf82e27bf1af798458721843b | 2aacb62948494ce86e709e2db5b8b59824e97361 | refs/heads/master | 2021-01-21T02:40:36.353955 | 2015-10-10T01:40:27 | 2015-10-10T01:40:27 | 43,988,381 | 0 | 0 | null | 2015-10-10T01:38:25 | 2015-10-10T01:38:25 | null | UTF-8 | R | false | false | 64 | r | testthat.R | library(testthat)
library(RSvgDevice)
test_check("RSvgDevice")
|
5bfee67a6db23b182541a23b21a76513b2e55ad3 | 8d3a51881b0f757a4bc8eb2f7f87685c77acfab6 | /tests/testthat/test-religion.R | e3ff7a86bd1ee5a2e4105deacd5cb4994734dc70 | [] | no_license | cran/wakefield | 679968f83c3c889616941569afa303156585d67b | 734a76be93f1df21651312ff2bbf7ba7288bc4f4 | refs/heads/master | 2021-01-15T15:25:42.747684 | 2020-09-13T16:30:02 | 2020-09-13T16:30:02 | 48,091,046 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 70 | r | test-religion.R | context("Checking religion")
test_that("religion ...",{
})
|
184614713f7802b3d9625a4b3f7bb5d2219d6c72 | 9d218bfb19e09ccb58317f18888e58c151f7d93e | /Assignment 2.R | 463a0cf9cfda3b358c6fdd61a4b9eeb871256984 | [] | no_license | Lukebalaj/BIS244-Lukebalaj | fde9a7e5f4a1b7cd0e1eb27eef8bbb87f67e74fd | a7e5e6ba127db4b8c073cdfcd18d4c70a28d7073 | refs/heads/master | 2022-12-17T17:54:58.952609 | 2020-09-27T18:08:59 | 2020-09-27T18:08:59 | 297,713,840 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 566 | r | Assignment 2.R | library("tidyverse")
#set working directory
setwd("~/Documents/BIS244/BIS-244-balajluke/COVID-19_Project/covid-19-data")
US <- read_csv("us-states.csv")
#filter for just PA
pa_data <- filter(US, state == "Pennsylvania")
pa_data <- mutate(pa_data, adj_deaths = deaths)
n <- length(pa_data$date)
for (i in 1:n){
if (pa... |
b041fe442ede260fe2096b5f6a44788423406f70 | 4b29eff6d4b18ebffa3a4a85e641c3bef53ee898 | /Verification/maps_urban_areas.R | 10a7b05f83bb10a793b99e7d9d53b45f934656d8 | [] | no_license | pejovic/Spatialization | 206e0ea080bf6fe025ea4ce128ba0c3e14fec914 | bd5ed22e896cb68b318a529dc13c44a6231b6436 | refs/heads/master | 2023-05-02T14:42:09.069365 | 2021-05-28T11:46:29 | 2021-05-28T11:46:29 | 218,220,959 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,285 | r | maps_urban_areas.R | library(tidyverse)
library(sf)
library(readxl)
library(ggpubr)
library(ggfortify)
library(here)
library(knitr)
library(kableExtra)
library(DT)
library(mapview)
library(rgdal)
library(SerbianCyrLat)
library(stringr)
library(classInt)
library(viridis)
library(gridExtra)
library(ggspatial)
my_theme <- function(base_size ... |
7602e6ed7b9cda73f4866a93809b8fe1a3e783a2 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkTreeViewCollapseAll.Rd | 974884299fef1fb42fe549b456e19f8502e6aeef | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 350 | rd | gtkTreeViewCollapseAll.Rd | \alias{gtkTreeViewCollapseAll}
\name{gtkTreeViewCollapseAll}
\title{gtkTreeViewCollapseAll}
\description{Recursively collapses all visible, expanded nodes in \code{tree.view}.}
\usage{gtkTreeViewCollapseAll(object)}
\arguments{\item{\verb{object}}{A \code{\link{GtkTreeView}}.}}
\author{Derived by RGtkGen from GTK+ docu... |
c94126bf7412df83750a4852d58ec75066db75b1 | 97c2cfd517cdf2a348a3fcb73e9687003f472201 | /R/src/QFFX/R/FXConvertOptionTriToUSD.R | 080049a36657d99c9eed980f96ee5a28489cb1ff | [] | no_license | rsheftel/ratel | b1179fcc1ca55255d7b511a870a2b0b05b04b1a0 | e1876f976c3e26012a5f39707275d52d77f329b8 | refs/heads/master | 2016-09-05T21:34:45.510667 | 2015-05-12T03:51:05 | 2015-05-12T03:51:05 | 32,461,975 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 728 | r | FXConvertOptionTriToUSD.R | setConstructorS3("FXConvertOptionTriToUSD", function(...)
{
this <- extend(RObject(), "FXConvertOptionTriToUSD")
this
})
setMethodS3("convertLocalCcyTri","FXConvertOptionTriToUSD",function(this,fxCurr,tenor,putCall,rebalPeriod,rebalDelta,...)
{
CurrInst <- FXConvertOptionTriToUSD()
ccy <- past... |
0dd935e2192cd456be5280bd417fd763ed879438 | 3f46036e845eb9c69a137beaa04305bc56dc3e3a | /Aula2/Ex1Sida.R | 356916bdccc7b184bda2458e1d80ae982690f58e | [] | no_license | natawild/Analise-de-Clusters | a51261cedcb184b983f298b24461563ba891ac58 | a98f17fe52353a64d1d143f207f7fdac1ac18e59 | refs/heads/master | 2022-11-04T17:58:17.199833 | 2022-10-26T10:40:38 | 2022-10-26T10:40:38 | 211,271,289 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 832 | r | Ex1Sida.R | #criar um vetor com os valores dos nrs de casos de SIDA
x=c(38.3, 6.2, 3.7, 2.6, 2.1, 14.6, 5.6, 3.7, 2.3, 2.0, 11.9, 5.5, 3.4, 2.2, 2.0, 6.6, 4.6, 3.1, 2.2, 1.9, 6.3, 4.5, 2.7, 2.1, 1.8)
#calculo da media
media=mean(x)
media
#calculo da mediana
mediana=median(x)
mediana
#a mediana é menor que a média, isto sig... |
31d8f07ccdeb17d88863fece62a8799eb29cdadb | 895510ce5c4585b8efeb6b1df22170b9a3909dd2 | /src/main.R | eb93208c90c1fbb8bc3b34ad2c51f656ba8f328d | [] | no_license | Jieatgit/decode_brain_signal_MS_Azure_ML_Competition | a5fcb2a767f83a7c1d66ea2be77a9075cebb727b | 7199b416635e8ac79ad31b6332f5cb670dbc52c9 | refs/heads/master | 2021-01-20T20:10:55.033736 | 2016-07-06T22:37:45 | 2016-07-06T22:37:45 | 62,414,104 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,737 | r | main.R | ### set environment
srcDir <- "/Users/Jie/decode_brain/src3/"
dataDir <- "/Users/Jie/decode_brain/datasets/"
setwd(srcDir)
source(paste(srcDir, "models.R", sep=""))
source(paste(srcDir, "data_processing.R", sep=""))
### load data, data is downloaded from
# http://az754797.vo.msecn... |
80b5294e61e8d396758cc7e015a83bf61941ac60 | 6d0143324fff5a20522701cb53a147f771e8c50b | /man/ga_custom_datasource.Rd | 16c61933b6414c10f90a213993a0c3dae975b6cb | [] | no_license | gofullthrottle/googleAnalyticsR | b582ab7a267c57b11f197ae5a35bbb9a47de2918 | 1f2853d2fab830a4a869d93448ba8d8919797fa8 | refs/heads/master | 2020-06-01T00:41:56.219006 | 2019-05-21T09:32:33 | 2019-05-21T09:32:33 | 190,563,576 | 1 | 0 | null | 2019-06-06T10:34:24 | 2019-06-06T10:34:24 | null | UTF-8 | R | false | true | 771 | rd | ga_custom_datasource.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/custom_data_source.R
\name{ga_custom_datasource}
\alias{ga_custom_datasource}
\title{List Custom Data Sources}
\usage{
ga_custom_datasource(accountId, webPropertyId)
}
\arguments{
\item{accountId}{Account Id}
\item{webPropertyId}{Web Propert... |
f3ca64a8e95b7aa39047b2f9a50f9db38f63817a | ca854c674cadd8aec00f8690bcb1bf3ee3fc7cac | /SDM/dev/99.model.list_delete.lessthan10.r | 7025df9e5df3ba1caf3104891cb4f789c777bd20 | [] | no_license | LaurenHodgson/CliMAS-R | 4fc697d30707b91c8f1eb12b0e2a4bece0502862 | f59d8af3527cfebbb59d0618ad47e922d740c6c9 | refs/heads/master | 2021-01-23T14:46:40.074709 | 2013-01-08T05:53:39 | 2013-01-08T05:53:39 | 7,125,069 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,336 | r | 99.model.list_delete.lessthan10.r |
library(SDMTools)
taxa=c('amphibians','reptiles','mammals')
actionlist=NULL
for (tax in taxa) { cat(tax, '\n') #BUT RUN EACH TAXA SEPERATELY, POSSIBLY BREAK IT UP MORE!
work.dir=paste('/scratch/jc148322/AP02/',tax, '/models/',sep="")
species = list.files(work.dir) #get a list of species
taxa.action=matrix(NA,nr=len... |
821d84f28a67dd5213c5e76b879e977d00d8c253 | f1971a5cbf1829ce6fab9f5144db008d8d9a23e1 | /packrat/lib/x86_64-pc-linux-gnu/3.2.5/rbokeh/tests/testthat/test-figures.R | 8f1dd09577398bc0bf0a19cf6f23c5e2b887bf4d | [] | no_license | harryprince/seamonster | cc334c87fda44d1c87a0436139d34dab310acec6 | ddfd738999cd302c71a11aad20b3af2f4538624f | refs/heads/master | 2021-01-12T03:44:33.452985 | 2016-12-22T19:17:01 | 2016-12-22T19:17:01 | 78,260,652 | 1 | 0 | null | 2017-01-07T05:30:42 | 2017-01-07T05:30:42 | null | UTF-8 | R | false | false | 24,242 | r | test-figures.R |
## difficult to test what the plots actually look like
## currently just run a wide variety of things and make
## sure there are no errors in creating or preparing
## then we can use widget2png and inspect the phantomjs output
## if there is anything output, it means there has been an error
fname <- ifelse(Sys.info()... |
1fa761a9f27a18f4853c75a9b4a6b1f83451343c | 587b6ad96d000e7e70b2a64f8e1beaf9a9758722 | /server.R | 1bdf2bb5a96e6f851c56b5e8ea2810a1e4b1f5db | [] | no_license | Deleetdk/discretization_relative_risk | 392a96f7b1b76aea95e0d297b02c01d5cdcd7e23 | c43db8175d6a02bcd9c6dab06db44f08452c1c4a | refs/heads/master | 2021-08-08T09:52:24.748056 | 2020-06-12T22:49:11 | 2020-06-12T22:49:11 | 41,199,395 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,431 | 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
#
#functions
#returns the beta of the error variance
get_error = function(beta) {
beta_var = beta^2 #sq. beta to get % var accounted for
remain_var = 1 - beta_v... |
46c1c521382b1f47cc96b458b08633a1dcd41250 | 01b256a70928c19af6a939c88facf5992429cdda | /jaccard_vertex.R | 5a3bb54b8823ddf7b6409330f02903a25373074d | [] | no_license | labio-unesp/Bioinfo | 5a9a0bab6f4ccbbdbc5c7e6a989ad2efa54e49bf | a2e63dfdd22de4a08d7da4736c557f6e8819151a | refs/heads/master | 2020-06-14T21:29:29.535233 | 2020-05-17T16:09:31 | 2020-05-17T16:09:31 | 195,131,368 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 165 | r | jaccard_vertex.R | jaccard_Vertex <- function(g1,g2){
vA <- vertex_attr(g1)[[1]]
vB <- vertex_attr(g2)[[1]]
jV <- length(intersect(vA,vB))/length(union(vA,vB))
return(jV)
}
|
002b187d2bf044c2db373f47bf4fe98a8f110778 | 90613c1a502a34ecbe3901237c8720d98cfa7e8e | /R/Mloglikelihood.R | 35b5f7fabce536e728f4a75e146b96b85063cd46 | [] | no_license | cran/parfm | 48345c471ca26c6000d72dbe10b8446a63b5ca01 | da8a1afaed7160d0b3ed3b254be27c015e52ba9b | refs/heads/master | 2023-01-24T09:09:45.168377 | 2023-01-17T21:40:02 | 2023-01-17T21:40:02 | 17,698,226 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 14,006 | r | Mloglikelihood.R | ################################################################################
# Minus the log-likelihood #
################################################################################
# ... |
79dcd76a7aa4c2f574e7bb72f269b9166a3d72f8 | fd209674700df159667bddb6d63b88d7d66947c2 | /man/dummy_mod_onLoad.Rd | 8680af414f980f4ccb10a328f77f17066b434f35 | [] | no_license | shambhu112/shinyspring | 2b4677a8396843970af997a51dc6866fa5d33a25 | 8ea4306c6c196c66285c75fe496ddbbb90822612 | refs/heads/master | 2023-06-14T23:29:32.959454 | 2021-07-07T15:43:46 | 2021-07-07T15:43:46 | 373,526,842 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 336 | rd | dummy_mod_onLoad.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dummy_mod.R
\name{dummy_mod_onLoad}
\alias{dummy_mod_onLoad}
\title{onLoad for Dummy Mod}
\usage{
dummy_mod_onLoad(control, params)
}
\arguments{
\item{control}{the controller \code{app_master}}
\item{params}{for the mod}
}
\description{
A ... |
5994b284dc651d4b759c24d06ddf5bd33fa8cec4 | 068ee9d6621002cdd89ee782ccc3ae09bcb3a3d3 | /uvoz/uvoz.r | 3b73b3e6f700c6d1569f1ce4b51c9f1fc2129e23 | [
"MIT"
] | permissive | PirnovarA/APPR-2015-16 | 54119b9dbebf72b7ee6afd46644668a979b12342 | 02d355446dfccd9f8af30334648ebb409c6987b9 | refs/heads/master | 2020-12-28T07:00:37.640291 | 2016-03-01T22:15:16 | 2016-03-01T22:15:16 | 45,528,489 | 0 | 0 | null | 2015-11-04T09:28:23 | 2015-11-04T09:28:23 | null | UTF-8 | R | false | false | 3,965 | r | uvoz.r | # 2. faza: Uvoz podatkov
source("uvoz/funkcije.r", encoding = "UTF-8")
### National and states ##################################################################
source("uvoz/uvoz_national.r", encoding = "UTF-8")
### Mean per capita in States ######################################################################
#Uvoz... |
23d84d857c2ad1abee862577417413ebea79a3df | f0352034f8467e2c82a31443ae6e3125039879ac | /R/AllClassesCE.R | 1dc73bc188f7bddc38b00e3433ef9519c2404cf1 | [] | no_license | epurdom/clusterExperiment | 8d5d43a250a1a3c28d4745aae4b72285458ba1a2 | ae86ee09697c13ccd5d32f964e28ab7d82b455d6 | refs/heads/master | 2022-11-04T01:54:19.806886 | 2022-10-11T22:00:27 | 2022-10-11T22:00:27 | 47,139,877 | 39 | 15 | null | 2021-01-27T21:26:28 | 2015-11-30T19:06:53 | R | UTF-8 | R | false | false | 17,677 | r | AllClassesCE.R | #' @include AllChecks.R
#' @importClassesFrom HDF5Array HDF5Matrix
#' @importClassesFrom DelayedArray DelayedArray DelayedArray1 DelayedMatrix RleArray RleMatrix
#' @importClassesFrom phylobase phylo4 phylo4d
#' @rawNamespace import(phylobase, except = plot)
#' @import Matrix
setClassUnion("matrixOrMissing",members=c("... |
3b11f791030d572674bae5b6a55fd8e1a49cb19e | ccbd480a014d0aa3e3a7829e492e459aa703cedf | /tests/testthat/test_nas.R | 77bf1c97adc2c5b0c4d52320f13571ede608bc3e | [] | no_license | gaaj1980/dataprep | 123a42e629faf7f056d976d7060aa25b322e7286 | ad22c4ab20d4a08702274bda0b68f37e67b847ac | refs/heads/master | 2020-09-16T08:10:07.159789 | 2017-06-16T00:14:26 | 2017-06-16T00:14:26 | 94,486,588 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,659 | r | test_nas.R | #importing packages
library(dataprep)
library(testthat)
context("Preprocess NaN rows")
nadf <- startupssmall
nadf[2,1] <- NaN
nadf[3,2] <- NaN
nadf[4,3] <- NaN
nadf[6,3] <- NaN
nadf[7,5] <- NaN
test_that("Removes NaN rows",{
current <- preprocessNaN(nadf, naBehavior = 0)
expect_equal(length(current[,1]), 45)
e... |
f5df06a1bb23215b841ac1707af0de22da03648b | bad132f51935944a52a00e20e90395990afd378a | /tests/testthat/test_ISOSpatialTemporalExtent.R | de240a803070be49121668260c3e2ba92c3c0479 | [] | no_license | cran/geometa | 9612ad75b72956cfd4225b764ed8f048804deff1 | b87c8291df8ddd6d526aa27d78211e1b8bd0bb9f | refs/heads/master | 2022-11-10T21:10:25.899335 | 2022-10-27T22:45:13 | 2022-10-27T22:45:13 | 92,486,874 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 910 | r | test_ISOSpatialTemporalExtent.R | # test_ISOSpatialTemporalExtent.R
# Author: Emmanuel Blondel <emmanuel.blondel1@gmail.com>
#
# Description: Unit tests for ISOSpatialTemporalExtent.R
#=======================
require(geometa, quietly = TRUE)
require(testthat)
context("ISOSpatialTemporalExtent")
test_that("encoding",{
testthat::skip_on_cr... |
c1163e688717063011c29e6771102f6f0949915f | edc5010116e09e7c9305dfb5574f259535f191f6 | /InvestigationsDashboard/server.R | fed6ccaf698d213d9d98ef57bd6b54c40b75538d | [
"MIT"
] | permissive | davidmeza1/KA_Interns | 18341faa06ec28f09a7942096977fa1d8a75b894 | a20d723f3029e851a7233dc23bd0cc29d3b4d338 | refs/heads/master | 2020-05-21T17:39:50.759995 | 2017-01-05T15:49:44 | 2017-01-05T15:49:53 | 64,764,165 | 0 | 1 | null | 2016-12-14T15:05:31 | 2016-08-02T14:31:35 | HTML | UTF-8 | R | false | false | 1,287 | r | server.R | server <- function(input, output, session) {
## Tab 1 --------------------------------------------------------------------
source("tab1/server.R", local=TRUE)
## Tab 2 --------------------------------------------------------------------
source("tab2/server.R", local=TRUE)
## Tab 3 ---------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.