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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5c204446db3b07a6e14ed50f58855e94f1c32b64 | 5f3198e36d7c42b0ed15e1e364a7bc3b3e00652e | /man/plotTemporal.Rd | f8e1c4bed32b406f4ddc3b750e5a4abe0245b93a | [] | no_license | cran/scalpel | f6a2eeca848d9f793810754400de0059ccaa5bda | 5ed5b98cfd326688c8bdabfdd8d487a83e807768 | refs/heads/master | 2021-06-26T13:05:04.209432 | 2021-02-03T04:30:02 | 2021-02-03T04:30:02 | 84,911,225 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,565 | rd | plotTemporal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SCALPEL_graphics.R
\name{plotTemporal}
\alias{plotTemporal}
\title{Plot temporal components from Step 3 of SCALPEL.}
\usage{
plotTemporal(
scalpelOutput,
neuronsToDisplay = NULL,
colVec = NULL,
ylab = "",
title = "",
fileName = NU... |
7e519e67fc6604d8decf7c98f5224165bf76cd3b | 3b361820e93c9cbaa7e740b6edbf13c03a1cfcce | /man/DCML.Rd | faacad9feb2a18c366835eacd4b926e8c9773ef2 | [] | no_license | msalibian/RobStatTM | f8dabc88197be2460f1ba4c95b595e95ff53c1e9 | d542c29816d50889f25649817e3ae5de08946141 | refs/heads/master | 2023-05-14T08:42:27.747789 | 2023-05-09T17:08:37 | 2023-05-09T17:08:37 | 83,067,068 | 14 | 7 | null | null | null | null | UTF-8 | R | false | true | 1,287 | rd | DCML.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DCML.R
\name{DCML}
\alias{DCML}
\title{DCML regression estimator}
\usage{
DCML(x, y, z, z0, control)
}
\arguments{
\item{x}{design matrix}
\item{y}{response vector}
\item{z}{robust fit as returned by \code{\link{MMPY}} or \code{\link{SMPY}}... |
a448de5b762f50fe3b6b4f726e990f567f031cc9 | 6ca362731c11fc3c6db6ff2bb0852be4c3f9fba3 | /code/nc_matrix.R | 0dfe8722c69422d035181ad531cca4d151713fb0 | [] | no_license | willofbigdata/real_estate | 50d817b2e85cbc3a80edfb3f0f25bcde7d93877e | 47ee4c967bc25bf8ea650b36560dcef163799347 | refs/heads/master | 2021-01-22T03:49:19.779268 | 2017-07-30T23:18:56 | 2017-07-30T23:18:56 | 92,406,083 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,834 | r | nc_matrix.R | # Functions
# Load all dependencies
load_all_deps <- function(){
library(pryr) # memory usage
library(ggplot2) # visualization
library(pscl) # model diagnostics
library(ROCR) # classifier performance evaluation
library(caret) # training and evaluating models
library(nnet) #... |
7da7a0e40a73d51922ff53eb23bdb114e08880fc | dab62b87e34527f27179b2342268bcd86fddf0ee | /karban-sage-analysis.R | 122bc6f65b71da0ab5642c0c38db521dfdc575de | [] | no_license | wcwetzel/Karban-sage | 81304878c64a28d0d3dfaa6c62f9debf4a68924e | 4fe4a6e3f17710dd4e5b23922523ba6e8956f268 | refs/heads/master | 2021-01-22T06:48:54.838406 | 2012-08-02T14:14:52 | 2012-08-02T14:14:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,359 | r | karban-sage-analysis.R | # Analysis of Karban's damage experiment
# 25 May 2012
library(gstat)
library(sp)
library(lme4)
library(bbmle)
library(spdep)
#library(rgl)
library(arm)
library(rethinking)
library(RANN)
library(pgirmess)
d = read.csv("/Users/will/Documents/Analysis for colleagues/Karban - Damage Neighbors/Sage99plants2011.csv")
# C... |
f478fd1f51397cb50525483b36936968276eee55 | cd0b0c9d78902b7721836626c5bb4a244903c7da | /man/ps_adjust_one.Rd | f021e11718883eb967d6b8a5df099ed2408da743 | [] | no_license | Zoe187419/adapt4pv | 1ebd7dad2a91dbff9ad3f77dc60b2334a6947537 | f1efa05aed71803b315b5810840a66a1b1b99499 | refs/heads/master | 2022-11-10T18:07:11.167386 | 2020-06-24T08:40:07 | 2020-06-24T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,374 | rd | ps_adjust_one.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ps_adjust_one.R
\name{ps_adjust_one}
\alias{ps_adjust_one}
\title{adjustment on propensity score for one drug exposure}
\usage{
ps_adjust_one(ps_est, y)
}
\arguments{
\item{ps_est}{An object of class \code{"ps", "*"} where \code{"*"} is
\code... |
2633c2681a9cc0079c75aeebe7abe769e8ede33d | 63aed5902db665db34aee375a66723d76aae939e | /DDPcourseProject/ui.R | d0bac3f1f510d8f995f10cb0cc053150051cce12 | [] | no_license | dudinhadnm/DevelopingDataProductsProject | ae21d4c8d9afbb9e638922a3f75e06f467b68f17 | d54c34451454c07db990763b75d68e685c0a4df8 | refs/heads/master | 2023-07-08T23:10:12.911261 | 2021-07-22T18:07:38 | 2021-07-22T18:07:38 | 388,553,588 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,142 | r | ui.R | library(shiny)
shinyUI(fluidPage(
tags$head(
# Note the wrapping of the string in HTML()
tags$style(HTML("
body {
background-color: #D3D4D9;
color: black;
}
h2 {
font-family: 'Yusei Magic', sans-serif;
color: #A0097D
}
h3 {
font-f... |
17d826232a37c9fa71713ced31693566783cba1c | dbd7eca50cbbd581ed88e85fc7a66e283ee05e61 | /R/figures_report.R | 05a3e73a37bd3e39b1e4f8de49fb1428f523fa12 | [] | no_license | timriffe/covid_eus | d06c71d1ae9eef69a340225c4d760bc90e6fd7a0 | 9dd2ca513a2b24b0cd94903682478cf141699bfb | refs/heads/master | 2023-06-20T00:25:50.077197 | 2021-07-14T08:51:31 | 2021-07-14T08:51:31 | 368,883,427 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,926 | r | figures_report.R |
# packages needed
library(tidyverse)
library(ggridges)
library(lubridate)
library(cowplot)
# someo data prep for the visualizations
covid <- readRDS("Data/data_ccaa.rds") %>%
filter(!is.na(tasa),
# data cutoff declared for reporting
fecha <= dmy("30-06-2021")) %>%
arrange(CCAA, variable, sexo... |
de3a3ab8f63d7e24fbb56cc516c2866e0587099d | 8a45e52ffb27ba07fcd00211b5c7794b718423d0 | /tests/testthat/test-package.R | 5453836a5a68177adb7d514645bc917c1ae74807 | [
"MIT"
] | permissive | patrickgtwalker/dust | 4aaf6c5918421e721eae4bc8d26c96bc44304e88 | e27c0d54e9bc61b4af07a34fb01c532ed88e09bd | refs/heads/master | 2023-07-13T22:19:23.432203 | 2021-08-31T14:25:30 | 2021-08-31T14:25:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,944 | r | test-package.R | context("package")
test_that("validate package", {
skip_if_not_installed("pkgload")
skip_on_cran()
path <- create_test_package()
## ensure we create these as needed
file.remove(file.path(path, "R"))
file.remove(file.path(path, "src"))
path <- dust_package(path)
expect_false(any(grepl("##'", readLines... |
91b9653ec6d9bc0c4330f9b553343d02eedd7d29 | da7ffd8f9260945bcaae8ca247a1bd3e94bf66ca | /R/create_last_level.R | 93f52dd8fb66503f43277c661307571cdeb8909c | [] | no_license | cran/cat.dt | 9b1ab82a050191b25f6dffe551639227796141ac | df3fd18a53163c30be4d50a7d56dcc73d3cddfbc | refs/heads/master | 2021-07-10T22:00:13.440144 | 2021-03-31T11:20:06 | 2021-03-31T11:20:06 | 236,568,192 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,021 | r | create_last_level.R | #' CAT decision tree last level generator
#'
#' Generates a list of node lists for the last level of the CAT decision tree
#'
#' @param nodes_prev list of node lists of the nodes from the previous level
#' @param nres vector of number of possible responses for every item
#' @param level last-level number (equals ... |
736696beccc217eb350e050a01b5997c0ae810da | ab651c03d51c95fb1847986d9b341cd658b7fc1e | /src/dataVisualization.R | 4624254f2e504ab51ec234db45418907e7d06fc3 | [] | no_license | Peterliao96/soccer-rating-prediction | 8ab68982e39755dcb3957a1bd9517e70b9de2937 | 3cf84d4c1265cf29216d5c1c210839b6835e5399 | refs/heads/master | 2020-06-15T12:42:24.055594 | 2019-08-10T23:54:11 | 2019-08-10T23:54:11 | 195,302,192 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 955 | r | dataVisualization.R | # ---
# title: "Soccer Player Rating Prediction"
# author:
# Junqi Liao 20650701
# Raymond Tan
#
#
# date: "31 July 2019"
# output: data plot
# ---
#
# Visualize the data plot and see if each player attribute has correlation to each other
library(RSQLite)
library(dplyr)
# extract the zip database file in the d... |
a888c24bda4a4ab3c2b32895792456c4e63107ba | 6eeb13bde50030420c87ca1197edb6609aab7b03 | /R/3rd class/class3_3.R | 38ea53b5a07cd61abaafc0b1dd6cf79d968c6bfb | [] | no_license | genie3933/course-materials | 81a98e206c125eb5b9e9176572c7e3585b803307 | bd99c17d1278c91ace2891bdcd6817bbcaafc970 | refs/heads/main | 2023-07-10T11:08:59.163542 | 2021-08-23T05:01:53 | 2021-08-23T05:01:53 | null | 0 | 0 | null | null | null | null | UHC | R | false | false | 5,882 | r | class3_3.R | # 정규분포의 R 함수
# 확률밀도함수 (mean=기댓값, sd=표준편차)
# mean, sd를 생략하면 표준정규분포로 계산함 (mean = 0, sd = 1)
dnorm(x, mean = 0, sd = 1)
# Excel 함수 = NORM.DIST(x, mean, sd, FALSE)
# 누적분포함수 (q=분위수)
pnorm(q, mean = 0, sd = 1, lower.tail = TRUE)
# Excel 함수 = NORM.DIST(x, mean, sd, TRUE)
# 분위수 (p=누적확률)
qnorm(p, mean = 0, sd = 1... |
4f74377c22e5975c1c59d0de009747a2894a3f32 | 8d88c70a55e053e31c5fb7c6f8e095a954b8737d | /Logistic_regression(Affairs_data).R | 2010d6aafde326d2ce5d242f2fc5ccad6744ad5c | [] | no_license | amitdivekar30/Logistic_Regresssion_by_R | 1a9baed53715a5aab0d5a1fcd90edf6f9ac3375c | bbc142e0599a3e2fa7660ebac5af369b22b30fff | refs/heads/master | 2021-04-11T11:15:07.897053 | 2020-03-21T16:29:54 | 2020-03-21T16:29:54 | 249,014,936 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,807 | r | Logistic_regression(Affairs_data).R | #Assignment on Logistic Regression
#classify that a person had an affair or not
Affairs<-read.csv("affairs.csv")
summary(Affairs)
View(Affairs)
#attach(Affairs)
# display first 10 rows of data
head(Affairs, n=10)
# display the dimensions of the dataset
dim(Affairs)
str(Affairs)
# list types for each a... |
7d7ee9639fdc2833594c8799fa0555f527c64988 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/bpcs/R/data.R | d98f6a2f61e218d19090fc66dd47a5847ebacf15 | [
"MIT"
] | permissive | 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 | 2,742 | r | data.R | #' This is the expansion of the tennis data from Agresti (2003) p.449
#' This data refers to matches for several women tennis players during 1989 and 1990
#' @name tennis_agresti
#' @docType data
#' @format This is the expansion of the data where each row contains 1 match only
#' * player0: name of player0
#' * player... |
f79a2283fd96527374cf2f51d361a4a58af3bfcf | 97a1e76db46f9876e4703fe17f1e051ce92f5a61 | /man/IGHV_Epitopes.Rd | 4f83cc4bf0706c5bcd669a83fe5c3a8fa71ee2a6 | [
"MIT"
] | permissive | snaketron/IgGeneUsage | 032a6bb379704588278c693fcc4bff3183c2c897 | 61b59ca85d612b56372aef44f2679d25c93fded6 | refs/heads/master | 2023-08-17T00:24:15.048356 | 2023-08-09T21:35:49 | 2023-08-09T21:35:49 | 193,404,464 | 15 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,070 | rd | IGHV_Epitopes.Rd | \name{CDR3_Epitopes}
\alias{CDR3_Epitopes}
\docType{data}
\title{Net charge usage in CDR3 sequences of T-cell receptor repertoires
disturbed by Influenza-A and CMV}
\description{
Data of CDR3 sequence from human T-cells receptors (TRB-chain) downloaded from
VDJdb. CDR3 sequences annotated to epitopes in Influenza-A an... |
39a9d8913da49952bca2bd003fbe86cbe39f50e1 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /distr6/inst/testfiles/C_EmpiricalMVPdf/libFuzzer_C_EmpiricalMVPdf/C_EmpiricalMVPdf_valgrind_files/1610035961-test.R | 2fe6b36428ec9cea124b7deedb5069e177e84a95 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 345 | r | 1610035961-test.R | testlist <- list(data = structure(0, .Dim = c(1L, 1L)), x = structure(c(3.79212874880738e+146, 0, 4.90512589555316e-312, 7.73866088151611e-317, 7.94285525380525e-275, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(7L, 5L)))
result <- do.call(distr6:::C_EmpiricalMV... |
c3db84ad56215c848ed17af4473c1a3b30ba770a | 29585dff702209dd446c0ab52ceea046c58e384e | /dmt/R/set.M.R | e10d1bfee9036c1392ba0864cf333605bbb56651 | [] | 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,486 | r | set.M.R | # (C) 2008-2011 Leo Lahti and Olli-Pekka Huovilainen
# All rights reserved.
# FreeBSD License (keep this notice)
# "Do not worry about your difficulties in Mathematics. I can assure you
# mine are still greater."
# - Albert Einstein
set.M.isotropic <- function (wtw, sigma.sq, dx) {
# (C) 2008-20... |
c708a3c4c0f7bda883ae7fcad1ad5bc7be38f681 | 8258ac64f4b1a6afe35c8b86e526148ba15ce4ce | /Master Thesis/R - Caprino/Caprino - Others/7. C - Rendimenti - AE.R | f82ae8df00f7ce04277530f6bddafd4af4d9b0e6 | [] | no_license | maricorsi17/University-Projects | 212bba7462068ad0da5140000acd8a24c965cc57 | f5e9e044ff17dfc47f2002759e19d8c72108f145 | refs/heads/master | 2020-04-23T17:39:21.037187 | 2019-03-02T19:16:18 | 2019-03-02T19:16:18 | 171,339,185 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 20,035 | r | 7. C - Rendimenti - AE.R | # Installare pacchetti
#install.packages("xts")
library("xts")
#install.packages("TTR")
library("TTR")
library("plotrix")
library("hydroTSM")
library("zoo")
library("RColorBrewer")
# caricare file excel
Caprino<-read.csv2(file="c:/Users/Marianna/Documents/Universita/Tesi/R - Caprino/Caprino.CSV", header=TRUE, sep=";")... |
3c70ce6e1c5681eafc7191ef266f82a78216ad3f | f0ad9522c67f563680f853bf1189f2cce9ee1375 | /R/cess.R | 0454e9dfd4ffab0951e17ed385f1ec00b6377271 | [] | no_license | LiangCZhang/Rcess | 832ae6922c2b3212f5d3768bb5099b917714e14b | 675e65f33548a36f77b73719eb514fdf965d6b40 | refs/heads/master | 2021-01-12T10:21:13.776370 | 2018-12-03T08:12:57 | 2018-12-03T08:12:57 | 76,426,857 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 13,494 | r | cess.R | #' Calculate estimates of costs and economies of scale and scope from 25 to 200 \% levels at means
#'
#' @param data The data used for calculating the estimates.
#' @param outputName A vector of strings containing the names of the independent (output) variables.
#' @param priceName A vector of strings containing the na... |
3400470ae970c401b40d544c446890e3c65a4ad5 | 59f5b12829c296943d9aa4e14ec58ec151fefc95 | /fx_stock_trading_sandbox.R | 07cc328f4c2ddf2ec1aff6d2d60d875e7c76fe0d | [] | no_license | BenjamS/Quanfin | b55cfe187bfe8fdb2ce971f8add5cd010f181578 | 4adb2f6e3d04dee95ae09035d17f4714eec36130 | refs/heads/master | 2023-08-04T08:44:20.739840 | 2023-07-24T20:47:32 | 2023-07-24T20:47:32 | 122,140,905 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 41,039 | r | fx_stock_trading_sandbox.R | library(tidyverse)
library(tidyquant)
library(patchwork)
library(lubridate)
#--------------------------------------------------------------------------------
this_folder <- "C:/Users/bensc/OneDrive/Documents/Data/Trading/"
#=============================================================================
#==========... |
991adc12b62ca84995ccd2e1515e5e32de6ac19b | 01f73fa4fd26e494ee7bf64a1f0fb310e4159491 | /map_plot.R | 53ba51eb293c848ecb1d37adcc265368de39770a | [] | no_license | xz2476/EDAV_Project_2 | dd170b0504e1e27f58358d2c7f7c8fe1bd606f8d | 892a944323007043fa547bea9f489169d472d208 | refs/heads/master | 2020-04-09T19:48:48.232574 | 2016-03-09T03:30:12 | 2016-03-09T03:30:12 | 52,036,434 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,907 | r | map_plot.R | multiplot <- function(..., plotlist=NULL, file, cols=1, layout=NULL) {
library(grid)
# Make a list from the ... arguments and plotlist
plots <- c(list(...), plotlist)
numPlots = length(plots)
# If layout is NULL, then use 'cols' to determine layout
... |
e579290096781f012aeda218a7c1e714e3702957 | a45bdb32cd9b137bc8d6744186d997a80315deb4 | /code/prepare_data/aggregate_VWC_data.R | 8cffb9f16446bbf0e51a9d5e321a32b4a3d77c75 | [] | no_license | akleinhesselink/forecast-plants | afff9bd51bd19dd37aeaed020eb84d857195874f | 272774addd8be03492f8fc095bd36a6089eaf522 | refs/heads/master | 2023-08-22T23:59:24.015321 | 2023-08-14T16:11:03 | 2023-08-14T16:11:03 | 181,106,169 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,453 | r | aggregate_VWC_data.R | #######################################################################################
#
# Setup seasonal SoilWAT variables for demographic rate models
#
#######################################################################################
rm(list = ls())
library(tidyverse)
library(zoo)
# input ----------------... |
ef32d1e7433ba3079285d6fedad6cef6f0ad8d86 | f87d3c4960a5a6b835ab16b41827c804bc6bd9db | /man/simCounts.Rd | 338d1482499b60c08c51aa58a0dfb36962107cbd | [] | no_license | XimenezJP/CeTF | 82442535eb2d76340084feb169f6e173ef17fda4 | ea5f0273726856e3841ed93b3c196cd222de1e70 | refs/heads/master | 2020-12-23T22:52:42.218493 | 2020-01-27T11:31:13 | 2020-01-27T11:31:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 443 | rd | simCounts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simCounts-data.R
\docType{data}
\name{simCounts}
\alias{simCounts}
\title{Simulated counts data}
\format{An dataframe.}
\usage{
data(simCounts)
}
\description{
Simulated counts data created using PROPER package.
This data contains 21,000 gene... |
7889f3d05f3c895e259a973d957b8a46a7f145ae | a4e972b81b458f5cccb3952484c13611d0236b0e | /findVerbs.R | db919f9651e9d540e05cdd53a7c8b8a9c4a6d01a | [] | no_license | jeroenclaes/JCmisc | 8576d7bfb70536c053b2527af54f893dd9a1b973 | d6f1e5a8d261e44edf3258b93fff275b828808e7 | refs/heads/master | 2021-01-12T14:26:12.666371 | 2016-10-07T13:57:06 | 2016-10-07T13:57:06 | 70,060,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,621 | r | findVerbs.R | #READ ME CAREFULLY!
#This script is released "as is" under the terms of the Creative Commons #Attribution-Non Commercial 2.0 Generic (CC BY-NC 2.0) license, without any #warranty. You may use them at your own risk, provided you respect the terms #of the license.
#https://creativecommons.org/licenses/by-nc/2.0/
#This ... |
48b7016a6fa0f565a082dbd255d955af76ef01bb | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.machine.learning/man/sagemaker_list_pipeline_parameters_for_execution.Rd | 2da41f7e82f0ba419f65d4e263cd6f1f8102b2d7 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,088 | rd | sagemaker_list_pipeline_parameters_for_execution.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sagemaker_operations.R
\name{sagemaker_list_pipeline_parameters_for_execution}
\alias{sagemaker_list_pipeline_parameters_for_execution}
\title{Gets a list of parameters for a pipeline execution}
\usage{
sagemaker_list_pipeline_parameters_for_... |
e686d353a2a3ecf1203116f5c2978e9aa3ceff8f | 660e39446906d71751b6d31f3d7597e7397a7ce8 | /Marie-Pierre Etienne/Stats Bayesienne/Algo.R | 648222cec6aa9c7ae36bd06e8f3114cc89c1e011 | [] | no_license | AgroSTAT2122/Elias | bde7bad87828a8972280e64c6d34b23cb5eb396e | 4937a80dae6f806422fd3c1529f4a69c03c44797 | refs/heads/main | 2023-09-04T07:52:05.294544 | 2021-11-10T15:19:59 | 2021-11-10T15:19:59 | 422,130,624 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,170 | r | Algo.R | n <- 100
mu <- 10
var <- 4
data <- rnorm(n, mean = mu, sd = sqrt(var))
mean(data) #Moyenne
mean(data^2)- mean(data)^2 #Variance
library(ggplot2)
library(tidyverse)
data %>% as_tibble() %>% ggplot() + geom_histogram(aes(x=value, y = ..density..))
sort(data)[c(3,97)]
#############
#Loi de proposi... |
cd74837e6a6377b715280f6e50c2f09d02bc0595 | 0611363f7a2fa5bf07dd6185c9f04619f234e87f | /R assignment 546x.R | f5ed0b25708b9903b86e7f5c3780ae159a8c4dd0 | [] | no_license | mighster/Basic_Stats_Scripts | 0b32cfae1ee892ad5af8571004e245f0cf0c25e7 | 211cb6d47b7308c23e2f84d0dcc42a4a414a4086 | refs/heads/master | 2020-04-04T18:41:43.469404 | 2018-11-05T07:15:22 | 2018-11-05T07:15:22 | 156,174,423 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,747 | r | R assignment 546x.R | setwd("/Users/jmshook/Desktop/Class/EEOB546/BCB546X-Fall2017/UNIX_Assignment")
genotypes <- read.table("fang_et_al_genotypes.txt", header = T, stringsAsFactors = F)
head(genotypes)
dim(genotypes)
str(genotypes)
nrow(genotypes)
ncol(genotypes)
colnames(genotypes)
row.names(genotypes)
snps <- read.delim("s... |
db17156c73e3a98b3306488ff4cb63f0b544303c | 609b3d66630101d7e6d9e4c0711dd170d1124cbc | /Week 3/3_2.R | deb707520f3ed8c64b15a20134d0f253e8efedcf | [] | no_license | ankitkokkeri/Practical-Machine-Learning | 08919cbb3ae5a6bfa93c2b45925ac33046acf51b | 491c25ae0f38150c344012233654a2b595b083ec | refs/heads/master | 2020-09-06T20:16:28.537267 | 2016-07-22T08:23:20 | 2016-07-22T08:23:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,118 | r | 3_2.R | # Week 3: bagging
# reading ozone data
library(ElemStatLearn); data(ozone, package="ElemStatLearn")
ozone <- ozone[order(ozone$ozone), ]
head(ozone)
# Bagged loess
ll <- matrix(NA, nrow=10, ncol=155)
for(i in 1:10){
ss <- sample(1:dim(ozone)[1], replace=T)
ozone0 <- ozone[ss, ]; ozone0 <- ozone0[order(ozone$ozone), ... |
80c2a37cd7bd472a40a41ab556becfa88fb95c04 | 2f675e00427ac14f6def9ed96276df0632a2f61e | /man/lp.perf.Rd | 4568f6f0797c1a12ea42c2fabcca3dfbbec15d2b | [] | no_license | josephguillaume/indexCurveUncert | 9b9c09b01e42c8f58661fa8084a6c8a73670d7d8 | 51d623272835d53f96dad92824470c5c6afaf714 | refs/heads/master | 2021-01-01T15:31:35.370253 | 2014-06-24T12:15:36 | 2014-06-24T12:15:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,001 | rd | lp.perf.Rd | \name{lp.perf}
\alias{lp.perf}
\title{
Extreme index curves by constrained linear programming
}
\description{
Calculate minimum or maximum difference in suitability between two
scenarios by varying ordinates of breakpoints of a piece-wise linear index
curve. Uses linear programming within constraints expressing... |
50af6fc0843a599c64f2bd55086f052b43583c1a | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/statespacer/man/SimSmoother.Rd | b33eec3dd1e4b7f2abe87034e1451c7976ef73f9 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,584 | rd | SimSmoother.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SimSmoother.R
\name{SimSmoother}
\alias{SimSmoother}
\title{Generating Random Samples using the Simulation Smoother}
\usage{
SimSmoother(object, nsim = 1, components = TRUE)
}
\arguments{
\item{object}{A statespacer object as returne... |
d99d199c1a93ef9bb5eb058c41915b1d73ce179f | e0b764d823e9926777e74d9b944108ad44d140bc | /COVID19/ui.R | 69699768e2d0fb2b594a0b9c1ba7bc0cd4c5cac6 | [] | no_license | Tianyu-Wang/Developing-Data-Products-Course-Project | f1ecc964aff060f968f5981ef635173b20eff572 | e40863f7490b0384307ad8a37cd9eabf4c69ea66 | refs/heads/main | 2023-01-21T23:02:49.862323 | 2020-11-28T11:22:07 | 2020-11-28T11:22:07 | 313,687,039 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,104 | r | ui.R | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(leaflet)
vars <- c(
"Confirmed Cases" = "Confirmed"... |
c5b2f21696a4b7ba7a7fdd169cffc764e7227931 | 5e592a02894f5ef1dfa484f1335b7e9967b0a94d | /assignment05/codes/lcr_tests.R | 64314250fd391b7f851da2907455d361105794ed | [] | no_license | oscaralejandro1907/probability-in-R | 4293c68bf55357801b7a93ab97d6e1b0b8332cd3 | cdd174e2866e2a9b69c869f432901b121e550d98 | refs/heads/master | 2023-05-10T13:56:47.203301 | 2021-06-21T17:41:03 | 2021-06-21T17:41:03 | 292,079,500 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,406 | r | lcr_tests.R | # Title : TODO
# Objective : TODO
# Created by: oscarhernandezlopez
# Created on: 05/10/20
require(swfscMisc)
require(ggplot2)
n <- 1000
mu <- 10
std_dev <- 2
seed <- 27
linearCongruentialGen <- function (n, seed) {
a <- 2505
c <- 5005
m <- 15145
x <- seed
gen_data <- numeric()
while (length(gen_data... |
e5c11b8f7c1450e818631f27ffefc02cce83d0ed | 080619940b88c49bf276def7e056a153bd8b4128 | /plot3.R | 9977574f85e8805c0dac8248468651fcca0d4e15 | [] | no_license | zbi441/ExData_Plotting1 | 98d24804c364bca5f12173bfe5ffba0774eeda2e | fd70056d26f9b86fe296a44ed9ebe997de067340 | refs/heads/master | 2020-05-29T08:47:09.863828 | 2016-09-25T04:09:27 | 2016-09-25T04:09:27 | 69,142,732 | 0 | 0 | null | 2016-09-25T03:59:56 | 2016-09-25T03:59:56 | null | UTF-8 | R | false | false | 649 | r | plot3.R | #####funciton for plot 3
a=read.csv("household_power_consumption.csv",header=TRUE,sep=";")
b=a[a$Date%in%c("1/2/2007","2/2/2007"),]
##file reading
x=paste(b$Date,b$Time,sep="")
d=strptime(x,"%d/%m/%Y %H:%M:%S")
sub1=as.numeric(b$Sub_metering_1)
sub2=as.numeric(b$Sub_metering_2)
sub3=as.numeric(b$Sub_metering_3)
## gene... |
9370a7e8d4b56d0d6231e280b2b301ed0c95e5c1 | 1963ea1341f60c40055035cb7609fb1e140bfef2 | /flowtype_flowcap_pipeline-master/201704/_funcAlice.R | 33b3b59ff348b9cd791b9740e7884bad8e94ddf1 | [] | no_license | aya49/flowGraph_experiments | 86359a457c0049790b892b91d7713ff7e65b27b3 | 2ef4e0b53f425a090b2ee6c1010d91e675a893de | refs/heads/master | 2023-04-27T04:46:53.195705 | 2023-04-15T22:31:32 | 2023-04-15T22:31:32 | 178,804,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 54,320 | r | _funcAlice.R | #Written 20151026 by Alice Yue
#Last modified 20151026
#Note: All parameters are case sensative!
# Prints out the time since start_time. Used for optimizing code.
TimeOutput <- function(start_time) {
start_time <- as.POSIXct(start_time)
dt <- difftime(Sys.time(), start_time, units="secs")
# Since you only want ... |
973d803a2bd017eccef9f7abf36b7b9e013997b9 | 0e91d04155de7807539d287d1cdbde3f304bb470 | /plot4.R | 7031ffd0a138208b8927a2bdcf9b9719be7775f3 | [] | no_license | Fall-From-Grace/ExData_Plotting1 | a5ac2b51a24256d26d666e2ef6cd755a70d12bc9 | f3a12980883d1c8ece229f2c99d75f5556cdb5d2 | refs/heads/master | 2020-12-28T20:19:28.637092 | 2014-05-10T16:23:28 | 2014-05-10T16:23:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,594 | r | plot4.R | # Author: Fall-From-Grace
# Date: 10 May 2014
# Exploratory Data Analysis
#read and subset data
powerData <- read.csv("household_power_consumption.txt", sep=";", stringsAsFactors=FALSE)
powerDataFeb <- subset(powerData, powerData$Date == "1/2/2007" | powerData$Date == "2/2/2007")
#make the graphs
png(filename = "plot... |
40f3c2677360f9abcf5d0aa23a706d64fcc1c822 | 98dc55859093633e1ad5aaed6a16d8513ce0aa80 | /fixing_Biolsums_RS.R | 47d8860af5c17e02b9aed4b32e84f1454f189b78 | [] | no_license | reidsteele2/Fixed-Stations-BioChem-Reload | 7ca1fbf637f92802a22f9c4c5ba4134635291d5f | 912931734402745c8fa4c09136162b27cefcb65b | refs/heads/master | 2022-12-03T16:31:51.005131 | 2020-08-19T13:09:49 | 2020-08-19T13:09:49 | 288,531,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,444 | r | fixing_Biolsums_RS.R | # fixing the biolsums
# created by Claudette Landry for the Biochem reboot project
# July 2019
# Edited by Reid Steele, August 11 2020
# Contains code to write to the shared drive or a local directory
# set the working directory
wd="C:/Users/steeler/Documents/Reid/BCD Creation/Fixed Station Biochem Reload/con... |
d4b6c7dc4655db2309ed1fd490c133799bc14873 | ed640b2eab34ddbde1435b83aa29d49d2c01422d | /man/spearmanRho.Rd | 4a51843938a18e0189b6c455b4de2d072e6844e2 | [] | no_license | cran/rcompanion | 4cf285cf6d43197e55df85de86d23904f9418c37 | dea4b790b5d78fe350ff303e5c04603c7e672ae1 | refs/heads/master | 2023-05-12T14:48:28.937161 | 2023-05-05T07:20:05 | 2023-05-05T07:20:05 | 67,362,460 | 3 | 2 | null | null | null | null | UTF-8 | R | false | true | 2,841 | rd | spearmanRho.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spearmanRho.r
\name{spearmanRho}
\alias{spearmanRho}
\title{Spearman's rho, Kendall's tau, Pearson's r}
\usage{
spearmanRho(
formula = NULL,
data = NULL,
x = NULL,
y = NULL,
method = "spearman",
ci = FALSE,
conf = 0.95,
type =... |
9e82e390bcd30ba2386e8f70e3ff87f279eaab27 | 3e862d725839f36810542aa1996a81fa8b64e789 | /analysis/utils/test/fu_vax_detect_issue.R | 71908b3144fbec367bc768d8deda6d14c4bf6474 | [
"MIT"
] | permissive | opensafely/covid_mortality_over_time | 7ca3bd46d1a55521958f75796d50b13ed729b326 | 775d322511d818ad881e82b31ad50981f7acb783 | refs/heads/main | 2023-08-23T10:42:16.774354 | 2023-05-16T19:19:59 | 2023-05-16T19:19:59 | 454,708,317 | 2 | 0 | MIT | 2023-05-11T14:25:31 | 2022-02-02T09:16:07 | R | UTF-8 | R | false | false | 1,480 | r | fu_vax_detect_issue.R | # Load libraries & custom functions ---
library(here)
library(dplyr)
library(readr)
library(purrr)
library(stringr)
utils_dir <- here("analysis", "utils")
source(paste0(utils_dir, "/extract_data.R")) # function extract_data()
source(paste0(utils_dir, "/add_kidney_vars_to_data.R")) # function add_kidney_vars_to_data()
s... |
c14ad4e41faa58d5dc79cc73253308a50568adb0 | 31fd055d1d7ed6bd73e85a828aa219cce9fd2f13 | /man/DissRef.Rd | 916cf81fbf44c5bb07f257c56e6ff5c9c2f350ce | [] | no_license | RenaudJau/Renaudpack2 | c86fa17b146ae32e5f0024de6b914d9f587235ef | cd2046e287e0aa8bc0fa4f5a01aeddb24fd14f8f | refs/heads/master | 2021-01-25T12:19:34.854279 | 2020-12-07T10:19:37 | 2020-12-07T10:19:37 | 83,016,087 | 0 | 0 | null | 2017-02-24T08:02:08 | 2017-02-24T07:52:46 | null | UTF-8 | R | false | true | 1,022 | rd | DissRef.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ScriptFonctionsSourcesVpack.r
\name{DissRef}
\alias{DissRef}
\title{Dissimilarite a une reference}
\usage{
DissRef(RELEVES, ETENDUEREL, ETENDUEREF, method, binary = T)
}
\arguments{
\item{RELEVES}{tableau de releves especes en colonnes, relev... |
6a04d698459d38b5323f5878589bffd8dbeb37b7 | f08d0da8ea26baf502fdc7f61e53d8c8397bf29b | /R/hdi.R | cf9d2a4d8fa8d034929f29bbbc78a4418005577d | [] | no_license | CalvinData/CalvinBayes | 0866251b082f90a5fbbc67a9f3e020ececde4c93 | dbae67a3c2032871fd6b65c538480ad5fee7ab7b | refs/heads/master | 2023-04-09T02:12:08.502233 | 2021-04-08T21:37:31 | 2021-04-08T21:37:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,481 | r | hdi.R |
#' Compute highest density intervals
#'
#' Compute highest density intervals
#'
#' @rdname hdi
#' @export
hdi <- function(object, prob = 0.95, pars = NULL, regex_pars, ...) {
UseMethod("hdi")
}
#' @param object an object describing a posterior distribution
#' @param prob the desired mass of the HDI region.
#' @para... |
9e9467d0a87bf2151bc21024799c51e5a906ef68 | 07e03448e11d85e71aaf90b226cf7741c1679b89 | /Settin up 3 day weather windows.R | 1a356c3bab5e96ae02949c8f136605d4db6d7ff0 | [] | no_license | 11arc4/Weather-related-mortality-and-growth | 53faa3f6db828971b9bb177fc26e685acf17b685 | e13744ba9ec27cdf38695fc72a37893b09e87679 | refs/heads/master | 2020-03-08T10:16:37.580421 | 2018-10-30T00:25:20 | 2018-10-30T00:25:20 | 128,068,909 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,612 | r | Settin up 3 day weather windows.R | #Set up weather data for a 3 day window prior to when we measured the nestlings
#We have picked a 3 day window based on Winkler et al.
#Load in the data
weather <- read.csv("C:/Users/11arc/Dropbox/Kennedy Everitt Honors Thesis/Daily weather data 2017.csv")
#Want only weather for days between 145 and 198
weather <- w... |
1ea1deaad68bde14fcdf6bbe8d730f037328594e | ad899a8ef877d7d812156171f2b304c187d1e586 | /vizGrimoireJS/mediawiki-analysis.R | aa7175f5e28881de290642e9ef49383c6077e0cf | [] | no_license | rodrigoprimo/VizGrimoireR | e6c6707e209468bf0382de89be1ec22a3a531133 | 67badc39e37f8abf0e03de59329acfdcf40b9e31 | refs/heads/master | 2021-01-21T19:01:46.409055 | 2015-07-23T14:23:47 | 2015-07-23T14:23:47 | 39,571,080 | 0 | 0 | null | 2015-07-23T14:12:16 | 2015-07-23T14:12:15 | null | UTF-8 | R | false | false | 4,500 | r | mediawiki-analysis.R | ## Copyright (C) 2012, 2013 Bitergia
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at your option) any later version.
##
## This program is distri... |
934914cbdddc0afc9b8332d9e5628cd8cb75391e | 45186934a5fd29818ead3bb5a5a54c14332394fd | /patents project.R | 21f5ddbf7951ca436ce9fa24435b9f579874608d | [] | no_license | eceson/Collab_project | bb8f36ee810d6081a0664dac7280cdb9ca090aa5 | 1289348c85eed12c8a41101091278e61321467a0 | refs/heads/main | 2023-08-24T18:55:12.136570 | 2021-10-24T20:43:12 | 2021-10-24T20:43:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,135 | r | patents project.R | #Load data
setwd("C:/Users/Seizal Pathania/Downloads/Rfiles")
patents <- read.csv("patents_10.csv", header = TRUE)
head(patents)
View(patents)
#EDA
sum(table(patents$patnum))
sum(table(patents$patnum_kpss))
patents$patnum_kpss = gsub("D","", as.character(patents$patnum))
View(patents)
sum(table(patents$ptyp... |
9a4bbac204a1975cf6d723d2b9721410bdc7fb8e | 36628243c050cc012243cce16d55e6d24c95b1cf | /tests/testthat/test-client_telegram.R | e7d6b60b14cd436869e4f0521b86300ef02f88fe | [
"MIT"
] | permissive | TymekDev/sendeR | e5bf9ca406dd130b8003f54c00050de16fedae7a | 32142f3ee24ad0c1b674102848e41c461a5107d0 | refs/heads/master | 2022-11-07T07:07:13.054088 | 2020-06-26T16:48:17 | 2020-06-26T16:48:17 | 213,371,734 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 437 | r | test-client_telegram.R | test_that("creates only with correct argument type", {
expect_error(client_telegram(NA), "argument has to be a character vector of length 1.")
expect_error(client_telegram(NULL), "argument has to be a character vector of length 1.")
expect_error(client_telegram(12), "argument has to be a character vector of... |
28c000718714cc52565738f8cf394491574ca6b1 | 60ed8fb3dbd7199f2efd95857d0544f255024c51 | /zillow_sold.R | f53eb88f831fd287d2bd1ea13aa2373148d7a041 | [] | no_license | hack-r/yang | 33e990e592a79160bf73375959802570bf071a81 | c9e9bab0c0d9b8de766a1d304e1ba2a64c46ac2a | refs/heads/master | 2021-01-10T11:04:52.090264 | 2016-04-20T18:41:26 | 2016-04-20T18:41:26 | 54,159,228 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,259 | r | zillow_sold.R |
# Options -----------------------------------------------------------------
setwd("C://users//jmiller//Desktop//yang")
# Functions and Libraries -------------------------------------------------
pacman::p_load(data.table, rvest, stringi, sqldf, XML)
# returns string w/o leading or trailing whitespace
trim <- functio... |
d0a3bab2eaef886a53c2846ada833591adfc550f | ca0fb42b56f0a01b05e70b8cc8efc9fb3753bd31 | /genotypes/qtl2/MAGICSimulations/MAGICSim_121718/rsquare.R | dad700390b222105a03de779c233eba5f1db5668 | [] | no_license | sarahodell/biogemma | 873910b91d27dd539b3a8b1992de66673660c804 | 88d49a4f4974eacf01464547e5cf443191fb2f70 | refs/heads/master | 2022-09-22T00:48:43.637061 | 2022-08-16T23:52:21 | 2022-08-16T23:52:21 | 244,755,602 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,746 | r | rsquare.R | #!/usr/bin/env Rscript
library('data.table')
library('qtl2')
library('ggplot2')
founders=c("A632_usa","B73_inra","CO255_inra","FV252_inra","OH43_inra","A654_inra","FV2_inra","C103_inra","EP1_inra","D105_inra","W117_inra","B96","DK63","F492","ND245","VA85")
pr=readRDS('MAGICSim_121718_chr10_genoprobs.rds')
bg=read_cr... |
802792b1724180fa0ab4fbe410417c2ebe742f6b | a81338876c6bddd6d02e564134ff240558d28df2 | /R/glmnetUtils.r | 7dc8769106ea4e4dcfb1de32c6fc48d9cf5d138e | [] | no_license | dschneiderch/glmnetUtils | 1b4c53c56ea9c7d9df77ce0d52114724cae2b4d4 | c0064941cd9b41f4b11e6c28c3766f995861db6c | refs/heads/master | 2021-01-19T12:04:18.280788 | 2016-09-20T07:47:18 | 2016-09-20T07:47:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 910 | r | glmnetUtils.r | #' @title Utilities for glmnet
#' @description
#' Some quality-of-life functions to streamline the process of fitting elastic net models with the `glmnet` package, specifically:
#'
#' \itemize{
#' \item `glmnet.formula` provides a formula/data frame interface to `glmnet`.
#' \item `cv.glmnet.formula` does a simila... |
3930d243e55292c540c2166d1215a0453f507efa | 42c091c23673af1b70ce3f9feafed8659afaee73 | /man/bootstrapcisstat.Rd | 097f4b5a1d44fa206a54efe2306a18c75a0bfcb8 | [] | no_license | ClementCalenge/scsl | 4b20f9b85e77ada0095f6cd81c0f25928f7da999 | 33a16fb1caeae265e871033181308a463fdaf526 | refs/heads/master | 2021-09-05T07:56:04.601665 | 2018-01-25T12:00:31 | 2018-01-25T12:00:31 | 118,907,813 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,437 | rd | bootstrapcisstat.Rd | \name{bootstrapcisstat}
\alias{bootstrapcisstat}
\alias{print.bootstrapCisstat}
\alias{sdaij}
\alias{sdejk}
\alias{sdpik}
\title{
Calculate the standard error of abundances estimates with a bootstrap approach.
}
\description{
The function \code{bootstrapcisstat} calculates the standard error of
abundances estimat... |
4ecb59d5e3f15d3d9447a7d4fed3045c5423f616 | 1b676b2d613bf67d8bec3079b3e9c0c4abb2213b | /man/profkern.Rd | 8ddab0e562290cfab3c3bd2ddc642d3877dbdb02 | [] | no_license | cran/denpro | 995a97a3eb39a8a75d75b1fc5b17ab8d497675a0 | 503a536c5b2963f0615a9eacf65aa5a84765d6c6 | refs/heads/master | 2016-09-06T13:58:43.857283 | 2015-04-24T00:00:00 | 2015-04-24T00:00:00 | 17,695,458 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,422 | rd | profkern.Rd | \name{profkern}
\alias{profkern}
%- Also NEED an `\alias' for EACH other topic documented here.
\title{
Calculates a level set tree of a kernel estimate
}
\description{
Given a data matrix, returns a level set tree of a kernel estimate,
when the dimension of the estimate is less or equal to 4.
}
\usage{
profkern(denda... |
51bed2d4bf10fd2ef56f1db21afe7cf8893a4fb0 | 365c1c41296c191ded892f0b085f3d8d0cad5078 | /man/set_meta_directory_api.Rd | ecd738b1455720a99d0a3f192afaa5d525dd021b | [
"MIT"
] | permissive | Jrakru/rCANSIM | 917ca02e720f4a6e876e6bfcff90a8a352621ff2 | 553f58753db54e870f53980eb4d5723dff9042c6 | refs/heads/master | 2020-04-17T01:19:21.715506 | 2019-01-16T19:11:14 | 2019-01-16T19:11:14 | 166,087,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 568 | rd | set_meta_directory_api.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility.r
\name{set_meta_directory_api}
\alias{set_meta_directory_api}
\title{Initializes the meta querying system using Statistics Canada API}
\usage{
set_meta_directory_api(PID_List)
}
\arguments{
\item{PID_List}{List of strings representin... |
9bdd483c1c0e94550db0e82b7b89766f15265b6a | b6d80916052926fff06f988a6840335dec6cc997 | /r_package/AvantGardeDIA/man/MPRA_y_SpectLib.Report.Rd | ff5b84d5103d22fcbd45b446e986fde9680d0593 | [
"BSD-3-Clause"
] | permissive | SebVaca/Avant_garde | 043df8165272b0becf823bd4d13338fc25a55652 | 2c2fc25789b2bef8524a867d97158d043244297c | refs/heads/master | 2021-06-07T18:51:36.910796 | 2021-05-07T18:07:59 | 2021-05-07T18:07:59 | 167,582,571 | 8 | 1 | null | null | null | null | UTF-8 | R | false | true | 402 | rd | MPRA_y_SpectLib.Report.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in
% R/20190118_Avant-gardeDIA_v28_CleaningNonUsefulFunctions.R
\name{MPRA_y_SpectLib.Report}
\alias{MPRA_y_SpectLib.Report}
\title{MPRA_y_SpectLib.Report}
\usage{
MPRA_y_SpectLib.Report(Transition.Area, y)
}
\description{
This function is MPRA_... |
a95ea101bc07a670bdfd527c1623b85428b539c7 | c860a6f93c778a8840e6ec16e7077b64316be2a2 | /script/exploratory/comparaison_REPHY_SRN.r | 37041a4612dc3b4ff1d9b220b41745284d4d8f3f | [] | no_license | CoraliePicoche/REPHY-littoral | 35e73fbcbef73808fb19d54b5e1f089eb6258678 | c46c12a590f67c5316f6cc03b07a1889985857df | refs/heads/master | 2023-02-01T04:19:43.551503 | 2020-12-20T23:02:44 | 2020-12-20T23:02:44 | 98,662,883 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,653 | r | comparaison_REPHY_SRN.r | graphics.off()
rm(list=ls())
filename=c("data/raw/Q2_170418_site_Tania_UTF8_only_good.csv","data/raw/Q2_170511_SRN_Chnord_UTF8_only_good.csv")
tab_REPHY=read.table(filename[1],sep=";",header=TRUE)
tab_SRN=read.table(filename[2],sep=";",header=TRUE)
id=intersect(unique(tab_REPHY$Lieu_id),unique(tab_SRN$Lieu_id))
ta... |
d96c92f5d768c50935f06a339f33bc28bf8ec05b | c0465b63b853d062fda02bbcce5415e73a58219e | /bin/RNAseq/tximport.R | 5281916a691682207da1ac8666d8b8d80798eacd | [
"MIT"
] | permissive | hustlc/PipeOne | 14c0163a90a7cffc810d8ac7a3d2d8a617976cb8 | 4a91a16303818b60e88c3a7defee2155ec329800 | refs/heads/master | 2023-03-31T02:37:28.922321 | 2021-03-26T02:11:41 | 2021-03-26T02:11:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 707 | r | tximport.R | #!/usr/bin/env Rscript
library("tximport")
library(readr)
wd = 'samples'
tx2gene = read_tsv("protein_coding_and_all_lncRNA.txID_geneID.tsv")
sample_id <- dir(file.path(wd))
sample_id
kal_files = file.path(wd, sample_id, "abundance.h5")
names(kal_files) = sample_id
txi <- tximport(kal_files , type = "kallisto", tx2... |
749c1b7de82b396b1f23329b7ab3941c489dba75 | 0ddd4e8817b145d428a279f357ab875eedcb8fae | /readData_euronext.R | 9d647e3e074163108ccc9fb75106e08cdbe8356d | [] | no_license | clembl76/prediction-bourse | 78a7df17a033201a1f47190f5fc4eb92ae777392 | f15b7fccef38a2ac333d716eb0a680bf9078c702 | refs/heads/master | 2020-03-31T12:23:26.880999 | 2015-05-25T09:54:07 | 2015-05-25T09:54:07 | 34,904,512 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 397 | r | readData_euronext.R | saveDir<-getwd()
dataDir<-paste(getwd(),"/Data/",sep="")
dir<-paste(dataDir,"/euronext/",sep="")
setwd(dir)
#loading and preprocessing data
fileName<-"BDM-Euronext-CAL-20100615.csv"
tradingDays <- read.csv(fileName,sep=";",header=TRUE)
tradingDays$Calendar.date<-as.Date(tradingDays$Calendar.date)
tradingDays$Trading.... |
18a971f7137f4560de8d677cda770a769ef6f3fa | 1c066932b18dd710830f9208294e1ec59968f761 | /cachematrix.R | 2fc9af34cc221b5c2025b2af517b7a3c6ffb711b | [] | no_license | nunezreinaldo/ProgrammingAssignment2 | 3201652befe9e7d7ba9164a9d5c55f818d513b46 | 5b25a3d6fca2b383a3116670fa9a1979c558b2b6 | refs/heads/master | 2021-01-14T13:16:57.656029 | 2015-04-25T18:56:13 | 2015-04-25T18:56:13 | 34,578,074 | 0 | 0 | null | 2015-04-25T17:21:00 | 2015-04-25T17:21:00 | null | UTF-8 | R | false | false | 2,100 | r | cachematrix.R | # R. Nunez April 25, 2015
# This code is submited for free as it without guarante and in accordance with
# the Honor Code in Courser.com - R Programming course.
# Since matrix inversion is usually a costly computation and there may be some
# benefit to caching the inverse of a matrix rather than compute it repeated... |
c5c389d2e8d4b1fda880052377283457f3798ad3 | 91181357498a8d243659119deb95563cb29ca3b4 | /program/02_Base_Dirichilet.R | 1a41dbda0ef2098cc00d47ea9ea6be58a7a3d4ff | [] | no_license | lamfo-unb/modelos_esporte | 936ee751c68119eaf2b252e5effc14dfc3513378 | e5004948efc659555134576d97d28a7728dd2876 | refs/heads/master | 2021-01-21T12:12:00.862926 | 2018-02-02T12:49:29 | 2018-02-02T12:49:29 | 102,026,582 | 0 | 2 | null | 2017-09-14T15:18:56 | 2017-08-31T17:27:44 | HTML | UTF-8 | R | false | false | 19,426 | r | 02_Base_Dirichilet.R | library(data.table)
library(dplyr)
library(tidyverse)
library(readxl)
library(gtools)
library(stringr)
rm(list = ls())
gc()
## dados para transformação
sigma <- 1
gama <- 1
### IMPORTANDO INFORMAÇÕES DOS JOGADORES ----
fileinput <- "data/static"
jogadores <- readRDS("data/static/dados_jogadores_ordenado.rds")
var... |
accb2c2c68e67b642b62d89ff771f7bf696f204c | 0417fda8262e45239762879d827281b4a8be9cb8 | /TXT data for upload/EDA-plot2-v1-final.txt | 6ce9a150cbc332e40bec12521de2ec0c67163be2 | [] | no_license | andcos/Exdata_plotting2 | 948416ca52488a4e0843cfb32f1f64a6948adfd3 | afe1648f5b75ecfa2e21bde4cd28bbfee29fa138 | refs/heads/master | 2021-01-06T20:43:16.629388 | 2015-02-25T22:19:54 | 2015-02-25T22:19:54 | 30,858,006 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,607 | txt | EDA-plot2-v1-final.txt | ##=====================================
## Coursera EDA
## Date 16.02.2015
## Project 2 programming assigment
## PART 2
##=====================================
##load libraryes
library(dplyr)
library(plyr)
library(data.table)
## This first line will likely take a few seconds. Be patient!
NEI <- readRDS("summarySCC_... |
173014d2c37562e58af8705442960759ffe2ab44 | 2aee395e5ffe1e6fd33441c3b65a5adb42de541d | /plot1.R | 9653935f89f10e7ebc7b7408651117436661a685 | [] | no_license | narni/ExData_Plotting1 | d52cb9ee8b07569418ffde8dcecadac2251a23fa | af32e1c15869d65ebcae82d8910637c806f6164f | refs/heads/master | 2021-01-24T23:24:11.630761 | 2014-05-10T04:34:56 | 2014-05-10T04:34:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 993 | r | plot1.R | #Data downloading and reading
library(RCurl);
library(data.table)
temp <- tempfile()
download.file('https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip', temp,method='curl')
data <- read.table(unz(temp,'household_power_consumption.txt'),sep=';',header=TRUE)
#Subsetting and data clean... |
9f96f72fc1718cdfd7e1dfaa2c8a1428c3ba9159 | 47672a3453dc21b3a4469878dd2801a19337f638 | /plot_model_fits.R | 44956f744e9b2257edde7beba5b891e9c591172b | [
"MIT"
] | permissive | kgostic/2018_seasonal_flu_manuscript | 8d9a28e3f2be62d8452725aae03f1fa40c53ee37 | 0ddcfdb90606627ed1d38b22f1f7eecb50cc5e47 | refs/heads/master | 2020-04-10T07:33:36.920411 | 2019-09-15T21:15:21 | 2019-09-15T21:15:21 | 160,883,450 | 0 | 0 | MIT | 2019-07-06T00:13:34 | 2018-12-07T22:52:50 | HTML | UTF-8 | R | false | false | 10,366 | r | plot_model_fits.R | ######################### Plot model fits ################################
## Run from seasonal_flu home directory
## Start with results from AZ data
rm(list = ls())
## setwd('~/Dropbox/R/2018_seasonal_flu') ## Run from the seasonal_flu home folder
## Load libraries
library(viridis)
library(scales)
## Temporarily switc... |
4d718a6095eee41dff681658ae352baf0f4f962a | 3aef5a679c390d1f2c7ecba35eca09864164c5a5 | /man/PsmCurves.Rd | 96dde9d2d0f321516a73d1ba491ab6a5ecf56ed0 | [] | no_license | jeff-m-sullivan/hesim | 576edfd8c943c62315890528039366fe20cf7844 | fa14d0257f0d6d4fc7d344594b2c4bf73417aaf3 | refs/heads/master | 2022-11-14T07:35:15.780960 | 2022-09-02T03:13:49 | 2022-09-02T03:13:49 | 140,300,858 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 10,499 | rd | PsmCurves.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/psm.R
\name{PsmCurves}
\alias{PsmCurves}
\title{Partitioned survival curves}
\format{
An \link[R6:R6Class]{R6::R6Class} object.
}
\description{
Summarize N-1 survival curves for an N-state partitioned survival model.
}
\examples{
library("fle... |
03e65d211fed437a447b1ad50d389b5db91ec507 | fe4bdb0f1ecd46518a6b388a1a7d2d085a9b98a1 | /SVM.R | 69bcb14760aedbac36471e1e51d2ece8e495c749 | [] | no_license | raghulmohankumar/Machine-Learning | 17c0ceec25d78e8e58a053468efdbc50cb7b6563 | f3dc4300020fafda690e605eac5923a02c97964d | refs/heads/master | 2021-12-10T23:45:00.730546 | 2016-10-02T14:52:51 | 2016-10-02T14:52:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,364 | r | SVM.R | #import data
data=read.table('Documents/uspsdata/uspsdata.txt',header=T)
y=read.table("Documents/uspsdata/uspscl.txt",header=T)
names(data)
length(data)
nrow(data)
set.seed(1)
#randomly select test set and training set
s=sort(sample(nrow(y),0.8*nrow(y)));s
train.x=as.matrix(data.frame(data[c(s),],row.names=c(1:(0.8*n... |
2e52a442724d14c8761152c2650b9bb6e00bc12e | a46d9f582e0cbf0939b67b4937bcff4e2e0ce471 | /Scripts inicials/simul_rel_vars_Ejemplo_7.gam.R | 2af1fd809a072d7aeef68b8fae070e290631528a | [] | no_license | oriolrovira/TFG | 893605991f0d9d182d6b83b76aee8f47ab31835e | d7045fa776f91f3a58c48516dd9be6ff02e57bcc | refs/heads/master | 2023-02-27T12:42:36.326644 | 2021-02-05T14:32:12 | 2021-02-05T14:32:12 | 262,000,272 | 0 | 1 | null | 2020-05-19T12:03:06 | 2020-05-07T08:57:59 | R | ISO-8859-2 | R | false | false | 3,946 | r | simul_rel_vars_Ejemplo_7.gam.R | # Variation of simul_rel_vars_Ejemplo_7.R
# - y is generated according to a gam model, and estimated with a gam
#
# Simulated example
# X1,X2 independent from X3,X4,X5,
# X1 and X2 correlated,
# X3, X4 and X5 correlated,
#
library(mgcv)
library(ggplot2)
library(grid)
library(maptools)# For pointLabel
... |
0ce1380ef2f4f07e4210baf718c0dba165110b42 | f2ca5431d921b1189a6ebaacd88aef3a9a1a1820 | /tests/testthat/helper_mlr3.R | c054b036063633c41e48ab2d639de719b6f33dcd | [] | no_license | mlr-org/mlr3cluster | 44747d2b4fae9170b5ea20704cccfdad777f198f | 161aee5e75aa299bea29617020339768a8d9a75c | refs/heads/main | 2023-06-22T09:58:51.455583 | 2023-06-15T22:32:15 | 2023-06-15T22:32:15 | 157,852,274 | 15 | 7 | null | 2023-03-10T01:08:56 | 2018-11-16T10:32:38 | R | UTF-8 | R | false | false | 745 | r | helper_mlr3.R | lapply(list.files(system.file("testthat", package = "mlr3"), pattern = "^helper.*\\.[rR]",
full.names = TRUE), source)
generate_tasks.LearnerClust = function(learner, N = 20L) { # nolint
set.seed(1)
data = mlbench::mlbench.2dnormals(N, cl = 2, r = 2, sd = 0.1)
task = TaskClust$new("sanity", mlr... |
198d9d53174d5a2d1c6b9bb4ea833ee4512dea03 | 284cf90e8beb4b8405f1de30c415f609d55e4e7e | /Untitled1.R | e3f91eb2e27425a0e8ae928f0fd77d69662959b6 | [] | no_license | paumontero/clases_cursoR | 731dea17b22e4c682e54d74b842d25896c976d21 | e5e436f51d618d9d7c393b2d456acff262e579b5 | refs/heads/master | 2021-01-12T13:57:51.428455 | 2016-09-26T13:46:57 | 2016-09-26T13:46:57 | 69,254,284 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 477 | r | Untitled1.R | mi-vector <- vector(length = 3)
mi_vector <- vector(length = 3)
str(gatos)
str(gatos%vector)
str(gatos&pelaje)
srt(gatos&peso)
gatos
str(gatos$peso)
gatos <- cbind(gatos, edad)
nuevaFila <- list("carey", 3.3, TRUE, 9)
gatos <- rbind(gatos, nuevaFila)
levels(gatos$pelaje)
levels(gatos$pelaje) <- c(levels(gatos$pelaje), ... |
53f02dc20c1f370b1422d27d0514e79185953cfd | e5036c7f2d13b1cea8b010acaee53ce34074b918 | /man/DesignEval.Rd | 0fc4e56a31cc67d2bc447c0160de6d3c896dde7f | [] | no_license | cran/UniDOE | 28c90515ebf5139cef7e3559b75f0e183834971b | 8e3ba53b85975865c17641e91b6d495018cad175 | refs/heads/master | 2021-09-12T16:19:30.056341 | 2018-04-18T12:22:01 | 2018-04-18T12:22:01 | 112,484,584 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 837 | rd | DesignEval.Rd | \name{DesignEval}
\alias{DesignEval}
\title{Evaluate design in terms of criteria}
\usage{
DesignEval(X0,crit)
}
\description{
This function takes matrix X0,q and crit to output the criterion value.
}
\arguments{
\item{X0}{an integer matrix object}
\item{crit}{an integer object, criterion to choose:
"M... |
5869a1a1e1c79f49f450f9efa8b2231fe3cf0c09 | 2cb802c7e9bb18670769604cb289b03192661d5a | /Perinatal paper scripts/6_Public Code/Analysis Code/calculating_controls_pre_matching.R | 49095f88173b50b74c0f031eb2a3805460032e81 | [] | no_license | Public-Health-Scotland/COPS-public | a18d36d8a69479e34c1ddd31f23a15b5b7a6eba6 | b4c4df18020712fbae08a979226d0a382d6aeda9 | refs/heads/main | 2023-07-29T17:41:26.677028 | 2023-07-11T12:40:32 | 2023-07-11T12:40:32 | 362,821,738 | 0 | 2 | null | 2021-12-07T12:55:46 | 2021-04-29T13:11:02 | R | UTF-8 | R | false | false | 13,510 | r | calculating_controls_pre_matching.R | #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# RStudio Workbench is strictly for use by Public Health Scotland staff and
# authorised users only, and is governed by the Acceptable Usage Policy https://github.com/Public-Health-Scotland/R-Resources/blob/master/posit_workbench_acce... |
a1c1d7ca76c95fd1ce34374960265b86a1465e49 | 3caab84dfbc452191c3bdc7800e3653a4a364815 | /sim/simMH.R | 93759e1c472792148712a55f7b19a49c3025f9a4 | [] | no_license | kklotzke/MALNIRT | e428cf2cef5b8f59d0f5b65a39f2b70aa8cc66c7 | e318c36937973ba67dc3b3096a0c6dd25eab765c | refs/heads/master | 2023-02-08T16:42:09.937913 | 2017-04-14T19:14:34 | 2017-04-14T19:14:34 | 79,729,357 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,181 | r | simMH.R | # be <- la <- matrix(NA, nrow = 100, ncol = sim.K)
# for(ii in 1:100)
# {
# dat.tmp <- simdataLNIRT(N = sim.N, K = sim.K, delta = c(0.1,0), tau = c(0.15,0), nu = rep(-0.15,sim.K))
# be[ii, ] <- dat.tmp$beta
# la[ii, ] <- dat.tmp$lambda
# }
dat.tmp <- simdataLNIRT(N = sim.N, K = sim.K, delta = c(0.1,0), tau = c(0.... |
11754bb5fad7cff56d1ff72fc5a4025243382843 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/PoweR/man/print.critvalues.Rd | 01c9158e2af30870a82710dfffc8de6f4394c22a | [] | 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 | 1,869 | rd | print.critvalues.Rd | \name{print.critvalues}
\alias{print.critvalues}
\alias{print.critvalues1}
\title{Latex table for critical values}
\description{Transform the critical values given by function \code{\link{many.crit}}
into a LaTeX code for creating the table of critical values.}
\usage{
\method{print}{critvalues}(x, digi... |
477a9413ec54e6c261f09a929195f3dcd3f345b1 | 373770603afb01dee47ac4055eb4b584bbfd205c | /man/OutlierPosition.Rd | dbd3a700a90788ce51af277c0baeaadd63935098 | [
"BSD-3-Clause"
] | permissive | sshcherbakov/ERTMon-R | e1ac5c22be39cd51ba70a81a51433034a6c4e10c | 75847078568f76bfeb69597775c462f43cd49a34 | refs/heads/master | 2020-04-07T10:13:16.505303 | 2019-03-13T08:58:02 | 2019-03-13T08:58:02 | 158,279,216 | 0 | 0 | null | 2018-11-19T19:32:33 | 2018-11-19T19:32:32 | null | UTF-8 | R | false | true | 420 | rd | OutlierPosition.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/OutlierIdentifiers.R
\name{OutlierPosition}
\alias{OutlierPosition}
\title{Outlier positions finder.}
\usage{
OutlierPosition(dataVec, outlierIdentifier = HampelIdentifierParameters)
}
\arguments{
\item{dataVec}{data vector}
\item{outlierIde... |
a0fddbb7fbe9b1b732bbb36bc4222456954742f4 | 56dd5bdd05335517864530de705c6c6b5be17009 | /man/UserBlocks.Rd | dc55723ce78736a36bdfe34a15e09404c52ee8d2 | [] | no_license | gitter-badger/HybRIDS | 3ec32da022b5b9f6e243deb3f31b0680e102ffc9 | 092acc68645017624d35ee1b6420f78e2ca59a73 | refs/heads/master | 2021-01-21T19:45:19.918535 | 2014-12-09T04:06:28 | 2014-12-09T04:06:28 | 27,845,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 263 | rd | UserBlocks.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\docType{class}
\name{UserBlocks}
\alias{UserBlocks}
\title{UserBlocks reference class}
\description{
The UserBlocks reference class is the class used to store and manipulate user defined blocks in HybRIDS.
}
|
e2d91647d080ad5ae1fdf11b9188671e3634a549 | 585ad5e777416942f6a1f1a7b4c2cbb5c0352727 | /script.R | 84a88d882693b9526766d70d0c3a32e2f67299fb | [] | no_license | ssm123ssm/capstone | a82615592eae10416e88d312a15c7b5efb2fbb98 | 825f96db51380a65621e036d81a5cdeaecc55b1d | refs/heads/master | 2022-12-25T15:35:54.133540 | 2020-09-22T01:27:52 | 2020-09-22T01:27:52 | 297,499,856 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,973 | r | script.R | # Loading the libraries
if (!require(tidyverse)) install.packages('tidyverse')
if (!require(caret)) install.packages('caret')
if (!require(factoextra)) install.packages('factoextra')
if (!require(broom)) install.packages('broom')
if (!require(readr)) install.packages('readr')
if (!require(pROC)) install.packages('pROC'... |
f5cd4845808b899d2cc8e2df33b75e448235c52a | efc0045c29a9390a563307e4e76ead9a1414c746 | /R/data.R | b8125b0a8e634d55f3fdbfd7d868af372f290c8b | [] | no_license | cran/flatness | 72f1de6b9e929452e89b57cd67ad38abcb098d72 | d3cf74f2bd78d070a6f51dccaa0bb07cf47effe4 | refs/heads/master | 2023-06-04T10:24:04.326157 | 2021-06-29T06:20:09 | 2021-06-29T06:20:09 | 381,417,040 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,713 | r | data.R | #' Ensemble forecasts of temperature and associated observation
#'
#' This is a data set containing the forecasts of five ensemble weather
#' prediction models for two-meter temperature from March, 2019 to March, 2021.
#'
#' The five ensemble models are named CWAO (20 perturbed members, from ECCC),
#' DEMS (11 pe... |
ba02598252b46588d41a7e93d4dcc738047c0b46 | e5455f8ffee998491a66117de725fa7245da998b | /plot4.R | 3ad72b83300b6fd3bbc67c520b6dcd1fd8308e78 | [] | no_license | einmarc/ExData_Plotting1 | 682521a2be8cffd59d1b82d6cbb4bf306f7926ba | 2da6fae0b2d71d879ca9d0917ab669fe3f3d680c | refs/heads/master | 2021-01-17T22:39:34.221725 | 2016-03-20T22:32:20 | 2016-03-20T22:32:20 | 49,378,267 | 0 | 0 | null | 2016-01-10T17:53:55 | 2016-01-10T17:53:55 | null | UTF-8 | R | false | false | 2,445 | r | plot4.R | plot4 <- function(sourceFile) {
# sourceFile contains the directory to the input file
dataTable <- read.table(file = sourceFile,header = TRUE, sep =";")
# convert column date in the standard format
dataTable$Date <- as.Date(dataTable$Date, "%d/%m/%Y")
# extract the useful dataset
dataTable... |
aed54d4959020006f8dd1b68aae68b540f758793 | 8c3d56ee187a77348c2f112cfcfb110efa0e403c | /R/rank_FGSEA.R | 45df1a59986f4daa252ae01c6acaf3e2d1bece4b | [
"MIT"
] | permissive | pphector/scripts | 1ab0113eff51b851f1e2352663a20ae08f8386f6 | 3ae8224dbd174020e0e04c1a3f230ea60b193aa1 | refs/heads/master | 2021-06-11T03:31:59.007558 | 2020-05-07T13:48:38 | 2020-05-07T13:48:38 | 128,252,300 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,044 | r | rank_FGSEA.R | #!/usr/bin/env Rscript
suppressPackageStartupMessages(library(fgsea))
suppressPackageStartupMessages(library(dplyr))
suppressPackageStartupMessages(library(mygene))
library(ggplot2)
library(mygene)
### Script to generate rank file from DGE output for GSEA analysis
## Requires internet connection for Mygene library
## ... |
036677842fb558e3aa19c5d43b620c40c6a43976 | ae2df16f6c3c964a6588a7f3177ccb28384b0b8e | /coursera/getting&cleaningdata/week2/Quiz.R | 75adf4b3b5ce700c3bd878dc8c1caf79364e862f | [] | no_license | joellove/R | 3f3d32ca5d780106816065eaab21fc6e64850d1a | 2be7aa251a700c75fe88fcdc45572d245a6bb8b1 | refs/heads/master | 2020-05-18T15:32:41.389683 | 2015-10-25T07:30:52 | 2015-10-25T07:30:52 | 18,982,095 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,631 | r | Quiz.R | # Quiz 2.
# Problem 1.
install.packages('httpuv')
install.packages('jsonlite')
install.packages('httr')
library('httpuv')
library('jsonlite')
library('httr')
# 1. Find OAuth settings for github:
# http://developer.github.com/v3/oauth/
oauth_endpoints("github")
# 2. Register an application at https://github.com/set... |
235e094bec77862cca6eabafd5a53adc4678a69e | 9ddd623471e8174ade5b9921dbc1cb1da731e115 | /man/calc_character.Rd | cc76171dee8767cf1e367cbec08853b115b24f9e | [] | no_license | zackarno/koborg | 2eba2f837b51a494b7efcb8d491e800de6ec70d9 | 6312bb3ab0b59b96f91812b90f5afd224d599b04 | refs/heads/master | 2022-09-13T17:11:09.884337 | 2020-05-27T09:45:22 | 2020-05-27T09:45:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 375 | rd | calc_character.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/class_calc_character.R
\name{calc_character}
\alias{calc_character}
\title{Calculation character constructor}
\usage{
calc_character(
x = character(),
relevant = NA,
label = NA,
constraint = NA,
calculation = NA
)
}
\description{
`c... |
f013eb57c86ef3988d7d66ca0667adb9b5a7535d | 2d5461cbc4d27a4fbbbcb24d38b23b9cca128cfe | /LeafletApp/ui.R | 85b8f2850b222f48c712d70dcf1bb216e9c930c0 | [] | no_license | delanst/AssigmentMarkdownLeaflet | f1b5c71a63d0b2fed29b75ae176b70387d537a08 | 7129dd06eda9f2f2894d84326defd640a7582b5f | refs/heads/master | 2021-01-17T18:14:19.621847 | 2016-10-19T14:45:17 | 2016-10-19T14:45:17 | 71,272,468 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 586 | r | ui.R | library(shiny)
library(leaflet)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
titlePanel("Assignment R markdown and Leaflet"),
h3("18th of October 2016"),
p("Here follows a map of all the airports in Belgium."),
p("The data used for has been download from the following site with their m... |
5353a9a73a61c7263a5f46ff161abf6440db0d55 | a528173483407425c55cbbdf278a2b724830a01e | /man/astig.bath.Rd | caa77c9137ba2ae15595a5c14b96023314e74ee3 | [
"MIT"
] | permissive | gmke/zernike | 7ea52f89dc353f7d72a8385078e03bc2853a22c1 | 397a5d2f316e2f95cc1a1209007780855da16b13 | refs/heads/master | 2023-05-28T21:58:50.075555 | 2023-05-10T15:07:23 | 2023-05-10T15:07:23 | 166,230,701 | 0 | 0 | MIT | 2021-06-18T12:00:04 | 2019-01-17T13:30:49 | R | UTF-8 | R | false | false | 867 | rd | astig.bath.Rd | \name{astig.bath}
\alias{astig.bath}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Zernike coefficients for astigmatism due to Bath geometry.
}
\description{
Calculates Bath astigmatism coefficients with optional rotation
of phi degrees.
}
\usage{
astig.bath(D, rc, s, lambda = 632.8, phi = 0)
}... |
800acdf3913e811c45e45b5779783bd0b2e027f6 | 7a53a053729c895599824fdec9967d461ba04b17 | /DE_fun.R | ce1ca6e5f17fd4c44bff3e29237730c31ddbd16c | [] | no_license | feifei/RNA-seq | 5c7f760acdbf189cd01ef1fc96e1f3b0acebc0f6 | 30c77c0f179ce0183881c322d4af9ac05883310e | refs/heads/main | 2023-06-09T02:20:44.288078 | 2021-07-02T12:25:52 | 2021-07-02T12:25:52 | 382,331,556 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,402 | r | DE_fun.R |
library(edgeR)
library(DT)
library(GO.db)
library(goseq)
library(ggplot2)
library(reshape2)
library(pheatmap)
library(KEGGREST)
qlf_dictionary <- function(fit, my.contrasts, ...) {
# To pair up contrast and qlf
qlf_d <- list()
for (contrast in dimnames(my.contrasts)$Contrasts) {
qlf <- glmQLFTest(fit, cont... |
4d7111c590f6070ffd4b85d983dc98f478b7cb07 | e14e44b96a5059204142cb31d40cdc404a02a3b3 | /code/illustrate_perm.R | 5a6dcc7bf0b830cce5ed72101dbd16642cc80fb4 | [] | no_license | lihualei71/CPT | 8695c8c9630c94a5d36acbd04e7e7ded375c9341 | ef78081acf554436fd27cb1980e17f171f95276d | refs/heads/master | 2021-07-01T11:36:17.214154 | 2020-12-15T19:12:17 | 2020-12-15T19:12:17 | 196,753,743 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,128 | r | illustrate_perm.R | library("combinat")
library("tidyverse")
library("ggplot2")
source("CPT.R")
allperms <- combinat::permn(1:8)
set.seed(1)
X <- matrix(rnorm(8 * 3), nrow = 8)
Ostar_vec_normal <- sapply(allperms, function(inds){
solve_optim_eta(X[inds, ], 1, 1)$Ostar
})
set.seed(1)
X <- matrix(rt(8 * 3, df = 1), nrow = 8)
Ostar_ve... |
68ce13490fe62412f262f253b2d31458fd560c8e | 4f0b6567a19d2babeafa616c6d8ddf5572004c37 | /data-science-scripts/zach/S3_gluster.R | 5f9f8d3df41af869a4d9f4bf90c9c55a9f16e637 | [] | no_license | mcohenmcohen/DataRobot | a9b8fff8b0532e9066a207c1914b12702abbf48c | 156e548d94d033b032d5027f2e436a13ddb85cf8 | refs/heads/master | 2022-09-01T18:14:29.587815 | 2022-08-23T20:54:59 | 2022-08-23T20:54:59 | 134,179,047 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,715 | r | S3_gluster.R | #Load Data
library('shrinkR')
library('data.table')
library('reshape2')
library('ggplot2')
library('ggrepel')
library('scales')
library('jsonlite')
library('pbapply')
library('stringi')
#JIRA Tix:
#https://datarobot.atlassian.net/browse/ENT-2320
#https://datarobot.atlassian.net/browse/ENT-2307
#MBtest IDs
# 577bd878d... |
59adf0fcc44d1a3dcee7c15dcaed88113b1ce7f7 | abac881414111f12c5fdecf253d13f749c02c65c | /analysis/acoustics.R | fd7c28dfb8b8bf3aedaaf9aaf9188a31ec326e03 | [] | no_license | ElOceanografo/rimfire | 3d22f8402079fece8aeedcbd9753e08c86213585 | 8f9094fa4c68ada173893310a7fcf2e1858c65ac | refs/heads/master | 2021-03-16T08:28:58.216775 | 2019-08-02T23:47:55 | 2019-08-02T23:47:55 | 48,252,183 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,931 | r | acoustics.R | library(ggplot2)
library(scales)
library(viridis)
library(reshape2)
library(dplyr)
library(tidyr)
library(lubridate)
library(gridExtra)
load("acoustics.Rdata")
load("net_data.Rdata")
zoop.ts <- read.csv("nets/zoop_ts.csv", stringsAsFactors = F)
fish.ts <- read.csv("fish_TS.csv", stringsAsFactors = F)
dB.mean <- funct... |
d9098600b9bf6c40d0f7551b0e26c452b993a576 | b339ae2c3ac541f070b7b074cfc77cebdd6ae8d3 | /face2gender.R | 80de6546e254e2239551ce59cd384bdc21be0988 | [] | no_license | jkortner/clarifai | 54f875ada795a9b23cb8169e2341ca8125933adc | 68dff924b71e55eaad8796eef7dd4afb10f685e8 | refs/heads/master | 2023-02-19T09:18:17.654697 | 2021-01-12T14:18:29 | 2021-01-12T14:18:29 | 286,798,539 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,032 | r | face2gender.R | # --------------------------------------------------------------------------- #
# face2gender
# --------------------------------------------------------------------------- #
library(httr)
library(readr)
library(progress)
library(reticulate)
use_python('/usr/local/opt/python@3.8/bin/python3', required = T)
py_config()... |
fc551fdc115563fb95750ce2158b3f64ac5f4d97 | 4c7159fd76fd372717900030dc85ffad62cc49c0 | /man/diagnositcs.Rd | 26af46c7ce5165fa97b1478d48250006841ab133 | [
"MIT"
] | permissive | miheerdew/cbce | 0bc296a0d99e377d76ce5df6b5f5a5d4a57c4ee0 | 58422a6106f7ed69737055a5f806dfd52ff46262 | refs/heads/master | 2023-08-31T20:09:25.290422 | 2023-08-20T20:24:47 | 2023-08-20T20:24:47 | 102,528,314 | 4 | 1 | NOASSERTION | 2023-06-10T19:18:28 | 2017-09-05T20:46:57 | R | UTF-8 | R | false | true | 399 | rd | diagnositcs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{diagnostics_none}
\alias{diagnostics_none}
\title{Don't collect any diagnostics from the method.}
\usage{
diagnostics_none(event, e = parent.frame())
}
\description{
Don't collect any diagnostics from the method.
}
\sectio... |
0e45d184d8f0e8b084c0a92565be7bf4cbf47d5f | 85860d715fd99de4c0d1da9b8a98596a7dba1067 | /codigo/Exercicio9.R | 4d4367a62977a15f4d4749e28564a70aa0a526d6 | [] | no_license | JVFayad/Estatastica-Basica | 7cd14c70400298bb47f90b65fdd51a4d8c0abf66 | 16716ad4573b989271796c21b7ccd1397274feda | refs/heads/master | 2020-03-30T14:47:30.737324 | 2018-10-09T13:39:05 | 2018-10-09T13:39:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 563 | r | Exercicio9.R | setwd("C:/Estatistica Basica/Estat-stica-B-sica")
# install.packages("gridExtra")
library(xlsx)
library(gridExtra)
library(grid)
tabela <- read.xlsx("dados/exercicio9.xls", sheetName = "Plan1")
color = palette()[661]
jpeg('graficos/exercicio9_graf1.jpg')
histg <- hist(tabela$"SalÃ.rios", main = "Histograma", xlab = "... |
289b243a4111a7b4d63eda9f0b585430f8d114b5 | 593c0dc1fd751b61f1eb481d43f3543461c89560 | /cluster_analysis.R | 69a5e04a8cd39d412df01381682f96205d73e9aa | [] | no_license | mcc-apsis/coal_tree | cab7120eaa3c60aeb2708efafada04b6ceda5185 | a2e71a19123aae1d705d7985a369a07ca8c681a1 | refs/heads/master | 2020-04-11T07:41:05.097779 | 2017-07-03T12:29:29 | 2017-07-03T12:29:29 | 161,618,978 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,526 | r | cluster_analysis.R | #http://www.statmethods.net/advstats/cluster.html
library(fpc)
library(pvclust)
library(mclust)
library(cluster)
mydata <- v_dataShort %>%
spread(variable, value) %>%
filter(year >= 1971, year <= 2012) %>%
filter(iso %in% u_iso) %>%
select(-iso, -year, -E_CC) %>%
select_("E_CP", "E_CIm", "E_CEx", "GDP... |
d836ccdafc7fba6d07c2fd0f098dc56d5d736212 | 17b6dbd8acf2ce8556684754dc5f48a9373f7c96 | /R/test_predictor.R | a290a35943a8929f062300b003651d1f8b2049d5 | [] | no_license | leekgroup/phenopredict | f53a517c670a9670041825c79456874367d92327 | ab34f6ca3c0aeb90d2c672837175d7a13c308ca5 | refs/heads/master | 2021-09-06T23:59:31.970592 | 2018-02-13T19:24:14 | 2018-02-13T19:24:14 | 66,372,434 | 16 | 3 | null | null | null | null | UTF-8 | R | false | false | 5,010 | r | test_predictor.R |
#' Test accuracy of predictor on known phenotypes
#'
#' This function takes the expression data input to
#' build_predictor() and the coefficient estimates from
#' build_predictor() for phenotype prediction. The known
#' phenotypes are also input for comparison and
#' asseessment of predictor accuracy.
#'
#' @param in... |
ea33ce3f4f06df70aa9570b2aad8740f9f2b976b | 2395d3e954c587ac39025fe4ca3e36e6ec74b15d | /DataFrameManipulation/ChangeColumnNames.R | b681e0be13944b00fccd2ee3848baa0fd8707d42 | [] | no_license | CamEJ/R-basics | 32426728fcf2661cedfc7e06fb5c3772667c8cf5 | d9a309ed96e37b9f22728a5d624c475fa71e3ac0 | refs/heads/master | 2023-07-24T15:27:23.472944 | 2023-07-13T16:00:38 | 2023-07-13T16:00:38 | 83,305,312 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 284 | r | ChangeColumnNames.R | # Change column names
# if you want to change the column name based on the old column name
# instead of saying a number which column it is.
colnames(dataframe)[which(names(dataframe) == "columnName")] <- "newColumnName"
# by column number
colnames(dataframe)[2] <- "NewColName"
|
814d37c86963464921126134c215fe3ed7224a96 | 2cf25dbb82c95b55dfb95eff59f62208ea7aa434 | /man/mrmctools.Rd | d75bfb61de85f7a3fe222659f5e36f54bcb83f4e | [] | no_license | rickeycarter/mrmctools | b7ab940fe0ef9bb44ac58207a8e7252f9b5cf009 | 27b4215b26ef2d371bfd50085a7bcd3305bc673b | refs/heads/master | 2021-09-10T06:57:51.512979 | 2018-03-22T00:49:48 | 2018-03-22T00:49:48 | 120,644,400 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 378 | rd | mrmctools.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mrmctools.R
\docType{package}
\name{mrmctools}
\alias{mrmctools}
\alias{mrmctools-package}
\title{\code{mrmctools} package}
\description{
Package mrmctools to support multireader, multicase study designs
}
\details{
See the README on
\href{ht... |
b3ab6c6179b5655710edae60a52ed779c82469c8 | 5857eaa429f8228a2380fcf86102242f47a4f1aa | /Plot1.R | 9cb73e6d7d8deef0e67082be9778c45b1246c402 | [] | no_license | darykov/ExData_Plotting1 | b3a657ffaf84d598825bd88d0c975d9b7ba4b4f2 | 42cc6a811deebdd99990840d96d8f90f38119de9 | refs/heads/master | 2021-01-24T21:53:43.623347 | 2016-04-04T04:24:41 | 2016-04-04T04:24:41 | 55,380,377 | 0 | 0 | null | 2016-04-04T02:28:07 | 2016-04-04T02:28:07 | null | UTF-8 | R | false | false | 1,047 | r | Plot1.R | file<-"household_power_consumption.txt"
Electric_power<-read.table(file, sep = ";", header = TRUE, stringsAsFactors = F)
Electric_power$Date<-as.Date(Electric_power$Date, format = "%d/%m/%Y")
date <- Electric_power$Date >= as.Date("2007-02-01") & Electric_power$Date <= as.Date("2007-02-02")
Electric_power<-Electric_po... |
0e6a6dbaa36376d7f2c2086b54cb48f397b3c0e3 | eeea10b971ed75bf87305d7b4163cf355eac1240 | /RF LOWESS sim/Results/Graphics.R | e5fb2a148014ea1030c307b3b9d015b0e1b8fa7b | [] | no_license | AndrewjSage/RF-Robustness | 42e0caa6cc5c1f46031f6a3b77e33a56dc4fc83b | bace62de6a191832c1a9d19462c140686a15bf1b | refs/heads/master | 2022-11-21T12:09:04.041716 | 2020-07-24T04:52:51 | 2020-07-24T04:52:51 | 106,871,057 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,713 | r | Graphics.R | setwd("~/OneDrive - Lawrence University/Research/Robust RF/RFLOWESS sim/Results")
library(tidyverse)
ntechs <- 16
nprops <- 6
p <- c(rep(c(0, 0.05, 0.10, 0.15, 0.20, 0.25),each=ntechs))
Techs=c("Y-bar", "RF", "QRF", "Li-Martin(Tukey)", "Li-Martin(Huber)","Mean-Med.", "Med.-Med.", "Med.-Mean","LOWESS-6","LOWESS-U","LO... |
52ac179c5a82f88242dcad5a0411467d39d72aae | 1fc75d5c1d2ae986fd44b2b4c1f3981227a388b4 | /R/shortcut.R | 8cdb3666c2a4dfa1f0dd6f24638329f8220d15b4 | [] | no_license | bcipolli/rprojroot | 1853390dce73b8b4035420542f2f69a587639605 | 71bd742a4e4ba4e246e4f580697e5a1702117ccc | refs/heads/master | 2023-01-06T22:37:05.193625 | 2017-06-13T08:42:34 | 2017-06-13T08:42:34 | 107,057,897 | 0 | 1 | null | 2017-10-15T23:50:39 | 2017-10-15T23:50:39 | null | UTF-8 | R | false | false | 357 | r | shortcut.R | #' @rdname find_root_file
#' @export
find_rstudio_root_file <- is_rstudio_project$find_file
#' @rdname find_root_file
#' @export
find_package_root_file <- is_r_package$find_file
#' @rdname find_root_file
#' @export
find_remake_root_file <- is_remake_project$find_file
#' @rdname find_root_file
#' @export
find_testtha... |
f88dce5cdce05a976e5084683c810b406ccb6661 | dbd98b2572d2043ef924cfb4d3f3d7cfecf91773 | /R/remove_constant_columns.R | 786fd9f64e669b2f9709bc66568b5a4abc691aeb | [] | no_license | btaschler/scl_replicate | bedb52b778df3481b0ae428e94340723e0547a9a | b4ddeddf715d26254e75f4798e4a375539cee89b | refs/heads/master | 2023-04-06T16:03:21.909567 | 2021-03-31T20:40:47 | 2021-03-31T20:40:47 | 232,549,990 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,499 | r | remove_constant_columns.R | #' Remove constant columns
#'
#' @param obs_data Observational data
#' @param int_data Interventional data
#' @param int_names Names or indices of the genes targeted by the interventions
#' @param gene_names All gene names or indices
#' @return Interventional data without columns having constant variance or a fraction ... |
a4540aed7e3ec8636b08c6fafe881f574a61199c | a78ab6d5a719e4eb59b03bcad2e3474d9e40b1b3 | /analysis/R/code.R | 3d0f9b1aaa43694356c6e385ff5ffbc764d0bc2b | [] | no_license | KaJaeHyeob/KOSTAT | 372f25aa8f2d792f6e3bb001f9df1ebc654637ed | b81fbe0c417f047121821c774ba08969a8c3bb73 | refs/heads/master | 2023-06-12T16:27:14.520448 | 2021-07-06T06:32:08 | 2021-07-06T06:32:08 | 270,701,410 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,319 | r | code.R | ## 주제 : 시도별 범죄율 차이를 발생시키는 요인 분석 (2010년과 2017년의 비교를 중심으로)
## 분석 방법 : 주성분 분석 (PCA ; Principal Component Analysis)
# delete all objs
rm(list=ls())
# set working directory
getwd()
setwd("~/Downloads/kostat_intern/analysis/refine_data")
# 데이터 불러오기
# install.packages("xlsx")
library(xlsx)
AdmArea = read.xlsx("AdmArea.x... |
004197ce6f8ff0da1cbe36e39a7a9bc4de1c61fe | 28acfcc2beaffa7a6ce72d605ec9995ab1e969ce | /tests/testthat/test-vctrs-math.R | b7f3d0fffa828f1c2bd11f372ad7a19028d845ee | [
"MIT"
] | permissive | minghao2016/bignum | f25fa2c79fefdff5482e66a8ed401c1cb83f32ea | 58cef3a361852b58a286f5f758c9124ccc647eb9 | refs/heads/master | 2023-05-21T17:59:08.626420 | 2021-06-13T16:15:48 | 2021-06-13T16:15:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,863 | r | test-vctrs-math.R | test_that("sum() works", {
x <- c(2, 3, NA)
ans <- sum(x, na.rm = TRUE)
expect_equal(sum(biginteger(x), na.rm = TRUE), biginteger(ans))
expect_equal(sum(biginteger(x), na.rm = FALSE), NA_biginteger_)
expect_equal(sum(bigfloat(x), na.rm = TRUE), bigfloat(ans))
expect_equal(sum(bigfloat(x), na.rm = FALSE), ... |
9ad81c50cad72af32a2721a8eb53ff644a23e762 | 73381b0e7466a0df3a9b7689288084cf5dadb6c5 | /R/ssgsrt.gene_set_rank_test.R | aa5043a09ecaed45f6bac5ef14d1cf055f902d70 | [] | no_license | dolchan/ssgsrt | 78ce6fdc6aea0d3f9dd95d0a65c41bcc52da0969 | 8ebf2aa4be0f1b5e3072e51cc421d021f0783bf0 | refs/heads/master | 2016-09-13T09:07:51.586243 | 2016-04-20T21:35:00 | 2016-04-20T21:35:00 | 56,541,541 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,677 | r | ssgsrt.gene_set_rank_test.R | #' Perform a rank-based single sample gene set analysis.
#'
#' This function performs a rank-based single sample gene set analysis for
#' a set of samples (\code{data}) and a list of gene sets (\code{geneset_list}).
#'
#' @param data Either a set of samples in \code{data.frame} format
#' or a sample in a na... |
fefe6df05ae6b7fb30688f5771a3c78727ae7da9 | 198de39536eb0f81bbed80aab7781d662cffd859 | /Algoritmos/FX-C.R | 264c48e657129f86ccb5a8de8293cb2c6fc1ebbe | [] | no_license | avidaurref/stock-prices | 539d11911501263abdbc10635245ae02d4ef1ada | 306d8ba8d987714a2e0c70270a389c3bc7285b4e | refs/heads/master | 2020-04-16T11:37:00.189356 | 2019-01-13T19:14:41 | 2019-01-13T19:14:41 | 165,543,981 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 97 | r | FX-C.R | forexC00 <- forexB
forexC <- forexC00[,(names(forexC00) %in% rmColumns)]
rm(forexC00,rmColumns)
|
d935683c5377839f79740989d8280dfbcbd04a8a | 25c5d243ffac4b4f4f9efcd6a28cb41d51b23c90 | /src/test/scripts/functions/aggregate/GroupedAggregate.R | 324a94596d975a023634764108b392fc9e5dbd5a | [
"Apache-2.0"
] | permissive | apache/systemds | 5351e8dd9aa842b693e8c148cf3be151697f07a7 | 73555e932a516063c860f5d05c84e6523cc7619b | refs/heads/main | 2023-08-31T03:46:03.010474 | 2023-08-30T18:25:59 | 2023-08-30T18:34:41 | 45,896,813 | 194 | 167 | Apache-2.0 | 2023-09-13T08:43:37 | 2015-11-10T08:00:06 | Java | UTF-8 | R | false | false | 1,920 | r | GroupedAggregate.R | #-------------------------------------------------------------
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under... |
b7e3e767eff894c83c301c0408792bba5db754ab | b75b290b2dd161e4c850858ecf7abee486bdede8 | /tests/testthat/test_student_npr_history.R | 34d594375421939f3cf66edea84e9de4e52864e3 | [] | no_license | rabare/mapvizieR | 7d7bffb8691f6045e678d822f9e461e748038cd3 | 1a344ec1376ee41e85dcda0407f8bc63cfb95a82 | refs/heads/master | 2020-12-25T16:14:33.669385 | 2015-07-14T21:24:27 | 2015-07-14T21:24:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,172 | r | test_student_npr_history.R | context("student_npr_history_plot tests")
#make sure that constants used below exist
testing_constants()
studentids <- mapviz$roster %>%
dplyr::filter(grade == 8,
schoolname == "Mt. Bachelor Middle School",
termname == "Spring 2013-2014") %>%
dplyr::select(studentid) %>%
unique()
test_that("... |
40245453593835015daae59c4ce757d5991b6fdf | 02d17420f72d67c2623cc7b37a013fa97dd205fb | /Project4.Imaging/code/03_plots_TC.R | 09b52ca18bed7735081325abc7738cc039fb0dfb | [] | no_license | rachaelvp/ph244-big_data | 7a8641e1270dab39c572cc6fd73bc8ec89454962 | b22d34e9860fe765c03de1d847aab4f47ba3040d | refs/heads/master | 2021-09-13T23:52:07.207524 | 2018-05-06T04:32:55 | 2018-05-06T04:32:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,617 | r | 03_plots_TC.R | # Code to create summary plots of raw data
# Read in the raw CSV
train_summary <- read.csv("/Users/Tommy/Desktop/ph244-big_data/Project4.Imaging/data/train_summ.csv")
# There's one patient with a whole row of NA's... we should remove them.
train_summary <- train_summary[-c(374), ]
# Subset the important columns
trai... |
1b46a4a00b86824c5d2c0fe17c684467b5325f62 | d1a388b98b8c248c5f0388672189acedf96b0a93 | /estimationJob/m_t_new/GJR_GARCH/GJR_Gaussian_Esscher_returns/Function_Pricer_VIX_GJR.R | e0ddafb36b5abd4539322ddbc466d32d5a7645a3 | [] | no_license | Fanirisoa/dynamic_pricing | 1951438ea282358cf0aa90a04b1273846cd70836 | 66722ae75f446a3c9e2a672890ae808c679f72cd | refs/heads/master | 2023-04-09T04:36:15.646529 | 2021-04-20T19:38:35 | 2021-04-20T19:38:35 | 212,493,315 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,820 | r | Function_Pricer_VIX_GJR.R | ######################################################################
###### Compute option prices using MC simulation ##
######################################################################
Pricer<-function(N_v,para_h1 ,Data.N){
## This function compute option prices by MC, using the function "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.