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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b2fe740d264a86361f34ee913e9c1fbaeec6949e | 9f02785abd397cbc46c20c3d5858163a6847285a | /NeuralNetwork/nnet_conv.R | 7a51a7b1d2648081d69c669f4dbaefe78e5f710c | [
"MIT"
] | permissive | daelsepara/machine-learning-r | c764d53c632819ef249c0f8e4cc6a926e834672a | 5d7dad83cc71d40ffdd93d73d4ffc1234ccac613 | refs/heads/master | 2021-01-10T12:42:45.403223 | 2019-02-20T14:40:45 | 2019-02-20T14:40:45 | 54,004,004 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,275 | r | nnet_conv.R | require(pracma)
# convolution layer
nnet_conv <- function(input, feature, shape = "full") {
# input dimensions
ix = ncol(input)
iy = nrow(input)
# filter dimension
fx = ncol(feature)
fy = nrow(feature)
# convolution dimensions
cx = ix + fx - 1
cy = iy + fy - 1
if (iy >= fy && ix >= fx) {... |
41b3138ae0be290ed1f0e6585fe9a5c52c84df76 | 8e3de2ab24e05f90617605f698fff026bde32a17 | /DataScience/KuboTakuya/chapter-08/plot-metro-prior.R | 3d73b901bd8da2346ce69c38b25117c7f9ff56ba | [
"MIT"
] | permissive | YuichiroSato/Blog | 77055ede88807ced98c652d827ccc8b850b34ed1 | 42df73cba30a45c28cd2b70224685c430e40928f | refs/heads/master | 2022-11-04T20:36:38.262536 | 2022-10-24T17:26:14 | 2022-10-24T17:26:14 | 168,289,166 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,446 | r | plot-metro-prior.R | dataGenerator <- function(dataSize) {
gen <- function() {
m <- 3
if (runif(1, 0, 1) < 0.5) {
m <- 7
}
q <- rnorm(1, mean = m, sd = 0.1)
rnorm(1, mean = q[1], sd = 1)
}
data <- vector(length = dataSize)
for (i in seq(1, dataSize + 1)) {
data[i] <- gen()
}
data
}
data <- dataGen... |
6d4264fde39e573245e19ac759aca6c238c1ca2e | d393abd55061886f14db86c3d17e1e3681d77ec9 | /r-lab1/src/R-lab_2.R | 069101828cc4a5326b8897c0e6f0313ed32ac08f | [] | no_license | wuhaixu2016/R-Lab | c134421aabbf612c814a33a384c5b0026cba5924 | c55b2a987c166a9d519fa3511375db145567979d | refs/heads/master | 2020-04-17T06:56:41.284673 | 2019-01-18T05:08:50 | 2019-01-18T05:08:50 | 166,346,396 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,006 | r | R-lab_2.R | False = 0
if(False){
note = 'For Question Two'
}
if(False){
note = 'for mySim
u, r are for rnorm
n, m are number for each sim. and times for sim'
}
mySim <- function(u, r, n, m){
x_sim = numeric(m)
for(i in 1:m){
data <- rnorm(n, u, r)
x_sim[i] = sum(data)
x_sim[i] = x_s... |
c3e6138c2256875b37d6f85cbefd69ef513cf022 | 51be1242b0a3a7d7b0468a7356656b626138ba83 | /old/s1s2_Original.R | b034f35a2f2e790fcc453e37e2cbe5d244adf5cd | [] | no_license | tyzjames/Wolverine-Mean-Reversion | af6a08ba39d701fbbbf1fdc0e32449823e64364b | 8f1da29518bd10b3645417b9d8d6b83c8cf9f099 | refs/heads/master | 2021-01-15T07:54:09.058499 | 2015-05-12T03:12:31 | 2015-05-12T03:12:31 | 33,780,077 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 9,690 | r | s1s2_Original.R | library(caTools)
library(TTR)
library(gtools)
#Read CSV data
readData<-function(inFile){
print("Reading Data")
tempFile<-tryCatch({
return(inFile[, c("datetime","open","high","low","close")])
},
error=function(cond){
message("Data column headers do not match [datetime],[open],[high],[low],[close]"... |
da2e12c9c7c63abf628c959029d7ee58a5422aa5 | a7914cffb91911b3bbf2e1f51f76956adad336ad | /consistency_movement.R | a241cab4eccd43b83e7dda6e6fa3faf36064be10 | [] | no_license | BernhardKonrad/qlexdatr_coverage | 1042d88e27bf2d28af65d9e72bde8abcc343deb4 | bdb67ee429daa6e2b996722fb665c70dd018e5d4 | refs/heads/master | 2016-09-01T06:41:43.496010 | 2016-02-23T12:22:43 | 2016-02-23T12:22:43 | 50,470,488 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,228 | r | consistency_movement.R | library(qlexdatr)
library(lexr)
library(tidyr)
library(spa)
library(dplyr)
library(ggplot2)
QLEX <- input_lex_data("qlexdatr")
QLEX_DETECT_DATA <- lexr::make_detect_data(QLEX)
SECTIONS_FROM_TO <- QLEX_DETECT_DATA$distance
distance_sections <- function(sectionA, sectionB) {
# Returns pairwise distance between sectio... |
747375192e4dc6b0f553f9ebdfd661ce625b886d | af0b645477bc7708b2924fc7672cf2c4d3775d4e | /R/simulate_example_evol_models.R | e076b42926a35c05409e16888e014b1a4b5f347a | [
"CC-BY-4.0"
] | permissive | meireles/link_spectra_to_tree_of_life | f6e76bef09053b3e69d7512442a2a47d31209b31 | cb7edc1b330da7dea37dbf80e9ee3cf53bd473be | refs/heads/master | 2020-04-08T10:27:47.212454 | 2018-12-07T00:47:16 | 2018-12-07T00:47:16 | 159,269,934 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,753 | r | simulate_example_evol_models.R | #' Simulate a single realization of the OU process
#'
#' @param sig2 rate of the Wiener process
#' @param alpha strength of the mean reversion
#' @param theta mean longrun
#' @param init initial value
#' @param time over which the process unfolds
#' @param n number of time slices. integer. NULL defaults to 100
ou_sim =... |
11c994b8e84a5b1f312dc978aebad62fa89c8322 | 2a811f8be6af323af6d0fe823a3f1e62b2b79a46 | /R/image.hglasso.R | fa5d5458d7ab4d51b136f6d6139785c27a5cc30f | [] | no_license | cran/hglasso | 681f0fe36f1a10c5e53dbf144d144b13a4a5111d | da7e8d5f000b176dffff2d68d5a0118ea78e1d24 | refs/heads/master | 2022-06-01T20:17:07.281739 | 2022-05-13T07:20:02 | 2022-05-13T07:20:02 | 18,368,817 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,234 | r | image.hglasso.R | image.hglasso <-
function(x,...){
# Initialize some variables
Z <- x$Z
V <- x$V
diag(Z) <- 0
diag(V) <- 0
Z[which(abs(Z)<1e-4)] <- 0
Z[which(Z<0)] <- -1
Z[which(Z>0)] <- 1
V[which(abs(V)<1e-4)] <- 0
V[which(V<0)] <- -1
V[which(V>0)] <- 1
rgb.num=col2rgb("orange")
colororange=rgb(rgb.num[1],rgb.num[2],rgb.num[3],15... |
22936ad08b5d8a0a1e8d89ee74f233efadc687ea | 5355041c27c2d9bda28e216c8d958e20ef406b55 | /p7/reto1.R | af160a853b79eb9cb9e354539ffa19908047bc47 | [] | no_license | JuanPabloRosas/R-paralelo | a5e1e7ff28d2d119bc5ed04ac6168369476df684 | 5927dddff2ead2a8a901d27954e6820fff8e44d8 | refs/heads/master | 2021-01-02T23:05:20.766335 | 2017-12-12T09:42:12 | 2017-12-12T09:42:12 | 99,465,353 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,692 | r | reto1.R | library(lattice)
library(reshape2)
library(plot3D)
library(rgl)
d <- data.frame()
mov <- data.frame()
#---------------------------------------------------------------------------------
g <- function(x, y) {
func1 <- ((x + 0.5)^4 - 30 * x^2 - 20 * x + (y + 0.5)^4 - 30 * y^2 - 20 * y)/100
func2 <- (x^2 + y^2)^(1/3)
... |
6cf95931235a95d89d51a29976f5cd66550c40e8 | b0f29706f754d6ada354a0c34e692455dc88d98f | /R files/R function to obtain empirical MSE under imperfect individual-level ranking.R | 3e6ac7bbc01c2e9099554387dfea0eb44f66a067 | [] | no_license | mumuwsmu/Ranked-Set-Sampling-Binary-Outcome | dcb47ef26ad1b289e5601929a934abbdcb6a4470 | 36e2fbc3cf033de0f12a61f162aed44bb7abea6b | refs/heads/master | 2020-07-03T07:09:24.354488 | 2019-08-12T02:50:29 | 2019-08-12T02:50:29 | 201,832,971 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,584 | r | R function to obtain empirical MSE under imperfect individual-level ranking.R | library("gaussquad")
library("lme4")
# rank individual level only #
MseNormid.e=function(ji,kji,hji,bji.sd,r.right,mu,a1,G,Gau.ord)
{
delta.NP=rep(0,G)
delta.PL=rep(0,G)
delta.MLE=rep(0,G)
orthonormal.rules=hermite.h.quadrature.rules(Gau.ord, TRUE )
g.h.q=as.vector(unlist(orthonormal.rules[Gau.ord]))
t=g... |
1ec9d4fb043a7413ffee8a8a62ed28bb52f268c6 | 7b61b0369dbedbf35cbdf3f59a95468a5e324555 | /R/wnm_get_cutlines.R | d73e71016d94bc87c89eb41291e73b2942bc779b | [] | no_license | jaytimm/wnomadds | a3aab2d0c3fb6a721e2ba235cca4b460d6575e53 | f7b0697c95cd7e501d20c7467ac2cd5d242c01f2 | refs/heads/master | 2020-03-21T18:46:31.626002 | 2019-06-19T18:24:12 | 2019-06-19T18:24:12 | 138,912,294 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,125 | r | wnm_get_cutlines.R | #' Extract cut line coordinates
#'
#' A simple function for extracting cutting line coordinates and roll call polarity from an object of class `nomObj` via the `wnominate` package.
#'
#' @name wnm_get_cutlines
#' @param x A nomObj via wnominate::wnominate output
#' @param rollcall_obj A rollcall object from pscl packag... |
5a265492d5cef214c0056296c29ba33682682ae1 | e95b967ddb69c7619f59fca09707051e830688b7 | /wrangle-data.R | 97383431e51d532743b2df823b32117faf6ad054 | [] | no_license | geoseyden/murders | 9c552a43abf4c7a916060665ae99f4382fdab3ab | b6fad832dbf25937ee6e89b1495ce093caf18a56 | refs/heads/master | 2022-04-25T18:04:43.092372 | 2020-04-27T16:06:44 | 2020-04-27T16:06:44 | 259,355,518 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 176 | r | wrangle-data.R | library(tidyverse)
murders<- read_csv("data/murders.csv")
murders<- murders %>% mutate(region= factor(region), rate=total/population *10^5)
save(murders,file="rda/murders.rda") |
8e9e9b6d372581070531ad72fcc04709fcbed61e | bf8722b93301e132af8fc09c7774ef10ffaaed1f | /RR/dothi (17).R | 3ca83f623146bcfd8c62e977eb14843d5fb40e4a | [] | no_license | phantheminhchau1/doan_nnltR | b1bf3ed84ab57f674664624561be3dcef07c3d6c | 2cdf8ac443d0bd265dd72909b2e5bbb11e4f7845 | refs/heads/main | 2023-06-15T09:22:28.372293 | 2021-07-13T08:54:44 | 2021-07-13T08:54:44 | 385,331,105 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 359 | r | dothi (17).R | df <- read.csv("https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/06-30-2021.csv")
df <-df[!(df1$Country_Region != "Vietnam"),]
ggplot(data = df,col="#AA4371",
aes(x = reorder(Province_State, Confirmed), y = Confirmed))+
geom_bar(stat = "identit... |
fe345472a7e9b3086812a234d7c135b108e832d3 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/MatchIt/R/nnmatch.R | 3bf08e558df6a5e4493ae666ff4ec5c569e021eb | [] | 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 | 2,754 | r | nnmatch.R | nn_match <- function(treat, ord, ratio = 1, replace = FALSE, discarded, distance = NULL, ex = NULL, caliper.dist = NULL,
caliper.covs = NULL, caliper.covs.mat = NULL, mahcovs = NULL, mahSigma_inv = NULL, disp_prog = FALSE) {
n1 <- sum(treat == 1)
ind <- seq_along(treat)
ind1 <- ind[treat == ... |
bd2aa8708e6649ecbc269666acd9a9277c9d4af9 | 919a89d08785bc50616da8dbda25c7aa526a15e3 | /correlation-heatmap/draw_coverage.R | ed03b45df021491b5b86a031ec928e367cf9a551 | [] | no_license | pandaspa/R_RNA_seq | 9e578803378149f51e4a1aeae30405fa978ad51d | 966de1916ec49d41b58cdac8e7b9655a7ea9e0b6 | refs/heads/master | 2023-03-21T00:36:51.078426 | 2020-01-21T01:50:05 | 2020-01-21T01:50:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 178,411 | r | draw_coverage.R | data<-c(25.62,16.63,12.80,10.14,8.28,7.30,6.23,5.46,4.80,2.72)
data<-data
data <- matrix(data,nrow=1)
colnames(data) <- c('0-10','10-20','20-30','30-40','40-50','50-60','60-70','70-80','80-90','90-100')
den <- density(c(7.141,7.355,4.527,6.307,2.753,0.92,3.387,0.876,0.261,0.744,0.217,7.312,1.479,5.559,5.259,7.725,0.307... |
102f9674b9c1f4b2f25604442924bf2fdfeb61c4 | 3398f060d05e70146715226881fc6d583ec17eb3 | /starbucks.R | efa199ac3bc8f6dc05cd31a68ccf942090fb13af | [] | no_license | Jeong-hae-rim/StudyR | 26959a0490068a9024688d65daec3d6cc7b99de5 | fce3219e166995016def419115888bf340785bd2 | refs/heads/master | 2021-04-16T09:18:21.378019 | 2020-05-28T10:03:08 | 2020-05-28T10:03:08 | 249,344,990 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,968 | r | starbucks.R |
# [ 동적 크롤링 수행평가 ]
### 웹사이트 불러내기
library(RSelenium)
remDr <- remoteDriver(remoteServerAddr = "localhost", port = 4445, browserName = "chrome")
remDr$open()
remDr$navigate("https://www.istarbucks.co.kr/store/store_map.do?disp=locale")
### 전체 매장 개수 추출
sizeCss <- "#container > div > form > fieldset > div > section > a... |
58ea82aaff809b6e32534cff764701837fe5a1f7 | a4021a064ad356d5b261ae116eec8d96e74eefb9 | /R/ubio_search.R | 94e2080473e68b1b46b2bf608060063b34d988ce | [
"CC0-1.0"
] | permissive | dlebauer/taxize_ | dc6e809e2d3ba00a52b140310b5d0f416f24b9fd | 9e831c964f40910dccc49e629922d240b987d033 | refs/heads/master | 2020-12-24T23:28:49.722694 | 2014-04-01T18:22:17 | 2014-04-01T18:22:17 | 9,173,897 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,067 | r | ubio_search.R | #' This function will return NameBankIDs that match given search terms
#'
#' @import httr XML RCurl plyr
#' @param searchName (string) - term to search within name string
#' @param searchAuth (string) - term to search within name authorship
#' @param searchYear (string) - term to search within name year
#' @param orde... |
cdb6307aca6b093dedd794bab190d3f6a6355587 | 9c9b649e7ca7c9d3d9be3c035bdd4cf9fb2db4e6 | /demographic_social_28.R | 898e5ce88596dbdc99abbb782ccf354fe9157bf4 | [] | no_license | ktorresSD/measures.script | 5bb409cc0df8c535ae282ce05f33f2f899d8977e | 1ec87f4e8d2bd507ef38374085f0bb2c7486c785 | refs/heads/master | 2021-10-21T21:40:32.005909 | 2019-03-06T18:19:56 | 2019-03-06T18:19:56 | 114,813,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,607 | r | demographic_social_28.R | #########################################################################################
# Last Date modified: 12/19/2017
# Author: Katy Torres
# Description: Subset of question 28, Demographic: Social Environment
##########################################################################################
#Load p... |
747c0eb4caedbf2eede4b6789c95577d5076c383 | f2a0a8fda06fc7c1a7602472aab8569df5101d48 | /man/cooks.distance.frontier.Rd | ce3d1a08cc2005dbc9d19691e71436a1c0906ad3 | [] | no_license | cran/frontier | 833b64b32ae93e7f5c8333ccbbd3670f0fa12182 | 91725b1e6bb2df9b47c3d9eda2d545996a0f0c54 | refs/heads/master | 2021-01-01T19:07:23.783127 | 2020-04-17T15:10:03 | 2020-04-17T15:10:03 | 17,696,150 | 5 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,402 | rd | cooks.distance.frontier.Rd | \name{cooks.distance.frontier}
\alias{cooks.distance.frontier}
\title{Pseudo-Cook's Distance of Stochastic Frontier Models}
\description{
This method returns the Pseudo-Cook's distances
from stochastic frontier models
estimated with the \pkg{frontier} package
(e.g., function \code{\link{sfa}}).
}
\usage... |
d70d98a147c53e2df186ef489505768bf4b54e4f | de1783a918228f611f766fe1b746e048f5022b70 | /CostMinProblem.R | 9125427418b855fc2254b7628781b4111a60463c | [
"MIT"
] | permissive | nsbowden/Rwanda_Solar_Initiative | 009141bd5df1136c97e521777f7cb646ae3b1765 | 87fba8d85965fe982e111ddd469a4f75fab95f74 | refs/heads/master | 2020-03-06T21:42:18.889646 | 2019-01-13T03:06:07 | 2019-01-13T03:06:07 | 127,084,515 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,196 | r | CostMinProblem.R | ###################################################
### Isolated PV Model ########
### Designed for 1 year of hourly Data ########
###################################################
library(ggplot2)
###Read Irrandaince and Load Files and combine
###Set path to directory containing input file... |
647583f8440498ae39ad35aee8cbb04e0ec24e82 | ab10f7fde360490c080c9a1184f8c868ace0cac8 | /man/myorcid.Rd | 8f08048cca9f3d5aa81fbf58925c6509fddff653 | [
"CC-BY-4.0"
] | permissive | cathblatter/cblttr | ca6b0160f25cd89d370aecc728f96e8cbd1e5365 | 41aaf0829084a545b9d7e0dcfa3df6c044c95412 | refs/heads/main | 2022-11-27T10:58:31.135308 | 2022-11-27T06:52:25 | 2022-11-27T06:52:25 | 161,007,732 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 273 | rd | myorcid.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/myorcid.R
\docType{data}
\name{myorcid}
\alias{myorcid}
\title{My orcid}
\format{
An object of class \code{character} of length 1.
}
\usage{
myorcid
}
\description{
My orcid
}
\keyword{datasets}
|
ddf6ed8d1a7ce47e5ad75eb7dfe942151666b442 | 917c9867f05b73b37c7d68d28fe4a1c57702fd28 | /Basic/sorting.R | 17f6599c2e6749bc9fa97ce022b58cc37e568df0 | [] | no_license | xiabofei/rlanguage | e06f58dd25629bd11206369a4189220605bfe550 | 809435e5da08427f33223dee367d161e20a0424c | refs/heads/master | 2020-12-06T17:14:31.562219 | 2016-09-27T06:20:29 | 2016-09-27T06:20:29 | 66,824,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 213 | r | sorting.R | ## 1. 排序且取下标的做法
D <- data.frame(x=c(1,2,3,1),y=c(7,19,2,2))
# order是降序排列, 返回的是vector的下标
indexs <- order(D$x)
D[indexs,]
# rev是取反
rev(c(1,2,3,4))
D[rev(order(D$y)),]
|
f298507d11b10aa80234c9af66ecafe68c66a8a2 | ccb47c269948c24052669e1afda69ebfee5d2603 | /modules/conversion_display_module.R | 5708554ca83921e34703c23a38315bc8706de9c1 | [] | no_license | aquacalc/iQuaCalc_R | 57f93d48f0359830d8b4e6527b7f2523b31177a9 | 2f5fbdf89361d8f1c81071bef3cfd0b2dfd04e8a | refs/heads/master | 2020-03-19T05:23:43.478688 | 2018-06-03T22:36:57 | 2018-06-03T22:36:57 | 135,925,549 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,863 | r | conversion_display_module.R | # conversion_display_module.R
# when user clicks a cell in a conversion table,
# display the appropriate conversion result in a box
conversionDisplayModuleInput <- function(id) {
ns <- NS(id)
tagList(
box(
style = "padding: 3px 2px 1px 2px;",
width = NULL,
# title = "Cli... |
f0a85e3a9c98cc738dc183cf27d102a2e34924e9 | b0cb6e6cb543e1c7ed03c499c3be80f72c5237a0 | /man/Param_blipCDF.Rd | 2dc524fc5217fd9a58b990f6638a4f73a4529f74 | [] | no_license | jlstiles/tmle3kernel | c029d35998fc9481026e7cc319222ae5f11fa18d | cf3c751b2d4b812b6475c925fa1c003056809bcc | refs/heads/master | 2020-04-03T00:33:59.193873 | 2018-10-26T23:58:46 | 2018-10-26T23:58:46 | 154,902,558 | 0 | 0 | null | 2018-10-26T22:52:44 | 2018-10-26T22:52:43 | null | UTF-8 | R | false | true | 1,547 | rd | Param_blipCDF.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Param_blipCDF.R
\docType{data}
\name{Param_blipCDF}
\alias{Param_blipCDF}
\title{Blip CDF}
\format{\code{\link{R6Class}} object.}
\usage{
Param_blipCDF
}
\value{
\code{Param_base} object
}
\description{
Blip CDF
}
\section{Constructor}{
\c... |
c76b1d723a557009f69ac59f43ebc37d5300dd75 | 20953caa1b29bfa8983d2f9d88c5e72c8794e796 | /4c.Analysis-SICR_Def-All_Prevalence.R | 39e2bd17913846aa3c40f791100f8817c78b27b8 | [
"MIT",
"CC-BY-4.0",
"CC-BY-3.0"
] | permissive | arnobotha/IFRS9-SICR-Definitions-Logit | 14298c71540f71a77630a4d4c2b60f81a318eb5d | 520e85ea4c47e76abae920f9320e90640643e711 | refs/heads/main | 2023-04-15T07:41:00.341358 | 2023-03-02T12:16:16 | 2023-03-02T12:16:16 | 601,805,307 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,319 | r | 4c.Analysis-SICR_Def-All_Prevalence.R | # ============================== SICR-DEFINITION ANALYSIS ===============================
# Script for comparing SICR-prevalence rates across various SICR-definitions.
# In particular, we analyse definition class 1-2 and compare results across (d,s,k)-parameters
# -------------------------------------------------------... |
15b24a7bbf91dce594b6febc1de9a62e947b3c16 | 8cd4132aa6e0ff35bf198b6b64077ba5fd46c962 | /toCytoscape.R | 3cdbc0769638a065f599138ac0c4896876705978 | [] | no_license | mandalr2/cy-rest-R | e0dcaaf52d35859ebc4cf96e6d4429b75fd7d607 | de68b10edb4b16c46646758af82c3ceb668efe73 | refs/heads/master | 2020-12-24T11:06:03.483138 | 2014-08-01T18:42:57 | 2014-08-01T18:42:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,000 | r | toCytoscape.R | toCytoscape <- function (igraphobj) {
# Extract graph attributes
graph_attr = graph.attributes(igraphobj)
# Extract nodes
node_count = length(V(igraphobj))
V(igraphobj)$id <-c(1:node_count)
nodes <- V(igraphobj)
nds = list()
v_attr = vertex.attributes(igraphobj)
v_names = list.vertex.attri... |
c6b6ce97614d9922e31038e8b29cfc0c98cef8bb | 97cbdbd0cfc732799c8c236e8afd3a77d0c78585 | /GGPlot/facebook-ggplot.r | bf872a8b54262271cc2d04a05adaf177a5c3e2c6 | [] | no_license | everydaylife/Data_Visualization | 36dc0a95a2e6857cee39720033b7df5fb4e83fe1 | e7715078ec07e085dadbc82260dca8004440d41f | refs/heads/master | 2016-08-11T06:51:17.844062 | 2016-03-22T00:24:24 | 2016-03-22T00:24:24 | 54,432,633 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,292 | r | facebook-ggplot.r | # Comparing Demographics of Facebook Users to Non-Users
# Jump Start Code Segment via Thomas Miller
# load required libraries
library(ggplot2)
library(vcd)
library(plyr)
# Load R binary file
load("facebook.RData")
# set text data fields as character
original.facebook.data.frame$pial4vb <- as.character(original.fac... |
bb19722d63160769bd15a429686495fe7dcdffa6 | e9b6775d1886f4bd869f3d490bc661f223557b85 | /R/mutate_model_output.R | ca1d4a0de97ea1dfefa94be3d35cb714b58b82e7 | [] | no_license | wimmyteam/conisi | e1f6cff69704cd1f743652c2119a8a3ff880f6b0 | ddf801cce4dd491de44e176b909811f804f35d1d | refs/heads/master | 2023-09-03T15:51:05.858830 | 2021-10-29T18:32:32 | 2021-10-29T18:32:32 | 325,935,919 | 0 | 0 | null | 2021-04-30T21:59:02 | 2021-01-01T07:28:12 | R | UTF-8 | R | false | false | 28,327 | r | mutate_model_output.R |
#' This function processes the model output
#' and creates new variables that are needed for metrics of interest. The
#' output from this function is another dataframe / tibble.
#'
#' @param df Dataframe Output from COVIDmodel. The input data frame must have a row that represents
#' each experiment and
#' time poi... |
a7bf0e4fceb8cf715efd3acfc11c453e5ea7ae60 | abdcc6ac44877fc30de16c49c3b590d9d5fccb31 | /man/grid_at.Rd | 7648d8984333b9c08132d7260f1117633ed99e55 | [] | no_license | cran/cursr | c044e45566d03a5a9566bad732c965fd6c861e4c | 451f1a62702217fddc11a8446958d0769af71b42 | refs/heads/master | 2023-02-23T21:57:44.910797 | 2021-01-11T07:50:09 | 2021-01-11T07:50:09 | 334,100,036 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,719 | rd | grid_at.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/8-Draw.R
\name{grid_at}
\alias{grid_at}
\title{Draw a Character Grid Matrix}
\usage{
grid_at(
yx = c(1, 1),
dim = NULL,
step = c(2, 2),
text = c(".", ".", "+", "|", "|", "-", "-", rep("+", 8)),
border = TRUE
)
}
\arguments{
\item{yx... |
73ecc8f62b9c2de09a5bded6dd44b241e8d2898c | 04f349102910e5052ea34d3e7744e4d79a2fbb4f | /man/pof_future_cables_20_10_04kv.Rd | da6a2c1bee7e1c916e6f140117d12764858b6535 | [
"MIT"
] | permissive | scoultersdcoe/CNAIM | f0728b00f0d0628e554975c78d767ee2c472fb3b | 5c77ce4c50ef92fd05b9bb44b33fdca18302d020 | refs/heads/master | 2023-08-23T22:54:59.450292 | 2021-03-12T15:52:54 | 2021-03-12T15:52:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,779 | rd | pof_future_cables_20_10_04kv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pof_future_cables_20_10_04kv.R
\name{pof_future_cables_20_10_04kv}
\alias{pof_future_cables_20_10_04kv}
\title{Future Probability of Failure for 20/10/0.4kV cables}
\source{
DNO Common Network Asset Indices Methodology (CNAIM),
Health & Criti... |
94be3255a5ac1d6d4eaad145b97a63d9d90ddc37 | fa49f283841189e4c752fafc6b62d1223fcc988c | /source/extract_features_GO_term_count.R | f7ebd76da37a7e6ed96f3f38713985eb8957493c | [
"MIT"
] | permissive | saisaitian/MultiOme | 60ab5016694c04939ae3bcf23586b0e7f188c18d | a2d8dfc074fb1a3a0470d4bb0c2c7f418493c1fc | refs/heads/main | 2023-08-16T07:02:10.030944 | 2021-08-12T21:00:40 | 2021-08-12T21:00:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,641 | r | extract_features_GO_term_count.R | #' Extracting GO term counts per gene
#' Ize Buphamalai, CeMM
#' Update: June 2021
#'
library(ontologyIndex)
data(go)
library(ontologySimilarity)
data(gene_GO_terms)
data(GO_IC)
#all_gene_names = citation_count$gene
#genes = gene_GO_terms[all_gene_names]
#genes = gene_GO_terms
#genes = genes[-which(sapply(genes, le... |
6c0f8bbd293783ee049f990b875de4377074608c | c55e7cfa88461039f69367b901c3003eb54a17a5 | /Pricing Analysis.R | dcd83635cebd42f0a7177cc1108a4aab4b543b0e | [] | no_license | yashrj73/Arline-Price-Analysis | 5e1e69c8562ec4adea9c48f923d9f20db74d6bdf | a10f80801a1bf48901b6a42711159c63f99be7ef | refs/heads/master | 2023-02-14T16:53:17.311690 | 2021-01-14T06:32:02 | 2021-01-14T06:32:02 | 103,805,363 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,060 | r | Pricing Analysis.R | #SIX AIRLINES DATA
#Reading the data into R
SixAirlines.df <- read.csv(paste("SixAirlinesData.csv"))
#Summary statistics
summary(SixAirlines.df)
#AIRFRANCE AIRLINES
#Creating subset of AirFrance airlines
AirFrance.df <- subset(SixAirlines.df, Airline=="AirFranc... |
b60685af46e9aaaa07f10cd375cc5e8d347fdac1 | 3ea3b413e848585a25f23ee4d0c4cc7722ba6018 | /R/GetAuthorGenders.R | af55a9d65619ff41f3c34d30678328b83150e9be | [] | no_license | kmanlove/ParticipationInComputing | 4df1d3222d183cd67a5015c05156eb007dbc1148 | 9ebdcf5b5067fbff8fbb75dff987787b5aab9e7f | refs/heads/master | 2021-01-20T10:49:53.871050 | 2015-04-02T02:28:59 | 2015-04-02T02:28:59 | 32,650,960 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,795 | r | GetAuthorGenders.R | GetAuthorGenders <- function(issn.in, sample.in)
{
journal.test <- cr_journals(issn = issn.in, works = T,
sample = sample.in,
filter = c(from_pub_date = '2005-01-01')
)
X <- sprintf("journals/%s/works", issns[1])
sample <- sam... |
c5354ac8d209f97e0b36980cbaa83187f54a3d4f | 2bba5609fad00dbfc4b93c84978b08d35954d977 | /man/treemer.Rd | e65874f895e5172f84fb92e2f1948d04d72351fb | [
"MIT"
] | permissive | kant/sitePath | 416d8f59a453ccd4e76ad2fdab05b03cbd905f4b | 73a76a56cb6df52468a1243057ee1e2ccfa2b3ad | refs/heads/master | 2022-10-20T17:50:14.530724 | 2020-06-16T09:28:15 | 2020-06-16T12:48:45 | 272,836,800 | 0 | 0 | MIT | 2020-06-16T23:58:11 | 2020-06-16T23:58:10 | null | UTF-8 | R | false | true | 1,826 | rd | treemer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/treemer.R
\name{treemer}
\alias{treemer}
\alias{similarityMatrix}
\alias{groupTips}
\title{Topology-dependent tree trimming}
\usage{
similarityMatrix(tree)
groupTips(
tree,
similarity = NULL,
simMatrix = NULL,
forbidTrivial = TRUE,
... |
b7678ef8aa96da71daf1435c11aaed1a29e9166b | 4a2d5b3331bfcf892aecc61c52d35fb0ef4584d2 | /attic/ImplementationParameter_Class.R | 01e9b874f1558d7ebddb9f113a2fdc932de8d8ea | [
"BSD-3-Clause"
] | permissive | openml/openml-r | ede296748ae1b9bcf22d661f4e25f495283402dd | 530b00d9bde9895d5ba9224dbc812aeb3095e0f3 | refs/heads/master | 2022-11-09T02:51:47.329148 | 2022-10-19T19:50:09 | 2022-10-19T19:50:09 | 12,809,430 | 78 | 32 | NOASSERTION | 2019-11-19T16:00:48 | 2013-09-13T12:52:44 | Jupyter Notebook | UTF-8 | R | false | false | 697 | r | ImplementationParameter_Class.R | ImplementationParameter = function(name, data.type, default.value = NA_character_,
description = NA_character_) {
assertString(name)
assertString(data.type)
assertString(default.value, na.ok = TRUE)
assertString(description, na.ok = TRUE)
makeS3Obj("ImplementationParameter",
name = name,
data.type... |
b320f57f5e2a02b9093c59d5c1f57c74fdfdd9e9 | 3b6b2868f4745b60324d3d0aaf30a46cd0e25ec3 | /best.R | e5b547d54870607878e43a67e56e88a2c192867d | [] | no_license | benirvin/R-PROG_pa3 | cc2ca287d7a0e891a26a90f2b4751711eda83b9f | 9cc2d1fcc5682cf045a34f12311e89c9ad52938f | refs/heads/master | 2021-04-03T06:26:37.937753 | 2018-03-10T04:29:18 | 2018-03-10T04:29:18 | 124,614,066 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 732 | r | best.R | best <- function(state,outcome)
{
mind <- vector()
if (!state %in% state.abb)
stop("invalid state")
if (!outcome %in% c("heart attack", "heart failure", "pneumonia"))
stop("invalid outcome")
if (outcome=="heart attack") dfcol <-11
else if (outcome=="heart failure") dfcol <-17
... |
816b46329d864257a6dc527cf6b4b2be475a75bb | 1f6bad66bc5c9a4b41248ad53ab60655611a2a4f | /functions.R | 8f468cece3abb4fbc9e0550c4fba9dd87264fe87 | [] | no_license | felixdietrich/git | 1ea1485730fe110222d21aef814be4d669c09928 | d14438bd9cc559ae1d19730f3ad967211464d2fd | refs/heads/master | 2018-09-16T01:26:59.784770 | 2018-06-15T21:28:32 | 2018-06-15T21:28:32 | 105,157,326 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,464 | r | functions.R | # https://stackoverflow.com/questions/26118622/r-user-defined-functions-in-new-environment
.hE <- new.env()
# attach(.hE,name="helper",pos=-1)
# detach(.hE,name="helper")
# source('~/Dropbox/newdiss/git/functions.R')
# source('~/Dropbox/newdiss/git/functions_plot.R')
# print(c('Data','Holidays','Outliers','DOWN-IB','O... |
b0810e7ff81b81623a31879a4f8e68edf3d1c33e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/wnominate/examples/UN.Rd.R | 54172711195a40197678555156f743517d2ea3a3 | [] | 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 | 692 | r | UN.Rd.R | library(wnominate)
### Name: UN
### Title: United Nations Vote Data
### Aliases: UN
### Keywords: datasets
### ** Examples
#The same data set can be obtained from downloading the UN.csv
#file from www.voteview.com and reading it as follows:
#UN<-read.csv("C:/UN.csv",header=FALSE,strip.white=TRUE)
data(UN)
UN<-as.m... |
51daf2bccd9cef39dde5d757fb52bb3111954533 | b8c43e421f7216167380682c06ed9040db053627 | /scripts/tfbs/prep.R | a83775f70c2d7257e70582b11c4aa37840361c5c | [] | no_license | hmtzg/geneexp_mouse | 5a896cb4722794c85f464a75d459caf84021ffa0 | 1f2434f90404a79c87d545eca8723d99b123ac1c | refs/heads/master | 2022-02-22T13:31:09.135196 | 2022-02-02T09:02:15 | 2022-02-02T09:02:15 | 267,553,488 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,216 | r | prep.R | library(tidyverse)
system('wget https://maayanlab.cloud/static/hdfs/harmonizome/data/transfacpwm/gene_attribute_matrix.txt.gz -P ./data/tfbs')
system('wget https://maayanlab.cloud/static/hdfs/harmonizome/data/transfacpwm/gene_attribute_edges.txt.gz -P ./data/tfbs')
system('wget https://maayanlab.cloud/static/hdfs/harmo... |
91ef48150c541dddf3bab3d18d23e865b6f28b05 | 8d34a5846b55474e1db54cc3595ac725b1a96404 | /man/filter.Rd | fa8683325a58cdfee33a06ccc43d15d58a7fe42a | [] | permissive | federman/poorman | 6f1f76ea1c262a430dbd80b840897d4f1b603b76 | 3cc0a9920b1eb559dd166f548561244189586b3a | refs/heads/master | 2023-05-14T12:33:25.016104 | 2022-12-29T18:35:59 | 2022-12-29T18:35:59 | 243,791,745 | 0 | 0 | MIT | 2020-02-28T15:19:14 | 2020-02-28T15:19:13 | null | UTF-8 | R | false | true | 1,216 | rd | filter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filter.R
\name{filter}
\alias{filter}
\title{Return rows with matching conditions}
\usage{
filter(.data, ..., .preserve = FALSE)
}
\arguments{
\item{.data}{A \code{data.frame}.}
\item{...}{Logical predicated defined in terms of the variables... |
88b1a63083c30ada6148b749304ac152e3d11075 | 6ad28f2b9f1bac776c7af846e9f9988e7a0b5622 | /codi/generacio_mostra.R | f4ef8808bda515993097714e5cdc759bda4afc46 | [] | no_license | jrealgatius/PRECAV | 265e28b01849b9c09e6f5eae52a15f219c55e802 | 0e9a30f7adf072d9fe798ee0d01cfae947b2ce46 | refs/heads/master | 2022-10-25T07:16:36.696286 | 2022-10-06T08:47:29 | 2022-10-06T09:05:17 | 194,812,677 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,916 | r | generacio_mostra.R |
memory.size(max=160685)
#
##################### Directori Font ==============================
rm(list=ls())
###
library(dplyr)
directori.arrel[file.exists(directori.arrel)] %>%
file.path("Stat_codis/funcions_propies.R") %>%
source()
library(here)
### LECTURA ---------------------------
# CATALEG<-re... |
d88e27f4f2af5ed0ebe643ceeb8cfe255fe17185 | 4fbef04d36ac1cf8dcea9690b2b1f6916e1584e2 | /Grant_project.R | a78c6cbdf1da1a32c6ff77d34eb461b13a868b12 | [] | no_license | geyu625/Grant_Prediction | d1b6e3546eeaa57a7490de88f6afea0f945bb6c2 | 7d03838a2fab7a4b568204422b28f74a00e674bb | refs/heads/master | 2016-09-08T01:28:02.909756 | 2014-12-06T03:51:48 | 2014-12-06T03:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,026 | r | Grant_project.R | ############# ROC functions #############
ROC<-function(res){
# 1st column is class has 0 and 1 only
# 2nd colum is their scores
ord<-order(res[,2],decreasing=T)
score<-res[ord,2]
class<-res[ord,1]
temp1<-unique(score)
n2<-length(temp1)
n<-length(class)
class0<-which(class==0)
class1<-which(c... |
1944682decb459d0198ba35913d1f18780646e79 | 13e11079ba6fcd554a2f6015cd4e40204d1cb292 | /man/make_post_request.Rd | 2109d6b378812ef365448fc0e568a5a834e35d0d | [
"MIT"
] | permissive | hut34/hutr-package | cdae26631d0f4e640b7c22f1eff703692a47b8ad | 3519c7f5acc5fe2bdb12a96f42539542ecd11b32 | refs/heads/master | 2020-12-28T18:33:10.945324 | 2020-04-24T03:25:38 | 2020-04-24T03:25:38 | 238,440,955 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 763 | rd | make_post_request.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_post_request.R
\name{make_post_request}
\alias{make_post_request}
\title{Make post requests}
\usage{
make_post_request(Endpoint, Body = "EMPTY")
}
\arguments{
\item{Endpoint}{A string.}
\item{Body}{A string.}
}
\value{
The response to t... |
22e98ef39a5d72899de2bc2317e3cd99262f230b | ec4e6203ede2ce496e506aac5973bf260dd6ad27 | /server.R | 087ef1f07d790a227532a0f6f2d06384beafd713 | [] | no_license | stevejgoodman/mortgagepossessions | 755bf4ccc54a815c66acf05fdb9b263aaa1c100a | f060aec2f39eb03abc74ce554ea62d59c4db2caa | refs/heads/master | 2020-04-26T23:12:27.409000 | 2015-03-03T13:46:33 | 2015-03-03T13:46:33 | 31,610,836 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 712 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
library(ggplot2)
library(dplyr)
load("data/londonrepossessions.RData")
shinyServer(function(input, output) {
# reactive({
#
# })
output$distPl... |
9f1bcea0dc3bbcb42ed4dadd6d79e810f26ca82c | 0db9b9ad4b00a908d9ddba1f157d2d3bba0331c4 | /examples/st_union_ext.R | bd1ff92a60383b65722aab5c1d4fd9bef6fc4627 | [
"MIT"
] | permissive | elipousson/sfext | c4a19222cc2022579187fe164c27c78470a685bb | bbb274f8b7fe7cc19121796abd93cd939279e30a | refs/heads/main | 2023-08-18T15:29:28.943329 | 2023-07-19T20:16:09 | 2023-07-19T20:16:09 | 507,698,197 | 16 | 0 | null | null | null | null | UTF-8 | R | false | false | 144 | r | st_union_ext.R | nc <- read_sf_path(system.file("shape/nc.shp", package = "sf"))
nc_union <- st_union_ext(nc[10:15,], name_col = "NAME")
nc_union
plot(nc_union)
|
eaa75046135bf8a08e4a52604d2200ab590300d2 | b3d2d2634c15b7b61df06a25b17514ef26b0637c | /PPMI/code/utility.R | 98a9ce75ef137a1328d2332912748ed36b329767 | [] | no_license | LifeScienceDataAnalytics/VirtualCohorts | 2feae9553ce0234b1c2ac80e84aa45482b82ca8c | 030c9200b1972a8f7c25a7865bc8e17cb88b9211 | refs/heads/master | 2020-09-10T02:15:00.783422 | 2019-11-26T10:09:18 | 2019-11-26T10:09:18 | 221,623,940 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,341 | r | utility.R | # Replace INF value with NA
remove.inf = function(cohortdata){
is.na(cohortdata) = sapply(cohortdata , is.nan)
is.na(cohortdata) = sapply(cohortdata , is.infinite)
return(cohortdata)
}
# Get stats on group
get_stats_on_column_number = function(cohortdata){
mydata = cohortdata
updrs_data = grep("UPDRS_", coln... |
b0db2b5956b173e65f3b8487da21077e41ebb809 | dd8132404e8c7b028cb13cba904c50aace01c6a7 | /swt/src/lib/swt/src/mapsu.r | 62eb1d4b934c519477716db76cfefbddb23b45e7 | [] | no_license | arnoldrobbins/gt-swt | d0784d058fab9b8b587f850aeccede0305d5b2f8 | 2922b9d14b396ccd8947d0a9a535a368bec1d6ae | refs/heads/master | 2020-07-29T09:41:19.362530 | 2019-10-04T11:36:01 | 2019-10-04T11:36:01 | 209,741,739 | 15 | 0 | null | null | null | null | UTF-8 | R | false | false | 747 | r | mapsu.r | # mapsu --- map standard unit to file descriptor
file_des function mapsu (std_unit)
file_des std_unit
include SWT_COMMON
integer i
mapsu = std_unit
if (mapsu > 0) # this test added for execution speed
return
do i = 1, 10
select (mapsu)
when (STDIN1)
... |
76e7720cf9087c33281f1e279ac5da98a8c53ac1 | aa568620651abe6dc515d4afa65ef2fb1b90cfdd | /man/concurrent_trades.Rd | 21d9d4e9d6be4cf653c18e06853f4ff2179d9c5a | [] | no_license | IanMadlenya/tastytrade | 9bf9c9ada3895f8e7f4558a03516bd4dea31eaa1 | 37f4f255995171460476ac34e790762d0c76a155 | refs/heads/master | 2020-04-13T03:25:53.500470 | 2018-10-12T23:46:36 | 2018-10-12T23:46:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,093 | rd | concurrent_trades.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/concurrent_trades.R
\name{concurrent_trades}
\alias{concurrent_trades}
\title{Calculate # concurrent trades for each day}
\usage{
concurrent_trades(sy, st, en)
}
\arguments{
\item{sy}{character string representing stock symbol for group and j... |
e3a61179abafd4714b85c34bf9f7f3bb2adf004b | d99c2492a9298c4d602f346c1ec123a1cd20e30f | /R-script/r-script_disease_causing_genes_filtering_V2_with_english_comments.R | 28911ea97182f053a3c8c043b79c84935dd475d4 | [] | no_license | CjanH/Bioinformatics-project | 593d397289537786263f81528656ed0d663d4e4d | f7822eeefc227617436d2ffd5533ace152834fcf | refs/heads/master | 2022-11-02T19:08:09.692985 | 2020-06-16T09:09:17 | 2020-06-16T09:09:17 | 263,006,490 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,871 | r | r-script_disease_causing_genes_filtering_V2_with_english_comments.R | ################
#READING + CLEANING FILE
my_data <- read.delim("r_script_input.txt")
df <- subset(my_data, select = -c(X.Uploaded_variation,
IMPACT,
Feature,
BIOTYPE,
HGVSc,
... |
ab13b744df1c6b23400c62460b28aa49c70439f8 | bafdfcab4680d5208d451021f833f51b50ad2700 | /R/CorpusCoder.R | 9c21726d1339824261cd45eb989c7130bf35fe17 | [] | no_license | denis-arnold/AcousticNDLCodeR | b973c79c06efd3a3614e0b681a977b0a74d44f09 | 488f9a6300b23cb0aa93bbe51eeee9d764a982fd | refs/heads/master | 2021-01-24T20:58:16.335997 | 2018-07-06T15:42:16 | 2018-07-06T15:42:16 | 123,262,982 | 0 | 2 | null | 2018-02-28T15:19:04 | 2018-02-28T09:37:05 | R | UTF-8 | R | false | false | 4,187 | r | CorpusCoder.R | #' Codes a corpus for use with NDL with vector of wavefile names and a vector of TextGrid names provided
#' @param Waves Vector with names (and full path to if not in wd) of the wave files.
#' @param Annotations Vector with names (and full path to if not in wd) of the TextGrid files.
#' @param AnnotationType Type of an... |
95b82577fccf4055da56bae01d782ff43eca97f4 | 774381d571d3a6fb484e4865004354f5c583af5e | /plot4.R | 0291abfb2725994ba39e9e47ac6e5448929b2d0b | [] | no_license | dreamingofdata/ExData_Plotting1 | 6be99e44a33d83b6e36146e6445e519514942c4f | 1dbe70aeab63028a675f4ff53d9b5e5e71791f50 | refs/heads/master | 2021-01-23T20:38:07.159217 | 2015-09-13T19:47:52 | 2015-09-13T19:47:52 | 42,358,627 | 0 | 0 | null | 2015-09-12T13:51:20 | 2015-09-12T13:51:20 | null | UTF-8 | R | false | false | 2,406 | r | plot4.R | library(data.table) #Needed for fread()
library(dplyr) #Needed for mutate() and filter9)
#Fast read of data file
df <- fread("data/household_power_consumption.txt")
#We're interested only in a few days, so first filter on the two days
# want and perform additional manipulations afterwards
df <- filter(df, Dat... |
78f9e1307c40e339f4fee3e67653038d18a14fd2 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diceR/inst/testfiles/indicator_matrix/libFuzzer_indicator_matrix/indicator_matrix_valgrind_files/1609959313-test.R | 1621f0c03ae4ab54f00ffb578b6d6c3d706454eb | [] | 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 | 619 | r | 1609959313-test.R | testlist <- list(x = c(1.06551740006207e-255, NaN, NaN, NaN, NaN, -2.80469303061826e+76, 1.51289250225832e-284, 2.12199579047121e-314, 7.30002231499092e-304, NaN, 1.33113092106461e-105, NaN, -1.99999999999996, -2.8341039789705e-139, 1.37200275505855e+161, -5.88201331363396e+72, 3.1314413995112e-294, -8.894358565002... |
cf70daba7d8339e9c1ac9bda1e6dfa39f46729a0 | 9c496c45dae557ec0e3eb413f8230a0437f0d13e | /bak/7_tmod/make_radar_plots.R | e5dd83b08dbb3eaa022bac0517c9ff6c457aa493 | [] | no_license | Chenmengpin/inferCC | dab23239e5727f6da0cd4a19197ee9ebbd46438b | e81713687f9e14d39f9e1d531c7fe1db14cab7a4 | refs/heads/master | 2023-02-08T01:03:25.193943 | 2020-12-30T07:44:52 | 2020-12-30T07:44:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,110 | r | make_radar_plots.R | library(openxlsx)
library(stringr)
library(fmsb)
library(Seurat)
library(reshape2)
library(dplyr)
library("wesanderson")
set.seed(1)
format_radar_matrix <- function(object, meta) {
meta$genes = as.character(meta$genes)
# mat = MinMax(object@scale.data[as.character(meta$genes), , drop = FALSE], -2.5, 2.5)
... |
69457504533a0550a5be910408df860e3278ec6d | acce3b266e5a9cd836fd8e9c7a9c347b53c0cc36 | /R/DPdistance.R | a008277b1907cf9bc943cb2386610068ba48b490 | [] | no_license | cran/GMPro | 377692648551235df7fa039ed966db0500c6dc59 | fd90ff902acf861c30afc29bf2468a09c339faf7 | refs/heads/master | 2022-11-19T04:57:23.356602 | 2020-06-25T13:00:02 | 2020-06-25T13:00:02 | 276,688,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,919 | r | DPdistance.R | #' calculate degree profile distances between 2 graphs.
#'
#' This function constructs empirical distributions of degree profiles for each
#' vertex and then calculate distances between each pair of vertices, one from
#' graph \emph{A} and the other from graph \emph{B}. The default distance used is the
#' 1-Wasserstein... |
7080c20d901dc9fc33c49d340d593702e491364e | 23660ade69cb1c41b49a8a86e6c4197cab331ffa | /man/sero1kmvec.Rd | 2eca9e7738fdffe6248a409e88ac57a1d73eb4b2 | [] | no_license | FelipeJColon/SpatialDengue | e4c871557ec94a6786c683e2054e3b3958e7dff8 | a130214a52796093e6682973ba922ab7b8c04719 | refs/heads/master | 2023-05-31T18:53:40.367373 | 2020-11-26T15:46:11 | 2020-11-26T15:46:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 682 | rd | sero1kmvec.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sero1kmvec.R
\docType{data}
\name{sero1kmvec}
\alias{sero1kmvec}
\title{Proportion immune in Singapore in vector format}
\format{A vector of proportion immune per pixel
\describe{
\item{value}{proportion immune in pixel}
}}
\source{
\url{ht... |
8a8656bcc536ad6429491c0a96af24404ed37063 | 97e3baa62b35f2db23dcc7f386ed73cd384f2805 | /inst/app/helper.R | 9b7713e6b59bbf5708856630a74d5f65c88fa347 | [] | no_license | conservation-decisions/smsPOMDP | a62c9294fed81fcecc4782ac440eb90a299bca44 | 48b6ed71bdc7b2cb968dc36cd8b2f18f0e48b466 | refs/heads/master | 2021-06-25T22:23:31.827056 | 2020-10-27T08:56:07 | 2020-10-27T08:56:07 | 161,746,931 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,176 | r | helper.R | library(magrittr)
## MODALS OF PARAMETERS#####
modal_p0 <-
bsplus::bs_modal(
id = "modal_p0",
title = "Local probability of persitance : P(extant/extant, survey or stop)",
body = shiny::includeMarkdown(system.file("markdown", "modal_p0.md", package = "smsPOMDP")),
size = "medium"
)
modal_pm <-
bs... |
9a717086749e2f61a0864c429933521dc47234da | ac4c2eece3d103aef1c4ab29f071fa142c67798d | /data/uswb/writetabular.R | fcb0426360e535194986559f2b4c6914c52c532e | [] | no_license | opengeospatial/ELFIE | 9afc85552610a3be0d2396e3e0b848e7e4479ef0 | e7107e9ef70d0ea294e97122871c57f7fb15b6a3 | refs/heads/master | 2023-05-10T22:42:10.167267 | 2021-05-27T15:29:31 | 2021-05-27T15:29:31 | 90,381,360 | 2 | 5 | null | 2020-06-03T01:53:42 | 2017-05-05T13:58:13 | JavaScript | UTF-8 | R | false | false | 9,358 | r | writetabular.R | setwd("~/Documents/Projects/ELFIE/ELFIE/data/uswb/")
library(jsonlite)
library(dplyr)
huc12pp <- fromJSON("usgs_huc12pp_uswb.json")
huc12boundary <- fromJSON("usgs_huc12boundary_uswb.json")
nhdplusflowline <- fromJSON("usgs_nhdplusflowline_uswb.json")
nwis_sites <- fromJSON("usgs_nwissite_uswb.json")
huc_nwis <- read... |
b712c21b3183b2b9105f4a253a9d8ee3d7e7be53 | b6b9ff2a41e582032c092b9f6809df798aff01ea | /plot2.R | 6f519ca1f75cf152cfeca2b84531ce6a7b928ed0 | [] | no_license | geertpotters/ExData_Plotting1 | a7a99605359a3b2c4c340fee5f091c6800ad82b2 | bf1099d06af5ae2c2a3d6b184804f084e612c5d3 | refs/heads/master | 2021-01-18T08:07:56.866617 | 2014-07-13T19:38:44 | 2014-07-13T19:38:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 638 | r | plot2.R | setwd("C:/R_exerc/explo")
Sys.setlocale("LC_TIME", "C")
power<-read.table("household_power_consumption.txt", sep=";", header=TRUE, na.strings="?")
power$Date<-paste(power$Date, power$Time, sep=" ")
power$Date<-strptime(power$Date, format="%d/%m/%Y %H:%M:%S")
i<-strptime("2007-02-01 00:00:01", format="%Y-%m-%d %H:%M:%S"... |
74b451b22cf2b837ecdf7bfd97cd16383105f851 | 486d67c21caf7c40291d7c79de995bdc05bf8df0 | /R/misc.R | 666a26ce471fdc31b0eb1c6764bb1184822d8cdf | [
"Unlicense"
] | permissive | jogrue/socmedhelpeRs | 6b3d2994b1585c6908d0349f150f0c163ef5abd3 | 915412f135927107a3e16c3a1e4f5ab30cfe85c4 | refs/heads/master | 2022-04-22T18:44:42.721298 | 2020-04-17T15:01:23 | 2020-04-17T15:01:23 | 112,717,405 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,528 | r | misc.R | #' Add variable scrape_time to old existing data
#'
#' In version 3.1 of this package a new variable "scrape_time" was added. It
#' records the Sys.time() when the data was scraped. This functions adds this
#' variable (with NA) to all files in an folder (if it does not exist already).
#'
#' @param dir A path to a dire... |
8a305e844bcad3800fcc3d3aa96931541d37e963 | c19a445f4845a2393b23343f7d518047c2484641 | /analysis/profile_similarity/profile_similarity.r | 7ffc2ad17d72f4899851b2fb3f7e25f0aaa8442e | [
"MIT"
] | permissive | Kortemme-Lab/covariation | 416ae8ec2b56681139a52abbafeaf178bed53e8d | e806290c96d08474e8043aff118f3568d526b2e7 | refs/heads/master | 2020-06-09T01:14:45.063784 | 2015-09-16T01:01:48 | 2015-09-16T01:01:48 | 30,557,754 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,455 | r | profile_similarity.r | # The MIT License (MIT)
#
# Copyright (c) 2015 Noah Ollikainen
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, m... |
6b006ed9e78f347886ac380b3291ebac1f4a4038 | d7b529084879c844b6ed48a85da8fdfeaf120c39 | /Galecki/data/BA99.R | 25207fbd7e92e51c3d7e5ba42dd7e45eb741450c | [] | no_license | DragonflyStats/LME-models | 64042d75e3dd622b107b41aec12ff206dabdaabb | 518773c2724986e6062987f85bb6844972054bff | refs/heads/master | 2023-03-12T21:34:03.529043 | 2023-03-03T18:45:24 | 2023-03-03T18:45:24 | 20,188,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,583 | r | BA99.R |
#BA99.data
#Run the following code only once
BA99.data<- read.csv(file="BA99.csv",head=FALSE,sep=",")
#Run the following code only once - removes the unnecessary indices
BA99.data=BA99.data[,-1]
#510 Observations (85 subjects 2 methods 3 Replicates )
ob.js<-c(BA99.data[,1],BA99.data[,2],BA99.data[,3],
BA99.dat... |
77569808f2bff0d89baddee542b14824bc1f1044 | 53532dd04543718ba2e983e7105cb422b0ce2c0e | /plot5.r | bf1e2a0dc8d0b3c91a2b351e459163d98845b524 | [] | no_license | ksjpswaroop/Exploratory_Prj2 | fe3c86e3251b889a120fea18fcd6d496ea4b5cc9 | b424380b21582edb1270c6c2c73e0857b3366ec7 | refs/heads/master | 2021-01-01T20:12:27.729081 | 2015-02-22T16:08:16 | 2015-02-22T16:08:16 | 31,168,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,713 | r | plot5.r | #prj 2
#Read the data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
png("plot5.png")
#Load Packages
library(dplyr)
#Greping require data from SCC datasets
motordata <-SCC[which(SCC$EI.Sector == "Mobile - On-Road Diesel Heavy Duty Vehicles" |
SCC$... |
5c9c286db08f8e79de61e11c656fa616230496b9 | d9341c5d2a64632da7734447e86e7bba70577837 | /SVM_AUDUSD/SVM_AUDUSD.R | 49b5ce43c9e9fc474a21c446f7f8052b09672a0c | [
"MIT"
] | permissive | tslaff/Machine_Learning_Projects | 2e4be56c2e91db3b99bfbf70f6f03e2034b60cf6 | 3a219263d5d64a3b96d42ea2eec71b5872e94ebf | refs/heads/master | 2021-01-21T13:03:45.472664 | 2016-05-05T16:32:42 | 2016-05-05T16:32:42 | 55,609,476 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,784 | r | SVM_AUDUSD.R | # A great quantitative trading resource
install.packages('quantmod')
library(quantmod)
# The library containing our SVM
install.packages('e1071')
library(e1071)
# The plotting tools we will use
install.packages('ggplot2')
library(ggplot2)
# Allows us to grab the data from Dropbox
install.packages("repmis")
library(repm... |
daa043b6a4b787774b286a06326c008d6a152ead | 249eb3aee749043be46cb7898f4ee0316a76282a | /demos/2021-10-21.R | f2bf6e99affb106b41ecc78c9bb41cee0dde8226 | [] | no_license | rustky/cs499-599-fall-2021 | 338fc7b97431d0a25c2285ac0af4a3db664d8d84 | 3ea71159934c8c81da06d7c5d8a81e5c3b64cf36 | refs/heads/main | 2023-08-22T04:11:35.824001 | 2021-10-26T21:21:47 | 2021-10-26T21:21:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,653 | r | 2021-10-21.R | data(neuroblastoma, package="neuroblastoma")
library(data.table)
(nb.dt <- data.table(neuroblastoma$profiles))
(data.dt <- nb.dt[profile.id=="4" & chromosome=="2"])
library(ggplot2)
ggplot()+
geom_point(aes(
position, logratio),
data=data.dt)
data.dt[, data.i := 1:.N]
ggplot()+
geom_point(aes(
data.i, ... |
a0f711e893a07caed684fbba5514003b67a22abe | 25a91db17d1cd93484f1529bb0e642d711e16ffc | /2020-1_1st_package.R | f91601aa53b5f05391a2b14d42b3d42c11fa3438 | [] | no_license | syppp/Psat_2020_package | 5c4674c115e1bd47c0420ba7b47ffc56c049856b | 5dfb4f17a4c0e91e294d280d96b5886d14780c7b | refs/heads/master | 2023-04-17T19:50:45.715266 | 2021-04-27T07:30:56 | 2021-04-27T07:30:56 | 361,985,040 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,533 | r | 2020-1_1st_package.R |
library(data.table)
library(plyr)
library(magrittr)
library(dplyr)
library(tidyverse)
library(stringr)
library(lubridate)
library(ggplot2)
data <- fread("C:/Users/user1/Desktop/???б?/3?г? 2?б?/?Ǽ?/??Ű??/1???? ??Ű??/??????0.csv", stringsAsFactors=FALSE,data.table=FALSE)
data %<>% select(-Petal.Length) %>% filter(dat... |
2bc729ebd4a601bde507946528354948b2e22cec | ce16ab16f539400008d7290c3b20438014e15cc4 | /man/fix_MSMS.Rd | d5fd01e9197af7387a69c1d90d9a94ec2806f58f | [
"MIT"
] | permissive | antonvsdata/notame | 5c7f61a7aa1f37cbc0e162c048d0cae3a9fa7cb9 | 6afdf6f0f23a3d172edcd60c28c23be0be59626e | refs/heads/main | 2023-08-17T05:57:38.037628 | 2023-04-02T10:12:36 | 2023-04-02T10:12:36 | 231,045,948 | 11 | 3 | MIT | 2023-01-21T12:41:25 | 2019-12-31T07:19:31 | R | UTF-8 | R | false | true | 1,452 | rd | fix_MSMS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transformations.R
\name{fix_MSMS}
\alias{fix_MSMS}
\title{Transform the MS/MS output to publication ready}
\usage{
fix_MSMS(
object,
ms_ms_spectrum_col = "MS.MS.spectrum",
peak_num = 10,
min_abund = 5,
deci_num = 3
)
}
\arguments{
\... |
53b1203ddc1a4216b77a9fbbd4af46eeb212b104 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/jcheng5/shiny-partials/ui.R | 6b0640bbc137d818f25c9071f1ac0512a7fed97d | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 448 | r | ui.R | fluidPage(
h2("Demonstration of partials"),
# We're not putting anything in this tabsetPanel's tabs; we're just
# rendering the tabs themselves, and using the selected value to tell
# us which partial to render in the uiOutput("container") below
tabsetPanel(id = "partial", type = "pill",
tabPanel("Load", ... |
6543eca3f12ff54a73874cc1d5a888f5a00c2a95 | 014fb48ad4153b3e254db17dfcc695d3dbb324a5 | /run_analysis.R | aba98753c8e1ae363f9d7e37b1e356ba067564d4 | [] | no_license | gianfilippo/GCDcp | 61668b2dac72ffae46c6f4d3d9c83c0657afeb49 | 779458ec12c994e0cb381cfaaea5eed18fc6a6a3 | refs/heads/master | 2016-09-08T01:27:35.462999 | 2015-01-26T03:55:53 | 2015-01-26T03:55:53 | 29,787,480 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,306 | r | run_analysis.R | rm(list=ls())
library(data.table)
library(dplyr)
# defines source data dir
datasetDIR <- "D:/Data/UCI HAR Dataset"
# defines source test and train dirs
testsetDIR <- "test"
trainsetDIR <- "train"
# defines target merged dir and creates it if it does not exists yet
mergedsetDIR <- "merged"
if (!file.exists(paste(data... |
0304d02c57d4be8456c7b807ba890572f9851732 | ddd8bec8fc0990fe1d4a9d3788d33a4de4a5c5e5 | /splashR/man/getSplash.Rd | 816ec4e594c930362abf19447bb3b43a3f0e55c3 | [
"BSD-3-Clause"
] | permissive | berlinguyinca/spectra-hash | 7219a24f2f4f5ae564d43b3ff73186037a56c951 | 174fbf289a0357535f9bacda282b9a2dbb7807cc | refs/heads/master | 2022-05-08T14:01:14.238185 | 2022-03-31T21:56:14 | 2022-03-31T21:56:14 | 38,338,132 | 27 | 15 | BSD-3-Clause | 2022-03-31T21:56:15 | 2015-06-30T23:20:50 | C++ | UTF-8 | R | false | false | 469 | rd | getSplash.Rd | \name{getSplash}
\alias{getSplash}
\title{
Calculates the SPLASH of a spectrum
}
\description{
Starting from an input matrix with peaks, it calculates the SPLASH of the
spectrum.
}
\usage{
getSplash(peaks)
}
\arguments{
\item{peaks}{a matrix of two columns, "mz" and "intensity".}
}
\value{
the SPLASH of the spectrum.
... |
7b79eca3feb657fd0ba2eb7201692693a71e647c | bbeb67ddaffed17e871db9a6a5d6b63dafe58ce4 | /poz100r/inst/scripts/mize.R | db6baf834066e625418603b3fabcea485c9f27bf | [
"BSD-2-Clause"
] | permissive | bdilday/poz100analytics | 25e79e09630e4b3c907ae3e47d4e074d6c9c2f02 | d53a18b2bf0102e57af396989444521c8187a904 | refs/heads/master | 2021-06-21T05:00:15.107386 | 2019-07-22T00:35:31 | 2019-07-22T00:35:31 | 20,086,147 | 0 | 0 | BSD-2-Clause | 2019-07-22T00:35:32 | 2014-05-23T03:54:11 | R | UTF-8 | R | false | false | 2,538 | r | mize.R |
library(dplyr)
library(ggplot2)
library(ggrepel)
pl_lkup = Lahman::Master %>% dplyr::select(playerID, retroID, bbrefID, nameFirst, nameLast)
pl_lkup$nameAbbv = paste(stringr::str_sub(pl_lkup$nameFirst, 1, 1), pl_lkup$nameLast, sep='.')
b = Lahman::battingStats()
plot1 = function(b) {
b = b %>% filter(yearID >= 19... |
1169cdcf4bdb5bcb6be602e05917408bec6f664a | 2e8ef69f00c7f5c6ebf8b0548e6ba7b689905978 | /man/eq_location_clean.Rd | b9a3063f6dec737bb4b53ad5c2cfa50b444fea7d | [] | no_license | azerbinati/capStoneQuake | 1092c7870258b9164641c7e25d770e271939dcd1 | c8a1b440dcbf5262508aa210e6560ad44fc7a9a0 | refs/heads/master | 2021-01-01T18:21:21.137116 | 2017-07-27T17:52:00 | 2017-07-27T17:52:00 | 98,320,659 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 586 | rd | eq_location_clean.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main.R
\name{eq_location_clean}
\alias{eq_location_clean}
\title{eq_location_clean}
\usage{
eq_location_clean(rawNOAA)
}
\arguments{
\item{rawNOAA}{}
}
\value{
the original data.frame with LOCATION_NAME mutated
}
\description{
this function t... |
e65b77a8a414d48d7dc5456cd26aec0fc0f404aa | d20145e080798319e0028a4c9d8851f619285c29 | /ch06/R/ca-linreg.R | 506b9a8e3cc955dffb06892fe67e7e34b851e88b | [] | no_license | friendly/VCDR | da441b8306969fd6469a3bbc6a4475e028c61e29 | 818156ee0a26943a656ae915d924773c87654cec | refs/heads/master | 2023-02-18T08:40:28.634897 | 2014-12-05T13:24:55 | 2014-12-05T13:24:55 | 16,708,002 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,733 | r | ca-linreg.R | # linear regressions of CA
haireye <- margin.table(HairEyeColor, 1:2)
library(ca)
(haireye.ca <- ca(haireye))
rowc <- haireye.ca$rowcoord[,1:2] # hair colors
colc <- haireye.ca$colcoord[,1:2] # eye colors
y1 <- rep(rowc[,1], 4)
y2 <- rep(rowc[,2], 4)
x1 <- rep(colc[,1], each=4)
x2 <- rep(colc[,2], each=4)
df <... |
aabc8c3d8a819070e5e5e52945f003b156413f11 | 37e81f35c3fb22160f4e7d7bf8c27d99569ad6af | /dynoNEM/simulationsdynoNEMs.R | c933afe22c49ab467807461ff1665b6080900a0e | [] | no_license | paurushp/dynonem | 5e87ec1426e7728ff548fdc9a8b9bc38da22e084 | c45dbe300b791406f8e22348484a2c65cd1d62ac | refs/heads/master | 2020-04-15T12:12:32.060526 | 2019-01-08T14:24:21 | 2019-01-08T14:24:21 | 164,664,784 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,902 | r | simulationsdynoNEMs.R | library(RBGL)
library(Hmisc)
library(multicore)
library(nem)
source("~/workingAt/trunk/dynoNEM/dynoNEM.R")
## retrieve graphs of KEGG signaling pathways
KEGG.graphs = function(){
require(KEGGgraph)
require(RCurl)
require(gene2pathway)
kegg_hierarchy = gene2pathway:::getKEGGHierarchy()
signaltran... |
ac15b9cfc64b28b0760286055fb01d83efdc1722 | 482a02ade2e54a1665724c1c61bbb1b3615a15a3 | /man/c-meta-method.Rd | 18adac7bb90104ab5c0eb9c75bbbac639fcb1349 | [
"BSD-3-Clause",
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | amoeba/RNeXML | f1858be4ff41c8cecf7dda9da80eff021c13622e | 288c219afc7fbf594ae077a815e57477f0b8bea9 | refs/heads/master | 2021-05-08T08:37:21.922452 | 2017-05-04T03:25:58 | 2017-05-04T03:25:58 | 107,053,765 | 0 | 0 | null | 2017-10-15T22:27:48 | 2017-10-15T22:27:48 | null | UTF-8 | R | false | true | 708 | rd | c-meta-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/meta.R
\docType{methods}
\name{c,meta-method}
\alias{c,meta-method}
\title{Concatenate meta elements into a ListOfmeta}
\usage{
\S4method{c}{meta}(x, ..., recursive = FALSE)
}
\arguments{
\item{x, ...}{meta elements to be concatenated, e.g. s... |
3452c80a2d959520b52eddf2475b42d21850e6d7 | cad506b49106d267e20433fca31963a7a4218e42 | /man/gBoundingPolyClip.Rd | 4cb19d0c142bbc4268a0cf2b6b4e2a6b412618b3 | [] | no_license | townleym/mSpatial | 929f674e1dacd148c912504b3d7270cfc7d41d91 | 9e7d790813f779806736f1fba5b8341827ce329a | refs/heads/master | 2020-05-21T23:13:22.945779 | 2018-02-07T19:34:02 | 2018-02-07T19:34:02 | 59,143,578 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,143 | rd | gBoundingPolyClip.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mSpatial.R
\name{gBoundingPolyClip}
\alias{gBoundingPolyClip}
\title{bounding box clip function}
\usage{
gBoundingPolyClip(container, reference, tolerance = 1.5)
}
\arguments{
\item{container}{The single polygon to whose extent the reference ... |
31e123eb63bf6e216df8b605cecd86c4af682aac | 362918b03c7e38aead95067cc49c3f242d60e24f | /processing_ts_interaction_data.R | 3af53dcd92541ceed03111b2ce483bb052757941 | [] | no_license | wangdi2014/cancer_ML | 493efd4d1cbe8fe74ce96635769b6c2f714950bb | 3002f26ffd79f57d26f765cc7d2dc4f115c5839b | refs/heads/master | 2021-05-16T16:19:27.298050 | 2016-07-27T22:29:34 | 2016-07-27T22:29:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,603 | r | processing_ts_interaction_data.R | # Processing iid data
require(dplyr)
require(tidyr)
require(igraph)
iid <- read.csv("~/Projects/fusion_ML/data/network_data/iid.human.2016-03.txt", sep="\t")
head(iid); nrow(iid)
# get just uniprot and tissue presence
iid <- iid %>% select(uniprot1, uniprot2, adipose.tissue:uterus)
# replace empty cells with explici... |
726dcb599ac64da55aa207128b0c1bd4cb3e2851 | 82570b0adbd25e40ac5f863f12228ddcd760f1b9 | /assignment_4/forest_growth.R | 3e3eba48cdcd011b9edb3631c9f49662f7e87611 | [] | no_license | annaclairemarley/env_modeling | 2d779149ed1f72d2fea00febbd469316daab8c93 | 673b9855be0dbc2d22fd4416a4a6227e1d732b0d | refs/heads/master | 2022-09-24T03:16:16.630012 | 2020-06-01T20:34:57 | 2020-06-01T20:34:57 | 255,961,048 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 985 | r | forest_growth.R | #' forest_growth
#'
#' @param time time
#' @param C initial carbon (kg C)
#' @param parms$canopy_thresh canopy closure threshold (kg C)
#' @param parms$K carrying capacity (kg C)
#' @param parms$r initial growth rate (kg/year)
#' @param parms$g linear growth rate (kg/year)
#' @param parms$temp temperature (degrees C)
#... |
16190df30a867cf7ffd3ffc3ee5eafa6d5120be9 | d54431bde7faa4032d044991668845269188772e | /Formação Cientista de Dados/Atividades/Estatística I em R/5 - Distribuição T de Student.R | 7123fb120a2df1c880c5607805ba679e9341e232 | [] | no_license | lucianofbn/Data-Scientist | 194ea599cb078898d71f5c4e758076345e8e8ff6 | bf250e2d3a277e68f46077fd455875d2fe99d369 | refs/heads/master | 2020-03-30T05:25:25.598165 | 2018-10-13T03:18:30 | 2018-10-13T03:18:30 | 150,797,887 | 1 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 522 | r | 5 - Distribuição T de Student.R | # -> Distribuição T de Student - Indicada para amostras menores que 30.
#1 Uma pesquisa mostra que cientistas de dados ganham 75R$/h. Uma amostra de 9 cientistas é apresentada e perguntado o salário.
# média = 75, amostra = 9, dp = 10; Necessário verificar tabela Z.
#1.1 Qual a probabilidade de selecionar um cientist... |
6248367de1a9326a2722c983252a31891dd65fe4 | 4fd601fe02311d3babf47dcfa0f5a37caee59b7d | /plot_rDNA_shifted.R | 3ec19b7542c7f6e6ac44286dedf5313c5ad1336c | [] | no_license | hochwagenlab/Condensin_recruitment | b5a3733059d4fe35aa106a3018b48c19074a8ba7 | 1a290a7ab96c3457b2eaadc781e29e6a2e1a3535 | refs/heads/master | 2022-11-18T11:31:13.877177 | 2020-07-20T23:48:53 | 2020-07-20T23:48:53 | 281,249,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,193 | r | plot_rDNA_shifted.R | setwd("rDNA_shifted/")
plotPrep <- function(rDNA, tilesize) {
rDNA <- sort(GenomeInfoDb::sortSeqlevels(rDNA))
seqlens <- 9242
names(seqlens) <- "rDNA"
bins <- GenomicRanges::tileGenome(seqlens, tilewidth=tilesize,
cut.last.tile.in.chrom=TRUE)
rDNAscore ... |
5bf19c9a1e3337ab8d7082914aa867c77f5f7af8 | 6a957d4125a6e9ec70ed76caa86976bcb7186710 | /article/script_cytof.R | b3812073ee94824e550f5d9b3103c78c71d914aa | [] | no_license | sysbiosig/FRA | 23456ed6233fe2e72bdd71a000fdb4615974c84b | e81f37d43033f9ac6521949f60f5576276ac27f7 | refs/heads/master | 2023-04-11T11:49:48.944301 | 2021-07-07T05:53:50 | 2021-07-07T05:53:50 | 260,541,193 | 0 | 1 | null | 2021-07-06T11:15:57 | 2020-05-01T19:25:48 | R | UTF-8 | R | false | false | 4,909 | r | script_cytof.R | ### ###
### Main plots for CyTOF data presented in the Manuscript and SI
### ###
# Please download cytof data from : 10.5281/zenodo.4646713
# and save the umder diredctory CYTOF_PATH
CYTOF_PATH <- "path/to/cytof/files" # define CYTOF_PATH
CYTOF_PATH <- "data" # define CYTOF_PATH
path <- paste(CYTOF_PATH, "data.fra.... |
68d90f1f507510a78a0b692a79bc989f517e573b | 6ac55e9eb21c4a8df6f7b1b30d0aec6bc8bfcfdb | /09_plotByChr.r | da818027713c4ce5b9053774d04b316e118e4042 | [] | no_license | raramayo/R_vikas0633 | c7b9efecaa21699510e9422cd8049d6e3caa21bc | 44b04ab0bbdfb4fd3e660d1a0c01b618ed32f100 | refs/heads/master | 2022-05-03T07:38:29.384021 | 2014-12-09T13:12:33 | 2014-12-09T13:12:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 968 | r | 09_plotByChr.r | jpeg("~/Desktop/temp/comb.jpg", width=3600, height=2000, units="px")
chr=c(1,2,3,4,5,6)
par(mfcol=c(9,2), mar=c(2,2,0.5,0.5), oma=c(1,2,1,1))
tmp <- read.table('~/Desktop/temp/gph5_6_r_out_chr2_vikas.txt',header=T, sep="\t")
head(tmp)
names(tmp)
for(i in 1:length(chr)) {
tmp_chr <- tmp[which(chr[i]==tmp$chr),]
plot(t... |
14e3aea2a178dd6912d42de5e8bfb8bfb252740f | 8f8b5e6ff5506be8af78dac47c4eedfc6356f29d | /R/as.R | 96eef0833e0567b86143d0ca94d05218b0301af8 | [
"Artistic-2.0"
] | permissive | Theob0t/sttkit | 228614505dff306e2140169f01ee8bb8f907825c | d86be80caba7384d5c7786e45ec2defae5da10aa | refs/heads/master | 2023-07-30T06:00:49.834392 | 2021-10-06T23:19:46 | 2021-10-06T23:19:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,086 | r | as.R |
#' as_SingleCellExperiment
#'
#' Convert Seurat Visium object for BayesSpace. Currently only works for single
#' sample objects.
#' @param object Seurat Visium object
#' @param ... Arguments passed to \code{spatialPreprocess}
#' @export as_SingleCellExperiment
#' @examples
#' # as_SingleCellExperiment(object)
as_Sing... |
244719983bae73a7bb9c9401433092f6e4eacc63 | efb67b529095add05d77312f981305690655b45a | /ggplot2/Layers/Geoms/geom_boxplot/example8.R | 87e486ceaa3a4b58fd4f4f086109324a24f42178 | [] | no_license | plotly/ssim_baselines | 6d705b8346604004ae16efdf94e425a2989b2401 | 9d7bec64fc286fb69c76d8be5dc0899f6070773b | refs/heads/main | 2023-08-14T23:31:06.802931 | 2021-09-17T07:19:01 | 2021-09-17T07:19:01 | 396,965,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 76 | r | example8.R | p <- ggplot(mpg, aes(class, hwy))
p <- p + geom_boxplot(aes(colour = drv))
|
c8e203c0b967dd8bd4c56847e0f601cdfe8b6c1d | 1f87cf8037ccdfb26ce4ac502b3a1337faf7e762 | /man/build_form.Rd | 64e4eccd07029a706f43d0224e5135273cae3c79 | [
"MIT"
] | permissive | npjc/biogridr | 88c319d118ca871ec771bd5813a3243a6efdd810 | af08515111489b8873f20374487c71f0226f57ee | refs/heads/master | 2021-01-18T13:12:17.460678 | 2015-05-28T04:47:13 | 2015-05-28T04:47:13 | 36,135,592 | 4 | 4 | null | null | null | null | UTF-8 | R | false | false | 277 | rd | build_form.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/get_key.R
\name{build_form}
\alias{build_form}
\title{build form from elements}
\usage{
build_form(first, last, email, project)
}
\description{
build form from elements
}
\keyword{internal}
|
a6ae267406e746ae22397a8deff6116f84a1a19f | 094f81c31a3cfd560b24280e476d5af4fb52b9e3 | /man/leff.Rd | b95eaa5b094fb5421e7f8db5ffa83458cad08db2 | [
"MIT"
] | permissive | PJOssenbruggen/Basic | 6c2343dcb135cb364d059160925ded5cb43b5455 | 1885fa40d3318cc554b4dd80154b263baef19ac4 | refs/heads/master | 2021-01-25T11:57:19.583401 | 2019-01-04T13:03:32 | 2019-01-04T13:03:32 | 123,449,454 | 0 | 0 | null | 2018-03-05T12:26:55 | 2018-03-01T14:56:48 | R | UTF-8 | R | false | true | 321 | rd | leff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/leff.R
\docType{data}
\name{leff}
\alias{leff}
\title{\code{leff} vehicle length in feet.}
\format{\code{leff} a number.
\describe{
\item{leff}{a number}
}}
\usage{
leff
}
\description{
\code{leff} vehicle length in feet.
}
\keyword{datasets}... |
ba6cd4ac437d217ff85ac10e76327ae0b1b82563 | 550b5147909aa269b50af580c55f9e59f9c91d5e | /R/graph_from_corpus.r | 4eb3241920ac8696debec6d6c1887a43784bd241 | [] | no_license | clbustos/SemanticFields | b96ca71308428e1afc740dc527e4acdbfca8356a | 9ebfaa0044db74a2f3e349be0e30f8d832179c73 | refs/heads/master | 2021-01-15T11:50:18.353144 | 2015-10-16T18:43:39 | 2015-10-16T18:43:39 | 34,122,591 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 838 | r | graph_from_corpus.r | #' Generate a Graph from igraph, using a data.frame with corpus structure or a corpus object
#' @param x a corpus object
#' @return a directed graph
#' @export
#' @import reshape
#' @import igraph
graphFromCorpus<-function(corpus) {
x<-corpus$corpus[,c("id","order","word","coi")]
x2<-x
base<-x2[x2$order==1,]
ba... |
758459a46c8420bb3ec26f8c016750e94503ac44 | 115630f80c1fa0b0439e2792dd30a127c7c2aec5 | /man/gee.zelig-package.Rd | ddcad5d23372df69fc4071c991b5df399d4d9f63 | [] | no_license | zeligdev/ZeligGEE | e6f33bdb80ba164143b876bbf1ef706e15f29bc7 | aca5ee15abe1872e8dec2df034b226e720605682 | refs/heads/master | 2020-05-20T10:17:23.450238 | 2012-10-05T21:27:53 | 2012-10-05T21:27:53 | 2,043,667 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 342 | rd | gee.zelig-package.Rd | \name{gee.zelig-package}
\title{gee...}
\description{gee.zelig}
\details{\tabular{ll}{
Package: \tab gee.zelig\cr
Version: \tab 0.1\cr
Date: \tab 2011-04-25\cr
Depends: Zelig
License: \tab GPL version 2 or newer\cr
}
Edit this description}
\alias{gee.zelig-package}
\alias{gee.zelig}
\docType{package}
\author{Patrick L... |
7a2645ca4651f70586a786888bddd56fe041e003 | e2f37b60e1cd4fdf9c002cd267a79f2881b248dd | /R/SDP_uniform.R | ddfcfaebd67c9f111e99d3de4fe5dbad458e395a | [
"CC0-1.0"
] | permissive | cboettig/pdg_control | 8b5ac745a23da2fa7112c74b93765c72974ea9b9 | d29c5735b155d1eb48b5f8b9d030479c7ec75754 | refs/heads/master | 2020-04-06T03:40:50.205377 | 2017-10-17T02:47:24 | 2017-10-17T02:47:24 | 2,390,280 | 7 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,409 | r | SDP_uniform.R | #' Determine the SDP matrix for uniform noise under multiple uncertainty
#'
#' Computes the transition matrix under the case of growth noise,
#' implementation errors in harvesting, and meaurement errors in
#' the stock assessment. Assumes noise sources are distributed
#' by uniform distributions to obtain analytic... |
49e7924e5bcc155cac2865e0bad960fcc4aa6b29 | e646416a1bbc302f73d2fdcbe78c5a8069e40fc8 | /fvoi/env_functions.R | 64a9d7feee3fd10cd799a0451c11a78ca3ef7e76 | [
"MIT"
] | permissive | jusinowicz/info_theory_eco | c0ef0c0f94eca2df3b7308098f05b72233261c43 | b0770b10464732aa32d13f46ba3c5ef958a74dcc | refs/heads/master | 2022-05-28T19:34:50.642858 | 2022-05-05T17:37:19 | 2022-05-05T17:37:19 | 140,295,569 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,908 | r | env_functions.R | #=============================================================================
# Functions to go with simple_fvoi
# These work from the more classic setup of betting on on horse races
# and build from there. In the classic ecological example of desert annuals,
# the currency is in seeds, which a population uses to b... |
fd3eb9dbb2fcd7392372147e5a6af06812b64c9c | a3d6851eb5726abe6e32bc9876ce9648d2f6b5ad | /examples/_defunct/MCDA/exp_test/rscripts/test_ElectreIII_filePY.R | 86bf0e40a3da2a1bbf0171e07e467ec43fa78fa3 | [
"MIT"
] | permissive | acsicuib/YAFS | 7ebedbddcf66e5d4ae02800b7d74dac719a54861 | 5a48b7ca6d5293a3d371a5992e4250116bf1b11c | refs/heads/YAFS3 | 2023-04-27T19:26:36.964584 | 2023-04-17T06:59:02 | 2023-04-17T06:59:02 | 123,104,686 | 90 | 67 | MIT | 2023-04-17T06:59:04 | 2018-02-27T09:23:01 | Python | UTF-8 | R | false | false | 5,899 | r | test_ElectreIII_filePY.R | options(warn=-1)
library(OutrankingTools)
#dev.off()
args1= "/Users/isaaclera/PycharmProjects/YAFS/src/examples/MCDA/exp_test/data"
args2= "/data"
pathIN <- paste(args1,args2,".csv",sep="")
colClasses <- c("NULL",rep("numeric", count.fields(pathIN, sep=",")[1] -1))
performanceTable <- read.table(file=pathIN, header=F,... |
ddb146cbdf199f90eb268305fbc663d08f3b2607 | 248a4d7053bfbc63f0bdd95fe144a597e96c650b | /R/datasets.R | 4bf7a681a187e2e87b8d04666077494a262c884b | [
"MIT"
] | permissive | irhoppe/blastr | 275ba3a2325be30a48cf2146197655a3fe58b59f | e0ea444c3c7dcbc4937e19d5851ead98fab5520e | refs/heads/main | 2023-03-01T00:24:37.198510 | 2021-02-06T19:03:59 | 2021-02-06T19:03:59 | 332,084,595 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 700 | r | datasets.R |
#' Field codes for BLAST results returned in tabular format
#'
#' A dataset containing the field codes for indicating the desired format of tabular BLAST results,
#' as well as the description of each field.
#'
#' @format A data frame with 50 rows and 2 variables
#' \describe{
#' \item{field}{output format (`outfm... |
7781ba10c54b68d8a75b076541c6ecf28bafef5a | 9b30ee8fe2298796c9308af768cc8a915999c346 | /R/chapter_2/tokens_lemma_stems.R | adf757d63e83db7955dd15e49e67fdb6adcd98ae | [] | no_license | StephenHowe/working_practicalNLP | b70ecd2b7860633815be44bbce5e4351be1ace97 | 5cc00ebb9dd8daed23faac3108d0bee13103e5c0 | refs/heads/master | 2023-02-06T04:19:45.929406 | 2020-12-31T19:56:39 | 2020-12-31T19:56:39 | 323,355,704 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,306 | r | tokens_lemma_stems.R | # Chapter 2, Exercise 4
# Tokenization, Stemming, Lemmatization, Stopword, Post-Staging
# 30 December 2020
# R version: 4.0.2
# libraries ----
library(tidyverse)
library(tidytext)
library(tokenizers)
library(tm)
library(textstem)
library(qdap)
# data ----
corpus_original <- "Need to finalize the demo corpus which wil... |
61227000d0a26fb85e63db45f55d3880533693ee | ddde45e191ff7bbb6c9345a06b4897b082ac030e | /ui.R | f7837396579bb73ad9759f1f144ea890f7a94ba6 | [] | no_license | emgns04/OpeningExplorerApp | 70d6883b4f7978d2539eab84ba75bcd6e974aed9 | f0e8f8a84ac4a51ebb8e14360a88f0e39784a6b4 | refs/heads/master | 2022-03-25T15:04:45.192156 | 2019-12-16T22:28:52 | 2019-12-16T22:28:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 673 | r | ui.R | library(shiny)
fluidPage(
titlePanel("Chess Opening Explorer"),
# Copy the line below to make a select box
sidebarLayout(
sidebarPanel(
fileInput("file","Choose PGN file", accept = c(".pgn"))
),
mainPanel(
tableOutput("contents"),
plotOutput("barchart")
)
),
... |
ffaa51c14247c6ec6caa9cd04ab7ab23d48873bb | f9a3e756cbb3cf0b7d85732609fba4a7ca786ad5 | /wi19_favorite_books.R | 750b78e193a2cd80626aa25f09646d4f4e0e5be2 | [
"Apache-2.0"
] | permissive | andreybutenko/201-favorites | 5fa726ab11a891ffba8c624c3da002b6f57475c3 | 7062acd96b065fcc24d11da8463189f5d161cdd6 | refs/heads/master | 2020-04-18T21:51:38.629911 | 2019-01-27T06:19:59 | 2019-01-27T06:21:28 | 167,777,459 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,485 | r | wi19_favorite_books.R | library(dplyr)
library(ggplot2)
library(scales)
data <- unlist(c(
c("Mr. Penumbra's 24-Hour Bookstore", "Ready Player One", "The Stranger", "Aristotle and Dante Discover the Secrets of the Universe", "The Subtle Art of Not Giving a F*ck", "The Thinking Person's Guide to Climate Change"),
c("The Kite Runner", "Harr... |
35df890c250e7a020d2488e8143b80257e7b004e | 401793f16601f32fff4604e5845b49ce52dba27d | /Joinpoint.R | 544499ac111f6b41a7df677f21f704c97ce0afb6 | [] | no_license | Hong-Kong-Longevity/Longevity | 53081a4220a4c1d08e189317b2cdb2b4f96cbbed | 0a7cc6ac2d0fb0e110447959704affa0dae8b269 | refs/heads/main | 2023-07-11T12:21:44.047147 | 2021-08-17T07:53:55 | 2021-08-17T07:53:55 | 363,084,157 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,964 | r | Joinpoint.R | rm(list=ls())
require(devtools)
install_version("ggplot2", version = "3.2.1", repos = "http://cran.us.r-project.org")
library(ggplot2)
library(ggthemes)
library(dplyr)
# World bank data
WorldBank_LE <- read.csv("../Life expectancy/LE Overall.csv",h = T)
WorldBank_LE_male <- read.csv("../Life expectanc... |
49b8518634c7a71a11feb89a002a138d7b9839cc | 3c258c7fe3244f4a41dea7d264098ac614eef19a | /man/parseTSSApprovals.Rd | 8269a7cc4cbcf76634190c0265edae4b75d39098 | [
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | USGS-R/repgen | 379be8577f3effbe7067e2f3dc5b5481ca69999e | 219615189fb054e3b421b6ffba4fdd9777494cfc | refs/heads/main | 2023-04-19T05:51:15.008674 | 2021-04-06T20:29:38 | 2021-04-06T20:29:38 | 31,678,130 | 10 | 25 | CC0-1.0 | 2023-04-07T23:10:19 | 2015-03-04T20:24:02 | R | UTF-8 | R | false | true | 457 | rd | parseTSSApprovals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/timeseriessummary-data.R
\name{parseTSSApprovals}
\alias{parseTSSApprovals}
\title{Parse TSS Approvals}
\usage{
parseTSSApprovals(reportData, timezone)
}
\arguments{
\item{reportData}{The full report JSON object}
\item{timezone}{The timezone... |
4ad573e53eea279739cff2f99212eefbc1b53dc9 | e27b606213c6cce75eb272e235437806b30a4a74 | /par.reg/man/par.reg-package.Rd | 1a21acbce44e9f679040eba21aa68d5b7f91dcdb | [] | no_license | maurermatthias/master | 86fa80ee32157b3e4b8c41299a1ea4f5fd303827 | 2dac3b1aabbf9d675d03d28ee1a9bf172853d9e7 | refs/heads/master | 2021-01-16T21:29:24.721057 | 2016-08-10T15:53:33 | 2016-08-10T15:53:33 | 65,395,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,689 | rd | par.reg-package.Rd | \name{par.reg-package}
\alias{par.reg-package}
\alias{par.reg}
\docType{package}
\title{
Least-Square Parameter Regression
}
\description{
Package for performing a Least-Square fit for an user defined distribution of fatigue data.
}
\details{
\tabular{ll}{
Package: \tab par.reg\cr
Type: \tab Package\cr
Ve... |
e668fa3737fc3bd3311e5ca4b9d4fcdbf326bf13 | 61180649c781ca23ee434754577acea001eb4bc0 | /man/fcl.Rd | a650d08fb77545157e04e4a8bc10ee3a8239c43e | [] | no_license | malexan/fclhs | 87e0b4c9b86eb1c954644bbdb699699677d4163b | f93e69dd96bbd15bdbc68a5c52db5fe0dde3a0fa | refs/heads/master | 2020-05-31T15:48:22.614152 | 2015-08-09T07:59:08 | 2015-08-09T07:59:08 | 27,025,796 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 302 | rd | fcl.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/data.R
\name{fcl}
\alias{fcl}
\title{FCL items description.}
\format{A data frame with 776 observations of 6 variables.
\describe{
\item{fcl}{FCL-code of item, numeric.}
}}
\description{
FCL items description.
}
|
b5631498a7b9cba06d8c21191340d5f9dcf678c4 | abb044dfc3ab84c6e27b8086d6a372c1cf3b0c9d | /build.R | def89754576245241e7ea219931492fb6e1f901e | [
"MIT"
] | permissive | jbdatascience/causaloptim | ab6d984769cb64b79c5e59e291a94ddea1fd9593 | 03f4fbd7514a2921ba433f6b33ddd0d6f690c8f7 | refs/heads/master | 2022-04-24T03:07:48.840661 | 2020-04-22T07:49:14 | 2020-04-22T07:49:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 371 | r | build.R |
## build
file.copy("doc/shinyapp.html", "inst/shiny/interface/www/shinyapp.html", overwrite = TRUE)
devtools::build()
pkgdown::build_site(install = FALSE)
## fix path to images
lines <- readLines("docs/articles/shinyapp.html")
lines <- gsub("../../../../Box%20Sync/R%20projects/causaloptim/vignettes/", "", lines)
writ... |
31d6880450d638936cfa3e011ff9412f7b4b188e | dc50015de0a6e030aa95f60af4e36367ada70f7e | /man/norm_diric.Rd | 165a89ed10ee2345e3763ecd97e2a083834a4add | [] | no_license | jamesrco/SpiecEasi | 4eb4054faff131e950573bf927e2e41c0fc7f1de | dea87632935c109dc3e7f6804e71cfa6a4a7fc26 | refs/heads/master | 2021-01-25T10:06:08.918942 | 2018-02-11T16:29:11 | 2018-02-11T16:29:11 | 123,338,163 | 2 | 0 | null | 2018-02-28T20:23:48 | 2018-02-28T20:23:48 | null | UTF-8 | R | false | true | 227 | rd | norm_diric.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spaRcc.R
\name{norm_diric}
\alias{norm_diric}
\title{importFrom VGAM rdiric}
\usage{
norm_diric(x, rep = 1)
}
\description{
importFrom VGAM rdiric
}
|
5682caf132afd1e8ad2af3c733140729d3c14629 | 35c971607e75e037f7fc3c17eb69538674095781 | /20170718ETL/etlggplot.R | 529066dbefc086bb49b81d61c14e5e8b79e368cd | [] | no_license | myfirstjump/Visualization | 443072970def02e8c6e0dd482d6cde022c75d6fd | 8db08d583381004eda40893825a47047771ecbd7 | refs/heads/master | 2021-06-23T18:49:31.498481 | 2018-10-02T05:30:23 | 2018-10-02T05:30:23 | 96,211,539 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 923 | r | etlggplot.R | rm(list=ls())
#install.packages("ggplot2")
library(ggplot2)
library(dplyr)
head(diamonds)
str(diamonds)
diamonds[sample(nrow(diamonds), 10), ]
diamonds$carat
qplot(carat, data = diamonds, geom = "histogram")
toolRank = read.csv("D:/iiiR/20170718ETL/toolRank.csv")
target = toolRank[1:10,]
qplot(toolList, total, data ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.