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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23d7d668bede7fc364475006b1682e394b693db3 | c6b7ff06a37716fa19d982ce8924a1a95bc8973e | /cachematrix.R | 34498092f3f681f5e2c715887fc26075d7bc91b1 | [] | no_license | Aramisisc/ProgrammingAssignment2 | 17be03111e571bdcc942d621ad19d8d0f75b6e42 | af46523fa773bf8ea8fd15c4fe882c4b82e96175 | refs/heads/master | 2021-01-17T14:12:50.837253 | 2014-06-22T13:24:45 | 2014-06-22T13:24:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,547 | r | cachematrix.R | #create a function that creates a first special object that stores a matrix
# and cache's its inverse.
#The first function, makeCacheMatrix creates a special "vector", which is really
#a list containing a function to:
#-set the value of the matrix
#-get the value of the matrix
#-set the the inverse matrix
#-get the i... |
c9eabe2fb39356a027d7dbccb8a975a7f3027a4e | adbebff4f9f4b6ebd17c30c237ed00b10b3d15d8 | /test.R | ac839f83010e84ecc35fb1cf297dab15d680170b | [
"MIT"
] | permissive | dowlir/nhm-test-project | 2e73d5c9b38ea897add768292a1bab7b7e0ec0b6 | e49476d8c34527179c02d993a528ace3ce6a3bce | refs/heads/master | 2021-09-15T16:18:15.443777 | 2018-06-06T13:17:49 | 2018-06-06T13:17:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12 | r | test.R | x = 21
x + 3 |
ba91e3f6e6f7205b30c94b7c63c44c75d99d09d3 | 927e74b280556daae5b90929a1586aec858dbdb7 | /man/get_daily_weather.Rd | 2f6118d1d5667c1d8ce6f1bf5a9ae129be22c2c0 | [] | no_license | alfcrisci/rWeatherITA | 37ff6ebcb2842e680d3419abdae3f270a771980d | 8f4c39438894e2d6f94402c799392c0ce56c34c0 | refs/heads/master | 2020-12-24T06:42:21.603561 | 2016-11-28T15:39:39 | 2016-11-28T15:39:39 | 52,808,245 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 995 | rd | get_daily_weather.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_daily_weather.r
\name{get_daily_weather}
\alias{get_daily_weather}
\title{get_daily_weather}
\usage{
get_daily_weather(typestaz = "WU-STAZ", year, idstaz = "LIRQ")
}
\arguments{
\item{typestaz}{Character Type of data "WU-STAZ" done by ICA... |
7ac240074d5fa69c2accd556a924d77902036fc1 | 23cb7aba69c3191582e862a1e43940d2ec6232ca | /man/checkHomopolymerCount.Rd | f557a4afcf4d71bdb730c2ee02e3f9138a909bb3 | [] | no_license | DKMS-LSL/dr2s | 23278c630dda2b3f1110e9929bdfdf462f3e537a | 5d999345426b4d13644d6711adda29733eeab15b | refs/heads/master | 2021-06-11T07:09:45.889559 | 2021-03-12T08:58:08 | 2021-03-12T08:58:08 | 132,594,780 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 583 | rd | checkHomopolymerCount.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sequtils.R
\name{checkHomopolymerCount}
\alias{checkHomopolymerCount}
\title{Get a distribution of homopolymer counts in alleles}
\usage{
checkHomopolymerCount(x, hpCount = 10)
}
\arguments{
\item{x}{a DR2S object.}
\item{hpCount}{the minima... |
ea40976749f0d0faf255ffff9b18aa86214dd7d0 | 20bfcff74f158557d50f1293c8f70404ece0d5a5 | /glmPR/tests/testthat.R | 7f7c8b491b1a8ddcc5182e9c6e96f40274b43d03 | [] | no_license | Xia-Zhang/Poisson-Regression | 76d047ccae6300841906929f5cfc875b4ab9258b | 82ed7237db8cbade82b1dcf3cc36a40cbec0e2a0 | refs/heads/master | 2021-01-18T07:26:29.615945 | 2017-05-11T15:37:48 | 2017-05-11T15:37:48 | 84,288,908 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 54 | r | testthat.R | library(testthat)
library(glmPR)
test_check("glmPR")
|
baf9c6ce85a7701460722d860ca14f2674125449 | cf72b47122c4f991ff1c42daf67a6862c3658764 | /clouds_example.R | 57aada5caf2c8dc20a397da2cf1740dbe691ad50 | [] | no_license | jgabry/R2prior | 5838c304c997e577b9834abd575676f8805b4f55 | 3ae190bb22b258410d02ce34c2357f812718af31 | refs/heads/master | 2020-04-05T23:00:40.425839 | 2018-05-30T17:28:20 | 2018-05-30T17:28:20 | 52,554,603 | 0 | 1 | null | 2016-03-31T03:41:53 | 2016-02-25T20:29:41 | TeX | UTF-8 | R | false | false | 349 | r | clouds_example.R | library(rstanarm)
library(HSAUR3)
data("clouds", package = "HSAUR3")
mod <- rainfall ~ seeding * (sne+cloudcover+prewetness+echomotion) + time
mle <- lm(formula = mod, data = clouds)
round(summary(mle)$coefficients[, 1:2], 1)
R2prior <- R2(location = 0.2, what = "mode")
post <- stan_lm(formula = mod, data = clouds, ... |
a575f31cdc44d00cdd01cdd12c88d995a31e8937 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/nse/examples/nse.geyer.Rd.R | f82a601c31fc757d0db70fe4a65cef82c85d7b41 | [] | 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 | 417 | r | nse.geyer.Rd.R | library(nse)
### Name: nse.geyer
### Title: Geyer estimator
### Aliases: nse.geyer
### ** Examples
n = 1000
ar = 0.9
mean = 1
sd = 1
set.seed(1234)
x = as.vector(arima.sim(n = n, list(ar = ar), sd = sd) + mean)
nse.geyer(x = x, type = "bm", nbatch = 30)
nse.geyer(x = x, type = "obm", nbatch = 30)
nse.geyer(x... |
423f7e60dcf81359308d832e25276e711158e594 | 8d657b14c43472f23bd8faaf0ed3aba9e151cea6 | /R/vertical_Kparty_logistic.R | 5acdbf707f857fb696fe3a1e5aa344c6c0d919c4 | [] | no_license | cran/vdra | 42a73738350a38c6c95af0a3156ec877829ae694 | 54c44c79831ea3407fc5cbf6fbc0301ce8c2cda2 | refs/heads/master | 2023-07-16T08:14:03.433005 | 2021-09-09T05:20:02 | 2021-09-09T05:20:02 | 404,778,003 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 35,056 | r | vertical_Kparty_logistic.R | ################### DISTRIBUTED LOGISTIC REGRESSION FUNCTIONS ###################
GetProductsLogistic.AC = function(params) {
if (params$trace) cat(as.character(Sys.time()), "GetProductsLogistic.AC\n\n")
readTime = 0
readSize = 0
p = 0
n = 0
pi = c()
allproducts = rep(list(list()), params$numDataPa... |
f97179d0d28d5984e57a612ca111792988c8abe6 | 8a30b598326966214ea263e645aa240a074d12a5 | /Analysis/for_live_session_4.R | 07eb93e09723d4607e868004b2cb5553f7e44ccb | [] | no_license | pankajti/timeseries | b2956ba132ce828e5b5699f5999a0df3dbbc070d | 8206604ab18e9436a248e720c6d3ab9b2c718877 | refs/heads/master | 2020-11-28T19:42:46.406581 | 2020-04-12T07:19:00 | 2020-04-12T07:19:00 | 229,905,648 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 933 | r | for_live_session_4.R | library(tswge)
library(tidyverse)
factor.wge(phi = c(-.5,-.6 ))
ts = gen.arma.wge(n = 100, phi = c(-.5, -.6))
plotts.parzen.wge(ts)
plotts.true.wge(phi = c(-.5, -.6))
wm_data= read.csv('/Users/pankaj/dev/git/smu/timeseries/data/Walmart.csv')
wmst9it50 = wm_data %>% filter(item==50, store==9)
plotts.sample.wge( ... |
1e097b2d4dc238a834a6e1847ef506e19b5367bd | d5004526b771aa11f2b564b15ccd47ca8a99b7c7 | /man/beta_regress.Rd | de45d5506ca6b890bc44500430492c9c9fec3f15 | [] | no_license | xinchoubiology/Rcppsva | 2d7031143f2627e3c8cf055cc6d8dcaddfb02a03 | 5140dbf361b4808c13addfd3342ca3ead092b401 | refs/heads/master | 2021-01-10T01:19:32.166223 | 2015-09-26T16:30:36 | 2015-09-26T16:30:36 | 36,160,015 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 711 | rd | beta_regress.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{beta_regress}
\alias{beta_regress}
\title{beta_regress}
\usage{
beta_regress(M, pv, svs, full = 0L)
}
\arguments{
\item{M}{m x n expression matrix; Each row represents probes and each col means samples}
\item{pv}{... |
dbf64ae493db8cf75b617ff34bfe0f6bac5c51d0 | 6e8993b8d91bd4d5563efba0d88750900c42177f | /WeibinResults/tri_ccg_dist_hard_soft_compare_316/hist_edgenum_large.R | 563b29908931e6e2b1183c628e8f36f8ce1f4806 | [] | no_license | Erich-McMillan/physics-research | 346b0f2275bdda630d901991acd1db4276f3232b | 969245148421d3bfe422fb85ba3f14898e48b37e | refs/heads/master | 2021-07-08T05:00:57.775905 | 2017-09-25T14:58:22 | 2017-09-25T14:58:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 751 | r | hist_edgenum_large.R | N=316
D=3
Sq=0
SqTotal=1000
for(D in 11:66)
{
finame=sprintf("triangle_compare_ChungLu_Vs_SNM_N%dD%dSqTotal%d.txt",N,D,SqTotal)
m_CL=read.table(finame,header=T)$m_CL
finame=sprintf("triangle_compare_gnp_N%dD%dSqTotal%d.txt",N,D,SqTotal)
m_NP=read.table(finame,header=T)$m_NP
tRange=range(m_CL,m_NP)
zstep=(tRange[... |
85e7ee03549c9403e3e25d8dec2fc1ff6ba67b3f | 79abe59a6bf0b8ec95730268494f39ab7796a9f5 | /cachematrix.R | 49a2c61aec657c892761288454fedbffe64b4747 | [] | no_license | akalapodis/ProgrammingAssignment2 | 9db5402965e009de111cd36a20c5991f7617b88e | fd4c64baa04d950c10c3c9cb62fdade73c6a60c3 | refs/heads/master | 2020-12-30T18:38:22.004824 | 2014-07-24T17:50:09 | 2014-07-24T17:50:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,784 | r | cachematrix.R | ## Matrix inversion is usually a costly computation and their may be some
## benefit to caching the inverse of a matrix rather than compute it repeatedly.
## This is a pair of functions that cache the inverse of a matrix.
## This function creates a special "matrix" object that can cache its inverse.
makeCacheMatrix <-... |
67ff0d4911d0456049dc724d2e303a12bcfab5bc | f66031b70813e47120b974b012987e8453261ed4 | /eda_Project1/1_Code/allPlots.R | ef557433c623c1cfc00e255a4ff82f20e84ad153 | [] | no_license | ckyau/ExData_Plotting1 | 2525b66053232d406ef41d9db241658167846484 | 7c09bbfa84afaa53416c2ca3162f7a0876ebc2c4 | refs/heads/master | 2020-08-29T09:49:32.473448 | 2020-02-20T10:11:05 | 2020-02-20T10:11:05 | 217,997,995 | 0 | 0 | null | 2019-10-28T08:21:48 | 2019-10-28T08:21:47 | null | UTF-8 | R | false | false | 3,676 | r | allPlots.R | # Load Libraries --------------------------------------------------------------------------------------------------------------------------------------
# Installs and loads packages ---------------------------------------------
for (func in list.files(path = "1_code/0_functions/")) { source(file = paste0("1_code/0_func... |
ab6a8217ffd766dec9ccb795b169c5d771fa3445 | c3018f3062b72df8ac075707b832449f2798c555 | /R/createtableoptions.R | 53409673ac35290e23b692811d541a6550f2c63a | [] | no_license | nachti/kudusparklyr | 36f0e3cd3052514d0d0ffc10f4331c26277fe83e | 0b099ada62dda31e8ba4724ff378c8835f75f8a5 | refs/heads/master | 2020-09-13T07:52:44.033653 | 2019-11-19T15:47:04 | 2019-11-19T15:47:04 | 222,701,328 | 0 | 0 | null | 2019-11-19T13:21:43 | 2019-11-19T13:21:42 | null | UTF-8 | R | false | false | 1,700 | r | createtableoptions.R | #' @title kudu_table_options
#' @description invoke kudu_table_options
#'
#' @param sc spark connection
#'
#' @import magrittr
#' @export
kudu_table_options <- function(sc){
opts <- invoke_new(sc,
"org.apache.kudu.client.CreateTableOptions")
opts
}
#' @title set_num_replicas
#' @description s... |
b845fec9559a0f65e37111a4027b7a960a9baa43 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/vegan/examples/indpower.Rd.R | abab0c447e111cefa62e7148905b82c4d7cb429e | [] | 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 | 835 | r | indpower.Rd.R | library(vegan)
### Name: indpower
### Title: Indicator Power of Species
### Aliases: indpower
### Keywords: multivariate
### ** Examples
data(dune)
## IP values
ip <- indpower(dune)
## and TIP values
diag(ip) <- NA
(TIP <- rowMeans(ip, na.rm=TRUE))
## p value calculation for a species
## from Halme et al. 2009
## ... |
e4a52b4adebad012df1ca165c37d27b75d59a215 | a2f1975e730afe2def76f7299dd4ca7ed0d61dd6 | /DataBasesAnalysis/Sesion1_Estudiante.R | d729f9e594a142ac2f1392a57f9d9640be570b68 | [] | no_license | iRetray/R | 9b5d7f1fd147b363d529db382300af08a9cda499 | b452771c11fc312f8d3830fcf092fb299e408dd8 | refs/heads/main | 2023-05-06T06:48:44.568042 | 2021-05-31T02:43:15 | 2021-05-31T02:43:15 | 300,345,161 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,308 | r | Sesion1_Estudiante.R | # DIRECTORIO DE TRABAJO.
#===============================================================================
getwd()
# R CÓMO CALCULADORA
#===============================================================================
# R reconoce los siguientes operadores matemáticos: suma(+), resta (-),
# multiplicación (*), divisió... |
0a1dcce9f787a60eae9ad8628ce117766c3f8578 | 666f1cc22538362c71a404c6977c05c54d09d587 | /04_prepare-fixes.R | b74e280cb9d9dd1e17bba7ddf3fa974dd7921327 | [] | no_license | kuriwaki/cces_cumulative | 09c8b2548006e5b0abf6dfdecaa1816dc50be2a4 | 2449f5c76fb29b1f0ea88060189357b12c9cb53e | refs/heads/main | 2023-05-25T14:38:23.523698 | 2023-05-18T13:29:08 | 2023-05-18T13:29:08 | 93,090,050 | 19 | 1 | null | 2023-05-12T17:47:20 | 2017-06-01T19:00:36 | TeX | UTF-8 | R | false | false | 2,688 | r | 04_prepare-fixes.R | # subsets to fix in 02
library(tidyverse)
library(dplyr)
library(haven)
load("data/output/01_responses/common_all.RData")
# Retrieve 2007 County -----
# Retrieve 2010 PID -------
pid3_cc10 <- cc10 |>
mutate(pid3 = V212a) |>
mutate(
pid3_char = as.character(as_factor(pid3)),
pid3_num = as.numeric(pid3... |
67ed0ca59a84df9b388bbe43d5eaae478d400902 | 205e1e0a2e23f362b7987804ebe8e17a23ac6010 | /inst/examples/input/selection/app.R | 572bb30257c6898bc5a21049e593f87958b74a5b | [
"MIT"
] | permissive | dreamRs/apexcharter | 97f93ec61d2ad96f8bf2446fe50e2cb22f4824df | 11d244e9922a9abe41aee90124224d8f5cababa9 | refs/heads/master | 2023-06-22T11:11:57.709837 | 2023-06-14T12:05:06 | 2023-06-14T12:05:06 | 142,926,526 | 135 | 15 | NOASSERTION | 2023-03-22T15:30:53 | 2018-07-30T20:47:09 | R | UTF-8 | R | false | false | 1,027 | r | app.R |
library(shiny)
library(apexcharter)
data("economics", package = "ggplot2")
ui <- fluidPage(
tags$h2("Retrieve selection information"),
fluidRow(
column(
width = 8,
tags$b("Datetime"),
apexchartOutput("chart1")
),
column(
width = 4,
verbatimTextOutput("result1")
)
),... |
5f5268586a2202089f89bbb211b1be613628e58a | 65636eac47278518c1fc343559efa712eeb988fe | /tests/testthat/test_CoupledMWCA_common.R | c28cce57f4b3540bcf1d2f597f3f44238bf70f9e | [
"MIT"
] | permissive | rikenbit/mwTensor | 5a8b9bd15f4f11b0bdbad5274022b22cac43e498 | 36a9f19bab5952b33dd9a323d0def15cc917a310 | refs/heads/main | 2023-07-21T13:49:52.685004 | 2023-07-06T12:43:23 | 2023-07-06T12:43:23 | 381,632,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,509 | r | test_CoupledMWCA_common.R | Xs <- mwTensor::toyModel("coupled_CP_Easy")
params <- new("CoupledMWCAParams",
# 1. Data-wise setting
Xs=Xs,
mask=list(X1=NULL, X2=NULL, X3=NULL),
pseudocount=1E-10,
weights=list(X1=1, X2=1, X3=1),
# 2. Common Model setting
common_model=list(
X1=list(I1="A1", I2="A2"),
X2=li... |
07482118bee11ad366ca9c5876941859e038a807 | 0dfe50e7f553927442a27ed4b1cf366216b06727 | /pls/coefficient-plot-LDPE.R | 866141271606f69204bca1eee032f569abdd8056 | [] | no_license | kgdunn/figures | 3543d2bcb96cc61cc9c2217da3a4210dd23b1103 | 662076362df316069ba9c903a0a71344da887142 | refs/heads/main | 2021-07-06T06:59:34.977099 | 2021-06-14T20:47:11 | 2021-06-14T20:47:11 | 244,129,830 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 493 | r | coefficient-plot-LDPE.R | coeff <- read.csv('coefficient-plot-LDPE-A-is-6.csv')
library(lattice)
bitmap('coefficient-plot-LDPE-A-is-6.png', type="png256", width=10, height=5, res=300, pointsize=14)
par(mar=c(4.5, 4.5, 0.5, 0.5)) # (bottom, left, top, right); defaults are par(mar=c(5, 4, 4, 2) + 0.1)
barchart(as.matrix(coeff$Value), ylab=lis... |
9a94a600eb8c81792eac4773cdeefababe1085e0 | 9c451420f6f06663e6a08002ad88eb8054ba405a | /cachematrix.R | 662a67b0a1a6f19e6d7822ffedcd7522169f9e17 | [] | no_license | olivem/RProgrammingAssignment2 | 4dce9ab34a8791be093b44d3392335611a0a65ac | ee47f9baa367bc62371c486fe65a0b8537c4f668 | refs/heads/master | 2021-01-22T06:48:54.454467 | 2014-08-24T13:14:40 | 2014-08-24T13:14:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,476 | r | cachematrix.R | #This function creates a special "matrix" object that can cache its inverse.
#The first function, makeCacheMatrix has a number of functions within that
#1.sets the value of the object
#2.gets the value of the object
#3.sets the value of the inverse and
#4.gets the value of the inverse
makeCacheMatrix <- function(x ... |
9e2299f6b845d335530daf29591b7b512827d25d | ecb1635b28a5489d810e1ac07ae26d13d2814a8e | /R/trim_urls.r | ae21d9d6b20675399f9ed3c68b27d214f9aee5bd | [] | no_license | alfcrisci/rTwChannel | 7570d0959aaef80debb6d11f6dad19f0141183f3 | d99dec1d300b37290e985a26eca25a2f94193254 | refs/heads/master | 2021-01-19T01:57:04.044235 | 2020-03-18T16:46:21 | 2020-03-18T16:46:21 | 42,121,011 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 401 | r | trim_urls.r | #' trim_urls
#'
#' @description Remove links in a tweet message.
#'
#' @param x Character Message of tweet
#' @return Return the message of tweet without links.
#' @author Istituto per la Bioeconomia Firenze Italy Alfonso Crisci \email{alfonso.crisci@@ibe.cnr.it}
#' @keywords retweet
#'
#'
#'
#' @export
trim... |
1c36c83da3ba56637a8d68d3d9c7b4a5981749c4 | 79db8bc1987a57e7063907c1d1a0ed95d2774817 | /OIB_Sandbox.R | 59277e9742d880cf230da90677e51b9c0b560ce6 | [] | no_license | kingjml/OIBSandbox | 6bd88b907de2867bf08afcac53ba54b899f8fa06 | c239463b1655eb02b60f59822876d117ba7fe132 | refs/heads/master | 2021-01-11T02:41:17.212364 | 2016-10-14T18:16:07 | 2016-10-14T18:16:07 | 70,935,908 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,094 | r | OIB_Sandbox.R | #####################################################################
# OIB footprint testing sandbox #
# JKing 13/10/16 #
# Input: #
# Output: #
#####################################################################
#Required libraries
require(gstat)
require(rgda... |
1b9d3d1c0b1744033cbd7d7e3bf5772a8bd0aa50 | 1a43a1e23100142da1197f72a09c3b256600e8e8 | /R/RcppExports.R | 2a3a9a24b51481b7612c3351360a6d2cf5d52fa8 | [
"BSD-3-Clause"
] | permissive | ThomasCarroll/rhumba | d4e62d5027eeb87766447bf8a6031c0611cc943c | 06c304c06c60236f52feda09c03da2f2ffbbd9e7 | refs/heads/master | 2023-01-12T07:06:42.790576 | 2020-10-13T06:12:33 | 2020-10-13T06:12:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 877 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
set_conda_version <- function(conda_version) {
invisible(.Call(`_rhumba_set_conda_version`, conda_version))
}
set_verbosity <- function(lvl) {
invisible(.Call(`_rhumba_set_verbosity`, ... |
7819dca11616f82d24a7dfb1a56714cb9db8d21e | 3a50e82d1796b6d80d384b38e45fdce6a72c2c64 | /Lectures/Lecture 6 - Matrices.R | 284e8bcc1f02d572333578cc02be3e396257fa15 | [] | no_license | senanarci/CMPE140 | 5362161ac19ab9416f4f8c02049d9277a2c1fd22 | b564832bbce66c32ad20208036f483348660a6cb | refs/heads/master | 2020-03-19T12:16:20.291400 | 2018-05-15T08:56:36 | 2018-05-15T08:56:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,840 | r | Lecture 6 - Matrices.R | # In R, a matrix is a vector that has two additional attributes:
# * Number of rows
# * Number of columns
#
# As with vectors, every element of a matrix must be of the same _mode_;
# either purely numeric, or purely text, etc.
#
# Creating a matrix from a vector
# ===============
#
# One way to create a matrix is to... |
1644dcf4a78e4fcb551aa90b8b24b2c52d411431 | dfcafafc4ad5a8281a45d694723503c25fa60e08 | /plot2.R | 83999d8c8cae2eab827cb237edafaae4c3e154c3 | [] | no_license | espensvendsen/ExData_Plotting1 | 16f21bf5c973a224b0782e31f50889039ff5096d | f122780876b8d1fc3da5831a6eb8f9fec7920656 | refs/heads/master | 2021-01-18T06:42:03.674515 | 2016-09-11T12:54:35 | 2016-09-11T12:54:35 | 67,923,132 | 0 | 0 | null | 2016-09-11T10:07:57 | 2016-09-11T10:07:57 | null | UTF-8 | R | false | false | 971 | r | plot2.R | # Loading
fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileUrl, destfile = "household_power_consumption.zip", method = "curl")
consumption <- read.table(unz("household_power_consumption.zip", "household_power_consumption.txt"),
... |
86e17b83aefdf2b460560ec3d1d7900df653723f | 6247b7c36ce15b0d08a7a2111e2a99981ba794e3 | /coba.r | 6222603d88972d71e324c429bdb4527f48774fd2 | [] | no_license | kireikharisma/kmmi_r | 21871d8295817cac19fffd24e8973dea726f32d3 | 6fd54a94fa1c6deebc4d444b2adc8d071c505f52 | refs/heads/main | 2023-06-29T21:13:36.744862 | 2021-08-08T19:09:51 | 2021-08-08T19:09:51 | 394,012,585 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | coba.r | teks1 = "Welcome"
teks2 = "Let's Explore R"
teks1
teks2 |
efc141029e65db30559105f3a965d9c2234ee30f | 8adc4c6b545b6c0c5739bc57d0cbccfe162b30cc | /tests/testthat/test-two-channel.R | 82029025c29707d5e7feb9855e2287e0609787b6 | [] | no_license | alexvpickering/crossmeta | b43f8f55806b2c175abf24f734b675613003ed34 | 4aa2fca1d381eebdf92277418450b454b0b4908a | refs/heads/master | 2022-06-18T18:44:02.918536 | 2022-05-27T21:05:22 | 2022-05-27T21:05:22 | 51,627,594 | 3 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,740 | r | test-two-channel.R | library(testthat)
library(Biobase)
library(limma)
# RG normalized as in load_agil for two-channel arrays
apoa1_path <- system.file('testdata', 'Apoa1.RData', package = 'crossmeta')
load(apoa1_path)
elist <- RG
elist <- limma::backgroundCorrect(elist, method="normexp", offset=50)
elist <- limma::normalizeWithinArrays(e... |
8734711481f51bfea3db32b15cd316839df4af08 | fda540791ba58168598b8320571356a565f9faf1 | /libs/1_enoe.R | 9ac433bc0dc0bc9fff5181871f71de846840207b | [] | no_license | monzalo14/conciliacion | 5c3e1272090d3575552ab9b58b5b514ab9cfe58f | 5e4670ec32026a85f5bedd0f01decee1cec01394 | refs/heads/master | 2021-01-12T08:58:27.217523 | 2017-05-04T07:16:47 | 2017-05-04T07:16:47 | 76,738,998 | 1 | 3 | null | 2017-02-15T18:40:55 | 2016-12-17T18:05:28 | R | UTF-8 | R | false | false | 5,399 | r | 1_enoe.R | library(foreign)
library(rformat)
library(dplyr)
## sobre el ampliado
part1 <- dir("../data", pattern = "coe1t1.*\\.dbf$", full.names = TRUE, recursive = T)
part2 <- dir("../data", pattern = "coe2t1.*\\.dbf$", full.names = TRUE, recursive = T)
hogs <- dir("../data", pattern = "hogt1.*\\.dbf$", full.names = TRUE... |
3c6ffdfe310e1f9a68cdd9a18cbe374e0292d1f0 | 79757f415f30c2a89ed5fb8d6b46824adc8ab5ed | /Scripts/Tweet_seniments.R | 98b8f49bb3ac396b7d43b659711a992312a16e10 | [] | no_license | aksoyundan/Khutbas | 8764d2fa5c359eb7bcbd1798af5748d420aae88f | 4b0121af6e2c5242fb143da8af0713536409e059 | refs/heads/main | 2023-04-23T17:27:08.892396 | 2021-05-11T13:26:11 | 2021-05-11T13:26:11 | 335,759,549 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,190 | r | Tweet_seniments.R | Sys.setlocale(category = "LC_ALL", locale = "Turkish")
options(stringsAsFactors=F)
library(rtweet)
library(tidyverse)
library(lubridate)
library(ggplot2)
#library(stringr)
tws1520_s <- readRDS("data/sent/tws1520_s.RDS")
tws1520 <- readRDS("data/tws1520_c.RDS")
tws1520_t <- tws1520 %>%
select(com, fam, hlt, nat, p... |
cc0d8661274c15bb60acae28f4bd3295033a9d4a | 1f64d43e7d2c9398664a97a9384442c656b5b01f | /man/cache_lookup_users.Rd | ff03c4b2b400ab1433e0781f44356b14e3514f49 | [
"MIT"
] | permissive | alexpghayes/twittercache | 8b8a2b4232230e28dbf0d5380b9253fbc5b1c95b | c84c38b4d479926d28444d6d72fd2a0c339cb7e2 | refs/heads/master | 2021-07-02T13:02:27.213464 | 2020-10-07T20:09:58 | 2020-10-07T20:09:58 | 194,210,911 | 5 | 0 | NOASSERTION | 2020-11-09T18:32:12 | 2019-06-28T05:20:26 | R | UTF-8 | R | false | true | 344 | rd | cache_lookup_users.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cached-api-calls.R
\name{cache_lookup_users}
\alias{cache_lookup_users}
\title{Title}
\usage{
cache_lookup_users(users)
}
\arguments{
\item{users}{}
}
\value{
}
\description{
note: new users are gonna burn get_friends and get_followers token... |
b0056b1f8ee5e072bf2e53aaf326be118bf67387 | 8b5214771da43e53875e1666b2a63d37ad8b6a9f | /R/TCRseq/expanded/run_expanded.R | 371aa8c99e9600eaed82b0447d92ab7e0aa570f5 | [] | no_license | janihuuh/melanomap_manu | 763e9d704248875a8920eec14b832bb26519d34e | 6ec1d82ecf421c05633366d1635f789e5b715cf3 | refs/heads/main | 2023-04-13T04:52:44.955381 | 2022-01-28T16:17:44 | 2022-01-28T16:17:44 | 433,838,662 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,255 | r | run_expanded.R |
source("src/jani/R/tcrb/expanded/fun_expanded.R")
## Analyse the expanded clonotypes
# Get sample matrix and sample matrix into sampling pairs
helsinki_mat <- get_sample_matrix(vdj_files = list.files("data/unselected_TCRseq/Helsinki/", pattern = "MNC"), dataset = "Helsinki")
helsinki_pairs <- sample_matrix_to_pa... |
f1957d84dccbe200ec2708e8811fe2076d4f73d9 | 59baf1491b149066ebe3451863778f04f334ea9c | /man/splom_select.Rd | 4e9d214b76e2ae7811990da7e53055d6501bb574 | [] | no_license | amy-mcg/tephrochron | ef2de9dc5d795a856286ed1a8c433319e3de7e8e | 469d5164033a1fe63597b82268451e154446250a | refs/heads/master | 2023-01-28T04:33:03.234496 | 2020-12-11T10:40:42 | 2020-12-11T10:40:42 | 268,802,612 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 888 | rd | splom_select.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/splom_select.R
\name{splom_select}
\alias{splom_select}
\title{Scatterplot matrix of selected elements}
\usage{
splom_select(data, cols, colour, symbol)
}
\arguments{
\item{data}{A data frame containing element geochemistries}
\item{cols}{Th... |
bfbd7cbd6863dced84e447058700631ea3e399da | 1cc9f664bd685d1dda000272a3e5df8903fd6b22 | /code-zi-pi-plot.R | 55441c21fc3f8dda3c6b97dfff2e542fe143dfa0 | [] | no_license | bing-g/AD-BW-network | df84a940a5c60a9ccc9aa1c888d91d7372d3269f | dd1983dc253815b9cfbc6695ec418fb1701c5554 | refs/heads/main | 2023-05-26T13:35:03.769230 | 2023-05-15T15:18:12 | 2023-05-15T15:18:12 | 367,874,988 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,730 | r | code-zi-pi-plot.R | # calculate Pi, Zi
library(igraph)
#igraph.group1
seqdeg=degree(igraph.group1)
Nnodes=length(seqdeg)
Z=seqdeg
Z[]=0
P=Z
Membership=membership(fc.group1)
Seq=seq(1:Nnodes)
for(i in 1:Nnodes){
L=Membership==Membership[i]
neighbs=neighbors(igraph.group1,i)
Kis=sum(L[neighbs])
SUM=0
SU... |
b76058137907afc0e33bb25460d9bdc51dd9a6ff | a4fc7ca6720c4eab3065e6c0dedd0eb2895bbbb3 | /4/34.R | af4b22e896365410724d5a8d6bc67913b4fb92b0 | [] | no_license | minoeru/100KnockR | 38b3499f75e4d99a38fb947db13980d9bdcf24b1 | 7a01aab1b19ab9dd6181ee2142c425fc1718c04a | refs/heads/master | 2020-09-26T13:39:15.086507 | 2020-08-12T08:48:25 | 2020-08-12T08:48:25 | 226,265,979 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 496 | r | 34.R | library(RMeCab)
library(magrittr)
Func34 <- function(){
hoge <- RMeCabText("neko.txt")
surface <- lapply(1:length(hoge),function(x){hoge[[x]][1]}) %>% unlist()
pos <- lapply(1:length(hoge),function(x){hoge[[x]][2]}) %>% unlist()
num <- grep("^の$",surface)
name <- grep("名詞",pos)
ans <- intersect(intersect(n... |
1a9c3f23a2273b62b9a5a61bfa5ca439611d40a0 | 4f63cfcfa3be78d33ecae08123d90fed61f98f8d | /R/get_bb_aspect_ratio.R | a130b48c7a87b01d4447135e238dbdebd42a1f73 | [] | no_license | Mallabarius/rmaps | 6d1b1b91d82728bc42f919f282091e20738b02b7 | c3b223a0b5bcf2cc4ff314fe5fb5640bd35cc4bc | refs/heads/master | 2023-03-16T12:09:37.321704 | 2021-03-09T16:14:29 | 2021-03-09T16:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 481 | r | get_bb_aspect_ratio.R | #' Get the aspect ratio of a bounding box
#'
#' @param bb bounding box
#'
#' @return the aspect ratio as a number
#' @export
#'
get_bb_aspect_ratio <- function (bb) {
# Get width and height in actual units
w <- st_sfc(st_point(c(bb$xmin, bb$ymin)), st_point(c(bb$xmax, bb$ymin)), crs = 4326) %>% st_distance() %>% .[... |
4bb1865381e91648a02d880bc2029e0dc712ea95 | 385940a7794a7bf3beb84a30b24de7eb34f7efaf | /Afrobarometer - Stage Two Data Cleaning.r | 8a3d38af71ce5136b96562e65f054cc9e2ee70fa | [] | no_license | adelinelo/Ethnic-wives | dd5bba4602539324c2fdda1462bf41a37d137da4 | 3ce024d7d55375ad15386370980ec9359e6fd801 | refs/heads/master | 2020-03-26T22:36:06.074398 | 2018-08-20T21:34:30 | 2018-08-20T21:34:30 | 145,472,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,440 | r | Afrobarometer - Stage Two Data Cleaning.r | ###############################################
#
# The Spousal Bump:
# Do cross-ethnic marriages increase political support in multiethnic democracies?
#
# Data Replication
#
# Claire Adida
# Nathan Combes
# Adeline Lo
# Alex Verink
#
###############################################
###########################... |
45e2ae313b1db23fb8923cfff69617152320373b | 08f82c108d01efcbc33139bdd80d18ec35d0fa4f | /Prefix.R | 1454042a1cb543fda849e7aef24a6599c23553d1 | [] | no_license | STAT545-UBC-hw-2018-19/hw09-ecool50 | 543fa1c521b7692983b39b7fc8390dad67d1bdec | 9db07a3e67475ba7259f801e4fd9c941cddf3725 | refs/heads/master | 2020-04-08T13:23:15.553810 | 2018-11-28T06:51:33 | 2018-11-28T06:51:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 599 | r | Prefix.R | #load required libraries
library(tidyverse)
#load in the words text document
words <- readLines("words.txt")
#compute the prefixes
words_pre <- str_sub(words, start = 1, end = 3)
#convert it into a dataframe
prefix_data <- as.tibble(words_pre)
#get the top 30
top_30 <- plyr::count(prefix_data) %>% top_n(30)
#get ... |
7087e0d459eae5d33baf91182f4a891c816c5e8b | 858a0c6bee8b6785d8e043028a74d82a76b3333a | /#7_Script_Boga.r | 37e817db877ce4bcc94ee7f7a8a33e2a65306dfd | [] | no_license | BellaBoga/Quantitative_Phonetics_with_R | e91cfd0e25b93b8bda48c4d9248f218ffa58cd2f | 12f2004d6bdb6815faa2ff538c8b78e5fb5ceb57 | refs/heads/main | 2023-06-05T16:09:43.769448 | 2021-06-17T21:43:08 | 2021-06-17T21:43:08 | 377,966,790 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,674 | r | #7_Script_Boga.r | ############################################################
## TASK
############################################################
DIR = '/home/bella/Dropbox/Master/1st Semester/Quantitative Phonetics with R/Material Corpus etc/KEC/'
setwd(DIR)
load('DF_textgrids_addedinformation.rda', verbose = TRUE)
head(DFbig2)
D... |
65a2688b6f86fbc0529570f1570188e26cb3ecdf | 616d210404dc2bb124e3498b9f5d0e42c968481f | /R/labels.R | 4d4211925f3620de15ffe5331596f47622f50846 | [] | no_license | hofnerb/papeR | 67018ecd80e97b1e044b2962721cdb31bea209ac | 28347a1c01d7339a94d56be7a275077fdb1d2974 | refs/heads/master | 2021-06-20T07:45:30.370771 | 2021-03-18T19:33:05 | 2021-03-22T13:15:33 | 27,235,121 | 27 | 3 | null | null | null | null | UTF-8 | R | false | false | 3,939 | r | labels.R | ################################################################################
## Author: Benjamin Hofner, benjamin.hofner@fau.de
################################################################################
# Extract labels from data sets
labels.data.frame <- function(object, which = NULL, abbreviate = FALSE, .... |
0a23dfb29b680d9eeeeb406875892ca0224ce233 | fe79d8b8345565ca364d8603ec86cea6f2146e42 | /GROseq/GROseq_snakemake/tools/GROseq_pausing.R | 6ba08c3bd295c02e174e0144123bcc4228b6b3c5 | [] | no_license | iovinolab/dom-study_2020 | 6accac2a8e2a6f05d99b3aa2e477d7c2fa4819a3 | 6b2ef92c2a0ec071747fdbc4274c14f38a0ee935 | refs/heads/main | 2023-08-29T08:38:04.994284 | 2021-01-29T13:23:57 | 2021-01-29T13:23:57 | 305,729,978 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,168 | r | GROseq_pausing.R | library(optparse)
option_list <- list(
make_option(c("-g", "--gtf"),
help="Genome annotation file (gtf)"),
make_option(c("-p", "--promoter"),
help="Quantification in promoter region"),
make_option(c("-d", "--downstream_feature"),
help="Quantification in promoter region"... |
2b64bb23533314d86619fe34e947499d6c0a6cfe | 8d9e2a5319e96043b04203e2af8afecce20bc8e3 | /R/csv/spe.R | c24fe2263463d5540c5a5d17fe93c23257034e8d | [
"Apache-2.0"
] | permissive | gbif/analytics | 098d9b071b435b3f581698c0cd7eb0605617700c | 7f0ca9459f75909f6708e25facfaead97ad5468e | refs/heads/master | 2023-08-08T20:44:12.524328 | 2023-07-24T14:09:53 | 2023-07-24T14:09:53 | 20,252,443 | 6 | 5 | Apache-2.0 | 2021-01-28T17:36:30 | 2014-05-28T09:40:55 | HiveQL | UTF-8 | R | false | false | 2,006 | r | spe.R | source("R/csv/utils.R")
extractAreaCSV(
areaType = "country",
sourceFile = "spe_country.csv",
sourceSchema = c("snapshot", "country", "speciesCount"),
targetFile = "spe.csv",
group = c("country"),
groupLabel = c("about")
)
extractAreaCSV(
areaType = "country",
sourceFile = "spe_publisherCountry.csv",
... |
df08feb9ea99749aaa0824d0c0b1bc1137306c5a | 973748a68316c615fa2113cbad696d24ae4f91b4 | /R_DeepestLearners/10_ufc_visualisations/vis.R | b9f745f25c5ead6ae7513b4c5ac2ec1ad0814afe | [] | no_license | PratyakshGitArchived/UFCP | 1e79cb13aa0a4c9de308f132138118d4849c8660 | cce3409b11602cd933086145938d7e89512de660 | refs/heads/master | 2023-06-08T05:09:28.674780 | 2020-06-19T18:37:28 | 2020-06-19T18:37:28 | 273,562,515 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,591 | r | vis.R | # ****************
# No License.
# The model is for educational purposes only
# ****************
# 2019 PRATICAL BUSINESS ANALYTICS - University of Surrrey
#
# Group Name : The Deepest Learners
# November-December 2019
# ****************
# Data Analysis for UFC fight data 1993-2019
# About This Script: - Generates ... |
a7abbc931aa28fe3274edff36971cf39458bce1e | f6d5a97fcdda7d9621baed759186c3ac8fcf0a5d | /R/lib/phoneme/phoneme.R | 7404b6d241ba91db9df050db7c6614b7d7530448 | [] | no_license | e155721/src | 1245f988c4aa878dc976e92ef97df003f327e64d | f6b9dd1c19decd0789fe3dd3cf74654f00a18db1 | refs/heads/master | 2022-01-01T19:21:17.172143 | 2021-12-18T21:46:34 | 2021-12-18T21:46:34 | 155,394,876 | 3 | 1 | null | 2018-11-19T05:18:30 | 2018-10-30T14:00:34 | R | UTF-8 | R | false | false | 2,059 | r | phoneme.R | make_phone_vec <- function(feat_mat) {
vec <- dimnames(feat_mat)[[1]]
vec <- vec[-which(vec == "-")] # removing the gap symbols
return(vec)
}
make_feat_mat <- function(file) {
feat_mat <- read.table(file, fileEncoding = "utf-8")
feat_mat <- as.matrix(feat_mat)
N <- dim(feat_mat)[2]
for (j in 1:N) {
... |
cf57e7cb7838762ef1af08f6ac1c7e643f66ab35 | 0b7d4e038db0794dce51813dd71c86dcf19c9878 | /density_clustering_experiments.R | 9df1e99c7857f305b37c0bb8d3a128edfdf65461 | [] | no_license | torebre/kanjiR | 5f0af777eead9cd430b680d2d49296cd66c71b1f | 07b9f1b26da5f5255f2159a09fe70c6188771d6a | refs/heads/master | 2021-05-05T21:34:01.018072 | 2020-04-09T12:58:06 | 2020-04-09T12:58:06 | 115,754,019 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,234 | r | density_clustering_experiments.R | library(MASS)
library(ks)
library(colorspace)
library(RColorBrewer)
library(rgl)
library(misc3d)
library(alphashape3d)
predictions <- predict(kernel.density.estimate, x = filtered.matrix)
max(predictions)
min(predictions)
truehist(predictions)
# TODO Find clustering
# kernel mean shift clustering
filtered.matrix... |
a452f21fd00d76b471ccd76e045e781aaf85d9ac | 69c6053763d1984b7a880e7b219bed2e7867de8f | /CFA_fit_examples/OpenMx/StarWars_OpenMx.R | 88a1db18cfd3a81496c6209d7c787b7a43280574 | [] | no_license | SachaEpskamp/SEM-code-examples | 273bff2350344666e2df7e51ae692a0a8ed343a9 | 7e65df05bbe72701d40c5bc935c97fbb927b7235 | refs/heads/master | 2022-05-10T02:23:39.059146 | 2022-03-15T11:34:57 | 2022-03-15T11:34:57 | 179,825,307 | 28 | 29 | null | null | null | null | UTF-8 | R | false | false | 3,342 | r | StarWars_OpenMx.R | # Load packages:
library("dplyr") # I always load this
library("semPlot")
# For info on OpenMx, see:
# https://openmx.ssri.psu.edu/
# Install with:
#
library("OpenMx")
# This code show an example of matrix specification in OpenMx, which is a clear benefit of OpenMx.
# You can also use path specification (see website... |
5fe82c7e326dc441f062fbc43a16f0bcb058f05d | 866a5bcef6311cd5f724086a4ef80bfe75485eaa | /main_r/1_course_category.R | 45ae84865b4ff306816af8b411bd023bd6ccc2f9 | [] | no_license | Sandy4321/KDD2015-4 | 08dff1ca62bd2915e9664bf9282d7366631cf001 | e60a1b13f9220485b3655fd2eb4f44b1475330d8 | refs/heads/master | 2020-04-19T05:49:51.443040 | 2015-06-16T12:29:16 | 2015-06-16T12:29:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 883 | r | 1_course_category.R | setwd('Google Drive/KDD2015')
rm(list = ls()); gc()
require(data.table)
load('data/new/raw_data_log.RData')
object <- fread('data/object.csv',data.table=F)
nFeat <- as.matrix(aggregate(object$category,list(object$course_id),FUN=table))
colnames(nFeat) <- c('course_id',paste0('course_',sub("x.","",colnames(nFeat)[-1]))... |
c5e4b9f05339dca1fa28726a03365637a4052a3d | 3eb69d7a6d64650bec15b8cbe15f4c0ec22b6d14 | /scripts/R/imp/impManhattan.R | 1245862fb5d2917591d79a98334da20fd6c403fe | [] | no_license | vujkovicm/mvp | df6aec06a3c4ecc4664772f83b6ea5509dfcd93c | 33d563f2d47e890a3d3b3a335091bef1ff603e0e | refs/heads/master | 2021-01-19T17:58:59.774768 | 2020-01-21T21:17:54 | 2020-01-21T21:17:54 | 101,102,160 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,164 | r | impManhattan.R | rm(list=ls())
args = (commandArgs(TRUE))
info = read.table(paste0("/group/research/mvp001/snakemake/info/imputed.", args[4], ".info"), T, stringsAsFactors = F)
info$SNP = paste0("chr", info$SNP)
info = unlist(info)
##=============================
### data handling
###=============================
source('/group/rese... |
e7e52dfdd7cb6b767c65f8ba6d21bb0c464d11f5 | 27ce885b2fade2fb60e13c55e900d84423f78cf3 | /man/GetModelJob.Rd | 68e85c6d94c73abe923bcfa3af71f435a4b106ba | [] | no_license | bgreenwell/datarobot | 93d1a0bce65c733db47e23121d46dc5cab74dd3a | ff21e1efbb261fe80d1671a01e5913b5e5f10bf6 | refs/heads/master | 2020-04-22T23:02:15.962619 | 2019-02-12T08:55:40 | 2019-02-12T08:55:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,715 | rd | GetModelJob.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ListModelJobs.R
\name{GetModelJob}
\alias{GetModelJob}
\title{Request information about a single model job}
\usage{
GetModelJob(project, modelJobId)
}
\arguments{
\item{project}{character. Either (1) a character string giving the unique alpha... |
0edd722c55e898c09954456d11b9fcfc6d106234 | 046a8712f15b3fb39d8da5c2b81b77119a10eb99 | /R/amtrak_analysis_lightweight.R | 5e7891952aa357b8d1e05081580e0e2117f29aef | [] | no_license | michaelgaunt404/amtrack_extack | d081595c0b5ad648322a83075589ff7268fc83d7 | e005f9863966704e6961cebc2e7e18e68ea0bc1d | refs/heads/master | 2021-04-24T11:20:59.725885 | 2020-05-05T19:37:19 | 2020-05-05T19:37:19 | 250,110,678 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 51,628 | r | amtrak_analysis_lightweight.R | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# This script performs the Amtrak merge verification analysis
#
# By: mike gaunt, michael.gaunt@wsp.com
#
# README: script is inteded to be lightweight
#---... |
8215af290b930bcc78591505fdeec85bfe435f17 | 4014719bdbff8b7771ee42a6dae89a4e7b97167f | /preprocessing_test_2.R | ca2609c1ae9270ff8d3c2aa34dc4ad209250fb5c | [] | no_license | macjankowski/pub_lda | 1d7decf690429241c97847faec6554abf73c3b32 | c718a1bdbd1ab647271ac75f6d85aecc5c8b644d | refs/heads/master | 2021-01-21T14:29:00.859831 | 2019-04-29T10:05:41 | 2019-04-29T10:05:41 | 95,290,947 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 811 | r | preprocessing_test_2.R |
setwd('C:/doc/s/sem2/chudy/repo/pub_lda')
source('./preprocessing_2.R')
source('./dimRed.R')
source('./classification.R')
tree_number <- 500
topic_number <- 30
filePath = 'C:/doc/s/sem2/chudy/repo/pub_lda/politiciants data.csv'
tweetsAll <- cleanData(filePath)
tweetsAllLabelsNumeric <- labelsToNumeric(tweetsAll)
... |
c2319021627654f6a8ecb22e3bafc7e2db485ee8 | cdbc1057868bef1b44b28e9a30d0fcbf86d98bbf | /ASCAT_AUS_MPI.R | 4e234a557ae95d064a291201b53eaeff99249b1a | [] | no_license | xwang234/ovarian | 4f57ecfe16dc1f0a06afa72b1d5be5ed29ad3198 | b23bdd340230b3d0145bd3e4b432397c4c1512ba | refs/heads/master | 2021-07-08T17:14:48.542354 | 2017-10-05T21:09:22 | 2017-10-05T21:09:22 | 105,941,140 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,770 | r | ASCAT_AUS_MPI.R | #!/usr/bin/env Rscript
#salloc -t 0-8 -n 82 mpirun -n 1 R --interactive
library(data.table)
library(ASCAT)
setwd("/fh/fast/dai_j/CancerGenomics/Ovarian_Cancer/result/tmp/")
#test the real homoLimit
ascat.predictGermlineGenotypes1=function (ASCATobj, platform = "AffySNP6")
{
Homozygous = matrix(nrow = dim(ASCAT... |
c9722a702ad4690d5f7a8bdf1f1ed7d4ab14b6a9 | 7bc0759b1a3f1a8a4c48e02f1c5e393a13e94eff | /R/import_data.R | fb046df953911ff6e63775ca00bc1ed3431c9457 | [] | no_license | kvittingseerup/IsoformSwitchAnalyzeR | b7e4a249572b3d487ffcdea62a409e800ac23fe3 | 5f471360da38101777d37d9eb91a99c3ac81eda4 | refs/heads/master | 2023-07-21T19:52:53.966098 | 2023-06-30T11:04:50 | 2023-06-30T11:04:50 | 88,636,530 | 66 | 20 | null | 2023-01-31T12:23:30 | 2017-04-18T14:46:47 | R | UTF-8 | R | false | false | 233,024 | r | import_data.R | ### Acutal import functions
importCufflinksFiles <- function(
### Core arguments
pathToGTF,
pathToGeneDEanalysis,
pathToIsoformDEanalysis,
pathToGeneFPKMtracking,
pathToIsoformFPKMtracking,
pathToIsoformReadGroupTracking,
pathToSplicingAnalysis = NULL,
pathToReadGroups,
pathToRun... |
a0c908c9c48fb585f8476ffd877da47277a843e1 | 00cc47dde2afd5a66293af0b8b07f380f993d2af | /Backup/rProject/rprojectSPLb/Charts/rprojectSPL_tidyquantChart02.R | 1f93439cc7463b30dcd1fcf364c85404412218ab | [
"MIT"
] | permissive | UTexas80/gitSPL | 277ea78a08559115b15ff3e9046e1b0e18938280 | 212fe631d8162dabf4593768f7ff6aacc0457026 | refs/heads/master | 2021-01-25T09:04:31.709072 | 2019-04-30T14:35:47 | 2019-04-30T14:35:47 | 93,775,621 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,497 | r | rprojectSPL_tidyquantChart02.R | Load libraries
library(tidyquant)
SPL <- tq_get("SPL.AX")
#'
#' # SMA
SPL %>%
ggplot(aes(x = date, y = adjusted)) +
geom_line() + # Plot stock price
geom_ma(ma_fun = SMA, n = 50) + # Plot 50-day SMA
geom_ma(ma_fun = SMA, n = 200, color = "red") + # Plot 200-day SMA
... |
51a02fe37c0b6ee6c35efffa2b26d26686dd0950 | 56b32941415e9abe063d6e52754b665bf95c8d6a | /R-Portable/App/R-Portable/library/igraph/tests/test-make.R | 19f08a2a7f7bd18a5beca8cdd729445699485e6a | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-newlib-historical",
"GPL-2.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"MIT"
] | permissive | voltek62/seo-viz-install | 37ed82a014fc36e192d9a5e5aed7bd45327c8ff3 | e7c63f4e2e4acebc1556912887ecd6a12b4458a0 | refs/heads/master | 2020-05-23T08:59:32.933837 | 2017-03-12T22:00:01 | 2017-03-12T22:00:01 | 84,758,190 | 1 | 0 | MIT | 2019-10-13T20:51:49 | 2017-03-12T21:20:14 | C++ | UTF-8 | R | false | false | 1,692 | r | test-make.R |
context("Make API")
test_that("make_ works, order of arguments does not matter", {
g0 <- make_undirected_graph(1:10)
g1 <- make_(undirected_graph(1:10))
g2 <- make_(undirected_graph(), 1:10)
g3 <- make_(1:10, undirected_graph())
expect_true(identical_graphs(g0, g1))
expect_true(identical_graphs(g0, g2))... |
81dc92f8cf5e9856d6b050057d631453bc962f18 | b98ece6254219513180cc730f7e26f7f9a277124 | /plot1.R | 064234c324277f6aedfe2fed9f879b607530b502 | [] | no_license | OlgaRusyaeva/ExData_Plotting1 | 543fdf16bba72a3cac2d60170f56325b362a3e63 | 0c0988359a8be37155b5c0142b09eb3a9a26f6c5 | refs/heads/master | 2021-01-14T10:23:38.695401 | 2015-06-07T14:41:30 | 2015-06-07T14:41:30 | 35,160,355 | 0 | 0 | null | 2015-05-06T13:33:03 | 2015-05-06T13:33:03 | null | UTF-8 | R | false | false | 439 | r | plot1.R | #read data from a file with the dates 2007-02-01 and 2007-02-02
library(sqldf)
fileName <- "household_power_consumption.txt"
df <- read.csv.sql(fileName, sql='select * from file where Date="1/2/2007" OR Date="2/2/2007"',sep=";",header=T)
closeAllConnections()
#create histogram of Global Active Power in red
png("plot1.p... |
c7c441e2a6e812dacec8008225f108199f05de65 | 0c023ee284603ab89bc221b90dd4531d9463ec9d | /man/ctabs.Rd | 867436932c02d831e60f72a73d1ddc576826adcf | [] | no_license | cran/libcoin | 8e81c745d853b842e557a6f9a16cb1a0aba556bd | 26c093c92b0697e5853d58e953e9f654f90ae272 | refs/heads/master | 2021-10-12T18:22:55.621417 | 2021-09-27T08:50:07 | 2021-09-27T08:50:07 | 76,068,198 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 964 | rd | ctabs.Rd |
\name{ctabs}
\alias{ctabs}
\title{
Cross Tabulation
}
\description{
Efficient weighted cross tabulation of two factors and a block
}
\usage{
ctabs(ix, iy = integer(0), block = integer(0), weights = integer(0),
subset = integer(0), checkNAs = TRUE)
}
\arguments{
\item{ix}{a integer of positive values with z... |
1e5760ab704e6922eaa5d98a0822832662419dd5 | 2896f7f598ae89d712ae44db97fd7cd87c134880 | /man/randomSampler.Rd | 126d0c0fa7971eea28459758815d29e6ce23a155 | [] | no_license | cryptomanic/markovchain | ff1ba25b1415a5be79af1e8e3d3fa156031be8db | be07d293674f568c20b14189bdb3af447320b040 | refs/heads/master | 2020-02-26T13:48:51.546847 | 2016-03-23T06:03:33 | 2016-03-23T06:03:33 | 54,324,461 | 0 | 0 | null | 2016-03-20T15:16:14 | 2016-03-20T15:16:14 | null | UTF-8 | R | false | false | 1,869 | rd | randomSampler.Rd | \name{rmarkovchain}
\alias{rmarkovchain}
\alias{markovchainSequence}
\title{
Function to generate a sequence of states from homogeneous or non-homogeneous Markov chains.
}
\description{
Provided any \code{markovchain} or \code{markovchainList} objects, it returns a sequence of
states coming from the underlying station... |
0194f30299d757a22dc1b3881f6bf1c6639f2821 | f373158a5273638d145bedf9d58301239c79e025 | /mle.R | a4361ea8fa91d7b8cd18f66068a99473e257f214 | [] | no_license | him-28/prob_dist_analysis | 259e5b684548cf3932a654421e5ddf3ddc4938a1 | 50094bff97db09fb01a5d3731e2a1e9b2798b74c | refs/heads/master | 2021-01-11T01:15:01.538322 | 2016-08-25T04:36:48 | 2016-08-25T04:36:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 811 | r | mle.R | # MLE function creation from http://www.r-bloggers.com/fitting-a-model-by-maximum-likelihood/
mu_mle = matrix(, c, p)
sig_mle = matrix(, c, p)
t_mle = matrix(, c, p)
for (i in 1 : p) {
for (j in 1 : c) {
row1 = (j-1)*n + 1
row2 = j*n
x = data[row1 : row2, i]
LogLikelihood <- functio... |
98085dd74ef97deadd5c92ce6bebec2ec5ea3747 | 02b5125f6b2f94430176c1de91d4e65aef7e9ff5 | /binomial/man/bin_mode.Rd | f6cffd22df9432254cb93db0d8b6925ef823bc47 | [] | no_license | stat133-sp19/hw-stat133-sp8268 | 1a3c4586e621becaa3547a06e334609cb9536947 | 9a6d68542ff0452bf4c222ac11cc06a3f1614de8 | refs/heads/master | 2020-04-28T06:17:40.574375 | 2019-05-02T06:07:14 | 2019-05-02T06:07:14 | 175,051,636 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 429 | rd | bin_mode.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/measures.R
\name{bin_mode}
\alias{bin_mode}
\title{Binomial Mode}
\usage{
bin_mode(trials, prob)
}
\arguments{
\item{trials}{number of trials}
\item{prob}{probability of success}
}
\value{
variance
}
\description{
Returns mode of binom dist ... |
9750e732c60e34b3fde9d2c34d4931238f03cf07 | a845065b2b31e2fde530ad5eb192780340c5f481 | /man/ex11.03.Rd | af751f0fd4864c685b4a1519009f890ff550b3f3 | [] | no_license | cran/Devore7 | 319c8a7bd4daca50ba1b7f7acdd53e40957a55bb | 9592edf605e0a7927bdce1e0081796b183b1b5ad | refs/heads/master | 2021-01-13T16:10:38.867717 | 2014-03-25T00:00:00 | 2014-03-25T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,079 | rd | ex11.03.Rd | \name{ex11.03}
\alias{ex11.03}
\docType{data}
\title{R Data set: ex11.03}
\description{
The \code{ex11.03} data frame has 17 rows and 3 columns.
}
\usage{data(ex11.03)}
\format{
A data frame with 17 observations on the following 3 variables.
\describe{
\item{\code{C1}}{a factor with levels \code{200} \code{226}... |
8abb399d215076be6558c8293f77a33820394773 | c53e367a5a155cfb1ee3a41e8b0351aeaa8d331d | /urca/Rcmdr/Rcmdr-urca.R | c99f80a6fcf04a57930d4a5e01f5788e551b2e99 | [
"MIT"
] | permissive | solgenomics/R_libs | bcf34e00bf2edef54894f6295c4f38f1e480b3fc | e8cdf30fd5f32babf39c76a01df5f5544062224e | refs/heads/master | 2023-07-08T10:06:04.304775 | 2022-05-09T15:41:26 | 2022-05-09T15:41:26 | 186,859,606 | 0 | 2 | MIT | 2023-03-07T08:59:16 | 2019-05-15T15:57:13 | C++ | UTF-8 | R | false | false | 32,149 | r | Rcmdr-urca.R | library(urca)
#
# ADF-test
#
urcadf <- function(){
if (!checkActiveDataSet()) return()
if (!checkNumeric(n=1)) return()
initializeDialog(title="ADF Test")
xBox <- variableListBox(top, Numeric(), title="Variable (pick one)")
onOK <- function(){
x <- getSelection(xBox)
var <- paste(.activeDat... |
472ddef489de643b7915d3727f4cc3dc4e13485f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/plaqr/examples/predictInt.Rd.R | 9acfc4244525e8a1c77cbda7b5bbe8109ee232c3 | [] | 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 | 216 | r | predictInt.Rd.R | library(plaqr)
### Name: predictInt
### Title: Prediction Inteval for Quantile Regression
### Aliases: predictInt
### ** Examples
data(simData)
fit <- plaqr(y~.,~z1+z2,data=simData)
predictInt(fit, level=.95)
|
26fcdd2c26bb4765da001d9660e7e8d34b9c7ad0 | 03fb214812a36c4408fd59107b333f144f4de1f8 | /R/data.R | ac83354113772613729473375cc6ad1efe0eea40 | [] | no_license | braverock/quantstrat | e8a911fac4fd73d1dc6623706a3bcbec72c81d69 | 3e660300b322bb63dcb7659a26304fe4e8d4a693 | refs/heads/master | 2023-02-07T16:28:50.251525 | 2023-02-04T20:29:30 | 2023-02-04T20:29:30 | 58,736,659 | 282 | 132 | null | 2022-06-25T02:20:08 | 2016-05-13T12:07:31 | R | UTF-8 | R | false | false | 840 | r | data.R | #' AAPL time series of daily OHLCVA bars
#'
#' A dataset containing the daily OHLCVA values of AAPL from 2017-01-03 to
#' 2018-12-28. The code to reproduce the dataset from yahoo is:
#'
#' getSymbols(symbol,from=start_date, to = end_date, auto.assign = T, index.class = "POSIXct", src = 'yahoo')
#' for(i in symbols) as... |
8bb31430e1776b53eb1059c4b0c881b9fe7ed235 | 767958fe7b80b709e4a5e19fb4113c55e20d985a | /03.Report.R | a5d429e6e00719bbdb5ff16f667a2c24644ef4da | [] | no_license | aashoaibi/mw | 1a7a514b55cf2b81c1f286ef196f378bda94acbd | cca58ff200693fac14b1bb18f16ce8110446331f | refs/heads/master | 2022-02-21T03:44:19.985777 | 2017-02-24T20:19:42 | 2017-02-24T20:19:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,965 | r | 03.Report.R | #!/usr/local/bin/Rscript
################################################################################
### Format files given as arguments and report results from simulation
##
## Created on: 2015-04-09
## Author: Kazuki Yoshida
################################################################################
### ... |
3798910eff9abb339b259ef2c49171e715dcc922 | 977e25b030bc27e923f52b08305a6dec2cfd02fd | /finance_basics_with_r/intro_r_finance/1_basics/financial_returns.R | 2f6571592fec94e07c0e41eab3fd4bf1abc79450 | [] | no_license | printfCRLF/rr | d4cd813fafef7d64da2722ade9e14220c12e17ff | 4116f726f5ad7a8cadbe6841d13abbdb998ee294 | refs/heads/master | 2021-04-15T15:08:37.032087 | 2019-07-12T08:29:26 | 2019-07-12T08:29:26 | 126,468,211 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,001 | r | financial_returns.R | financial_returns1 <- function() {
# Variables for starting_cash and 5% return during January
starting_cash <- 200
jan_ret <- 5
jan_mult <- 1 + (jan_ret / 100)
# How much money do you have at the end of January?
post_jan_cash <- starting_cash * jan_mult
# Print post_jan_cash
print(post... |
9f26872b6fbc0f10afb2801ff64ed66c8b697674 | efb8047b788654dd44c39c4e30008fd85022d390 | /man/read.gantt.Rd | e667095b46a707bce2b80d2b4fd8630548258a13 | [] | no_license | marodtam/plan | 1f318115bbe17c7ad33959ef4ddc5d5faba27743 | 44998e22a7ec0af0aa6e2b89c0d32d4b89f9e55f | refs/heads/master | 2021-01-19T03:59:12.872536 | 2013-09-30T16:15:35 | 2013-09-30T16:15:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,161 | rd | read.gantt.Rd | \name{read.gantt}
\alias{read.gantt}
\title{Read a gantt data file}
\description{Read a data file containing gantt information.}
\usage{read.gantt(file, debug=FALSE)}
\arguments{
\item{file}{a connection or a character string giving the name of the
file to load.}
\item{debug}{boolean, set to \code{TRUE} to... |
f713307b57798b2ef184fc29274717079b4b3e11 | cfb136e71d40639b8907373a27f52b634b502dae | /RNPN_download.R | ecfa3b2d3d76151c77c6afa501a057a3a227df89 | [] | no_license | mcrimmins/FallPhenology | 26910db5724748de8bd90f7908a5d623b1d9fa19 | a1b5bdde4484f108dc201be27d535fc727d306d6 | refs/heads/master | 2022-10-22T21:30:40.594144 | 2020-06-10T20:53:55 | 2020-06-10T20:53:55 | 270,773,879 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,994 | r | RNPN_download.R | # NPN Fall Modeling
# R NPN package download
# MAC 05/29/20
# rnpn package
library(jsonlite)
library(RCurl)
library(reshape2)
library(tidyr)
library(dplyr)
library(geosphere)
library(data.table)
#library(DaymetR)
library(birk) # convert units
library(rnpn)
library(geosphere)
#spp<-npn_species()
# download data
data... |
f35740ea5c36c39368bb350303e1472a73dc6407 | eb25159c0a063807e2bb0d190bc18f3edaa8a385 | /1_R_functions/LiDARsim.R | 760c87738598bc27349b30030d41c2539016c91c | [] | no_license | florianhartig/ReForse | 2d13fb9fbb460b6d6df2fa44bb502caf41c79c2c | 9827a7f627cea7d7a2acd5d3dace390b9fa30f31 | refs/heads/master | 2020-03-16T19:17:07.397386 | 2017-11-06T16:27:03 | 2017-11-06T16:27:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 204 | r | LiDARsim.R | #' @title LiDARsim - simulating trees
#' @name LiDARsim
#' @docType package
#' @description XXX
#' @details See index / vignette for details
#' @examples
#' vignette("LiDARsim", package="LiDARsim")
NULL
|
03eadb33a194a42045f682edfacef54567911e15 | 3b272f273999702fbf5393df6b3bd9cbc6f761d0 | /tests/testthat.R | 3f114ce9a05956dc0d8b6198e3dd6c0b7ee914aa | [
"MIT"
] | permissive | cran/KHQ | ffdae2c24707f08483506036f932910051f0bedf | 61b65514b471c7668c89adf43e7e8e69457c4001 | refs/heads/master | 2023-06-28T18:27:28.130994 | 2021-08-06T08:40:02 | 2021-08-06T08:40:02 | 387,839,436 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 54 | r | testthat.R | library(testthat)
library(KHQ)
test_check("KHQ")
|
438a84353e1ac97b7c654fa532b1abf1e12802dd | ca3fa26a219a1695dc8d30f447325148a2f9c6f5 | /R/getPropertyUrlsMioAffitto.R | d3acc54c7862cbc509ccc800c5c152aeaeeed9d6 | [] | no_license | joshbrowning2358/romeHousePrices | fc0c2cca2bdd66c02c655e01ec1fbcf61ba98322 | e3568316c7d515605f8d72255c825b4569f7ae61 | refs/heads/master | 2023-02-18T15:47:17.485520 | 2015-12-14T05:59:16 | 2015-12-14T05:59:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,573 | r | getPropertyUrlsMioAffitto.R | ##' Get Property urls for Mio Affitto
##'
##' This function gets the urls for each of the detailed, property listing
##' pages.
##'
##' @param numPages The number of pages which should be loaded (and 15 urls are
##' generally scraped per page). If numPages is more than the number of pages
##' available (likely... |
1990d19f5a6e4f383723a8ce64ec33ddb2da5da9 | d2e914bcc4d4c6aa4b8d99c072ff62ef95719ac9 | /R/integrateFuture.R | 876908619587084df8d7769cf428cb2f05a5d9c3 | [] | no_license | kristenkieta/northAreaDrought | be1516a9d029e3c84db7cfa6cc6583a7dd1709d8 | 172c87675e2e43b749d1e6cefdd746f26d2755e3 | refs/heads/master | 2023-03-19T07:37:37.659412 | 2020-01-06T18:58:03 | 2020-01-06T18:58:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,241 | r | integrateFuture.R | # Integrate future data into current dataset for North
library(forestDroughtTool)
library(tidyverse)
# Load current asmr North data
load(here::here("dat","asmrNorth.rda"))
load(here::here("dat","climData_cleaned.rda"))
stnName="DOME CREEK"
bgcName="ICHvk2"
stnData<- asmrNorth$current$stnYears
clim<-
climData_cle... |
7229263ca95c78d3310b32592b4b2cd856abe03c | 7159e87cbe1ab2bcd84771922f3c291fd9cae317 | /2018_04_17_sparklyr.R | c2124a06df15a9814cb377a9422d54e1df695348 | [] | no_license | Sta323-Sp18/exercises | 0a5cdb5a2b7e983a52df829681d28437614d5a57 | 0940a70a7995ee0c7b054a86eb55ad9d18bd73e9 | refs/heads/master | 2021-05-11T15:15:49.545840 | 2018-04-19T18:52:51 | 2018-04-19T18:52:51 | 117,723,329 | 0 | 1 | null | 2018-02-23T15:04:50 | 2018-01-16T18:24:08 | R | UTF-8 | R | false | false | 3,974 | r | 2018_04_17_sparklyr.R | library(sparklyr)
library(dplyr)
library(dbplyr)
library(stringr)
library(ggplot2)
#spark_install()
#spark_available_versions()
sc = spark_connect(master = "local[4]", spark_home = "/data/spark/spark-2.2.1-bin-hadoop2.7/")
# Using readr
#system.time({green = readr::read_csv("/data/nyc-taxi-data/nyc_taxi_2017/green_t... |
0d9295986ad7d54fd6c6e913b6ab1a3dfb0cd084 | bdb9326615b0ca06a9cbbde60bfef7999f4e58ae | /choosing_quadrat_pts.R | 0337415c575deeaa0a4c4731eca83b57fd9f319b | [] | no_license | abigailgolden/quadrats | 8c4605342bc904cb3c14a4f7d6b845ac9a564f63 | f9997ce23d0fc2d8f2c92ad5da086b18e3cc2a31 | refs/heads/master | 2020-07-27T14:16:07.771761 | 2019-09-20T22:52:00 | 2019-09-20T22:52:00 | 209,120,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,240 | r | choosing_quadrat_pts.R | # FOR CHOOSING POINTS
getwd()
setwd("C:/Users/jensen/Desktop/mongolia/2019 interdisciplinary")
verts1=read.csv("LC1_Hay2_points_real.csv")
verts <- verts1 %>% select("lat", "lon")
#convert to x,y grid coordinates
lat_min=min(verts$lat)
lon_min=min(verts$lon)
Y_vec=(verts$lat-lat_min)*60
X_vec=(verts$lon-lon_min... |
7ad0e715578ba887bd5b3b320ec161bc3881c3bd | 815c362cb3c3796403bf3f8ad11c22772abbb85c | /Rcode/ACTG315.R | 6a2453e9f4ed7d392561f76a3c740b73531c6f37 | [] | no_license | ygwang2018/DataSets-Longitudinal | 9cfd50e40caa67aaec7b4e3995e53eee6d051724 | 9065ba39adf3ac8d398ca82bd342e31813bbd3a6 | refs/heads/master | 2020-05-25T19:22:15.765794 | 2019-05-23T03:05:36 | 2019-05-23T03:05:36 | 187,950,214 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,912 | r | ACTG315.R | require(nlme)
######################### Beginning of Splus Code ########################
# Input Data: assume that the data at the end is stored in an ASCII file
# named "data".
workd<-read.table(file="ACTG315-Ding.dat",header=T,row.names=NULL)
# The measurements before treatment initiation are not used in the a... |
e5632fcd3d9d8987f18b69be806705010da6490c | e74bd112294ec916364fe29b0484bab716274af5 | /.Rprofile | 2b7818cc7fa201ef7b5774947e978f99906203ac | [] | no_license | liao961120/collabin | 49d410815313e39519b2a7911a8579126823e5d9 | 64fb78a8b5dfd6608547ff09b5a7911074ad5279 | refs/heads/master | 2021-09-24T05:11:32.567050 | 2021-09-16T07:40:25 | 2021-09-16T07:40:25 | 166,556,192 | 4 | 6 | null | 2020-06-05T05:04:00 | 2019-01-19T14:35:11 | HTML | UTF-8 | R | false | false | 67 | rprofile | .Rprofile | options(
blogdown.ext = ".Rmd",
blogdown.new_bundle = TRUE
)
|
24a49ff75e5ec9c62155bcb1f27f87f0638bccf1 | 488aa11a1a9a819f958f111d0b07313c171251db | /old_code/old/makeUnique.R | 0fe4ac0db34b7aadf2d1b3c6c9312bc8cb9111ef | [] | no_license | dat-nguyen/DataAnalysis_ML-SF | 6807b999fb94a1011a726e4b21b68f4288d7bf11 | b61048f3b0603a8eba16be9ac636f4e685bec738 | refs/heads/master | 2021-01-10T12:49:27.596029 | 2016-02-24T14:00:03 | 2016-02-24T14:00:03 | 52,097,375 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,270 | r | makeUnique.R | #source("lib/lib.data.R")
#
concatName <- function(path, desc, method, trainset, state) {
if (desc == "credo")
return (paste(path, "JMJD2A_", trainset, "_", desc, "_", state, "_c12_RoF_RC_", method,".csv", sep=""))
else
return (paste(path, "JMJD2A_", trainset, "_", desc, "_", state, "_c12b12_RoF_RC_", me... |
93d62feb6467c2048b65f250f1f384c21e22797b | c418c599316af9658a21e111cd3259335dd019c7 | /res/ADC-CLC.r | 167b5c99c9523a9c992e4394bcb56f676429a37a | [] | no_license | LucasRodolfo/MC861 | 534f0705544e70bd367a9324b5524363e516ee7d | dda343d2685f412e7db562a86d3cb8cabf8c17f9 | refs/heads/master | 2022-12-21T06:48:40.125911 | 2019-11-22T23:34:23 | 2019-11-22T23:34:23 | 201,146,981 | 0 | 0 | null | 2022-12-10T01:27:04 | 2019-08-08T00:20:48 | TypeScript | UTF-8 | R | false | false | 616 | r | ADC-CLC.r | | pc = 0xc001 | a = 0xc0 | x = 0x00 | y = 0x00 | sp = 0x00fd | p[NV-BDIZC] = 10110100 |
| pc = 0xc003 | a = 0x84 | x = 0x00 | y = 0x00 | sp = 0x00fd | p[NV-BDIZC] = 10110101 |
| pc = 0xc005 | a = 0x00 | x = 0x00 | y = 0x00 | sp = 0x00fd | p[NV-BDIZC] = 00110111 |
| pc = 0xc007 | a = 0x00 | x = 0x00 | y = 0x00 | sp = 0x... |
b56dad1a7bb40a39f1550adf184de78d87225a5f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PlackettLuce/examples/choices.Rd.R | 41072c0513593a6e188b7005385a436e430c8134 | [] | 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 | 558 | r | choices.Rd.R | library(PlackettLuce)
### Name: choices
### Title: Choices Object
### Aliases: choices
### ** Examples
R <- matrix(c(1, 2, 0, 0,
4, 1, 2, 3,
2, 1, 1, 1,
1, 2, 3, 0,
2, 1, 1, 0,
1, 0, 3, 2), nrow = 6, byrow = TRUE)
colnames(R) <- c("apple", "banan... |
581c883b74676e8758e51d3c1fcef7d5f761475f | ee6e4d67425b493fe9f67fce795ee058a26cfadd | /Problem 3.R | 9267f97340fa23d61e3c832ccf465ff466334b61 | [] | no_license | wkfunk/project-euler | d282513c0544a9428f711a9ba22e7867ce091591 | 8f9399bf5fe3d0522b25932fa51e9e65d793f798 | refs/heads/master | 2021-01-25T10:06:35.702630 | 2011-12-01T23:25:29 | 2011-12-01T23:25:29 | 2,884,658 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 576 | r | Problem 3.R | ##############################Problem 3:##############################
# Find the largest prime factor of a composite number.
# What is the largest prime factor of the number 600851475143 ?
findPrimeFactors <- function(num) {
primeFac <- c()
while (num>1){
if (num%%2 ==0) {
primeFac <- append(primeFac, 2)... |
565849c8cfc76262f1b1f291ce0b027886f3f91a | 622436e52cf1ffb105b2f9af141cabc22ac51246 | /P7/P7T.R | cc11de3a0961e90afe292ae8c28212d8ae3e80fc | [] | no_license | EdePB/Simulacion | 6f25d97a0f3039f3a8c502fb5a13ec1b9db77206 | 1846530bbf16a99052a0400c7d799deb77bf1c5b | refs/heads/master | 2020-12-24T07:04:04.794711 | 2017-12-12T08:36:40 | 2017-12-12T08:36:40 | 99,721,801 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,961 | r | P7T.R | f <- function(x, y) {
return(((x + 0.5)^4 - 30 * x^2 - 20 * x + (y + 0.5)^4 - 30 * y^2 - 20 * y)/100)
}
low <- -2
high <- 2
step <- 0.25
replicas <- 100
best<-c()
t=35
WA<-0.0666822
po<-function (){
datos=data.frame()
resultados=data.frame()
currx <- runif(1, low, high)
curry <- runif(1, low,... |
149bb54c5933f70393ea421ff1e0891c3409f6cf | 2f8eadc3086c263afdf2784e229f7e80a7dcf49e | /RMark/man/summary.mark.Rd | c45f9e1798ed15f6222592007308b8ee2f8b51b6 | [] | no_license | wchallenger/RMark | 3edb66cbc924fbc37feaa53d22d99e8ac83ee47a | 636a3a7a6c5ab5292c3a249a1b41dab580dda8ba | refs/heads/master | 2021-01-17T22:35:11.482847 | 2012-01-27T17:16:51 | 2012-01-27T17:16:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,203 | rd | summary.mark.Rd | \name{summary.mark}
\alias{coef.mark}
\alias{print.summary.mark}
\alias{summary.mark}
\title{Summary of MARK model parameters and results}
\usage{
\method{summary}{mark}(object,...,se=FALSE,vc=FALSE,showall=TRUE,show.fixed=FALSE,brief=FALSE)
\method{coef}{mark}(object,...)
\method{print}{summary.mark}... |
d32f8d2c26818dcedf5a524369c8682b2460eab7 | f6392b2ae66c3fc295335fd3d88ddb5711f1c294 | /src/3-do/API/mrnaXmethylation/API_mrnaXmethylation.R | 29b176f052bede28a3a0e0c95555723b07fddd7c | [] | no_license | Leo-1992/multiomics | 8c19d2ef9b8c3f9afa9971dd6e38dc28dc27120a | 949c6e9cedf4a2526a74fa2db02646631b6a3205 | refs/heads/master | 2020-06-13T16:46:50.110842 | 2018-10-07T18:26:23 | 2018-10-07T18:26:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,597 | r | API_mrnaXmethylation.R | #The methylation cgXXX is in methylation files of TCGA.
#We have also a file which correlates cgXXX with gene. Take into account that a cgXXX can do methilation over multiple genes and that a gene can be methylazed by multiple cgXXX.
#For doing it, we read a gen from the mrnaFile, then we look in the "methylationPlatfo... |
3a18110ccb9766e117a5060eef63ae50126c40c9 | bbd1dc1b9d3dd750d1501aedf11ef865b794c09c | /scripts/Java/greedy_algorithm_package/01_generate.R | 3f224ac1dd4f4cf1ee66791220f5340312b07f74 | [
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | WansonChoi/GenomicGPS | 5ad17a973b61c6ce05087cb1cd090987bbe74986 | 0e6f213d65ffbbecfa03cd5db920d94667649227 | refs/heads/master | 2020-07-02T00:32:27.382810 | 2019-07-30T04:11:03 | 2019-07-30T04:11:03 | 201,361,362 | 1 | 0 | MIT | 2019-08-09T00:58:35 | 2019-08-09T00:58:34 | null | UTF-8 | R | false | false | 662 | r | 01_generate.R | #!/usr/bin/env Rscript
minMAF=0.3
nsnp=1000
nref=30
args = commandArgs(trailingOnly=TRUE)
pref = args[1]
ref=matrix(NA, nrow=nref, ncol=nsnp)
sam=matrix(NA, 1, nsnp)
af=runif(nsnp, min=minMAF, max=1-minMAF)
for (j in 1:nsnp) {
ref[,j]=rbinom(nref,2,af[j])
sam[,j]=rbinom(1,2,af[j])
}
dv=sapply(1:nref, functi... |
6b6e9adc8a4c603a88d4629a37b06d031b1a19af | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/udpipe/vignettes/udpipe-train.R | 8352df4fb6354087d77eb69b290e706b0bb25934 | [] | 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 | 13,124 | r | udpipe-train.R | ## ----setup, include=FALSE, cache=FALSE----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------... |
28d36d219d1b2fca149f3a502eeeb18703fc9b09 | fe254ef6be0bd316d41b6796ef28f1c9e1d5551e | /R/impCoda.R | 6c643771e1677ad977d77ee938d46e8ae11b758b | [] | no_license | matthias-da/robCompositions | 89b26d1242b5370d78ceb5b99f3792f0b406289f | a8da6576a50b5bac4446310d7b0e7c109307ddd8 | refs/heads/master | 2023-09-02T15:49:40.315508 | 2023-08-23T12:54:36 | 2023-08-23T12:54:36 | 14,552,562 | 8 | 6 | null | 2019-12-12T15:20:57 | 2013-11-20T09:44:25 | C++ | UTF-8 | R | false | false | 12,464 | r | impCoda.R | #' Imputation of missing values in compositional data
#'
#' This function offers different methods for the imputation of missing values
#' in compositional data. Missing values are initialized with proper values.
#' Then iterative algorithms try to find better estimations for the former
#' missing values.
#'
#' eps: ... |
87762d08cbdfa440cfd80b1d1495be92ca8db7e2 | cab285249f5e5e1fbd40897c522870ff97031a7b | /man/relativeBowlingERODTT.Rd | 8f0f11da56f28f9efc86fac43740771c5f4b4058 | [] | no_license | dharmang/cricketr | 61bd5a107fb143d471f36e256132b6f10092891a | 4e09953d4f9d427771ce928bf8b815398a83206c | refs/heads/master | 2020-05-26T09:22:51.262187 | 2019-03-08T01:24:46 | 2019-03-08T01:24:46 | 188,184,725 | 1 | 0 | null | 2019-05-23T07:36:12 | 2019-05-23T07:36:11 | null | UTF-8 | R | false | false | 1,898 | rd | relativeBowlingERODTT.Rd | \name{relativeBowlingERODTT}
\alias{relativeBowlingERODTT}
\title{
Compute and plot the relative mean Economy Rate(ER) of the bowlers for ODI or Twenty20
}
\description{
This function computes and plots the relative Economy Rate of the bowlers for ODI or Twenty20
}
\usage{
relativeBowlingERODTT(frames, names)
}
%- mayb... |
0399e65bf5a5c55554bc92435ed3e470e87145dc | 730ec6f7b8046c842ee4b7d35bdace9cfd75f202 | /man/collapseNoMismatch.Rd | 8dbb7580b3541099cf3ced8b6341a3f341785848 | [] | no_license | cmsmoo/dada2 | e0a4d8a4eef1727bc0bfaf155a57a2c30a812111 | 0c99d4e6cf6d71c8733cd46fa31ada5df683fa3d | refs/heads/master | 2021-01-22T16:13:42.488161 | 2016-02-23T01:42:05 | 2016-02-23T01:42:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,964 | rd | collapseNoMismatch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multiSample.R
\name{collapseNoMismatch}
\alias{collapseNoMismatch}
\title{Collapse together sequences that are identical up to shifts and/or length.}
\usage{
collapseNoMismatch(seqtab, minOverlap = 20, verbose = FALSE)
}
\arguments{
\item{seq... |
902dd7ca619c25228c755cf81517137629f03b68 | 9ffe93784d7f093b30151fb6053a6bec6184fde3 | /reprex.R | 5b1f69b608ed96bbf6db812a0814402b65063f26 | [] | no_license | restrellado/ca_school_distances | 0847ceb5b2b9527523749fce9c01a56354771d82 | b9a99b0eacd9b0f1c1b5699c7ed0c62b16fc9ea6 | refs/heads/master | 2020-03-21T13:30:47.628073 | 2018-06-29T20:47:30 | 2018-06-29T20:47:30 | 138,609,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 648 | r | reprex.R | library(reprex)
#------------------------------------------------------------------------------
reprex({
library(tidyverse)
library(geosphere)
# School location data
schools <- tibble(
school = c("Roosevelt", "Lincoln", "Washington"),
long = c(-117.1873, -117.1821, -117.1454),
lat = c(32.6964... |
5d06df13defa3d31284ce2c397ea83e681b911ff | 3f94521e8fd715b749d50b3a8dac7cace1844eda | /Part 4 - Clustering/Section 25 - Hierarchical Clustering/hc - ADONIS.R | 72fd79735a9b7c9892c1e727ecfbd4ae00d1f976 | [] | no_license | adonisDias/Machine-Learning-Basic---A-Z | 70eead9217a1ff951ca6af4bcb1a15b6a2cc4e5e | 7a92aeb4fc85c68a3f061d2273de63f669746092 | refs/heads/master | 2020-06-03T04:00:23.623177 | 2020-04-16T20:55:59 | 2020-04-16T20:55:59 | 191,430,074 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,420 | r | hc - ADONIS.R | # Hierarchical Clustering
# Importing the mall dataset
dataset = read.csv('Mall_Customers.csv')
X = dataset[4:5]
# Using the dendrogram to find the optimal number of clusters
dendrogram = hclust(dist(X, method = 'euclidean'), method = 'ward.D') # primeiro parâmetro "d" é a distance matrix of the dataset X, que é uma... |
b51976b17c7c3b4ff07ab39329468e1c17960850 | 0fbfb9298e862d65bd4e076c9cc06198763b1a84 | /Figure 1 Step1_part2_UPenn.R | a86ecfa91cbd38b851f085cb56f1ac8be0e59ddf | [
"MIT"
] | permissive | kozlama/Sayed-Kodama-Fan-et-al-2021 | 18dd7475523515cd9baf164d27d301da3bcef280 | 332532c147f826760c9fb24cb2b2cf969aef5e20 | refs/heads/main | 2023-07-19T15:47:07.310109 | 2021-09-09T21:32:52 | 2021-09-09T21:32:52 | 404,477,614 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 117,629 | r | Figure 1 Step1_part2_UPenn.R | ###############################################################################################
# Pre-processing for data used to generate Figure 1 from Sayed, Kodama, Fan, et al. 2021
# Total of 55 human AD R47H vs CV samples and non-AD samples
# This script is: STEP 1 of 5 (PART 2 of 2) - 21 human AD R47H vs CV samp... |
4807e873126711ebe328636936028407a7dbdadf | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sampSurf/examples/gridCellEnhance.Rd.R | efa523b949d22f6f2f7ccbe0cea94b24f5ace9d3 | [] | 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 | 517 | r | gridCellEnhance.Rd.R | library(sampSurf)
### Name: gridCellEnhance
### Title: Add Grid Lines and Centers in Package "sampSurf"
### Aliases: gridCellEnhance
### Keywords: ~kwd1 ~kwd2
### ** Examples
#
# apply it after plotting a sampling surface...
#
tr = Tract(c(x=50,y=50), cellSize=0.5)
btr = bufferedTract(10, tr)
ssSA = sampSurf(2, btr... |
cf68f2a73b8ca68acd8dcbd657da0698cf4aea17 | 6c6637636c4856ae9fa0e2f87596f6920e5e3f1f | /R/get_site_coordinates.R | 3db726f7f634c9fd281bf8852926187cb9a4265d | [] | no_license | LimnoTech/SWMPrExtension | 177e8f7e34f4909a56b40e56320c3bbe8a610754 | bfc36ce765dbc7d8ed7a6d39675dd61f3dda3f33 | refs/heads/master | 2020-03-21T23:17:46.758854 | 2018-06-27T18:21:01 | 2018-06-27T18:21:01 | 94,801,603 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,392 | r | get_site_coordinates.R | #' Identify NERRS sampling locations from metadata
#'
#' Identify the latitude/longitude for sampling stations based on the metadata in the data file
#'
#' @param data.file location of data
#' @param active logical. Only return active stations?
#'
#' @importFrom dplyr group_by summarise
#' @importFrom magrittr "%>%"
#'... |
20941d80ad2e6f61de75bc9e864bf9c25ca02442 | 26cdd50a58304f4290ab1180b5b835b868f67f39 | /man/feor93_08_crosswalk.Rd | b3e033af710b1e72810b1601a837641fa5151149 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | svraka/statoszt | 148b7612b212de27dc0b9030f87cd546e8944ec3 | aab2a0ae24e24bb98c7034d2896315aed11e82d4 | refs/heads/master | 2021-07-10T06:44:35.171332 | 2020-10-13T17:03:44 | 2020-10-13T17:03:44 | 202,533,643 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 405 | rd | feor93_08_crosswalk.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{feor93_08_crosswalk}
\alias{feor93_08_crosswalk}
\title{FEOR-93 to FEOR-08 crosswalk}
\format{
An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 817 rows and 2 columns.
}
\usage{
f... |
2e916245b6175733e0da77960f219c30fefd05fb | ba13db93987c2b676e31def1c810cf2ffd53e59b | /plot2.R | 862dc3bee458ec8ec8874d5b3f880b9852c78239 | [] | no_license | n-pandey/ExData_Plotting1 | 16a1154c20d8cb809f7d16a35506b62ac95041f0 | 2caab394e06bece30552d1fbbef7cdedeb99f19a | refs/heads/master | 2021-05-04T15:57:21.213792 | 2018-02-05T02:18:33 | 2018-02-05T02:18:33 | 120,241,015 | 0 | 0 | null | 2018-02-05T01:41:40 | 2018-02-05T01:41:40 | null | UTF-8 | R | false | false | 257 | r | plot2.R |
# Plot Graph 2
with(CleanData, plot(x = Date_Time, y = Global_active_power, type = "l",ylab = "Global Active Power (kilowatts)",xlab = NA))
# Copy to png file
dev.copy(png, "plot2.png", bg = "transparent", width = 480, height = 480 )
dev.off() |
c3da7310aee4bdd66aad531b0bc44c5d952d1e51 | 732999ea64c95d1a1b539def6bd8564c1129bb52 | /app.R | a5051ec17827f8981de2ca93bfa98ea703ec90b9 | [
"CC-BY-4.0"
] | permissive | nikolajthams/COVID-19 | 489737a854c860e98bed201d04811af75ff8f6f5 | 4fa1bbe9f1c509c07ade8cb6259660213ad94723 | refs/heads/master | 2021-07-12T01:53:20.230646 | 2021-05-31T09:05:19 | 2021-05-31T09:05:19 | 246,864,729 | 1 | 0 | null | 2020-03-12T15:10:07 | 2020-03-12T15:10:06 | null | UTF-8 | R | false | false | 32,503 | r | app.R | library(shiny)
library(reshape2)
library(ggplot2)
library(shiny)
library(tidyverse)
library(scales)
library(shinydashboard)
library(DT)
library(knitr)
library(plotly)
library(magrittr)
library(tidyselect)
library(shinyhelper)
library(lubridate)
theme_set(theme_minimal())
# Define data paths -------------------------... |
ca392b8a1b2a15cc482a53b0ef10c2659a93a989 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ggguitar/examples/notes_for_frets.Rd.R | 053de54d71a33065705475698b9f3aa15613cb11 | [] | 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 | 496 | r | notes_for_frets.Rd.R | library(ggguitar)
### Name: notes_for_frets
### Title: This function is similar to 'chord_for_frets' but also handles
### scales. Unlike chords_for_frets, this function removes NAs. This
### means there are no muted strings identified if a chord is passed in
### the frets argument.
### Aliases: notes_for_frets
... |
f8d3dc2fac230ed401db2aee5a46554b0c797cff | ad7840c706ee1a0df54a4203fabe51d85cf42f51 | /Functions/xGChainTeamFunction.R | 16304b480845e6b640b420ed540d58ec4e17111f | [] | no_license | davidp6/ASAShootingApp | 18269810f27e11aa955a826c5553f8059bf87e35 | ce75dd6ff159dedb761c422ebbd04187e1e26c4a | refs/heads/master | 2022-10-04T05:14:24.871203 | 2020-06-09T05:18:51 | 2020-06-09T05:18:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,387 | r | xGChainTeamFunction.R | # Summarize team chain data across games and seasons
library(dplyr)
teamchaindata.game <- readRDS("AppData/TeamxGChainData.rds")
teamchains.func <- function(teamchaindata = teamchaindata.game,
date1 = as.Date('2000-01-01'),
date2 = as.Date('9999-12-31'),
... |
0e21b16b06c74595eb542c6c4463cd19c366f109 | d717103c595efda13336bc9349a3f32f0d36122e | /inst/doc/Rraven.R | 274658a41a8f13436f28825e2df6625a2ff418a2 | [] | no_license | cran/Rraven | 297d0997a35c10210c93183b20a8744a7d0bee49 | db48cc8a1d826274c61774ffeaacf5f1d034b7d1 | refs/heads/master | 2023-04-06T05:10:46.136693 | 2021-04-21T05:10:06 | 2021-04-21T05:10:06 | 111,541,108 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,407 | r | Rraven.R | ## ---- echo = FALSE, message = FALSE-----------------------------------------------------------------------------------------------------------------
# remove all objects
rm(list = ls())
# unload all non-based packages
out <- sapply(paste('package:', names(sessionInfo()$otherPkgs), sep = ""), function(x) try(detach(... |
d46585f512850c0a5dfacc80decc3863c4054350 | c7cb5f38754c00cb28c172a2a8a33b552f03c7dc | /generateMAR_maxPat_study2_p2_ts.R | 0129d07ce611a8959e6003038d6fe79c4222f01f | [] | no_license | cathyxijuan/missing-data-project-2 | 92fd9ee60c85f94016d17059f848614f3a911a0f | 9875e076469e49f80e82450a1b2d081473863264 | refs/heads/master | 2021-08-17T07:02:49.980457 | 2021-01-01T07:08:55 | 2021-01-01T07:08:55 | 237,735,428 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,938 | r | generateMAR_maxPat_study2_p2_ts.R | library(lavaan)
setwd("/Volumes/SP PHD U3/missing-data-project-2")
source("functions.R")
source("Models_WM.R") # done
#strong dependency
#Usage: FOR THIS RESEARCH ONLY. There need to be 12 Variables.
# Creating missing data on x11 and x12. Strong dependence:missing of x11 depends on x7; missing of x12 dep... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.