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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
163162e9f429346c988683c385b67dfa5763c562 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/geoR/examples/nearloc.Rd.R | 349fe916cca32aa6921382099ebfc4d2c9095a34 | [] | 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 | 394 | r | nearloc.Rd.R | library(geoR)
### Name: nearloc
### Title: Near location to a point
### Aliases: nearloc
### Keywords: spatial
### ** Examples
set.seed(276)
gr <- expand.grid(seq(0,1, l=11), seq(0,1, l=11))
plot(gr, asp=1)
pts <- matrix(runif(10), nc=2)
points(pts, pch=19)
near <- nearloc(points=pts, locations=gr)
points(near, pch... |
f19d1ef39ca8aa71f757dfd97c53f1d0ea40c4bc | b93f14b970fe61ed7ffa4592654a027adc19b3fc | /R/fars_functions.R | cedd093e820bc6e394b8ec8c6f9ee5fb03e95b87 | [] | no_license | yuriygdv/farsfunctions | 1093001e2349400a18c2c800f158d88b090058fd | 0560cc087832a01c45e4014d8ecb3e6a837d31f0 | refs/heads/master | 2021-04-30T03:58:30.600541 | 2018-02-14T15:30:02 | 2018-02-14T15:30:02 | 121,523,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,640 | r | fars_functions.R | #' Read a csv data file into a table dataframe (tbl_df)
#'
#' This is a function that reads a csv data file into a table dataframe (tbl_df).
#' You are supposed to provide the name of a dataset (csv file) to read as the argument.
#'
#' @param filename A character string giving the name of the dataset to read in
#'
#' @... |
1205677b96af4af8d5043274cfb905faf61394fb | fab563b952c80f6a90acdfdec77f082b60337dc3 | /dist/AWS_customBuild/packages_bioc_2.R | d6036589718b8c7dae5009d618fffe170ff69eb7 | [
"MIT"
] | permissive | wangdi2014/OmicsPipe2.0 | efa9d1399373ca9f8085ceb60037e6ffaa3ceb77 | 50bfe098d21bd4b22936ad754235e371c63f3797 | refs/heads/master | 2021-05-16T16:05:08.526516 | 2016-10-03T21:39:18 | 2016-10-03T21:39:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 229 | r | packages_bioc_2.R | source("~/.Rprofile")
source("http://bioconductor.org/biocLite.R")
biocLite(ask=FALSE)
biocLite(c("IRanges",
"KEGGgraph",
"KEGGREST",
"limma",
"org.Hs.eg.db",
"pathview",
"ReactomePA",
"SPIA",
"XVector"
),
ask=FALSE
) |
59559488a8e80dc96289d49f551e481c1967e3b8 | 2b9823b63a4856696e9d4ead7795310b2c72ad79 | /media/G3data/fdr18/trans/zero_gene_peaks/top2002/analysis.R | 4d79d037c66ea122d8a077716f2006f0cd23e411 | [] | no_license | anykine/radiationHybrid | 1e4645f67661805a71a64fa830e158d9d3dd3a3c | 6ef1732127b90c039ce865dcf22ccb32ffbd263f | refs/heads/master | 2020-04-29T06:03:07.692782 | 2019-03-15T23:20:07 | 2019-03-15T23:20:07 | 175,903,410 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 858 | r | analysis.R | # do a correlation of the genes regulated by the "same"
# 0-gene eqtls
total = 2001
data = matrix(0, total+1, 4);
for (n in 0:total) {
fname = paste("data", n, ".txt", sep="");
#cat(fname);
x = read.table(fname)
x.alpha = cor.test(x[,1], x[,3], method="pearson")
#x.alpha1 = cor.test(x[,1], x[,3], method="spearm... |
9dd14be166591bb8dfe49ae9a761dfb0f5f839b9 | 6ec14566e49b07c600432588a4a392619b4860ba | /US_Arrests.R.R | a1a8bf81c50ad221d38e8e8b1d149d5002bb7004 | [] | no_license | fall2018-saltz/ananth_gv_ggmap | 834a2ac34bf231aac8b2b21695804a3489d96c11 | dca56f206aac919723f1268c36916ad29c24b9a9 | refs/heads/master | 2020-04-01T19:36:31.032572 | 2018-10-19T20:57:16 | 2018-10-19T20:57:16 | 153,562,642 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 196 | r | US_Arrests.R.R |
#2) Copy the USArrests dataset into a local variable (similar to HW 2)
arrests <- USArrests #Assigning the US USArrests data to arrests variable. This is fed as input to next R module.
|
fbdd90191591d63f769e7b478b667f0c63944cc5 | 98a0bd2de4836b813642df0faf5f0b5bd31f7617 | /man/tophatInstallation.Rd | 061932663663d96028c906c8dfd90d984ae3d55d | [] | no_license | inambioinfo/chimera | 7bf3834f72464e546b83f52704354acbc9c329bc | 17e0580ccd842a57f519fd968bc9df3d9ec29a0f | refs/heads/master | 2021-06-25T06:56:13.520654 | 2017-04-24T19:50:57 | 2017-04-24T19:50:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 637 | rd | tophatInstallation.Rd | \name{tophatInstallation}
\alias{tophatInstallation}
\title{A function to download tophat, bowtie and samtools}
\description{A function allowing the download and installation of tophat, bowtie and samtools in chimera package folder. The function also creates soft links in the user bin folder to allow the call of the ab... |
eb4af76c72b8c5d87dc3844762a88a710faa00f1 | 935b769a7ce00644143176a52e72401914a0c75e | /man/loo.moultmcmc.Rd | 92f72e9bb1e9031ae6298f0599c683efda7b8003 | [
"MIT"
] | permissive | pboesu/moultmcmc | 1b21a2701b85237763e9d9b8bee997280e5e3835 | 0a343e0589955fd917239590339acf7e73d6940d | refs/heads/master | 2023-04-16T22:51:20.054204 | 2023-02-15T15:33:32 | 2023-02-15T15:33:32 | 282,736,473 | 4 | 1 | MIT | 2022-12-27T15:27:53 | 2020-07-26T21:30:00 | R | UTF-8 | R | false | true | 1,125 | rd | loo.moultmcmc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{loo.moultmcmc}
\alias{loo.moultmcmc}
\title{Efficient approximate leave-one-out cross-validation (LOO)}
\usage{
\method{loo}{moultmcmc}(x, cores = getOption("mc.cores", 1))
}
\arguments{
\item{x}{A moultmcmc model object}
\it... |
e1b4bebbe49ba99d7acdc1fbeedf1a306964f3d1 | e87fb65db88b9886eb8e1e0b7a2d7980bec57a69 | /R/getCurrentUser.R | 57ad05681c7d36fa3577a3149532ede9f11e2cd5 | [] | no_license | SantoshSrinivas79/Rspotify | 999aba6e81836e4d61cffd135e50df3e282feb42 | 94b90ff441e62d99fdce8405b1f00207b12ea7dc | refs/heads/master | 2021-01-23T18:00:54.405050 | 2017-02-25T20:07:11 | 2017-02-25T20:07:11 | 82,991,513 | 0 | 0 | null | 2017-02-24T02:12:45 | 2017-02-24T02:12:44 | null | UTF-8 | R | false | false | 933 | r | getCurrentUser.R | #' Get basic info of the current user
#'
#'
##'function to get basic info of the current user
#'@param user_id user id
#'@param token An OAuth token created with \code{spotifyOAuth}.
#' @examples \dontrun{
#' ## Example
#' my_oauth <- spotifyOAuth(app_id="xxxx",client_id="yyyy",client_secret="zzzz")
#' save(my_oauth,... |
adfa3f68a79cdc879c70e6479aabc6b6c7d8a135 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /Rrelperm/man/kr3p_StoneII_SwSg.Rd | f0ddedc2f771ca72027df16bd25eba2222d2d067 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 2,104 | rd | kr3p_StoneII_SwSg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Rrelperm-package.R
\name{kr3p_StoneII_SwSg}
\alias{kr3p_StoneII_SwSg}
\title{Generate a matrix of three-phase relative permeability data for the water-gas-oil system using the modified Stone II model}
\usage{
kr3p_StoneII_SwSg(
SWCON,
SWC... |
81d4c77ad295aae16e141700bca92cd594ebe5b6 | 30a78aca3c329cb27bf68dcc0ae022179ccad18b | /Italy/code/utils/read-data-subnational.r | 9a68e4d96b3e0c3fc417c072dfbc327b7042ebf9 | [
"MIT"
] | permissive | wyuill/covid19model | 9c04ae4053a3aaaa59ff1527ea538d3504b9e8db | b98ffcde59cb307d359ae999d2c5e182d74116ba | refs/heads/master | 2022-09-28T17:54:44.960892 | 2020-06-02T08:54:55 | 2020-06-02T08:54:55 | 262,770,417 | 0 | 0 | MIT | 2020-06-02T08:54:56 | 2020-05-10T11:18:10 | Jupyter Notebook | UTF-8 | R | false | false | 16,619 | r | read-data-subnational.r | library(tidyr)
library(lubridate)
library(stringr)
library(tidyverse)
library(dplyr)
library(magrittr)
read_obs_data_italy <- function(){
# Read the deaths and cases data
d <- read.csv("Italy/data/dpc-covid19-ita-regioni.csv")
# Original column names
# [1] "data" "stato" ... |
2c40660da6beaa9aaa11e8d6eb67c0e7984b25cb | f457f42f9d7881977fb9c2f36648561557c976ba | /man/portpirie.Rd | 5816249bba5b0fca787cdc7638d8d8990a6763c3 | [] | no_license | cran/ismev | cb20d114b2617cd8f105b0fbc9fc796a48645ba7 | ffe568d732e72e071012a989d672996be6d8cc88 | refs/heads/master | 2021-05-16T02:43:11.393201 | 2018-05-10T21:08:29 | 2018-05-10T21:08:29 | 17,696,836 | 1 | 5 | null | null | null | null | UTF-8 | R | false | false | 704 | rd | portpirie.Rd | \name{portpirie}
\alias{portpirie}
\title{Annual Maximum Sea Levels at Port Pirie, South Australia}
\usage{data(portpirie)}
\description{
The \code{portpirie} data frame has 65 rows and 2 columns.
The second column gives annual maximimum sea levels recorded
at Port Pirie, South Australia, from 1923 to 1987.
The... |
b1b3bf260f1898f68de2945e3b285cfe353bc050 | 3b3a209f4af98de119a5b70f569a3357b9a0370f | /man/load_supermarket_takslist.Rd | 22d778ab7b2dcc5b1c8ca33b385d3f72a0f74178 | [] | no_license | BrainVR/brainvr-supermarket | 190741a73548b97ccd71a5bec9c86e7c0323f151 | 5ada23205dc731f1f71f03174967f10614a9a158 | refs/heads/master | 2021-09-23T03:54:31.279411 | 2021-09-12T00:35:37 | 2021-09-12T00:35:37 | 216,592,182 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 710 | rd | load_supermarket_takslist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/super-loading.R
\name{load_supermarket_takslist}
\alias{load_supermarket_takslist}
\title{Loads taskslist form .json file}
\usage{
load_supermarket_takslist(filepath, language = "CZ")
}
\arguments{
\item{filepath}{path to the .json tasklist f... |
83a9b2a89c52bedc61b18c396b93ccd1e45277e7 | bbde2405b9ff4a77d0f5156b31465622889ee38d | /tutorial.R | 82d9a40f75ed1d0d96627e28c57988ca55170cba | [] | no_license | cstatzer/LearningR | aa8004bfeb23a8967625616734d3002fd57a6c99 | 4263a6ba60adc9e610e6e94bc9694c08c68e8858 | refs/heads/master | 2022-11-20T15:12:28.181024 | 2020-07-12T20:13:38 | 2020-07-12T20:13:38 | 279,138,254 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,055 | r | tutorial.R | # Install additional libraries to be able to generate all plots (run install functions once and then you can delete them):
# install.packages("viridis")
# install.packages("ggforce")
# install.packages("ggrepel")
# install.packages("survminer")
# install.packages("survival")
# install.packages("magrittr")
# install.pac... |
4598f58f7fb647c7e19da519d6663f54911bee20 | af545d1594c0aca08e84a6bc2742df962521695e | /Chapter 15/Exercise 15.44.r | fde4f8b799cc856f9169e10635fb89489f454dff | [] | no_license | kmahoski/Statistical-Data-Analysis-in-R | 9da43ae5339d568cd98f19b8c8ad1c472f5c98b2 | 309f85c1284e4691e5670172f2619b75a292dd12 | refs/heads/master | 2021-01-22T11:37:36.858625 | 2014-11-10T21:53:17 | 2014-11-10T21:53:17 | 25,942,516 | 1 | 0 | null | 2014-11-10T21:53:17 | 2014-10-29T21:35:08 | R | UTF-8 | R | false | false | 260 | r | Exercise 15.44.r | surfaceFinishes <- c(10.32, 9.68, 9.92, 10.10, 10.20, 9.87, 10.14, 9.74, 9.80, 10.26)
nullMedianValue <- 10
confidenceLevel <- 0.95
signTestNormalApproximation(surfaceFinishes, md = nullMedianValue,
alternative = "two.sided", conf.level = confidenceLevel)
|
402265793be7de7eb285f20f6e6ad79e1a0c8ece | 1415327fe6a3200b61987f6579abbda343fb024f | /man/mass_transport_coef.Rd | 44c733721e9f8a507a0a7c3543d4c70740410f94 | [] | no_license | masspern/rAedesSim | 6b093bd98b6a8de9195bf0993c2f1bbf03593a7d | ee532108bed9ca3b93739edf84a58d1d2b5336fc | refs/heads/master | 2021-01-16T21:00:37.492290 | 2015-11-08T08:41:58 | 2015-11-08T08:41:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 701 | rd | mass_transport_coef.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/psychro_function.r
\name{mass_transport_coef}
\alias{mass_transport_coef}
\title{mass_transport_coef}
\usage{
mass_transport_coef(tair = 23, twater = 21, urel = 50, v_air = 0.5)
}
\arguments{
\item{tair}{numeric: Air temperature in Ce... |
c61b359604d6d6c11e36bca3aa6ed67ef9231817 | 7054e31dd0a145ef392b1fb7565bd6c24a7b72b8 | /R/Gamma.R | 778e54949dc3b9742fb1cb473beaf9beaed7e0b9 | [] | no_license | cran/ExtDist | babe7363f31a019fd88aed030450b44346ff3d21 | ace084bbc5b4557d043418c24ea64bc29293cb42 | refs/heads/master | 2023-08-31T00:17:52.828260 | 2023-08-21T09:02:36 | 2023-08-21T10:31:36 | 19,884,385 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 7,671 | r | Gamma.R | #' @title The Gamma Distribution.
#' @description Density, distribution, quantile, random number
#' generation, and parameter estimation functions for the gamma distribution with parameters \code{shape} and
#' \code{scale}. Parameter estimation can be based on a weighted or unweighted i.i.d sample and can be carried ou... |
0575c8a044d2e54502911dbbb5674bfc2ab058e7 | 513a8f7525b71e23e47ca647201e1a8da9980b2c | /kladda_1.R | 6aad8d052ed1f3ab9165511a7d3ec577817d5d13 | [] | no_license | jonjoensen/demo-shiny-statbank | 690beff3928164fcf7816350ffe22a00c680dbce | 5cb87996d83c42350a4358318285059965c5fbd4 | refs/heads/master | 2020-03-15T00:20:18.112357 | 2018-05-02T14:35:12 | 2018-05-02T14:41:40 | 131,865,799 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 636 | r | kladda_1.R | # install.packages("pxweb")
library(pxweb)
api_catalogue()
staging_api <- pxweb_api$new(api = "pxweb/staging",
url = "http://pxweb/staging/api/[version]/[lang]",
description = "Staging - Statistics Faroe Islands",
languages = "en"... |
bf79963ccb42ab5c6f98386c5ff31d367027aee5 | cb90a14067d0a0638dac4065f97bd43f37328185 | /extractSSlocdata.R | 0545174468dc08ad168c3428b5f3e206c7c9524f | [] | no_license | RowanHowell/CLM-R | ace86119a8adb0a28c2e9c450a2528f88657cc93 | 3aefa6dc71b23fa99444b8e3288d7a314113db61 | refs/heads/master | 2022-11-23T00:22:56.326806 | 2020-07-20T09:12:14 | 2020-07-20T09:12:14 | 243,314,095 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,351 | r | extractSSlocdata.R |
extractSSlocdata = function(data, prots, locs, model){
if(length(data)>1){ # combine SSs of varying length
K = length(data)
data2 = data[[1]]
for(k in 2:K){
data2 = cbind(data2, data[[k]])
}
data = data2
} else{
data = data[[1]]
}
SSs = colnames(data) # determine number and ... |
25a0e8f754861908e7489669930a7d46fead2a7c | 378fd0edb0456d4999b73da2f1bf3970ffdb29ac | /R/Evaluate.R | fe1e288ee5cd4330bba29c884c76ee71939af763 | [
"Apache-2.0"
] | permissive | prabinrs/PatientLevelPrediction | 2752c83da2195ef9bf28d59420718581fccfed62 | f9cc776ee39c5ec6c6ab57a244f4a11e829b247f | refs/heads/master | 2021-01-14T12:45:19.432919 | 2015-05-15T23:26:10 | 2015-05-15T23:26:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,021 | r | Evaluate.R | # @file Evaluate.R
#
# Copyright 2015 Observational Health Data Sciences and Informatics
#
# This file is part of PatientLevelPrediction
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... |
0d1806a5019925575f76e88be8757d72612c4fca | b9d5e16cf702ee87d3553d98e849c9b15ba3922e | /Curso02/Modulo II/code/script-c2m2.R | dbb85fb0e8f3b2e829adb27347f4131ab1b5fcf9 | [] | no_license | Manuelfjr/CursoLivre | 83b73f2462f932623d4868d65efbb0a51b279f36 | 39b7fc4a8f40c1e98524d53c6b2591809ee3bf75 | refs/heads/master | 2022-12-07T20:12:22.425148 | 2020-08-19T20:02:41 | 2020-08-19T20:02:41 | 277,863,734 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 564 | r | script-c2m2.R | # Questão 01
data(trees)
trees
attach(trees)
# A)
plot(Girth,Volume)
title('Volume ~ Girth')
# B)
cor(Girth,Volume)
# C)
cor.test(Volume, Girth)
# D)
gvmodel <- lm(Volume ~ Girth)
gvmodel
# E)
# Para esse modelo, consideremos que a variavel explicativa é
# o diâmetro da arvore e a variavel resposta é o volume da
#... |
63d0f0cc2626636b70d88dada58b05db5142270a | 4236a34307c064b968910bdd43354fe0de692c19 | /cachematrix.R | 341fb907dba943934952fd34a4851d9a3df941aa | [] | no_license | ragank715/ProgrammingAssignment2-master | e211853588ee10959cd6a3d3cf1ceeb36c6bc496 | cd57413ea069c87810504cfd24ebe9f412c456f0 | refs/heads/master | 2021-01-02T22:18:00.541718 | 2015-04-26T18:03:16 | 2015-04-26T18:03:16 | 34,536,541 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,131 | r | cachematrix.R | ## The flow of function is very similar to what was provided
## for the example with the mean
## Chnages implemented are as follows:
## 1) a variable n is introduced defining the dimension of square matrix
## 2) Instead of NULL, NA is being used to fill in the inverted matrix for
## the time inverse is not computed
##... |
c2c6cb41ec7cdf16fc87703cf797e8061e49bd57 | a0dc8970520126b2ea0234c2ed265264c144df2e | /Scripts/Functions/Lag_X.R | 279cf7d70c009f1bf598a073c4f7373be594e9dc | [] | no_license | AtefOuni/CaterpillaR | b1a0703b85b5009af2c421e58e2697dd66e91a67 | 7c0cafa990f01ea085ab21e8349a616c0c799aeb | refs/heads/master | 2020-05-31T04:10:35.543952 | 2015-04-20T15:08:35 | 2015-04-20T15:08:35 | 31,979,495 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 415 | r | Lag_X.R |
Lag_X <- function(X,Lags = 12,Var_Name ="X") {
if(Lags == 0) {
return(X)
}
X_l <- list()
for(k in 1:(Lags+1)) {
X_l[[k]] <- lag(X,k=1-k)
}
X_res <- cbind(X_l[[1]], X_l[[2]])
if(Lags>1) {
for(k in 3:(Lags+1))
{
X_res <- cbind(X_res, X_l[[k]])
}
... |
a73cfbca92c0b10bd1d3d962f029cd0d9429138e | bd8f6f04dbf8bf1b82d5c020e1b24ed7eed20046 | /collapsed_opps.R | d88ed3d37095152d0b71166a608e681f99ee33d9 | [] | no_license | mbreecher/sales_analysis | b9c18bc3a2a347ab53b82ca3f289ce75dc5f4f0d | 76198f8fd39a34a2527450fcf8d236bcc5150f4f | refs/heads/master | 2021-01-21T07:39:01.380032 | 2014-12-12T19:46:54 | 2014-12-12T19:46:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,146 | r | collapsed_opps.R | library(RMySQL)
library(reshape2)
library(plyr)
library(ggplot2)
setwd("C:/R/workspace/shared")
source("get_query.r")
load("db_creds.Rdata")
setwd("C:/R/workspace/sales_analysis/source")
opps <- read.csv("opportunities_and_products_for_psh.csv", header = T, stringsAsFactors = F)
#grab project and collapsed time data... |
d59f64e721a6eb7c5ca9b8f632d9c302585eef71 | 1f27ad535035612c2731e95cbca8e86b43e043c1 | /R/inla.climate.R | ec14e8fb0de755284bcdd5dfa493f83ce86eebc0 | [] | no_license | eirikmn/INLA.climate | 8417e699d97b24b4d408174c03b8a6896e30d9ee | c467e6e2f9fd2e4341cbc1bf15b9629b82eb7089 | refs/heads/master | 2023-02-08T15:06:14.385088 | 2023-01-27T09:52:09 | 2023-01-27T09:52:09 | 168,170,133 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,892 | r | inla.climate.R |
inla.climate = function(data, forcing, Qco2=NULL,compute.mu=NULL, stepLength=0.01,restart.inla=FALSE,
m = 4,model="fgn", formula=NULL, print.progress=FALSE,
inla.options = list(),
tcr.options = list(),
mu.options = list(),
... |
a134346bcc54f317ef988fe35d6aaac076bf616a | cbcb137a4b1537c6e07f7b792f1b78affab44af7 | /inst/shiny-examples/maniTools/app.R | 7b063d21ce7c76c7a6df7539c2534da601be2042 | [] | no_license | kcf-jackson/maniTools | 07c1dceb39ce4f52d88a52a190c6974a8a56b9a3 | 1653112e263e44fc2ec4bdb225848ce05f33ad3d | refs/heads/master | 2020-12-24T21:21:42.946003 | 2020-04-07T09:46:37 | 2020-04-07T09:46:37 | 58,609,852 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 12,653 | r | app.R | library(shiny)
library(plotly)
library(maniTools)
dr_demo <- function(sim_data, algor, k, d, kernel = 'rbfdot') {
if (is.null(algor) | is.null(sim_data) | is.null(k) | is.null(d)) return(NULL)
if (is.na(algor)) return(NULL)
algor <- toupper(algor)
if (algor == "PCA") {
# PCA (on centered and scaled data)
... |
9e10d263676b8c2ac4ecda5fac522cc27bdb15c8 | 01f9fbcab3e94e85bd3e74b24e0fcd7dcab87583 | /TwitterVerse Shiny/Predict.R | 90cb285684c661a66dd58cbf9cd9c71f1cc9cce5 | [] | no_license | jayurbain/TwitterVerse | f564bc88f3c50fe37bb217165d6db8b0c5a786f5 | 09f108d7271fc3009c5df301def3f21770cc4d53 | refs/heads/master | 2021-01-10T08:55:12.709555 | 2016-01-16T23:55:55 | 2016-01-16T23:55:55 | 49,349,286 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,179 | r | Predict.R | require(stringr);
# remove any extra whitespace
trim <- function(x) {
return(gsub("^ *|(?<= ) | *$", "", x, perl=T))
}
# convert input text to lowercase; remove numbers, punctuation, and extra whitespace
# return as string array of tokens
preprocessText <- function(s) {
# remove numbers, punctuation
ss <- gsub... |
ea262c73ba3d718c27687b40bff13cb8db2db91d | c163af509749f2291b3954e4acdf61e08f6c15b0 | /simu.R | a60c483c9b4625eb022697857c548a9cb3014c63 | [] | no_license | haoluns/mixspa | 9093f0f644e8761d6743ee51ad17b3fd7e3777d6 | 367ae6050ab4ddf1de5e0dac931f92f45a79ef35 | refs/heads/master | 2020-09-16T19:04:48.388125 | 2019-11-25T04:51:56 | 2019-11-25T04:51:56 | 223,861,853 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,897 | r | simu.R | load("first3_sparse.RData")
library(fda);library(dplyr)
library(Rmpfr)
library(dplyr)
library(reshape2)
library(data.table)
library(lsei)
source("funs_mixspa.R")
library(fda)
timepts=1:10;
norder=4 ## cubic B-spline
nbasis=norder+length(timepts)-2;
spline_basis=create.bspline.basis(rangeval=c(1,10),nbasis=6,norde... |
8288dc56c96fc47068933c25a5c46ffe90e38d40 | 79b54712f13b3113630b91b71433418acc6dc934 | /server.R | c8215e32dbea71607809bed2d4fb263b1fb29233 | [] | no_license | Geekiac/Developing_Data_Products_Course_Project | 866abb10c37943e5ede45cececcd49a71ac96e6e | db8bafc04201a4c177d31967e0c86ba82b9caf38 | refs/heads/master | 2021-01-17T18:03:45.866786 | 2016-07-12T20:34:45 | 2016-07-12T20:34:45 | 63,190,377 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,471 | r | server.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
y_1d <- c()
x_2d <- c()
y_2d <- c()
# Define server logic required to draw a histogram
shinyServe... |
48d8ba3a17f5c8a5e086cab36d9a86377b76a82a | 257c46df84db47f4dbd61e289852cd0e80fb6c99 | /data preprocessing/r_Supervised_Classification.r | 8384108e43b337c55b1a98f25bbd015128ff5d6f | [] | no_license | bordenchen/DBSCAN | 175f3578bdb0eac93d4cfb07a488dc27bdbc323a | 54c7459d641eda56a9e68f022dbbb05efbaba0de | refs/heads/master | 2020-03-30T12:13:49.236185 | 2018-10-08T06:27:08 | 2018-10-08T06:27:08 | 151,215,248 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 692 | r | r_Supervised_Classification.r | require(rpart)
require(tree)
library(rpart.plot)
ecoli.df = read.csv("C:/Users/USER/Desktop/dataprocessing/result.csv")
ecoli.rpart1 = rpart(class ~ R+G+B,data = ecoli.df)
summary(ecoli.rpart1)
plotcp(ecoli.rpart1)
rpart.plot(ecoli.rpart1)
ecoli.tree1 = tree(class ~ R+G+B,data = ecoli.df)
summary(ecoli.tree1)
plot(e... |
290fc87e8433ac111bbe1d6cc7af05cfa8c413a9 | 97ac03d8fd78c0ed5fcd60fcb0beed5ac873124d | /analysis.R | 17257969e484caa01421deedbb5685688a15b23f | [
"CC0-1.0"
] | permissive | AbbyHeron/Workshop1 | 13ec5381364b6f24749c2d9ebf2254c2bbceda5f | 42df74e4e2ef47cc191edcf8a2cc1811695c862d | refs/heads/main | 2023-01-01T21:03:29.318917 | 2020-10-22T16:12:22 | 2020-10-22T16:12:22 | 306,366,593 | 0 | 1 | CC0-1.0 | 2020-10-22T16:12:23 | 2020-10-22T14:39:02 | R | UTF-8 | R | false | false | 2,110 | r | analysis.R | #Reading the data into R
chaff <- read.table("chaff.txt", header = T)
#Loading in Tidyverse
library(tidyverse)
#The data is in two columns of males and females so it is important to put the data into tidy format -
#males and females in one column (sex) and the value in another column (max)
chaff2 <- gather(data = cha... |
4664e21048e477dcdebc197f42c3d17803dac21a | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /wk/man/wkb_translate_wkt.Rd | 7e9d45fa4460f268ddbeacf72993aed3f18778fb | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 3,282 | rd | wkb_translate_wkt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/translate.R
\name{wkb_translate_wkt}
\alias{wkb_translate_wkt}
\alias{wkb_translate_wkb}
\alias{wkb_translate_wksxp}
\alias{wkt_translate_wkt}
\alias{wkt_translate_wkb}
\alias{wkt_translate_wksxp}
\alias{wksxp_translate_wkt}
\alias{wksxp_tran... |
d20dee242bbce83ef94da7809cd141c0f56d39de | 8ba77da6aec29d1677a16d8f72d02fe30383566f | /CTD_graph.R | 6755eca6b8ee345f3f7f5a731f3757a51a0e7055 | [] | no_license | mattgrobelny/ThermalGrad_Analysis | 2d11805599194cf80042feb2f8c612ec26c24088 | c9384817c76ff8156d0ec0ec3665c367b4996278 | refs/heads/master | 2021-06-15T14:49:47.149637 | 2017-04-23T02:04:53 | 2017-04-23T02:04:53 | 65,787,720 | 0 | 0 | null | 2017-04-18T19:59:34 | 2016-08-16T04:33:31 | R | UTF-8 | R | false | false | 2,535 | r | CTD_graph.R | # Data reanalysis for the thermal gradient project
# By: Mateusz Grobelny
########################################################################################################################################
# Libraries
library(ggplot2)
library(RColorBrewer)
library(fields)
library(MASS)
library(FSA)
library(dunn.t... |
87dcdd8fb86ba7bbb87403d4c5ddaaeb1fe8f7cf | befeec107b70db0ea26bdcb2cfc6498bd68b0b05 | /src/postp.R | d87c8009d35c473ee5f73a85ad03028150bedc1b | [
"Apache-2.0"
] | permissive | vuw-sim-stia/lit-cascades | a93302e81fe87f1b05d9336e686fa57c97622eed | 3d56ffa6f7703e09ed1a5dec8eec021ce6825ab5 | refs/heads/master | 2021-01-13T09:37:36.179435 | 2018-08-27T23:20:01 | 2018-08-27T23:20:01 | 72,040,702 | 2 | 2 | Apache-2.0 | 2018-06-26T03:31:26 | 2016-10-26T20:14:46 | HTML | UTF-8 | R | false | false | 3,309 | r | postp.R | #set working directoy
setwd("/Users/mlr/OneDrive - Victoria University of Wellington - STAFF/Git/lit-cascades/src/")
#slice_sizes <- c(1000,500,250)
slice_sizes <- c(1000)
options(scipen=10000)
dat <- fread(paste0("TLit/www/output/",sliceSize,"/",theSource,"_temporal_statistics.csv"),sep=" ", header = T,fill = T)
d... |
5c51f243589c1b3009ac0dec7fba8fefaa58fcd2 | 34a1ec578fe8a27cca9f3e6dd4b8218ff5a7d11b | /R/recode_grid.R | 66cf10000c0f04448ba08c8fca8194d436b96c97 | [
"MIT"
] | permissive | electorArg/polAr | 4c50e700b0452c99a4347160fd1b4f70806ab91f | e8e8b88ed74a98eb17dce6e9c74edb2e62a00f2e | refs/heads/master | 2023-04-08T00:47:44.651990 | 2021-04-28T12:56:14 | 2021-04-28T12:56:14 | 256,862,665 | 10 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,837 | r | recode_grid.R | #'Recodifica id asignados a provincias o departamentos de Argentina
#' (\emph{Recode Argentina's districs id})
#'@description
#'
#'Función que permite recodificar etiquetas para utilización de grillas de Argentina y de departamentos para los 24 distritos
#' subnacionales. Ello permite hacer mas sencilla la vinculaci... |
b9102b90ec276c8061eba35873df37d2105fe714 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.customer.engagement/man/sesv2_test_render_email_template.Rd | d8203c97ef7928505cca2e5b1c175f122628a0de | [
"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 | 919 | rd | sesv2_test_render_email_template.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sesv2_operations.R
\name{sesv2_test_render_email_template}
\alias{sesv2_test_render_email_template}
\title{Creates a preview of the MIME content of an email when provided with a
template and a set of replacement data}
\usage{
sesv2_test_rende... |
25ff9effe35593a5d02a5a102e87feb477f76924 | e44a5584d57becf8db393c1fc35dda419e775d9e | /inst/examples/data.R | e1298dc99cc91ce382a5773083e01d7fcd73c03f | [] | no_license | duncantl/CGIwithR | 2c39fb18f304b5ad6802155730703f02692e8821 | e1afc34ced53eb6d638a7c1735222877ff97d20b | refs/heads/master | 2016-09-06T18:26:36.846291 | 2014-05-30T19:01:35 | 2014-05-30T19:01:35 | 20,338,698 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 479 | r | data.R | #
# This is a trivial example of how one can specify a
# Content-type other than text/html for the returned
# "page". The Content-type: header must be the very
# first text returned by our script so that R.cgi
# will know not to add its own Content-type header.
#
# The example shows how we can return a dataset
# with... |
0c226f5307289ceabbb0b422dcef6a2dbf627a7c | 66503e3a888729d37f5796192602f2d684893563 | /man/member-if.Rd | b854711109e142ad5e3660ff71fa54b3e0a301c1 | [
"MIT"
] | permissive | wwbrannon/schemeR | 79e4c2791fc77cd25ac9fbcc63fff4161809c6b7 | 4089b074d8636b9ced2716ac84b74c1ef90c110d | refs/heads/master | 2021-04-28T22:01:09.946266 | 2017-01-26T10:40:13 | 2017-01-26T10:40:13 | 77,758,545 | 5 | 0 | null | 2017-01-19T03:58:23 | 2016-12-31T22:49:25 | R | UTF-8 | R | false | true | 1,453 | rd | member-if.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functional.R
\name{member-if}
\alias{member-if}
\alias{member.if}
\alias{member.if.not}
\title{Searching for tails of sequences}
\usage{
member.if(f, x, k = identity)
member.if.not(f, x, k = identity)
}
\arguments{
\item{f}{The filter predic... |
42685f6ecbbf79d385f83608d6951b06469ada46 | 85f13d7969dfd03641a200efd19257947d5fe2a5 | /man/tween_states.Rd | 4c4579393d7e1b1464955ff33c33d33f0f879514 | [] | no_license | arturocm/tweenr | ae03a615d797f365cccb814f7e80909d80496e98 | 62ae8d9437c91c02a24e442ffc0705e9addf7473 | refs/heads/master | 2021-01-16T21:05:49.673910 | 2016-02-10T10:37:08 | 2016-02-10T10:37:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,628 | rd | tween_states.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tween_states.R
\name{tween_states}
\alias{tween_states}
\title{Tween a list of data.frames representing states}
\usage{
tween_states(data, tweenlength, statelength, ease, nframes)
}
\arguments{
\item{data}{A list of data.frames. Each data.fra... |
9e79583925c4ac6b2006b1a604dd96727007a621 | 405a4148597fe9b412680b3e479d7b1e328167ba | /Code/Evolution_No_Density_Dependence.R | 620f00358530148d4994334207269a802a5d4061 | [] | no_license | swalker1998/BIOL-3295 | 68bd49e4947166e247e572755c67daf8dcd3d42c | cfd145967c4f4fac6cab31496cfd050cbced4714 | refs/heads/master | 2020-09-03T04:25:29.993967 | 2019-10-31T12:50:50 | 2019-10-31T12:50:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 742 | r | Evolution_No_Density_Dependence.R | # EVOLUTION WITH NO DENSITY DEPENDENCE IN POPULATION DYNAMICS
# Remove all objects - always start with this
rm(list=ls())
# times
t = seq(0,100)
# intrinsic growth rates for genotype 1 and 2
r1 = 0.1
r2 = 0.2
# initial populatin size for genotypes 1 and 2
n10 = 1
n20 = 1
# population size for genotypes 1 and 2
n1 = n... |
b90fb28f68052e6a1b6155dc1c623f3bd5d4792d | a732fbe391bad266b513ac2d932ce352bd25e619 | /TARA_scripts/read_counts.R | 44087f524007f917e1e6e59f900b3e7755303bfb | [] | no_license | alkaZeltser/garud_lab | c574dd9379ad7f2364306f0067ce87e15bed8f4f | 71164a8b0014cdf4b4841c7c9eb002211f948f05 | refs/heads/main | 2023-02-12T20:57:36.733060 | 2021-01-03T20:09:46 | 2021-01-03T20:09:46 | 319,797,197 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 105 | r | read_counts.R | setwd("/Users/nikaz/Downloads")
line_counts = read.table(file="counts.txt")
read_counts = line_counts/4
|
490813cb5fc418a1b8581190c3e6ff9523467210 | eb1667dd25aa5afc0ccbb1e5bc9bbd37f7177d65 | /scripts/brouillons/heatmaps_rplotly.R | ead3fb7dec96cce8dea246145ebf966efb552c24 | [] | no_license | Mataivic/AdaptSearch_visualization_tools | e44dc22b0595e2e983a5ca885715af83e4c6825a | 7e8cf9ad4c88bb94e9a7b395c9879af3161e7bf8 | refs/heads/master | 2020-03-18T19:27:33.914939 | 2018-07-31T11:52:50 | 2018-07-31T11:52:50 | 135,155,576 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,334 | r | heatmaps_rplotly.R | library(plotly)
library(ggplot2)
library(ggdendro)
setwd("~/Documents/Fork_AdaptSearch/adaptsearch/galaxy_wrappers/07_MutCount/test-data/OUT_concat")
data <- read.table("codons_freqs.csv", header=TRUE, dec=".", sep=",", row.names=1)
counts <- data[seq(1, nrow(data), 3),]
freqs <- data[seq(2, nrow(data), 3),]
substrL... |
2f20907f8bb4c7017049c8b5a7c78ab09865c1e0 | bdc8d86d43651127bc79602785377d6504599161 | /scripts/R/two_periods_compare.R | cd76ccbbbaf304b7705e411eb15ba271c1d0b0a5 | [] | no_license | drmarcogir/phenology | 5c002d779d7c482d505056b456e1c4684c740ed1 | 402ede6f9688818fa82a3c5a416957d9a0000179 | refs/heads/main | 2023-04-23T20:51:15.136883 | 2021-05-21T18:48:58 | 2021-05-21T18:48:58 | 312,090,652 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,258 | r | two_periods_compare.R | library(snow)
library()
st_read("/home/marco/Desktop/terr-ecoregions-TNC/tnc_terr_ecoregions.shp")->dat
phenochange<-raster("/home/marco/Desktop/dif8.tif")
unique(dat$WWF_MHTNAM) %>%
.[str_detect(.,"For|for")]->forlist
dat %>%
filter(WWF_MHTNAM %in% forlist) %>%
st_write(.,"tmp.shp",delete_layer=T)
######... |
c5b8eac7f052d5814819ec191516c22f6d435fc9 | 39a60bfc5d613829f548285ea2e57432556f67d1 | /conf/install-2021-packages-1.R | b389623d66d9ca1149d92a12aba38b8085e024f8 | [
"MIT"
] | permissive | marqueslarissa/docker-rstudio | 3e0c5dadbe2be7dbc82bd4f1d97f71a609135802 | decf1bf4467a678fd0465b02a567c693a481dfcb | refs/heads/main | 2023-03-10T11:39:51.611172 | 2021-03-01T20:35:45 | 2021-03-01T20:35:45 | 342,003,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 739 | r | install-2021-packages-1.R | r <- getOption("repos")
r["CRAN"] <- "http://cran.r-project.org"
options(repos=r)
utils::install.packages("shinythemes", dependencies=TRUE )
utils::install.packages("shiny.semantic", dependencies=TRUE )
utils::install.packages("shinymaterial", dependencies=TRUE )
utils::install.packages("shinydashboard", dependencies=... |
cc0d3889803a34a2f2d4ada9b86d7672c5b6b78d | 50d1dab9a35ff494456b4aca2fd5ab0c6e73c63d | /run_analysis.R | eafb89a5a979cb8e5b73174343d4bf56d25c3708 | [] | no_license | samchow/GettingCleaningData | 3279990d1a5abd6f9aaddc2cab80cedec16123c2 | bef854b766c28498dc96d7271492db283533f5e1 | refs/heads/master | 2020-05-05T00:28:57.205397 | 2015-02-21T00:10:42 | 2015-02-21T00:10:42 | 29,845,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,146 | r | run_analysis.R | # Setup. Not we assume you are in the UCI HAR Dataset directory
###### Common Routines
renameCols <- function(cols) {
x <- NULL
x <- gsub("[[:punct:]]", "", cols)
x <- gsub("^t", "", x)
x <- gsub("^f", "Freq", x)
x <- gsub("([[:alpha:]]+)mean([[:alpha:]])", "avg\\1.\\2", x)
x <- gsub("([[:alpha:]]+)mean", ... |
ceab68737590369e4647898198e01c9d202dfc04 | 46cd1c7bb79fb7f1abb2dd029f05294df5042d46 | /warm_exposure.R | e522cc71e8616cebfd1f79ac28beeed5a1462482 | [] | no_license | jtokolyi/Hydra_oligactis_SexSeason | df40d649241e5d20b09af35506698c3f300e8710 | b8305d881a2520b5a94aecc0bb329212fca417eb | refs/heads/main | 2023-04-11T03:05:35.960088 | 2021-04-09T04:09:19 | 2021-04-09T04:09:19 | 356,116,460 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,207 | r | warm_exposure.R | library(readxl); library(ggplot2)
x=as.data.frame(read_excel("Warm_exposure2.xlsx",col_types=c("text","date","text","text","text","text","date","text","text")))
x <- x[-which(x$Final_condition=="dead"),]
x$Sex <- ifelse(grepl("C2/7",x$ID),"Male strain","Female strain")
x$Lineage <- sapply(lapply(strsplit(x$ID,"-"), "... |
74f72c63d7173a727839a8baf78fc1547051a971 | 1bfadb58b266929c359a1a4c3afd9f9ce694228d | /man/internal2.Rd | 46f996c3f29a2c1836b804c4a33dec20a7ecaa4e | [] | no_license | adeckmyn/maps | 25c3396c94adfb70262449f29f1fd77ff9583f29 | dc1eefb14d155fca33ace2333c490f5fd52eeb34 | refs/heads/master | 2022-11-11T17:56:03.194633 | 2022-11-01T10:28:10 | 2022-11-01T10:28:10 | 40,031,227 | 29 | 10 | null | 2021-09-24T14:20:18 | 2015-08-01T01:27:16 | R | UTF-8 | R | false | false | 1,196 | rd | internal2.Rd | \name{internal2}
\alias{internal2}
\alias{char.to.ascii}
\alias{is.regexp}
\alias{indicators.factor}
\alias{insert}
\alias{match.map.slow}
\alias{match.map.grep}
\alias{map.poly}
\alias{map.wrap}
\alias{map.wrap.poly}
\alias{map.clip.poly}
\alias{subgroup}
\alias{gp.smooth}
\alias{kernel.smooth}
\alias{kernel.region.re... |
47943433acfe0ce0ec46a8e55e24bc5d43d8c722 | 3c110a8bd8c4523c0155ad9a691ffa33f3d77f6c | /AA.IDT/R/switch.value.R | 715d9da712d310542aa477e75ab428eaf1b00059 | [] | no_license | rodrieja/R-Projects | 93c17c2203530dc4c162a9da261ec4b0857f8337 | 17e64e69952b759e2dcb611056f6eb0c98a118e4 | refs/heads/master | 2020-03-14T08:49:24.141062 | 2018-06-30T20:20:39 | 2018-06-30T20:20:39 | 131,533,286 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 279 | r | switch.value.R | switch.value <- function(x) {
cls.values = levels(x)
if (length(x) > 0) {
for (idx in 1:length(x)) {
if (x[idx] == cls.values[1]) {
x[idx] = cls.values[2]
}
else {
x[idx] = cls.values[1]
}
}
}
return(x)
}
|
fb04bf0472a1231017eec39647833468208f0c26 | 2357c463919a61fa1250efb2fc71c8c8fb04cf68 | /thesis/code/R/rmongodb/doc/rmongodb_introduction.R | 4c318496aa683e50a667d903f451a802da864eda | [] | no_license | tnat1031/thesis | 0f960740590e9661211d9a95d9513ec8d584dbaf | bf05cf661c2fbe77fc06f5417a8bd8afe25cde2d | refs/heads/master | 2021-01-21T12:49:56.035890 | 2018-01-11T18:39:05 | 2018-01-11T18:39:05 | 13,260,116 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,379 | r | rmongodb_introduction.R |
## ----installRmongodb, eval=FALSE-----------------------------------------
## install.packages("rmongodb")
## ----installDEV, eval=FALSE----------------------------------------------
## library(devtools)
## install_github("rmongodb", "mongosoup")
## ----loadRmongodb------------------------------------------------... |
ca32e4c4bab0cac4f47a02be5d147da64a18a801 | 8760ee3228bc3d5642e819b3ae8eb7a1cef0be01 | /plot1.R | caa2f8494d9395407d2cfa476ff4731ffc7f587c | [] | no_license | EviBak/ExData_Plotting1 | a560e6fc71a55b194140751c1551b9d8d75aefd4 | 1a58f27df7ea211f09a1c53a6fb3d9965ec47740 | refs/heads/master | 2021-01-21T23:33:44.413113 | 2014-12-04T08:18:41 | 2014-12-04T08:18:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 407 | r | plot1.R | hh1 <- read.csv2.sql("household_power_consumption.txt", sql = "select * from file
where Date = '1/2/2007'")
hh2 <- read.csv2.sql("household_power_consumption.txt", sql="select * from file
where Date ='2/2/2007'")
par(cex = 0.8)
pl <- rbind(hh1, hh2)
hist(pl$Global_active_power, col = "red"... |
70e27772483e17c15e5506895e098ed1dbaeabc2 | 00f097cc4f660d0b668da99a86afa5e0e4d6746f | /estimator/search_tau_lm_huber.R | 4da8bd44f85b9563dd5a14d9d8d32073c330479f | [] | no_license | didi10384/Homogeneity-structure-learning-in-panel-data | 52d03db5cf0e3f640fd855f7a2b7162d149cfec1 | f270a36a510e3a1fb595886ee3bc1a33395b4b85 | refs/heads/master | 2020-09-25T05:30:25.857674 | 2019-12-04T20:44:29 | 2019-12-04T20:44:29 | 225,928,143 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,029 | r | search_tau_lm_huber.R | ################ search tau for best huber regression #######################
# search for best tau producing best huber mean for a list of input
# input: x (vector), search method, options
search.tau.lm.huber = function(X,Y,fit.intcp=TRUE,
opt=list(method='default')){
if (opt$meth... |
f9da063e87174ae05765559edd8213a9c54d2c5f | 27e977f1403330f29cba2f820f5edcadf53f2d16 | /extract.r | 6f401988a86ac23f2d6fcd968da4cb069001920e | [
"MIT"
] | permissive | san123i/ms-project-607_1 | 591ac7ec5f60688a0b241ea58f219f073100e6f6 | 3a2fd23969d7a82b385fcbd92cee989824399225 | refs/heads/master | 2020-04-23T11:57:35.349249 | 2019-02-15T03:37:33 | 2019-02-15T03:37:33 | 171,153,626 | 0 | 0 | null | 2019-02-17T17:57:27 | 2019-02-17T17:57:27 | null | UTF-8 | R | false | false | 1,178 | r | extract.r |
# Skip the 1st row "----------"
# Read the data
cd2 <-read_lines("tournamentinfo.txt",skip = 1)
cd2
# Repalce all "------" by NA
# Read only data apart from header
cd2_data <- unlist(str_replace_all(cd2,"(-{89})","NA"))[-c(1:3)]
cd2_head <- unlist(str_replace_all(cd2,"(-{89})","NA"))[c(1:2)]
# Creating a smple to w... |
f01722d20aeab6d35fe0a3d373c529a3f1857d9a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/etable/examples/corr_p_cell.Rd.R | ab22221bc99b67903b2a6590e2cbf105746771f2 | [] | 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 | 598 | r | corr_p_cell.Rd.R | library(etable)
### Name: corr_p_cell
### Title: Correlation Cell FUN
### Aliases: corr_p_cell
### Keywords: correlation
### ** Examples
sex <- factor(rbinom(1000, 1, 0.4), labels=c('Men', 'Women'))
height <- rnorm(1000, mean=1.70, sd=0.1)
weight <- rnorm(1000, mean=70, sd=5)
bmi <- weight/height^2
d<-da... |
85d8999e8c97e897111d9fe2d1fb9e4649f01300 | f3ba5c556dfc50ca1bce1c0dfe5b4cee5e3d3363 | /R/CORRECTLY_SPELLED_WORDS_CASE_SENSITIVE.R | 09d7e96ae1173719b5a0095a6f365b03ea418d22 | [] | no_license | HughParsonage/TeXCheckR | 48b9ae8f94b2801f984a66e9f3ecb6c7f1f831f4 | 09826878215cf56bc24a7e273084bfda3954a73b | refs/heads/master | 2023-02-22T10:02:17.707587 | 2023-02-10T09:30:48 | 2023-02-10T09:30:48 | 87,679,432 | 8 | 2 | null | 2020-09-18T04:35:17 | 2017-04-09T03:12:11 | TeX | UTF-8 | R | false | false | 202 | r | CORRECTLY_SPELLED_WORDS_CASE_SENSITIVE.R | #' List of correctly spelled, case-sensitive words
#' @format A character vector of words as perl-regex case-sensitive patterns to skip during the spell check.
"CORRECTLY_SPELLED_WORDS_CASE_SENSITIVE"
|
c51943e7551cd997126fb419d871a3a053182b5c | d7c974e8fe4ec9c4283bb89c733dcfee764bcc37 | /man/rb.kpix.errors.Rd | f2dfd8c1c69f4b34ee3166f366cf790afea4bb38 | [] | no_license | cran/sifds | 2f1de8dc1dca624e8fc50993a6787b12c2e1b56b | de37cdf8e6a7fe29208dcd40339c28f80bcd53f9 | refs/heads/master | 2021-01-02T22:51:15.766594 | 2010-08-23T00:00:00 | 2010-08-23T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 785 | rd | rb.kpix.errors.Rd | \name{rb.kpix.errors}
\alias{rb.kpix.errors}
\title{Generates forecast errors for the RB forecasts for KPIX}
\description{Generates a sequence of 25 forecast errors 1999:Q2-2005:Q2 for the RB forecasts for KPIX for a forecast horizon 1-25 months ahead. The default horizon is one month.}
\usage{rb.kpix.errors(horizon=1)... |
22feb0f46595a1540244fd1a894e49338bbd09fe | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dwapi/examples/upload_data_frame.Rd.R | c93566840ac721b8f93e1619d3deffb99dd0ca73 | [] | 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 | 332 | r | upload_data_frame.Rd.R | library(dwapi)
### Name: upload_data_frame
### Title: Upload a data frame as a file to a dataset.
### Aliases: upload_data_frame
### ** Examples
df = data.frame(a = c(1,2,3),b = c(4,5,6))
## Not run:
##D dwapi::upload_data_frame(file_name = 'sample.csv',
##D data_frame = df, dataset = 'user/dataset')
## End(... |
7a4683a3f9ebd82dadc4a3982e923a9e3b73f26d | 0bc7b27b4ecdf338211f763915e498afbd076f19 | /man/Depositos.Rd | fbefcf027843f1853bccb07e8387c8158bee962f | [] | no_license | cran/RcmdrPlugin.TeachStat | f42fd6b05a5e351d3f77e7204daabeae93bc93f1 | 702e87f2c3e6e7036a50d547f529f20ea915d369 | refs/heads/master | 2022-08-01T00:58:27.010966 | 2022-06-22T11:00:02 | 2022-06-22T11:00:02 | 162,720,733 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,358 | rd | Depositos.Rd | \name{Depositos}
\alias{Depositos}
\docType{data}
\title{
Deposits with credit institutions in Ourense
}
\description{
Private sector deposits (in millions of euro) with credit institutions in the province of Ourense (Spain) in 2002-2018.
}
\usage{data("Depositos")}
\format{
A data frame with 17 observatio... |
004384bbfd29d50eb3585027af93ee2fca01fd85 | 68dd09d21317c18cc2d53ad458eb696623393d5f | /InundationDurations_Exp.R | 9982eba36215ff881e14f10768c3445b1524a030 | [] | no_license | ppgibson/WarnerPoint | 4961ec295462c441d716d1d8d6778f6f45c216b1 | 55d63ffab17e0c0d178f7df6d90b3446d511f8b0 | refs/heads/master | 2021-01-10T04:39:42.002727 | 2016-02-19T22:02:14 | 2016-02-19T22:02:14 | 47,857,068 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,525 | r | InundationDurations_Exp.R | ###########################################################
## CALCULATE EXPONENTIALLY-WEIGHTED INUNDATION DURATIONS ##
###########################################################
## Based entirely on empirical values, not interpolation.
#### READ IN AND PREPARE DATA ####
# 1. Time series discharge data, all possibl... |
5a8bf869b447c099826ed2a01455d096b66ee371 | 72029d0e774d595a98a890f1e6baab69735618dc | /modelmatrix.R | e1cfc9f85fa2fef3fdba42a293cf9b711c0c04cd | [] | no_license | effyhuihui/DandB_R | 15ba7fff22971c65bef2f197b85ccd0b6ee00ae5 | bc63ab17470ac0a7d82c143476273a1617d5c845 | refs/heads/master | 2021-01-16T21:57:51.469293 | 2013-11-26T23:01:36 | 2013-11-26T23:01:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 446 | r | modelmatrix.R | library(caret)
#read in data
titanic <- read.csv(file="titanic.csv", header=T,as.is=T)
#subset
titanic <- titanic[-c(3,8,10)]
#create factors
titanic[c(1:3,5:6,8)] <- lapply(titanic[c(1:3,5:6,8)], as.factor)
str(titanic)
#create dummy vars
titanic_matrix <- as.data.frame(model.matrix(survived~.-1,data=titanic)) #-1... |
1375a40b79bb369b852f33b120caa3ca183cccb3 | 5f2d54247d3e4c79d6aa9eb2e213611bc824425d | /man/extract_ic.Rd | c4b855a1cd5350a85802379a5af51c3332d27a3c | [] | no_license | youngahn/hBayesDM | c0df8299b0e02e7a424dbd95487052e9f9d75b12 | 09050aa476773e1c554e1a3276728c05f1bfff56 | refs/heads/master | 2021-04-27T00:25:04.052467 | 2018-03-03T11:04:12 | 2018-03-03T11:04:12 | 123,809,033 | 2 | 0 | null | 2018-03-19T07:41:14 | 2018-03-04T16:53:42 | C++ | UTF-8 | R | false | true | 867 | rd | extract_ic.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract_ic.R
\name{extract_ic}
\alias{extract_ic}
\title{Extract Model Comparison Estimates}
\usage{
extract_ic(modelData = NULL, ic = "looic", core = 2)
}
\arguments{
\item{modelData}{Object returned by \code{'hBayesDM'} model function}
\it... |
6a8945f2d9dd589afadefe3e6ac3914ec8085317 | 29585dff702209dd446c0ab52ceea046c58e384e | /HWEBayes/R/HWEImportSamp.R | 5bdf84cb2cf7743f2aba934877f2ec8c056b6607 | [] | 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 | 3,133 | r | HWEImportSamp.R | HWEImportSamp <-
function(nsim,nvec,ischoice,lambdamu,lambdasd,alpha,
gmu=rep(0,length(alpha)),
gsigma=diag(0,nrow=length(alpha),
ncol=length(alpha)))
{
##priorint <- varprior <- 0
k <- length(alpha)
if (length(nvec) != k*(k+1)/2) {
stop("length mismatch between alpha and ... |
cfbcb6186aa91c1367ec00714c4f994a988c1985 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ssdtools/examples/boron_data.Rd.R | ca36d9c6003af005790f5b17833b36d9563aa5a6 | [] | 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 | 176 | r | boron_data.Rd.R | library(ssdtools)
### Name: boron_data
### Title: CCME Species Sensitivity Data for Boron
### Aliases: boron_data
### Keywords: datasets
### ** Examples
head(ccme_data)
|
c464088fed72928f6123c042657ad01b3fe96083 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.application.integration/man/sfn_describe_state_machine.Rd | b5d8dd8552cbb7d68a5ca9c24cdbb4eab42d1bf4 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 1,241 | rd | sfn_describe_state_machine.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sfn_operations.R
\name{sfn_describe_state_machine}
\alias{sfn_describe_state_machine}
\title{Describes a state machine}
\usage{
sfn_describe_state_machine(stateMachineArn)
}
\arguments{
\item{stateMachineArn}{[required] The Amazon Resource Na... |
fd7ba88ff865a4a069e673fa91d664fc3dae7337 | 2645fbe19fbc84d1b50ed567573632dd7c952dd0 | /Helpers/Helpers.R | e6846103d39abed0eebd80f1f9f23555785d742c | [] | no_license | pulkitjain1004/ApproxMap_Shiny | 8847ab068bcc5bbc3c7d81b8b4e0f41fb6639460 | ee08e9c36c6daad60ec79e3b8444f0525c3ed45e | refs/heads/master | 2021-01-17T07:57:21.684561 | 2017-03-03T16:36:36 | 2017-03-03T16:36:36 | 83,064,739 | 0 | 0 | null | 2017-02-24T17:10:59 | 2017-02-24T17:10:59 | null | UTF-8 | R | false | false | 3,587 | r | Helpers.R | format_output = function(approxmap_obj) {
clusters = approxmap_obj$clusters
form_cons = approxmap_obj$formatted_results$consensus
form_wseq = approxmap_obj$formatted_results$weighted_seq
for(i in 1:length(clusters)) {
cat(paste("Cluster ",i,":",sep = ""),"\n","Sequence IDs: ", clusters[[i]], "\n", "... |
294118f62dd079e276a9db5c7931bcd087cec2bc | 901e5267c684f8ca2606ba5797b9d8daca1010a3 | /Script/Apriori_Rules_Script.R | 18c48db8ac7e5937c6607d8f2ff8c6f2acaa2678 | [] | no_license | rijalanita/Market_Basket_Analysis | eed6f19ae1095d7dfc17d423b7d5138135299bc3 | c46e63d6907fe0e6cc7af15c95e5a3ff62041bac | refs/heads/master | 2022-11-19T03:28:25.292101 | 2020-07-17T14:33:24 | 2020-07-17T14:33:24 | 280,438,778 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,109 | r | Apriori_Rules_Script.R | #Author: Anita Rijal
#Version: 1
#Date: March 6, 2020
#Description: Market Basket Analysis to understand association between product types using apriori rules
# 1. Library
library(RMySQL)
library(dplyr)
library(tidyverse)
library(arules)
library(arulesViz)
#Read the csv file that you created using the read.transactio... |
726c1ea2374ca7086964da5c57cbc75f9316ccf8 | 2741826483417f28990d21a414821f0d741b811c | /R/every_int32.R | e5347452e02a0c66c4980c6c58abef19fd2cba05 | [] | no_license | HughParsonage/hutilscpp | 3262201a11d2026d37284f709e4e0e6fbb53d3a9 | 143f9e2dca2c0f25e6e64388fdfd8f6db64477d9 | refs/heads/master | 2022-10-20T22:12:58.646043 | 2022-10-07T07:20:58 | 2022-10-07T07:20:58 | 155,201,062 | 8 | 3 | null | 2022-09-29T15:58:30 | 2018-10-29T11:33:08 | R | UTF-8 | R | false | false | 266 | r | every_int32.R | #' Every integer
#' @param nThread Number of threads.
#' @param na Value for \code{NA_INTEGER}.
#' @export
every_int <- function(nThread = getOption("hutilsc.nThread", 1L), na = NA_integer_) {
.Call("Cevery_int32", nThread, na, PACKAGE = "hutilscpp") # nocov
}
|
db78733c445cf88fcec4c20d7086472b803c6efc | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/heuristica/examples/cueValidity.Rd.R | 2998414ece0eb68e15661ed80975c6b7fcf95495 | [] | 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 | 311 | r | cueValidity.Rd.R | library(heuristica)
### Name: cueValidity
### Title: Calculate the cue validity.
### Aliases: cueValidity
### ** Examples
cueValidity(c(5,1), c(1,0))
# Returns 1.
cueValidity(c(5,2,1), c(1,0,0))
# Also returns 1
cueValidity(c(5,2,1), c(0,0,1))
# Returns 0.
cueValidity(c(5,2,1), c(1,0,1))
# Returns 0.5.
|
adb95cf75e062d2c161389c5d3b0e986867b5bf3 | 3b3bb9d7be4125a7790ec0282bc3501e494498ec | /podstawy_programowania/2022_2023/ppr20221127_2023014 _przetwarzanie.R | 1ca14afc60addb86f89960d4f9ea98655c92f094 | [] | no_license | lwawrowski/cdv_bigdata | ee4c198c739ff6d8fdda966376ccf3be96987ce1 | e09183d300d56e0448ba853bb6165f9ed3c68126 | refs/heads/master | 2023-05-24T11:50:41.290672 | 2023-05-14T10:19:39 | 2023-05-14T10:19:39 | 183,685,383 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,087 | r | ppr20221127_2023014 _przetwarzanie.R | library(tidyverse)
load("data/fifa.RData") # 1 sposób
mecze <- read_csv2("data/fifa.csv") # 2 sposób
# filtrowanie -------------------------------------------------------------
# Ile razy Włochy grały w finale MŚ?
fifa_wlochy <- fifa %>%
filter(stage == "Final" & (home_team_name == "Italy" | away_team_name == "... |
8758454c1a7a5768f2c9208e3b191b41239a18bc | 8865cd340e5325efb50cdac5758d52ffcfa4b447 | /scripts/runOutdegree.R | 9633151d7f76976f9398633e6a083157eb94e3f9 | [] | no_license | LaurensRietveld/RGraphAnalysis | 26471a2ad6c1c44a142aaa9c52db47a04107823e | 3a4b21eda23e060890dbb10e5d06f5b37dd34180 | refs/heads/master | 2016-09-06T18:55:44.393049 | 2013-04-12T12:33:06 | 2013-04-12T12:33:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 307 | r | runOutdegree.R | print("running outdegree")
degree <- degree(graph, normalized=TRUE, mode="out")
print("storing outdegree")
write.table(degree, file = "output/directed_outdegree", append = FALSE, quote = FALSE, sep = "\t", row.names = TRUE, col.names = FALSE) #row names to true: takes attribute value (i.e. uri) from vector |
5545d38f40c0e1552978adb53c980ef995d517a1 | b69331d2278322507da0560ae1ec61a665c0753f | /NetLogoDataDemo.R | 96603f5cd3bb1ea20a4938722797f251f518a3fd | [] | no_license | leoIE3/SEN | e322bfeacc237a046f9c4d6763cf9b21c32817ed | 84cb9bef22b386ddc6048064adf880b51c2f6a66 | refs/heads/master | 2021-08-22T13:34:05.074032 | 2017-11-30T09:29:57 | 2017-11-30T09:29:57 | 112,592,248 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,162 | r | NetLogoDataDemo.R | ############ !!!!!!!!!!!!!!!!!!!!!!!!!! ##########################
#Put this at the top of every file, unless you really really want to work with factors
#this will save you a lot of confusion
options(stringsAsFactors = FALSE)
#The main wiki page around these examples is at:
#http://wiki.tudelft.nl/bin/view/Education/... |
0256e3cc6322293d6f824d0a67ab2b45cc7d2405 | df9950d0ba2ab039eeb1cb3b3aa4778528b34eb0 | /R/mMRFfit.R | 0b9ec22f6a2e0d4b4223f1ebb5b609e1b7a91f5e | [] | no_license | jmbh/mMRF | 077a758b7e2b5f87c9b4c6f438f1a5536211984a | 9b59148cd8c87cf24fd735eb3e478eb8c3362efe | refs/heads/master | 2016-09-06T07:01:56.723492 | 2015-08-27T15:02:37 | 2015-08-27T15:02:37 | 34,259,406 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,966 | r | mMRFfit.R |
mMRFfit <- function(
data, #data matrix, col=variables
type, #data type for col 1:ncol; c=categorical, g=gaussian, p=poisson, e=exponential
lev, #number of categories of categorical variables, continuous variables have level=1
lambda.sel="CV", #method for penalization parameter (lambda) -selection
folds=10,... |
a9a861c409403cd61ff31c61915a7e51e5ada9fd | 4680f495ab20b619ddf824584939a1e0356a0ed3 | /scripts/STG/STG_GAME.R | a8fc2126c75fe38b9fea69c716d55019393de75a | [] | no_license | Laurigit/flAImme | 7ca1de5e4dd82177653872f50e90e58aed5968f7 | 9d4b0381d4eedc928d88d0774c0376ba9341774b | refs/heads/master | 2023-05-24T17:06:58.416499 | 2023-04-28T08:10:30 | 2023-04-28T08:10:30 | 251,082,000 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 62 | r | STG_GAME.R | #STG_GAME
required_data(c("SRC_GAME"))
STG_GAME <- SRC_GAME
|
a3be98ef3fb8b70a80ed44c89e79e81889f5377f | d9aa2ca5271e6c882b86ea43d0db4a7e0a2b3c8f | /SHINYAPP/ui.R | 67e51478a85ce509967bc41ea4df2ddc44b73639 | [] | no_license | papaluigi/CAPSTONE | 1556a03b74f0e502fa015613ba3aac84ab577fec | 65e3ede2bffd73a3cce56232c45278e6ad7b935e | refs/heads/master | 2021-01-01T05:16:01.695856 | 2016-05-31T06:29:42 | 2016-05-31T06:29:42 | 59,186,122 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,085 | r | ui.R | library(shiny)
shinyUI(fluidPage(
# Application title
titlePanel("Capstone Project"),
# Sidebar
sidebarLayout(
sidebarPanel(
h2("Next Word Prediction App"),
p("by Louis-Ferdinand Goffin, aka Papaluigi"),
br(),
img(src = "press.jpg", height=100),
br(),
br(),
textI... |
455d2e224dfc7e9aab42d752aa4ee2f8e7d7827d | 4f843f261146f3b70a57623dc1750939d78a1aaf | /.svn/pristine/45/455d2e224dfc7e9aab42d752aa4ee2f8e7d7827d.svn-base | b8d36135f5d7dfe622dbbd9d6b9865d3007bbc7a | [] | no_license | xiang-chen-git/ecomove | 502d3985583241782ac62641a0e8e9ff8865f0ba | 97281cc7f2e3bc31ef175e5330fe918bf5a92237 | refs/heads/master | 2021-01-10T01:17:37.723055 | 2015-10-26T16:37:25 | 2015-10-26T16:37:25 | 44,982,305 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,484 | 455d2e224dfc7e9aab42d752aa4ee2f8e7d7827d.svn-base | ##' Get iteration similar to mode of multi-state chains
##'
##' Get the assigned states from the iteration from the chain most similar to the mode state at each step. If the data used
##' to fit the JAGS model is provided (a data frame generated by \code{GetVT} in \code{\link[bcpa:bcpa-package]{bcpa}}), then a data fr... | |
c0f3b49c8ebfe981f56cc77ebde62302200d0f09 | 5355ce6341489f05dc5894a70cf5cff1f951a194 | /man/DFA.Rd | 7a33604dfdafc6a91919722b135c0c69b1b7b664 | [] | no_license | AndreMikulec/econModel | 5032565f1722275425f75b55811493d45bf87f8c | 22b8507838116d3e33b6e40cf891988ad104ac7b | refs/heads/master | 2023-06-03T19:23:00.544927 | 2021-06-26T07:38:20 | 2021-06-26T07:38:20 | 303,683,123 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,195 | rd | DFA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Functions.R
\name{DFA}
\alias{DFA}
\title{Differences by using Absolute Change}
\usage{
DFA(x, l = 1, d = 1, ...)
}
\arguments{
\item{x}{xts object}
\item{l}{lag}
\item{d}{differences}
\item{...}{dots passed}
}
\value{
xts object
}
\descri... |
83801476d64897c556a3051b26f4478204f91658 | b7cbca382716af544696bb782f2faeca6ee7caf6 | /heatmap_corr_matrix.R | be3683075d3ec2aa3e036d50dbcdca263ec28afb | [] | no_license | WPierrick/Multitrait_GWAS | 88e4b28e025e5fccbe49a345fd7195da94d0a181 | 0b1ddcb39ac7c97293991689dc5eb44f2c45e214 | refs/heads/master | 2021-07-22T03:55:30.386767 | 2017-10-31T06:34:55 | 2017-10-31T06:34:55 | 108,954,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 586 | r | heatmap_corr_matrix.R | install.packages("d3heatmap")
library("d3heatmap")
corrmat <- read.csv("/Users/p.wainschtein/Documents/Multivariate_GWAS/correlation_matrix.csv", header = TRUE, sep = "\t")
row.names(corrmat) <- corrmat[,1]
corrmat$X <- NULL
colnames(corrmat) <- gsub("_colsubset.txt_munged.sumstats.gz", "", paste(colnames(corrmat)))
r... |
5cde3ffa69370becd11afa60621e9d0d2ca054d2 | 1380a6e8ffa98cea38e39a006e79cd364463dab4 | /R/iso_gapfill.R | eeec3252a376b215d2290ebe0e14f14b5800946f | [] | no_license | cvoter/CSLSiso | 7ec1227c474e9691b3ac5733b6871fa77513c142 | d86f068a9b5b0ce35e098ef84c08929bec9d14b0 | refs/heads/master | 2021-05-20T09:05:07.354843 | 2020-03-24T22:29:16 | 2020-03-24T22:29:16 | 206,828,195 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,015 | r | iso_gapfill.R | #' Fill Gaps in Stable Isotope Measurements
#'
#' Linearly interolates lake and GW values for dates in timeseries with missing
#' measurements. Depending on arguments, fills in precipitation values using 1)
#' measurments collected that month, and 2) Maribeth Kniffin's data, also from
#' Hancock station.
#'
#' @param m... |
1dc03cc6baddde81faf3eba30ee29b3d38323fd7 | 436ace74a695893aad73229b723fac6be6814129 | /man/sobolowen.Rd | 6adfa072a68aeba571fab6f62def127399f17e8f | [] | no_license | cran/sensitivity | 18657169c915857dcde8af872e0048fef77107f4 | 2b2cbcb7f1bebecfd05e589e459fdf4334df3af1 | refs/heads/master | 2023-04-06T05:36:54.290801 | 2023-03-19T18:10:02 | 2023-03-19T18:10:02 | 17,699,584 | 17 | 17 | null | 2021-04-07T00:57:30 | 2014-03-13T06:16:44 | R | UTF-8 | R | false | false | 4,181 | rd | sobolowen.Rd | \name{sobolowen}
\alias{sobolowen}
\alias{tell.sobolowen}
\alias{print.sobolowen}
\alias{plot.sobolowen}
\alias{ggplot.sobolowen}
\title{Monte Carlo Estimation of Sobol' Indices (improved formulas of Owen (2013)}
\description{
\code{sobolowen} implements the Monte Carlo estimation of
the Sobol' indices... |
1b66497e0eadef22a31febd20a90b99225bbf9e7 | 4a51ae8d7a874a7a087fd3c0fe9ac3f000b5ae79 | /IHWStatsPaper/man/tau_weighted_bh.Rd | b59ffca0f3a2b6755bc18c59030e57b4a2194bd3 | [
"MIT"
] | permissive | Huber-group-EMBL/covariate-powered-cross-weighted-multiple-testing | bf6feaba28c35360c42a9dbe6194272d5f8570c8 | 40d485f972fd2c03b371b98d3cad3d7f1a48520c | refs/heads/master | 2023-07-02T14:29:13.421945 | 2021-08-08T17:19:12 | 2021-08-08T17:19:12 | 233,483,127 | 1 | 3 | null | null | null | null | UTF-8 | R | false | true | 548 | rd | tau_weighted_bh.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ihw_and_weighting.R
\name{tau_weighted_bh}
\alias{tau_weighted_bh}
\title{The tau-weighted BH multiple testing procedure}
\usage{
tau_weighted_bh(Ps, ws, tau = 0.5)
}
\arguments{
\item{Ps}{Numeric vector of unadjusted p-values.}
\item{ws}{Nu... |
9805dda69e48faf2eb2feb17ea98c6ff61edb9d8 | 9505d8ab047a5d6e35e10745d99ee1c268e2be4a | /ard_var.R | 32c49adc63008dee8be5be5e9cd3ceb54b65c282 | [] | no_license | mloop/r-scripts | 9a9326f802f8e4ce1d3ae2c76a18674d79199ba8 | da01ff94360c9fdff1395c08b2e3e0694b490875 | refs/heads/master | 2021-01-10T06:45:08.457307 | 2016-04-01T17:04:41 | 2016-04-01T17:04:41 | 52,898,889 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 235 | r | ard_var.R | # Purpose: calculate variance of an absolute rate difference
# Author: Matthew Shane Loop
ard_var <- function(events1, events2, person_time1, person_time2){
var <- events1/(person_time1)^2 + events2/(person_time2)^2
return(var)
} |
d5409b3622a31f2f5b4fc10649f43bfc67e68ee0 | 0484ddd6f392fecfa542747f550248bba6a9bf2a | /man/filter_args.Rd | 21494768cbfc148d7602cd8c70e228aeb9a9c7e0 | [] | no_license | lengning/gClinBiomarker | d0115d4a699ca12866b9776c6a3835d9c0ece6c9 | 726d3bb9edbd8ecc450fc650ea7ab9922737629b | refs/heads/master | 2021-10-24T06:16:06.064819 | 2019-03-22T18:25:07 | 2019-03-22T18:25:07 | 125,939,464 | 5 | 1 | null | null | null | null | UTF-8 | R | false | true | 699 | rd | filter_args.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ggplot-ggpackets-.r
\name{filter_args}
\alias{filter_args}
\title{Helper function for ggpack to filter arguments based on a prefix}
\usage{
filter_args(prefix, args, sep = "\\\\.")
}
\arguments{
\item{prefix}{a string specifying the prefix to... |
baa4edcc8d8a1d49f29f22ded06e0fd2b8548481 | f29e1bbb05d7cf6c9136a6eb413038e2353d40f7 | /tests/testthat/testplotbetas.R | bad99c3941d65c8117c0b09ba4fb900b3ef0cf0f | [] | no_license | LiamDBailey/climwin | 46fdb4e668e125a8064de090473864d3aedd0c5e | 3c28479c04ba858e83f6d6f3dcab8758d40e5751 | refs/heads/master | 2023-02-02T21:35:12.772236 | 2020-05-25T09:55:21 | 2020-05-25T09:55:21 | 32,844,500 | 12 | 10 | null | 2023-01-24T15:13:52 | 2015-03-25T05:29:40 | R | UTF-8 | R | false | false | 1,357 | r | testplotbetas.R | # Test function plotbetas #
test_that("plotbetas produces a graph", {
data(Mass, envir = environment())
data(MassClimate, envir = environment())
testdata <- slidingwin(xvar = list(MassClimate$Temp), cdate = MassClimate$Date, bdate = Mass$Date,
baseline = lm(Mass ~ 1, data = Mass),... |
fd02cfe4f030ed7631c1afe57d6e6dc7995ba1ed | c1817ca808304d6eb606c3b38097568180a4d6a2 | /7.2a.r | 9a1cec6228b33dcafac23740be04aeb9543eeea7 | [] | no_license | Achu-nair/assignment-7.2 | 854ce03febc97ff9ecb21a2f75c9854b9863b3af | 591caf6f5335b827abab403fe50a632303310fc8 | refs/heads/master | 2020-04-30T02:32:54.640634 | 2019-04-10T14:19:48 | 2019-04-10T14:19:48 | 176,562,826 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 385 | r | 7.2a.r | colnames(mtcars)
car <- data.frame("cyl"= mtcars$cyl,
"vs"= mtcars$vs,
"am"= mtcars$am,
"gear"= mtcars$gear,
"carb"= mtcars$carb)
colnames(car)
windows()
par(mfrow=c(3,4))
for(i in 1:length(car)){
boxplot(car[,i],main = paste("Boxplot... |
bf7f2a88c8e58552b4b84f9b848464f4affc36e2 | a341f6d7b93e12ef3ff6dcfd31e5f135725c59f6 | /man/P2C2M-package.Rd | b5e97828e1440a255f4c9bfbedcca2f3e494da9a | [] | no_license | michaelgruenstaeudl/P2C2M_Code | 14aefa4661c4ed97a1f512c89fa3ebf12f3b7800 | 3f1d8679fd02284abec917ff3ae1dddc1db3afcb | refs/heads/master | 2016-09-07T18:27:10.136490 | 2015-06-08T16:10:57 | 2015-06-08T16:10:57 | 37,077,580 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,966 | rd | P2C2M-package.Rd | \name{P2C2M-package}
\alias{P2C2M-package}
\alias{P2C2M}
\docType{package}
\title{
Posterior Predictive Checks of Coalescent Models
}
\description{
\pkg{P2C2M} provides functions to read default output from BEAST
(Drummond and Rambaut 2007) and *BEAST (Heled and Drummond 2010) and
conduct posterior predicti... |
8e49e341d8b8eb3c378a9886b058b7971b0fea42 | 83ae358d90cb1c54c8be380bc7bd628a2f6ed530 | /man/college.Rd | d1fd06b2ad7533642893940bb4c1782888a8bf6b | [] | no_license | cran/Rlab | c7963e1210e2140fc6d397ff6a2cf289f0dd3bd2 | c72e630626f6df15cf75ffd8b9ee7c85322aeda8 | refs/heads/master | 2022-05-28T16:35:40.306539 | 2022-05-04T22:10:02 | 2022-05-04T22:10:02 | 17,693,343 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,172 | rd | college.Rd | \name{college}
\alias{college}
\title{
Statistics on colleges in 15 states.
}
\description{
The data frame college contains statistics relating
to colleges from 15 states. This is a sample of
fifteen states and certain statistics taken from
the Chronicle of Higher Education (most data is for
1992). All entrie... |
fef0e9948510d850e79c5154bcda3954ecca4430 | af9e48f7a5f4a2ff9547122d866ba7f5dc63a89b | /plot-data.R | 498645fe06bd57217edd0d564990d7509992c26d | [
"MIT"
] | permissive | joethorley/bioRxiv-028274 | 3844d9461755f6d2afd9d2647b7efcf52b8007c2 | 37002f17a9ec7732b25cf91ecf4560caa3d5adeb | refs/heads/master | 2021-01-02T08:36:01.044493 | 2018-07-04T00:57:46 | 2018-07-04T00:57:46 | 99,027,969 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,168 | r | plot-data.R | source("header.R")
pdo <- readRDS("output/clean/pdo.rds")
leks <- readRDS("output/clean/leks.rds")
wells <- readRDS("output/clean/wells.rds")
groups <- readRDS("output/clean/groups.rds")
print(ggplot(data = pdo, aes(x = Year, y = PDO)) +
geom_line() +
scale_y_continuous(name = "PDO Index"))
ggsave("o... |
d29e50c2c850209dc3cb83ed655cf4195e1aaace | a3c78700a65f10714471a0d307ab984e8a71644d | /models/ed/man/prepare_ed_veg_filename.Rd | 72197989520f94e0e2308436ab85134173270ac0 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | PecanProject/pecan | e42a8a6a0fc9c0bb624e0743ab891f6cf131ed3f | ce327b92bf14498fa32fcf4ef500a7a5db5c9c6c | refs/heads/develop | 2023-08-31T23:30:32.388665 | 2023-08-28T13:53:32 | 2023-08-28T13:53:32 | 6,857,384 | 187 | 217 | NOASSERTION | 2023-09-14T01:40:24 | 2012-11-25T23:48:26 | R | UTF-8 | R | false | true | 897 | rd | prepare_ed_veg_filename.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/write_ed_veg.R
\name{prepare_ed_veg_filename}
\alias{prepare_ed_veg_filename}
\title{Format file name for ED vegetation inputs}
\usage{
prepare_ed_veg_filename(path_prefix, suffix, latitude = NULL, longitude = NULL)
}
\arguments{
\item{path_p... |
a32eea8a213f98ca40161e5859e755c1dd745dfb | 85b42853b507be01f6b855558ea691295928ac5f | /man/prim_invoke.Rd | 85e256309a77533f83cd306ab2dd759a90a46553 | [] | no_license | lionelhenry/robin | 8fb1c2827ffaee05613cda63caec879f693fad0b | 0ce31fdef6f71f8c59410e30e90eaaab2e66b65c | refs/heads/master | 2020-04-20T22:27:40.554870 | 2017-08-15T16:22:11 | 2017-08-15T16:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 718 | rd | prim_invoke.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/primitive.R
\name{prim_invoke}
\alias{prim_invoke}
\alias{prim_ptr_invoke}
\title{Invoke a primitive function}
\usage{
prim_invoke(prim, call, args = NULL, rho = caller_env())
prim_ptr_invoke(ptr, call, args = NULL, rho = caller_env())
}
\ar... |
3583fadb69ce6a4854cc05988df37d5004fe9316 | 1a254eae510f03743fd90a001e97f228a2e17fb6 | /Deep_Dives_DL_category.R | d291062cd5dcf8ad8b1980e45b068aca67b06f98 | [] | no_license | jacinthd/Analysis-of-app-data | 9edae7370165f4424b9a1aae342435b42e128484 | f4209837a76c14eb5ba35075729ad7453a7b7336 | refs/heads/master | 2021-04-06T19:39:04.659132 | 2018-03-14T23:54:03 | 2018-03-14T23:54:03 | 125,288,539 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 825 | r | Deep_Dives_DL_category.R | top.1000.apps.by.DL<-head(category_dataset[order(-category_dataset$DTO_DL),])
#top 100 apps from each category
test<-subset(DL_REV_FULL,Category=="KidsAndFamily")
test2<-head(test[order(-test$DTO_DL),],100)
test<-subset(category_data_DLs_morethan10,Category=="Social")
test2<-head(test[order(-test$DTO_DL)... |
27779535200f273b45f82054d61da3f0b7c7c94b | 6fbc0b4555e94e5dbbb1b6ce58ca2cbd98340b43 | /Simulación de pago de pensiones.R | a753324a9a840ac911dc709d04a09ce49ab2a248 | [] | no_license | CEAC333/R-repository | c6dc9b43c89ffe2a50fd280c32068bdc4a36bac0 | 79d8d2640c6f29cc92f8d1d1d005f1600c6dbe6b | refs/heads/master | 2021-05-13T19:02:53.602809 | 2018-01-08T01:32:00 | 2018-01-08T01:32:00 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 4,196 | r | Simulación de pago de pensiones.R | #Simulación de pago de pensiones
n<-100; #Número de clientes para simulación
TCI<-15; #Tiempo de llegada mínimo entre clientes
#(e.g. Un cliente llega mínimo después de TCI min. que el cliente anterior)
TCF<-30; #Tiempo de llegada máximo entre clientes
#(e.g. Un cliente ta... |
4dff34d1cb98d3fb8d8a45e4813b21fb5e281009 | fab90001189c6512ea178a46539bd6558f035944 | /code/code_3_lwa_and_wage_loss.R | 0ca8b90666b453d6bad0ffc4648e128f2c291820 | [] | no_license | Juannadie/lwa_europe | 89428f68bf7c4a6ab6f2d9c5cf39c165b188a747 | bae066ef5bd3f5bd38957743c9db20ff4a83ba44 | refs/heads/master | 2022-12-20T05:34:37.451665 | 2020-10-02T10:06:42 | 2020-10-02T10:06:42 | 300,573,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,318 | r | code_3_lwa_and_wage_loss.R |
countries <- readRDS(file = "countries_2.rds") #loads data from previous step
#we rename the essential and closed indices variables for shorter code
countries <- lapply(countries, function(X) {
X[["e_i"]] <- X[["essential_index"]]
X[["c_i"]] <- X[["closed_index"]]
X[["tw"]] <- X[["teleworking"]]
X
})
... |
9b86c1b53642d0c01a39735427586cec489fedcf | 040113c16d38a2ce1854c95c8d0b3c82481fc33c | /man/extract_country_code.Rd | 51695c35e3bf9e40afb76eaa56d7a23afdc0f49c | [] | no_license | sakrejda/pdhs | 9dc199648c89fc6ac036cd61d174e41a5335dedb | 0e32ea50e6db2abb7ab20e676c3457bd6e66c93c | refs/heads/master | 2020-03-17T22:25:43.022686 | 2018-05-18T20:27:55 | 2018-05-18T20:27:55 | 134,002,989 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 409 | rd | extract_country_code.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract-codes.R
\name{extract_country_code}
\alias{extract_country_code}
\title{For a filename 'file', extract the country code (first two characters).}
\usage{
extract_country_code(file)
}
\arguments{
\item{file}{filename to extract from.}
}... |
c033f2e0946ff4e65eaaee1ba8fcdcf5ecdfbb69 | 8c47a74d723b31f6097839364eea96085041725f | /man/export2cross.Rd | edcb78c20ab547cee160e80d18f14a25d6ef975d | [] | no_license | xuzhougeng/binmapr | e1afd9f0476e6353047c8123e2be457c0ee33ae2 | 41c45896374513eb3dceddbc531ebaeebe88dc72 | refs/heads/master | 2023-08-19T10:48:13.064347 | 2023-08-03T04:12:42 | 2023-08-03T04:12:42 | 212,075,720 | 10 | 4 | null | null | null | null | UTF-8 | R | false | true | 683 | rd | export2cross.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/export.R
\name{export2cross}
\alias{export2cross}
\title{Generate cross object for R/qtl}
\usage{
export2cross(x, BC.gen = 0, F.gen = 0, alleles = c("A", "B"), parents = NULL)
}
\arguments{
\item{x}{}
\item{BC.gen}{Used only for cross type "... |
92777789ecaff52c99df2593c2b1457c1b3c55e3 | 92bc39ef76d365bdc137dc56b976e510d897b4a8 | /man/IShares.Rd | 7c49eaaa4093fb439c4f00bd4c42e231ef812783 | [] | no_license | skiamu/ETF | e18ecc62dee90ba82afd7b56d58e1d8e8029dff5 | 9295efe221eb8785a773ee54b1cdc95bb3523d7a | refs/heads/master | 2021-01-01T01:29:48.132929 | 2020-04-23T14:11:10 | 2020-04-23T14:11:10 | 208,893,785 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 809 | rd | IShares.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/IShares-class.R
\name{IShares}
\alias{IShares}
\title{IShares class constructor}
\usage{
IShares(summary_link, tickers_to_keep)
}
\arguments{
\item{summary_link}{link where the IShares summary data (in JSON format) is downloaded from.
This is... |
d8084ea17911c6f15254539682418fc42a61818c | dfc271928415b959127a00bf73ef58dfba7ac834 | /src/cdsomics/man/ensembl_hgnc_gene_pairing.Rd | c9ea4e45f9fa08830338851a2554a84656784401 | [] | no_license | Luigi-Ferraro/ccle_processing | c9eb2177a69342595091d81f7e5fea71ffc43fcf | 6af18b21784d1fc1fc5e782d3dfb6940c7914c5a | refs/heads/master | 2023-01-19T22:51:02.815771 | 2020-11-10T15:49:14 | 2020-11-10T15:49:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 532 | rd | ensembl_hgnc_gene_pairing.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_gene_annotations.R
\name{ensembl_hgnc_gene_pairing}
\alias{ensembl_hgnc_gene_pairing}
\title{Pair Ensembl gene ids with the correct HGNC gene symbol}
\usage{
ensembl_hgnc_gene_pairing(filename)
}
\arguments{
\item{filename:}{path to genco... |
a1ef1019dc7c88909b4f2ebc288ca54c8d323134 | ea344f5ef7fda2ae1fbb1390367c12f754c23f26 | /cachematrix.R | af7b954d5b3e23eb26a8eaee66062b68a78ef67c | [] | no_license | KamolwanP/ProgrammingAssignment2 | 9589a1fc14af76bd40d95bb6a9d541b532f8fba6 | cc296937d105b864e4dc7109e4b30eedb127bd19 | refs/heads/master | 2020-04-22T05:00:03.447146 | 2019-02-11T16:08:01 | 2019-02-11T16:08:01 | 170,143,869 | 0 | 0 | null | 2019-02-11T14:36:30 | 2019-02-11T14:36:30 | null | UTF-8 | R | false | false | 625 | r | cachematrix.R |
makeCacheMatrix <- function(x = matrix()) {
inverse <- NULL
set<- function(y){
x<<-y
inverse<<-NULL
}
get<-function() x
setinverse<-function(solve) inverse<<-solve
getinverse<-function() inverse
list(set=set,get=get,setinverse=setinverse,getinverse=getinverse)
}
## Write a short commen... |
7b6117cb0b0cb3bb7f2204a61853f5540a5546e1 | ac3264ff143e8bf99c6e9e2a77613a3f1499dc72 | /fastq_pooled/snakemake_ChIPseq_t2t-col.20210610/mapped/geneProfiles/quantiles/group_features_into_quantiles_noheatmaps.R | f40afd853c8d5b45c41504d2011749c130341230 | [] | no_license | ajtock/20190819_dh580_Athaliana_ChIPseq_MTOPVIB | 0291f5bf58ba760ff369263bc8f20773e685b9d9 | 2ff455aefc503757f97ec53a17fc1e21a7676f50 | refs/heads/master | 2021-07-30T10:34:56.081334 | 2021-07-22T15:01:53 | 2021-07-22T15:01:53 | 205,167,693 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 48,413 | r | group_features_into_quantiles_noheatmaps.R | #!/applications/R/R-4.0.0/bin/Rscript
#
# Divide features into quantiles based on mean log2(libName ChIP/control)
# in a given feature region (e.g., promoters).
# Extract and save feature IDs for each quantile for further analyses
# (e.g., GO enrichment and average + 95% CI profile plotting).
# Calculate mean winName-... |
8fbae1ba0692afb647cc4449529f109e91b55dd0 | d7fd880e6f42afe9911b597b843d11b9035a801a | /cachematrix.R | 1ab7c74547c4ffc8db32728732468146b77b548f | [] | no_license | LaurenDembeck/ProgrammingAssignment2 | 289aaeda48823594c0f64bfa8f9d63135bbc5172 | cd7db4dd1c6d01c9efb1ed195d9389089e2154c2 | refs/heads/master | 2020-04-15T08:52:11.507386 | 2015-12-27T10:03:19 | 2015-12-27T10:03:19 | 48,567,335 | 0 | 0 | null | 2015-12-25T05:10:06 | 2015-12-25T05:10:05 | null | UTF-8 | R | false | false | 938 | r | cachematrix.R | #The makeCacheMatrix function will generate a list of functions(set, get, setinverse, and getinverse), which can be assigned to a variable
#It aslo sets a matrix, x, to exist in the global environment
makeCacheMatrix <- function(x) {
inv <- NULL
set <- function(y) {
x <<- y
inv <<- NULL
}
get <- functio... |
729e432baf449709c8eec0577302a0f74902b584 | 6b116d9cbd762360cefbde5bbdd85c3591f5d0c6 | /man/get_biooracle_temperature.Rd | 9b1a9f32b68f9fd21c7f0631ac07894d7bcc67b5 | [] | no_license | iobis/findingdemo | 05b01fb5e577858bd316b379f218937f20ab7fbd | 46defee7990f1225bd7f4ccec69070e9e8c9949e | refs/heads/master | 2021-07-05T17:04:55.516572 | 2020-11-30T11:29:32 | 2020-11-30T11:29:32 | 206,312,569 | 0 | 3 | null | 2019-09-05T15:02:13 | 2019-09-04T12:20:40 | R | UTF-8 | R | false | true | 311 | rd | get_biooracle_temperature.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/raster.R
\name{get_biooracle_temperature}
\alias{get_biooracle_temperature}
\title{Reads bio-oracle temperature data.}
\usage{
get_biooracle_temperature(bbox = c(-40, 50, 20, 90))
}
\description{
Reads bio-oracle temperature data.
}
|
99d051090730ad61429e5a553cea4324fc3b38cf | ee3d81df33936bccdf3c4a795fb2ba57cfbb2ab1 | /server.R | 49f961455d442dbc4329491a97716c658e89fe11 | [] | no_license | rikku1983/data_product | 85482ef8d03cd7e28d559107f21cc070eb43c056 | 76d836f6c8e226b7b7beaadc82ccfcc227a001e2 | refs/heads/master | 2021-01-01T19:46:14.722602 | 2015-08-09T16:37:00 | 2015-08-09T16:37:00 | 40,442,564 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 507 | r | server.R | library(shiny)
prempg <- function(weight, qsec, transmission){
9.7231 -2.936531*weight/1000 + 1.016974*qsec + 14.079428 * transmission - 4.141376 * transmission * weight/1000
}
shinyServer(
function(input, output){
#w <- as.numeric(input$weight)/1000
#q <- as.numeric(input$qsec)
#output$mpg <- 9.... |
d6e4861bba30c9ef8ab8c719921e693b5dc17ef6 | d84f3a58168994f55530b8a5d5b9ba2837db4fc3 | /plot1.R | e3229b68678defdcc1e299a73a91946bb800fe76 | [] | no_license | Palrich/Exploratory_Data_Analysis_Project2 | a26e48b426d227fcceca8f4cb982284fe7bf0be9 | 2a8a63b98e5bfdcf73bacfa843d2d276123df937 | refs/heads/master | 2016-09-13T03:47:17.499789 | 2016-05-23T06:12:57 | 2016-05-23T06:12:57 | 59,456,230 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 737 | r | plot1.R | ## Reading the data (make sure you are in the directory where the RDS files have been extracted)
pmData <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
## Totaling the data for emissions across the years variable in the data
EmissionSumsYear <- with(pmData, tapply(Emissions, yea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.