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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fb5d4aa8ec543c6016bb5cdad53a28f83d2298a5 | a2c432551444129daffeb20a9cdac645ed343deb | /R/app_ui.R | 586d87ffa454940a845172b49be858e14f71573f | [
"MIT"
] | permissive | ScottSobel/EDA | 036e41b27653654bc5cc5249474d1269f7ddbaa9 | 9989f5fa3a9df07aefd2b50b09900bac413c7e7a | refs/heads/master | 2023-02-22T05:22:50.528139 | 2021-01-23T01:12:34 | 2021-01-23T01:12:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,261 | r | app_ui.R | #' App UI
#'
#' @return tagList for app's UI
#' @export
#' @importFrom shiny tagList
#' @importFrom shinydashboardPlus dashboardPagePlus
app_ui <- function() {
shiny::tagList(
# adding external resources
add_external_resources(),
# shinydashboardPagePlus with right_sidebar
shinydashboardPlus::dashb... |
3357483307006738de38b647256c8a96f402150b | f2e968433a4091d4479cca636a465534edfdf829 | /RScripts/KNearestNeighbour.R | bfe4201569d6a982f0c9ec896454f3a96e05438d | [] | no_license | ChandanBP/MachineLearning | be614ec1e9959abb59b0f823c93ce39bb312f873 | a27995de832a8a6ae5ceb11e602c37b5f00c637a | refs/heads/master | 2020-05-29T18:50:08.887709 | 2016-09-07T16:14:14 | 2016-09-07T16:14:14 | 47,040,143 | 1 | 1 | null | 2016-03-04T00:36:28 | 2015-11-28T21:29:28 | Java | UTF-8 | R | false | false | 789 | r | KNearestNeighbour.R | library(class)
args <- commandArgs(TRUE)
fileContents <- read.csv(file = args[1],header = TRUE, sep = ",")
randomNumber <- runif(10,0.1,0.9)
totalAccuracy = 0
for(i in 1:10){
val <- floor(randomNumber[i]*nrow(fileContents))
index<-sample(nrow(fileContents),size=val)
trainingData<-fileContents[index,]
testData<-f... |
dca7fe946a4bbe372fb2d509d2160249d78627ef | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /splithalf/man/splithalf.Rd | 55b69b090387e71d34d936f1fc4ef47d6b160ca6 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 2,883 | rd | splithalf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/splithalf.R
\name{splithalf}
\alias{splithalf}
\title{Internal consistency of task measures via a permutation split-half reliability approach}
\usage{
splithalf(
data,
outcome = "RT",
score = "difference",
conditionlist = FALSE,
hal... |
289212e37610e6e55cbae5a6fe25e571e977a2e6 | 7a71d8d557a253fae611ffb44eda9ede3780b1a7 | /shiny_inverse/server.R | ffbd0f131695048e0c667ab460507f0fb4ba6836 | [] | no_license | lromang/shiny_apps | b67e0bca9d9e1e304f5e2a35ee53ff0e6681f9f5 | 2447aa66f7708ce26606ffa895ae1df714e8eb5e | refs/heads/master | 2020-05-26T18:23:03.286378 | 2015-08-24T17:28:03 | 2015-08-24T17:28:03 | 41,316,685 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,680 | r | server.R | library(shiny)
library(ggplot2)
shinyServer(function(input, output) {
output$exp_hist <- renderPlot({
exp <- data.frame(value = rexp(n = input$sim, rate = input$lam),
label = rep("exp", input$sim))
sim <- data.frame(value = -l... |
a32b2992bc28a39ad71b21e64a78b93ed829c177 | 8ec8b44a804a9b0580e352bba3f8a5d1736169ed | /CCC_automation_script.R | d542e8b3a6052188cbd69729c0fab02d899fb6dd | [] | no_license | jenitivecase/CCC_automation | e2f3dd641a3ebc36fc0840e83b1345dadf607137 | b3e9f1456b4d35b21cd9626b5f52360d2cf5d2a2 | refs/heads/master | 2021-07-15T21:00:32.548692 | 2017-10-20T17:11:59 | 2017-10-20T17:11:59 | 107,448,570 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,907 | r | CCC_automation_script.R | source("K:/AscendKC/Corp/R_and_D/1-USERS/Jennifer Brussow/options.R")
needed_packages <- c("XLConnect", "excel.link")
sapply(needed_packages, load_packages)
#steps for creation
### 1. Pull all datasets from Report Manager individually using school ID (ex. 14)
# and date range (7/1 – 6/30)
#going to read in s... |
284c36f5061cf6fe066c84ee896d914622070692 | 16de1ce5ff1c870ca724fa18c6bee09105386531 | /R/machinery.r | 9ba2eb2e8ff953e28162c18fc245581e4b467e49 | [
"MIT"
] | permissive | cran/crayon | bfd4889ba3bea7bfd2f97b2d32311f4cf3377026 | 54fadb66830d0a926224a4bbe6f216e4229ff201 | refs/heads/master | 2022-10-31T22:08:31.506968 | 2022-09-29T15:20:24 | 2022-09-29T15:20:24 | 24,388,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,325 | r | machinery.r |
## ----------------------------------------------------------------------
crayon_template <- function(...) {
my_styles <- attr(sys.function(), "_styles")
text <- mypaste(...)
nc <- num_ansi_colors()
if (nc > 1) {
for (st in rev(my_styles)) {
if (!is.null(st$palette)) st <- get_palette_color(st, nc)
... |
9e06113f59139cb75f4e29b811d76457d4f519b1 | 56587ef8f52bfeb5a610e40ba6bf0a0a66daf1d1 | /man/stable_mle_fit.Rd | 4c738f892206b989b285ca07ffdbc2fef8659652 | [] | no_license | cran/stabreg | d7e1fb39c19f7d3578ec292ef090d91c6217bb5d | 3b5eec750b6fa9426921f8f5728e7685b678e891 | refs/heads/master | 2020-12-22T19:07:08.652322 | 2019-06-06T13:20:03 | 2019-06-06T13:20:03 | 236,902,021 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 427 | rd | stable_mle_fit.Rd |
\name{stable_mle_fit}
\alias{stable_mle_fit}
\title{Fit a stable distribution to a sample using maximum likelihood}
\usage{
stable_mle_fit(x, init_vals, trace)
}
\arguments{
\item{x}{sample vector}
\item{init_vals}{initial guess for parameters. Defaults to NULL in which case these are set to defaults}
\ite... |
e436445b3a043b83a89baaa5bf8d9427ccd8bcac | f4adbfce7b1679f8a21cb0a96831e347550bf1a6 | /man/letour.Rd | 482e64223de88b1b73a421d1cd14b103f28782a9 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | smnnlt/sportsdata | 22a00e4fc3aad6a4ee4a6dad8b3ab2be49393491 | 9846b0308f001aecc7acb3032a064bffeda7c67e | refs/heads/master | 2023-07-28T02:33:44.038811 | 2021-09-16T21:12:57 | 2021-09-16T21:12:57 | 391,653,597 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 732 | rd | letour.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{letour}
\alias{letour}
\title{All riders of the Tour de France}
\format{
A data frame with 9452 rows and 8 variables:
\describe{
\item{year}{year of holding}
\item{name}{name of the rider}
\item{rank}{final positio... |
f2382b101f2f71472570783663305b20975031c4 | b5c8b2c86015d336be972deeccb902edfa2e21a8 | /learn_shiny.R | 47837c4b7912361f0f64974e465fad721a34cdab | [
"MIT"
] | permissive | pstessel/medicare | d1b4fcf5da9cb3dc999f885205717800067501e6 | 3618764c5e960632766ed855aa0704e17caf7a13 | refs/heads/master | 2021-01-10T02:57:42.890094 | 2015-07-01T19:29:09 | 2015-07-01T19:29:09 | 37,549,045 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 316 | r | learn_shiny.R | setwd("/Volumes/HD2/Users/pstessel/Documents/Git_Repos/medicare")
library(shiny)
counties <- readRDS("census-app/data/counties.rds")
head(counties)
library(maps)
library(mapproj)
source("census-app/helpers.R")
counties <- readRDS("census-app/data/counties.rds")
percent_map(counties$white, "darkgreen", "% white")
|
1612ce1ed01386e7682ea565ad4e673b574cb286 | d1a2e883603f49df6d071f536a565276410fab44 | /app-data.R | 6ef2eb67df53de617f238142734db946e81e23f3 | [] | no_license | nicholasviau/r-notes | 802ff1680bfeb227ded0f366f0159bebcf2cee43 | 78fae3daca5a9519a315c5e3af90a2b3576225d6 | refs/heads/master | 2022-11-20T12:55:40.291600 | 2020-07-20T21:01:54 | 2020-07-20T21:01:54 | 281,221,832 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 922 | r | app-data.R | ## Make Data for the Book
library(tidyverse)
library(gutenbergr)
wuthering_heights <- gutenberg_download(768, meta_fields = "title")
wuthering_heights <- wuthering_heights %>%
slice(7:11) %>%
mutate(id = paste0("0", 1:5)) %>%
select(id, text)
wuthering_heights %>%
pwalk(
~write_file(x = .y, path = paste... |
cd59b34c065e1ca67d2f8ac90bf240e07fcfb5b0 | d27df9c1aa48d2019afe8ddb15b8ea8d1af31770 | /R/logistic_fun.R | 0feb3c516fa8f5218e1123d968e1383e3e3204e9 | [] | no_license | MangoTheCat/mangoTraining | 67d274faa9296c28631ca93891edcd82ec321e43 | 1a40f2e6a997768103fc03cb23a239ef529cdaaf | refs/heads/master | 2022-03-17T16:27:55.419039 | 2021-04-27T09:48:44 | 2021-04-27T09:48:44 | 45,688,569 | 9 | 7 | null | 2020-05-18T08:48:02 | 2015-11-06T15:04:39 | R | UTF-8 | R | false | false | 810 | r | logistic_fun.R | #' Function to fit logistic model
#'
#' Simple logistic function as used in Mango training materials. Note: This function has be renamed using tidyverse-style snake_case
#' naming conventions. However the original name of the function has been kept to ensure backwards compatibility with the book SAMS
#' Teach Yourself... |
ce9033410bea0cac4b7fef34f33c74b5f5b4eea9 | 4c728658dcdf38c23429974b773e161d6c3370e8 | /Modules/ui.R | 0840c37a3f6bb815f911f8cbfc095c519fda6d75 | [] | no_license | FelipheStival/RegressaoLinear | bda81288c71308c82aa655360951aa3e8e421e04 | 8b2b0138a76c41394a104d8214dcc77d2b667c73 | refs/heads/master | 2022-12-13T11:51:11.356021 | 2020-09-09T19:59:45 | 2020-09-09T19:59:45 | 268,523,334 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 469 | r | ui.R |
ui = fluidPage(
#================Criando pagina=========================
titlePanel(NOME_APLICACAO),
withMathJax(),
#================inputs interface=======================
sidebarLayout(
createInputsUI(),
#=======================================================
... |
5b972b86d788d35a8cc56f4af24faa0a9c1ef05d | b950792250db982d82a114cbe071128c522ba7e7 | /C05_preparation_df5_878067.R | 873db9f96be76b2d767b952ab801b32de4c57a4a | [] | no_license | SilviaRanieri/Digital-marketing | 67d2c9bdeb2d810f7fd3cc84464de7109ad3ec3b | 5241baf37ce790324031021d347e3eac93529205 | refs/heads/main | 2023-08-14T12:30:03.848295 | 2021-09-30T12:40:22 | 2021-09-30T12:40:22 | 412,053,884 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 777 | r | C05_preparation_df5_878067.R | ## Dataset 5
# df5: Categorization of the marketing email communications
# Variables are:
#- `ID_CAMP`: identify the email campaign (**Key**);
#- `TYP_CAMP`: identify the type email campaign.
#- `CHANNEL_CAMP`: channel of campaign submission.
#### FIRST LOOK of df_5 ####
str(df_5_camp_cat)
summary(df_5_camp_ca... |
fb6a881a35e8bc20a8c6f8e02d8486b210be7965 | d8b49ccd3f3b41532f9092973a3f7e835f4eb166 | /Assignment1.R | c5fae50a65bf78a280ae73290e5565f795d538cf | [] | no_license | b-thi/STAT-852 | 31bb56e9c1a4bb9c3d35177b0b1883c9d3d8bdeb | 52ed492192e37d113771798f2110c3b1f105562f | refs/heads/master | 2022-03-14T14:10:16.837232 | 2019-11-23T21:53:35 | 2019-11-23T21:53:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,318 | r | Assignment1.R | ################################################################################
# #
# #
# Assignment 1 - Barinder Thind - STAT 852 ... |
9f87f7db719a1cd897745b276342153f07f52e06 | dbc2af76893a0b669f2d9a032980c2111bfbc4d5 | /man/deriv_phi.Rd | c16dc2d28fb9e9bfa569a4d16c16f5eeafadd67f | [
"MIT"
] | permissive | thomasblanchet/gpinter | e974de36c0efd4c8070fb9b8cc0311bb10c356df | 0ce91dd088f2e066c7021b297f0ec3cecade2072 | refs/heads/master | 2022-11-28T11:18:10.537146 | 2022-11-22T16:22:40 | 2022-11-22T16:22:40 | 72,655,645 | 19 | 5 | null | 2017-04-19T08:25:44 | 2016-11-02T15:51:21 | R | UTF-8 | R | false | true | 702 | rd | deriv_phi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distribution-functions.R
\name{deriv_phi}
\alias{deriv_phi}
\title{Derivative of the interpolation function from generalized Pareto
interpolation}
\usage{
deriv_phi(dist, x, ...)
}
\arguments{
\item{dist}{A \code{gpinter_dist_orig} object, as... |
9acfa8834a8b6df05193f05c21cfd110721a4857 | 9c6d817b0ae4527ab2b14e30ff1a5cb75895e014 | /man/plotMedianPhaseLag.Rd | b8bd822b02f8c4afa25decc9045ec1be8554b004 | [
"MIT"
] | permissive | mc30/wasp | 7d11a47b9ba79e8d8c643f017e49ea3c4d71b53b | 9cbf95b409c9d38859ce822e0d7e0e00d7854f18 | refs/heads/master | 2022-12-15T03:42:56.659903 | 2020-09-12T17:15:49 | 2020-09-12T17:15:49 | 106,267,620 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 672 | rd | plotMedianPhaseLag.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/phase.R
\name{plotMedianPhaseLag}
\alias{plotMedianPhaseLag}
\title{Plot median phase lags averaged over time}
\usage{
plotMedianPhaseLag(slideMat, perc = 0.95, ylim = c(-pi, pi),
ylab = "Median phase lag from other locations", xlab = "", .... |
ee8dfafb945c96d18285998687fc933429693e10 | ccd0bdbd9df4e2fe0ad17f650d0fadb23f0ffdf5 | /ShinyApps/Shiny_Modules/Curiosity_feature_exploration/bivariate_num_num/server.R | 52498c413256cf094c2ca18025853848573cbc35 | [] | no_license | dzhwoo/R-Scripts | ada196ac20c27d9042ed56ded1b8ee3e6510fd8a | 4c512609b0db8a4a62930f8baadeeb8d639ff5fc | refs/heads/master | 2021-01-23T06:44:50.678766 | 2015-07-10T18:48:40 | 2015-07-10T18:48:40 | 38,253,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,072 | r | server.R | library(shiny)
# Define server logic required to draw a histogram
shinyServer(function(input, output) {
# Expression that generates a histogram. The expression is
# wrapped in a call to renderPlot to indicate that:
#
# 1) It is "reactive" and therefore should re-execute automatically
# when inputs ch... |
4a959f3ce1aafb129d063d7745c0f21cc3bf1a89 | 07621e6cbd78a4faebae40d206d986a256f3041b | /Train_RFmodel.R | 5e45643e2a462b7fee7031e595831d3bff80ccab | [
"MIT"
] | permissive | attilagk/MosaicForecast | 37d039bf9ce20c2bfab59d4c6c211fa4b1ad1770 | 5cb8af1fe31a96d1bf67f4f27d58aa798a07d868 | refs/heads/master | 2020-07-07T22:08:19.355692 | 2020-01-10T20:42:19 | 2020-01-10T20:42:19 | 203,488,745 | 0 | 0 | MIT | 2019-08-21T02:16:58 | 2019-08-21T02:16:58 | null | UTF-8 | R | false | false | 6,597 | r | Train_RFmodel.R | #!/usr/bin/env Rscript
.libPaths( c( .libPaths(), "/n/data1/hms/dbmi/park/yanmei/tools/R_packages/") )
args = commandArgs(trailingOnly=TRUE)
if (length(args)!=4) {
stop("Rscript Train_RFmodel.R trainset prediction_model type_model(Phase|Refine) type_variant(SNP|INS|DEL)
Note:
The \"Phase\" model indicates the RF m... |
19f72a339a194a72ae2af3e4e565a70f820b1656 | a116eb289277d5a2f86f87f89f580deb6686130a | /R/IO-methods.R | 50540434194776387982670f3df37d0180f9c67f | [] | no_license | zachcp/MibigDomainData | 770c01a02145b1854eee1e7fe541206a5382ec86 | 3263e4657a0cd8614416d4e2f2026985ac0fb2ba | refs/heads/master | 2020-04-17T23:14:37.287750 | 2016-08-28T23:02:19 | 2016-08-28T23:02:19 | 66,304,693 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,937 | r | IO-methods.R | #' Load Blast Tabular Outputl Files.
#'
#' Loading blast data into R and returning a \code{\link{[data.table] data.table}} and
#' creating an index on the indexcolumns
#' keys on the QueryI and SubjectID
#'
#' @param blastfile. Required. Path location of a blastfile.
#' @param indexcols. Optional. List of columnvalues ... |
0e474d135e50646c427ef6ea072aadb8777a339f | 4a2bff98ad5d6ad7ce3be718aba4137ee294a7e6 | /ClassificarBigSmall.R | 4c7153e3e24c06cfaaf5a91dc96a070dcc5f7007 | [] | no_license | pmeno/TG_2 | 33162ea92d968e5561091c072c7df3567435fec5 | b476d9b164915cfb156e863077604528f7a9a41d | refs/heads/main | 2023-06-11T21:04:22.298308 | 2021-07-09T22:07:28 | 2021-07-09T22:07:28 | 356,704,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 166 | r | ClassificarBigSmall.R | ClassificarBigSmall <- function(dados = data.table())
{
dados <- dados[, S_B := ifelse(valorDeMercado >= median(valorDeMercado), 'B', 'S'), by = year]
dados
} |
40d9ec48dd6f098867a6b0937e97b43d11e402ef | 807b8cf8c5d0062836b815bee8d2b7585aa8c20f | /man/dbData.Rd | 8267c407a8bef304328ec139f0d69065add9d164 | [] | no_license | heike/dbData | 0da89e56e62f8199a3626e630a7d51dfb593c5bb | 19fb752aacc6563e9d0d01254d81fbc6c146130c | refs/heads/master | 2020-12-24T18:03:41.536904 | 2014-10-19T04:38:10 | 2014-10-19T04:38:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,237 | rd | dbData.Rd | \name{dbData}
\alias{dbData}
\title{Function to get sufficient statistics of variables from an SQL database}
\usage{
dbData(data, vars = list(), binwidth = -1, where = "")
}
\arguments{
\item{data}{dataDB object}
\item{vars}{list of variable names}
\item{binwidth}{vector of bin sizes for each variable. -1
f... |
3ff53d51211d59e4e33d3487784c023a04306f40 | 291dc3a874304b9fb1d88713f23dc6bc8bb3c3a2 | /R/topo_correct.R | d6de9ccb756470bbcb51db8556e51fd689d49297 | [] | no_license | atkinsjeff/endoR | e4bdd392ae086ec7c8b3367d1310a1533a12f282 | 0b9c6df8c1ee688de926a0749edeefcbba125bba | refs/heads/master | 2021-01-14T23:48:32.123681 | 2020-02-24T17:44:36 | 2020-02-24T17:44:36 | 242,801,972 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,227 | r | topo_correct.R | #' Calculate rugosity and other higher level complexity metrics
#'
#' \code{center_pts} calculates the effective number of layers in a canopy.
#'
#'
#' @param df a data frame of VAI for x, z bins from
#'
#' @keywords enl
#' @return the effective number of layers
#' @export
#' @examples
#' # Calculates the effective num... |
eaca6fa013f38b3333dd801f79b038778c686b09 | 1ea23f3dfb7617a0f4fcb995f453932a68d7619d | /R/mwlsr.R | 08f6ea843e69216087a6f0bba69c75644abc3fdf | [] | no_license | PfaffLab/mwlsr | d4e418ba824b264c8dd7a97ab33a8a746e452430 | 05db35454d75cb26edb69e3f5470b191c3be01f4 | refs/heads/master | 2020-03-17T16:21:57.095988 | 2018-06-04T23:04:47 | 2018-06-04T23:04:47 | 133,745,714 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33,767 | r | mwlsr.R | #' mwlsr
#'
#' Multiple Weighted Least Squares Regression (mwlsr). Used to fit gaussian
#' glm against multiple responses simultaneously.
#'
#' @param data Input response matrix with responses in columns
#' @param design Design matrix. See \link{model.matrix}
#' @param weights Weights matrix
#' @param scale.w... |
93824d8ef51806d960d48270a373ca8d9e4ec26b | a56d8e3fda8c1f94e96ae34a84a660856df9af75 | /src/fun_findCommonSubjects.R | 710ea818d6a270173e7c75bae39d9c9ea9a9180a | [] | no_license | lchonghua/statistical_analysis | 701a53a95b002c501d41e78fd746ce9f0c2c4c1d | 6617c3215dd4a9a92bfc5c9b5c0e11bcbbd6385b | refs/heads/master | 2020-12-02T21:00:20.431030 | 2017-07-04T18:20:55 | 2017-07-04T18:20:55 | 96,243,269 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 658 | r | fun_findCommonSubjects.R | # this function returns the common subjects from the path lists generated in getFilePaths
# inputs are the results from getFilePaths
# for example: input1 - cd_pp_files; input2 - nd_pp_files; input3 - cd_stm_files
# return: a list of subject IDs that can be found in all three input lists
findCommonSubjects = function(p... |
9bc741359f1333c8373632a5825dbacd24edec84 | c521ef367302aebb5636c23f5b33fd6c300d8193 | /ECG/BigData2_P2_3_HR_100-master/HR110_chulma/HR112_chulma_fileMerge_bk.R | 7dbfb6185fed64d634ab3cf558cbba624ec3e1ad | [] | no_license | swjo207/r-practice | d2ee7cc579dcaac5da9e2026d2afa478ca791cfe | a3477c7d61960a86175209dd73030cff18fa2c8e | refs/heads/master | 2021-01-10T21:14:11.157477 | 2015-08-03T08:47:59 | 2015-08-03T08:47:59 | 38,350,375 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 975 | r | HR112_chulma_fileMerge_bk.R | ## 2011
filenames <- list.files(path = "./chulma/busan/2011")
setwd("./chulma/busan/2011")
fileMerge <- do.call("rbind", lapply(filenames, read.csv, fileEncoding="CP949"))
write.csv(fileMerge, "../../chulma_busan_2011.txt")
setwd("../../../")
## 2012
filenames <- list.files(path = "./chulma/busan/2012")
setwd("./chulm... |
6c3043a0332c22abb15b1963fcbf7a69efb50ed4 | 0e9ccd33792d2199788ab197bfaa52273c89ae37 | /man/print.Rd | c719fdc826de52deb4cffd26253274cdc3f3ba61 | [] | no_license | jaredhuling/bigFastlm | 83e6dcef58d90afd12843db469b568c673ce9d33 | cdf0f099454733e0336f72564c1efd8d6e98ef74 | refs/heads/master | 2021-01-19T10:36:33.839448 | 2017-07-14T15:09:38 | 2017-07-14T15:09:38 | 60,560,799 | 13 | 0 | null | null | null | null | UTF-8 | R | false | true | 436 | rd | print.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fast_big_lm.R
\name{print.bigLm}
\alias{print.bigLm}
\alias{print.summary.bigLm}
\title{print method for bigLm objects}
\usage{
\method{print}{bigLm}(x, ...)
\method{print}{summary.bigLm}(x, ...)
}
\arguments{
\item{x}{a "summary.bigLm" obje... |
40447b84b41534231fe13c834b1d2c15563ab64e | 95e4719f4a30797093131bed398f47424112314c | /plot2.R | dae4aeb8c2ccc1727be5923eb89ad1cc8c7ac90e | [] | no_license | andreakreif/ExData_Plotting1 | fb12539f76028f982d14083faa1eb3bf25d38ba0 | 1069a8985075bf623460c98555dfafc33b93346e | refs/heads/master | 2021-01-18T07:19:52.159131 | 2015-11-08T01:27:52 | 2015-11-08T01:27:52 | 31,631,509 | 0 | 0 | null | 2015-03-04T01:34:03 | 2015-03-04T01:34:03 | null | UTF-8 | R | false | false | 698 | r | plot2.R | ## Plot2.R
## Andrea Reif 11/7/2015
## Exploratory Data Analysis - Course Project 1
##Read in data assuming file is in current directory
fname <- "household_power_consumption.txt"
dat <- read.csv(file=fname, na.strings="?", header=TRUE, sep=";",colClasses=c('character','character','numeric','numeric','numeric','numer... |
93988f56b0b99e27f34414c473805a7d5bd7d570 | 6f924da7cf09dd3fe38502fee0641b981faf4a81 | /man/get_single_stock.Rd | 6d1e99ddec80a5642da4de095a7a3fb8d9a72389 | [] | no_license | muiPomeranian/private_Rpackage | 1ce3e3c814df14a56625b894b5d3b5d989a7188a | 07150ba8a2de331978c89a5cf61459017666b816 | refs/heads/master | 2022-01-24T01:34:36.665504 | 2019-05-16T20:57:04 | 2019-05-16T20:57:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 639 | rd | get_single_stock.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_single_stock.R
\name{get_single_stock}
\alias{get_single_stock}
\title{get the single stock from source(only closing price information)}
\usage{
get_single_stock(start, end, ticker_name, source_name)
}
\value{
closestockprice
}
\descripti... |
19729dd59c71fd72bbb832a0a26bc66035683e65 | de787dcdd023016489eb211030c97126027baa6b | /Modules/centralesRiesgoServer.R | d646427c5af721054b86f7c3b3fb71264b1ccfc7 | [] | no_license | juanvf-dann/centralesRiesgoK2 | 63b4d8aa0001b7a0c26a2172bd0b46c92c2cb873 | 2d114b14844e34d08eaf9818ef2c6e87d81f0b73 | refs/heads/master | 2023-03-26T09:22:57.867287 | 2021-03-26T16:55:51 | 2021-03-26T16:55:51 | 351,853,298 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,160 | r | centralesRiesgoServer.R | # MODULE UI ----
LHSchoices <- c("X1", "X2", "X3", "X4")
#------------------------------------------------------------------------------#
# MODULE SERVER ----
# MODULE SERVER ----
variablesServer <- function(input, output, session){
ns = session$ns
output$variable <- renderUI({
selectInput(
inputId... |
17332fb26126c33c7f96421390cc9e64d386902f | 3d24b0a5e379b8a5a7bde1bba3780f2ee354de8e | /ui.R | 6369200aa6343081d64abd26e1adfa4fa0c60298 | [
"MIT"
] | permissive | rivas-lab/gbe-power-app | 702fdf73a9e379a3c77b33ea461a41f07880ae0e | 3fb68d82a2d536523094c7fbf27256c9d20b0698 | refs/heads/master | 2021-03-27T11:58:34.611238 | 2018-03-24T04:49:10 | 2018-03-24T04:49:10 | 97,519,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,154 | r | ui.R | library(shiny)
library(shinythemes)
genes = as.character(read.table("data/shiny_genes.tsv",
header=FALSE)$V1)
shinyUI(
bootstrapPage(
tabPanel("PTV Power",
sidebarLayout(
sidebarPanel(
selectInput("gene", "Gene", choices=genes, selectize=TRUE, selected="PCSK9"),
... |
606a5b9fc57f99f89f04a2b22d9a92a710f69dac | 1230124bdac62ce04a7f62d43adca3452881edb1 | /examples/whole_blood/genrerate_cor_medecom_and_refernce_datasets.R | 4fcf94731b0235bc27519f4f243855b348d1036c | [] | no_license | lutsik/DecompPipeline | 732639b94cf5766f28489ee759a79cbd7a3c7789 | e38e3311391d8afc4fe035cfdf71760e5390e001 | refs/heads/master | 2020-09-16T00:22:46.675862 | 2019-10-11T13:57:26 | 2019-10-11T13:57:26 | 89,242,755 | 1 | 1 | null | 2019-04-10T14:58:46 | 2017-04-24T13:22:28 | R | UTF-8 | R | false | false | 1,325 | r | genrerate_cor_medecom_and_refernce_datasets.R | suppressPackageStartupMessages(library(RnBeads))
library(MeDeCom)
library(pheatmap)
########## working directory /sctrach/divanshu/Correlation
filteredrnb.set <- readRDS("./filteredrnb.set.rds")
md.res <- readRDS("./medecomoutk_5_15.rds")
a <- md.res@outputs[[1]]
Tmed <- a$T
meth.data <- meth(filteredrnb.set,row.name... |
e72091bbcf6cff5ed55b45c099db7e66af9b6d36 | 94104c24f6a879ec7135aae2d27c86270ed329ed | /Plot2.R | ae7fd59f639d07e93f8e2504d00cd029c5f1acec | [] | no_license | u04cv12/ExData_Plotting1 | 77d9f3c6d82ea7584d2adb541e78ec79a5a76712 | 767b8cb37b41b15f9203a456a1a79774642e8784 | refs/heads/master | 2020-12-11T03:51:40.233532 | 2014-12-07T23:07:54 | 2014-12-07T23:07:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 442 | r | Plot2.R | power.data<-read.delim("household_power_consumption.txt",header=TRUE,sep=";",na.strings="?")
power.subset <- subset(power.data, Date == "1/2/2007" | Date == "2/2/2007")
datetime <- strptime(paste(power.subset$Date, power.subset$Time), format="%d/%m/%Y %H:%M:%S")
png(filename="Plot2.png", width=480, height=480)
plot(dat... |
c41778fd9e094bb58a2fb4105fb9b599c85594ec | 36ed93e0ab7767d73262bd38374d97e549f0b5f1 | /man/DM.Rpart.Rd | 078715f8a1b9088adfca6a2e90c01707788ff1eb | [] | no_license | cran/HMP | 16678dbeb20fdda6fcf5422a7047c3c89f4af0ce | 30dadecea268319438aeb41a23441535624d247c | refs/heads/master | 2021-01-21T01:53:01.212756 | 2019-08-31T10:00:06 | 2019-08-31T10:00:06 | 17,679,740 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,819 | rd | DM.Rpart.Rd | \name{DM.Rpart}
\alias{DM.Rpart}
\alias{DM.Rpart.Base}
\alias{DM.Rpart.CV}
\alias{DM.Rpart.CV.Consensus}
\title{Dirichlet-Multinomial RPart}
\description{
This function combines recursive partitioning and the Dirichlet-Multinomial distribution to identify homogeneous
subgroups of microbiome taxa count data.
... |
613aa79d2f1d7ea3d75a6be8793d5656ee535294 | 9ef9472ccc308406a4693ad6756a37b86593ccaa | /man/scatterplots.Rd | 97f497ae92075c30461afd36b934b497c55dfff1 | [] | no_license | tsekara/scatterplots | 3b8b6031c32fce98edb814d7a7cc99e3bb0c744e | 31a62055b205225b503a0ba4d32551ddfad765cc | refs/heads/master | 2020-06-24T15:40:02.607428 | 2019-07-26T11:38:30 | 2019-07-26T11:38:30 | 199,003,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 375 | rd | scatterplots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scatterplots.R
\name{scatterplots}
\alias{scatterplots}
\title{scatterplots}
\usage{
scatterplots(file, directory = getwd())
}
\arguments{
\item{expr.matrix}{the raw or normlaised count matrix}
}
\value{
plots
}
\description{
Generates the pa... |
fdc400d0a15dbc39f2f60b74d5f304121e048bfe | 768411a39703ce54c6d2e161baf63e22d6f5641c | /datediff2.R | 58c01f2f34f8034b44144a63e5072a7011c31153 | [
"MIT"
] | permissive | joelonsql/coronalyzer | ef092df181bff32a408ffcb8fedf08661e29194e | 4253f2fd9fbda212a8dfe2f29b2fde972052d557 | refs/heads/master | 2021-05-20T02:40:47.969881 | 2020-04-24T13:04:54 | 2020-04-24T13:04:54 | 252,151,329 | 15 | 3 | null | null | null | null | UTF-8 | R | false | false | 7,156 | r | datediff2.R | library(tidyverse)
library(plotly)
first_date <- as.Date("2020-03-11")
last_date <- as.Date("2020-04-15")
n_days <- as.integer(last_date - first_date)
data <- rbind(
data.frame(
report_date = as.Date("2020-04-02"),
death_date = seq(first_date,first_date+22,by=1),
deaths = c(0,0,1,1,2,2,1,6,7, 9,8,11,8,1... |
5e53414a5a459a6543ef300f34c1278ee2c49341 | e0befb94afbe9fadf27e6870d99b2d345efdd134 | /R/un_gdp_ex.R | 392e241ab902d8b8785a78f6be085b0636350389 | [] | no_license | cartazio/R-Samplers | e491bf931d8718d3cb1c7a307ec0f875fa62fafb | f863636b0a41ff2a996283a8ab06c072c3e8f752 | refs/heads/master | 2020-08-13T00:02:21.461052 | 2020-02-09T22:01:15 | 2020-02-09T22:01:15 | 214,870,115 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,053 | r | un_gdp_ex.R | ## Example
library(tidyverse)
library(janitor)
library(gridExtra)
library(stargazer)
source("./R/one_dim_ex.R")
## Read in data
undata <- read_csv("./data/country_profiles.csv") %>%
clean_names() %>%
mutate_at(vars(3:50), as.numeric) %>%
dplyr::select(gdp = gdp_gross_domestic_product_million_current_us) %>%
n... |
08ffdf3bde256dbd42c8bce716e4402b86333db7 | dc3642ea21337063e725441e3a6a719aa9906484 | /DevInit/R/P20/cwi_depth_plus_mics.R | 298913930aa66da1dd9cfb08d170dc2520596d99 | [] | no_license | akmiller01/alexm-util | 9bbcf613384fe9eefd49e26b0c841819b6c0e1a5 | 440198b9811dcc62c3eb531db95abef8dbd2cbc7 | refs/heads/master | 2021-01-18T01:51:53.120742 | 2020-09-03T15:55:13 | 2020-09-03T15:55:13 | 23,363,946 | 0 | 7 | null | null | null | null | UTF-8 | R | false | false | 5,127 | r | cwi_depth_plus_mics.R | library(Hmisc)
library(data.table)
library(foreign)
library(descr)
library(plyr)
setwd("D:/Documents/Data/DHSmeta")
load("DHS_cwi.RData")
fileName <- "depth_of_cwi_final.csv"
load("D:/Documents/Data/MICSmeta/global_mics_cwi.RData")
cwi$weights <- cwi$sample.weights/1000000
cwi$iso2[which(cwi$iso2=="BU")] <- "BI"
cw... |
044d9dc2650300ae0ffa4e0f5d25a577c64e00a2 | 61724385280119f516c9b42d140914dcc7f5f492 | /Erasmus/2019/Kwidzyn/MZM1.R | dcee28180c1e26d8d3014d18ec0294e06b2389a3 | [] | no_license | hrpunio/Z-MISC | bf286c4d8d03c572a4550c5423e43a6e6aa17e3a | 3be1c83913455f733ac3760140271e92886c75d9 | refs/heads/master | 2021-05-07T20:36:37.185699 | 2020-02-27T20:54:08 | 2020-02-27T20:54:08 | 108,959,717 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 511 | r | MZM1.R | library(ggplot2)
library(ggpubr)
d <- read.csv("MZM.csv", sep = ';', header=T, na.string="NA");
d
p1 <- ggplot(d, aes(x = as.Date(data))) +
geom_line(aes(y = razem, colour = "razem"), size=2) +
geom_line(aes(y = krajowi, colour = "krajowi"), size=2) +
geom_line(aes(y = zagraniczni, colour = "zagraniczni"), si... |
c5d52b0fa2c6b676a0388748556854cdf921790e | e12053363a0ae08f56084f1eac15fc6b0b0b4a19 | /R/data-lists.R | f38ba3e07ca8ed501c18d7543abcdee6789d73d1 | [] | no_license | DrRoad/mycroftr | e6dad359c81a947176625dae67a845bcbee75b7f | d25f63582afd29eac3d185211af84640657c690a | refs/heads/master | 2020-03-27T23:03:32.733218 | 2016-05-14T11:50:20 | 2016-05-14T11:50:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,149 | r | data-lists.R | #' Function calling a list of stocks for which to call data
#'
#' @return A list with the stock identifiers for Quandl
#'
#' @export
#'
get_stock_list <- function() {
list(
America = list(
`Dow Jones Industrial Average` = "YAHOO/INDEX_DJI",
`S&P 500 Index` = "YAHOO/INDEX_GSPC",
`Bovespa index` ... |
4695719e69c6328c686b19a072c34a2a2bbb822f | 08313c529a4d1ffecb9f6463534a537d670d775c | /man/make.base.res.bw.Rd | 79fa5f0a2864a17f849d36753fd37cabf9a4a8c0 | [] | no_license | emdann/hexamerModel | 5a95ac93852915f51cb4f11917919d9566586e00 | 5c6bf140d9841fa0dcf572b8acf789c9b82caaf0 | refs/heads/master | 2021-09-21T21:03:45.694694 | 2018-08-31T12:22:46 | 2018-08-31T12:22:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 422 | rd | make.base.res.bw.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compare_peaks.r
\name{make.base.res.bw}
\alias{make.base.res.bw}
\title{Genomic ranges to base resolution}
\usage{
make.base.res.bw(bw)
}
\arguments{
\item{bw}{GRanges object}
}
\value{
GRanges object of base resolution track
}
\description{
... |
299298abcb39642fea675f288ef34e5ffd912c5f | 6b691d3f4c158b3b71927f4f5692520f4add09ae | /VAtask2.R | 2c49010bb28cb871af7ee97bda9f6b0de953e7fb | [] | no_license | Panthini/VisualAnalytics_R | 9657a23cf080437d0e9a3d2170aea7d2ece82ca3 | 1fdafe0cfa912b0b6da47102083c007959a5e262 | refs/heads/main | 2023-04-20T06:09:03.478092 | 2021-05-04T07:28:59 | 2021-05-04T07:28:59 | 364,172,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,214 | r | VAtask2.R | #TASK 2.1
library(ggplot2)
library(ggthemes)
install.packages("RColorBrewer")
library("RColorBrewer")
install.packages("dplyr")
library(dplyr)
#load the data set
bigstocks <- read.csv(file = "F:/Panthini PC/Study MS/Subjects/Sem 2/Visual Analytics/Assignments/Assignment 2/bigstocks.csv",
... |
e795f180344b4f9bdbbd8fa375dcf582c2a5abfb | d38ed3b625ee57acebeae39da6dee43c92e1a7b1 | /man/plot_tsne.Rd | feaf7d2f7d9316005afcdb9548125d1465efa5e2 | [] | no_license | markgene/yamatClassifier | 2739ec98dafd5a44bdba592e04689606207a6e86 | 8dd6037db4b7db385573088862980670196a8396 | refs/heads/master | 2020-04-06T08:59:31.195113 | 2018-11-17T18:28:38 | 2018-11-17T18:28:38 | 157,325,117 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 427 | rd | plot_tsne.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tsne.R
\name{plot_tsne}
\alias{plot_tsne}
\title{Plot tSNE result.}
\usage{
plot_tsne(tsne_res, ...)
}
\arguments{
\item{tsne_res}{The returned value of \code{\link[RTsne]{RTsne}},
which is a list.}
\item{...}{Any arguments passed to \code{\... |
d945df553ee5ef48155473ffa75a49778a005dfd | 7455b090d93288b0c8408ae9ffedefaebf4c386b | /data_extraction_script_multiple_floors.R | cf225a4a4f176c81177195b4756757cef5c2394e | [] | no_license | adi-gillani/scout_restAPI | 469ce6e8d62ae3cd98cf8801a74d0ef2d2988e70 | 0b7beb0f0a5aeb61cd75ada91a2538db20744f59 | refs/heads/master | 2020-09-08T00:55:25.496301 | 2019-12-30T09:14:19 | 2019-12-30T09:14:19 | 220,963,251 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,162 | r | data_extraction_script_multiple_floors.R | library(jsonlite)
library(dplyr)
#use the script below to extract data from NeedInsights RestAPI
# PART 1 - Extracting data for Daily Unique Footfall Count - both first_floor and ground_floor
#extracting data for ground_floor store daily footfall
#feeding the API URL, extracting data and data framing it!
daily_gro... |
10aef2a39b7170e0440883a8bd4a7c9906d4b549 | e474719efb71b7621dcc632f7c0ce24c7d02f516 | /FGSEA_Hallmark_mRNA.R | bc90702bafd7ad2846be9b9ded888c855c941ba8 | [
"Apache-2.0"
] | permissive | ssun1116/m6a_Mazter_Study | 7c519627048be86590d8d2626cd40d07bac778b7 | bbd755346f728d57a3ccf682c959151b29fee798 | refs/heads/master | 2023-09-05T07:27:15.021699 | 2021-11-15T06:58:01 | 2021-11-15T06:58:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,928 | r | FGSEA_Hallmark_mRNA.R | options(stringsAsFactors = F)
library(readxl)
library(tidyverse)
library(dplyr)
library(writexl)
library(AnnotationDbi)
library(org.Hs.eg.db)
library(fgsea)
pp <- fgsea::gmtPathways('Resources/h.all.v7.4.symbols.gmt')
## Load data
d1 = read.delim('Data_distance_30/U2OS2-9_output_single.0622Aligned.out.Rdata_clvEffTa... |
363e8acd748d23e97503464f61825603512a02f6 | 85300fe0cbb0165b3be7a51186b60ba406cf574c | /functions.R | 3af9926d18d1786efee1ecd16ce7fe6de95b15d4 | [] | no_license | PawinData/Prostheses | 103b0b86262d77b754989deda218b19d2585b79e | 81736292fae21f0b45933d3d7f26eb78249e4d43 | refs/heads/master | 2021-03-31T09:12:59.436124 | 2020-05-02T01:54:18 | 2020-05-02T01:54:18 | 248,095,157 | 0 | 3 | null | 2020-04-21T14:52:48 | 2020-03-17T23:36:38 | R | UTF-8 | R | false | false | 571 | r | functions.R | # define a function that look beforehead if come across NA values
pre_val <- function(vector, location)
{
if (is.na(vector[location]))
{
return(pre_val(vector, location-1))
} else
{
return(vector[location])
}
}
# define a function that look afterhead if come across NA values
post_val <... |
0d7012308381ce3bc39946266a601e0d419b3ad6 | e6b9765b89662b694b4767d0ad87120d23386d75 | /man/write_firebase_functions.Rd | b92359fd885b236b0ae2bc0a0561bd00e3db2cd3 | [
"MIT"
] | permissive | axionbio/polished | 0ff04ffa5c17ff3f29a89ae9afcef6ce52383b2e | 591365abd5da3d51f90a8c49a0e678db6a49aa58 | refs/heads/master | 2021-02-25T08:28:41.820694 | 2020-02-22T00:03:27 | 2020-02-22T00:03:27 | 245,451,607 | 0 | 0 | MIT | 2020-03-06T15:17:24 | 2020-03-06T15:17:23 | null | UTF-8 | R | false | true | 985 | rd | write_firebase_functions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/write_firebase_functions.R
\name{write_firebase_functions}
\alias{write_firebase_functions}
\title{write js file for polished Firebase Functions}
\usage{
write_firebase_functions(path = "functions/index.js", overwrite = TRUE)
}
\arguments{
\i... |
de7bf3a71c46ab000722608c5321dfac2e744cc7 | b2a9136e6858e4cfe806c264fb2827ae73264620 | /man/isUTF8.Rd | 11e216b3f8e2df413b6a9ce18c4469a15dd24964 | [] | no_license | hetong007/pullword | 2f8e46f10451c4f6614d2eedb1a504b74d306a18 | cfbdda4d25260dccf46f907c9b7a6335e1aaae53 | refs/heads/master | 2021-07-17T21:40:04.922246 | 2021-07-13T07:46:29 | 2021-07-13T07:46:29 | 30,846,213 | 22 | 10 | null | null | null | null | UTF-8 | R | false | false | 475 | rd | isUTF8.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/isUTF8.R
\name{isUTF8}
\alias{isUTF8}
\title{Indicate whether the encoding of input string is UTF-8.}
\usage{
isUTF8(string, combine = FALSE)
}
\arguments{
\item{string}{A character vector.}
\item{combine}{Whether to combine all the ... |
f53537ae9e8e5be73b9aa9391e939ab9b04fda8e | ab3b943abf724c52167bfeaaf65a196abd6461be | /data-raw/abs.R | 576d93cbddd3033e1bf37c93b4a53d8054576cf3 | [] | no_license | mdsumner/ozmaps | 97d7caa571d282e047bdba76063ee1c41c9e3978 | 1617235f0d189a903acc374976d34d4e55df4cdd | refs/heads/master | 2021-08-01T02:02:22.624507 | 2021-07-25T11:42:46 | 2021-07-25T11:42:46 | 219,730,319 | 17 | 3 | null | 2021-04-08T00:21:59 | 2019-11-05T11:36:41 | R | UTF-8 | R | false | false | 1,624 | r | abs.R | ## ozmaps.data version 0.0.1
##these are simplified versions of a core set, see ozmaps.data for details
f <- list.files("../ozmaps.data/data", pattern = "^abs.*\\.rda$", full.names = TRUE)
fs <- c(grep("ced",f, value = TRUE),
grep("lga",f, value = TRUE),
grep("ste",f,value = TRUE))
file.copy(fs,
... |
0f055728a415f5bcad24dd0a1e7e1fd91a64e74a | 6057615fbf3dae016ddf7e34b93b9a8b8ccfdfb2 | /Data-project-2/ui.R | 3362f8e9ac3a3570015288824b3a964ea8642da1 | [] | no_license | kerrmcintosh/acme_inc_shiny_app | 572a8d37734a6bbe645b4b616e2d4e55b0eb2f74 | 2fbeff81ed1852fd68c625534edc38c0f8e61bd3 | refs/heads/master | 2022-12-23T21:57:16.867135 | 2020-09-22T20:49:51 | 2020-09-22T20:49:51 | 295,159,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,496 | r | ui.R |
# UI section
ui <- fluidPage( tags$head(
tags$link(rel = "stylesheet", type = "text/css", href = "style.css")
),
theme = shinytheme("simplex"),
navbarPage(
title = div(img(src="codeclanlogo.jpeg", id = "logo"), "An Analysis of Acme Inc's Website Traffic")),
tab... |
a1ff681b7d343854bf9944bdbca43e3e5344b489 | 53757063ca956fbdbfe922bfdb7d256d28d98d31 | /shiny_app/server.R | 60511ab9cc86639f532aa4f4054d86f18fb1b78c | [] | no_license | rachai/shiny_dashboard_template_with_modules | f579d6bf9b665d77943fc6876745101a7d01d33f | 6bb358a9a7eb3c57b4022b1d92a96793145bd27e | refs/heads/master | 2022-11-29T19:03:25.299731 | 2020-07-28T00:26:59 | 2020-07-28T00:26:59 | 282,938,822 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,137 | r | server.R | # Define server logic
server <- function(input, output, session) {
#Switch from panel 1 to panel 2 when button in panel 1 is clicked
observeEvent(input$panel1_to_panel2, {
updateTabsetPanel(session, "tabset1", selected = "Panel 2")
})
#Switch from panel 2 to panel 1 when button in panel 2 is ... |
8e797dbbb60284f8fe017664a2a0e6f1c69dbc15 | 2934216aaa8f90053f7bb50963893799182bb7fb | /datastructure.R | 57c215ce281f8fa6ca2dc6b385550f6075f120b6 | [] | no_license | vijaymv/analytics1 | 67917b9d460385e7f51d90e75c4cba1e37c9784f | a52caec8f80e6456ac599ee0376bbebd8121b47d | refs/heads/master | 2020-04-02T16:32:45.957750 | 2018-10-29T16:32:54 | 2018-10-29T16:32:54 | 154,617,168 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,986 | r | datastructure.R | #datastructure
#vectors
x = 1:10
x
x1 = 1:20
x1
(x1=1:30)
(x2=(c(1,4,5,5)))
x2
(x3=letters[1:10]) # to print a to j
class(x3)
LETTERS[1:26] # TO PRINT A TO Z using LETTERS FUNCTION
(x3b = c('a',"dhiraj","4")) # cannot mix data types in vectors. output will be all charactor
class(x3b)
(x4=c(T,FALSE,TRUE,T,F))
class(... |
a3285917d830879ccd65d36f8461975a2c2c5c4f | 8b91fbae2914335c30e7959e6fd76c614d53b73e | /commodityEDA-dashboard1/overview.R | 7941611282a0fbfbb4cadf38a8441e39287b58dc | [] | no_license | erichseamon/shiny-apps-agmesh | 20126baf672eb365b83b2f0b559c9c99d0c7da61 | 9df635ddb47571df64bef428faadcfab632532c8 | refs/heads/master | 2021-03-22T04:49:22.412404 | 2020-01-16T22:32:40 | 2020-01-16T22:32:40 | 83,274,088 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 981 | r | overview.R | function(){
conditionalPanel(condition="input.conditionedPanels==1",
tabPanel("Help", value = 2, id="conditionedPanels",
HTML('
<h3><p><strong>DMINE Agriculture Dashboard: Insurance Crop Claim State Frequency</strong><br/></h3>
</p>')),
HTML('
<p style="text-align:j... |
44f04b2d8724d69364a7b012a55489644ed64dcd | ae11641f955bb54dbab5fe1607326d494e7c3058 | /R/startup.R | 890dd916cf6053bfe62536296d7141ec0a935a42 | [] | no_license | asrenninger/tinkering | b226bded8530a8bc540bfc567c40ead74a9b1d0b | 4c216bc20ce7e64fb082aedde4d05bff2bbe35bc | refs/heads/master | 2023-08-17T17:13:30.340732 | 2023-08-14T20:35:29 | 2023-08-14T20:35:29 | 199,517,783 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,175 | r | startup.R | ########################################
## Unicorns
########################################
## packages
library(tidyverse)
library(sf)
library(rvest)
library(ggmap)
library(ggshadow)
library(ggnewscale)
## unicorns
wiki <- read_html("https://en.wikipedia.org/wiki/List_of_unicorn_startup_companies")
elem <- html_no... |
c064bb5a92ea2e7ae0b16022a6be6684fed2a6ce | e3d8bbcc3424296f5d3e0cc3b516b31173776c2f | /R/Day 4 - Hazard rate actual vs expected & Exposure over time.R | e533301b1cce50a211d88917b7c38027127f3715 | [] | no_license | gbisschoff/grad-training | 5ed911f5d8e14ff02caf34e57f688aa4b132ef07 | 586db2156ee787841c109b1668d750c981f11535 | refs/heads/master | 2021-05-14T11:43:35.395413 | 2018-01-24T13:10:56 | 2018-01-24T13:10:56 | 116,390,664 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,215 | r | Day 4 - Hazard rate actual vs expected & Exposure over time.R |
library(tidyverse)
library(sparklyr)
spark_home_set("C:/Spark/spark-2.2.1-bin-hadoop2.7")
sc<-spark_connect(master="local") # Create a connection to spark
data<-spark_read_csv(sc,"loans_data","Data/tranition_data.csv",memory = FALSE)
# Exposure over time
data%>%
group_by(age)%>%
summarise(
contractual_tota... |
07f1d4df1dab3d57562aaf607e4f982a305fd517 | 29477df2cfc3c0477b3d11e2ebb46c7930994565 | /spark.R | f82ae499a82d545fb75f10ff2727a17bff597158 | [] | no_license | vikram-rawat/handsOnMachineLearning | 5f9f0359e0b105d5680696389bf4a6542dc0373a | bf5772f896db28e1f904516445a64503d89469b7 | refs/heads/master | 2021-07-25T01:58:02.358255 | 2021-01-28T15:15:41 | 2021-01-28T15:15:41 | 240,430,538 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,925 | r | spark.R | # load libraries ----------------------------------------------------------
library("sparklyr")
library("data.table")
library("magrittr")
library("ggplot2")
library("DBI")
library("dplyr")
library("arrow")
library("inspectdf")
library("plotluck")
library("skimr")
library("ggfortify")
library("dbplot")
library("modeldb... |
4088802c4b73d348b4602e5cd09171292160f8ff | be9957269371581153afc5a6d6fe36e6e38bdddb | /Master_do_files/lmb_1.R | b44f09be24c8111eab8754687979624dfcdedb9c | [
"MIT"
] | permissive | snowdj/causal-inference-class | a0250f94772e37da40f2e47c9e53284b5cbe84d2 | 14171fd74340d748db6426a2c8124f7d7ad3bc8b | refs/heads/master | 2023-02-05T13:11:52.904853 | 2020-12-24T05:35:37 | 2020-12-24T05:35:37 | 279,981,060 | 0 | 0 | MIT | 2020-12-24T05:35:38 | 2020-07-15T21:17:16 | null | UTF-8 | R | false | false | 618 | r | lmb_1.R | library(tidyverse)
library(haven)
library(estimatr)
read_data <- function(df)
{
full_path <- paste("https://raw.github.com/scunning1975/mixtape/master/",
df, sep = "")
df <- read_dta(full_path)
return(df)
}
lmb_data <- read_data("lmb-data.dta")
lmb_subset <- lmb_data %>%
filter(lagdemv... |
a48840eb190a5d17981d607021fb559a824d6211 | 7e5dfa53a52b3aad29a22ebb12916a41a0e62e6b | /R/summary.ccc.R | a6a7dde376741f4bc45e6890425db74cf39d4192 | [] | no_license | cran/cccrm | 3a12b3fd0f834c302006e691d37547d9d41b9f79 | 302e8dc1f85494f28ac3b39c52e5c2f3de9c0136 | refs/heads/master | 2022-09-14T18:01:05.004119 | 2022-08-31T16:30:02 | 2022-08-31T16:30:02 | 17,695,003 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 151 | r | summary.ccc.R | summary.ccc<-
function(object,...){
print(object$model)
cat("\n")
cat("CCC estimated by variance compoments \n")
print(object$ccc[1:4])
}
|
2cbed670ed30770eddf9c5e3389ac4c3bed832a8 | 9695c4dedf245c782990038a6172296dd02499c4 | /public/scripts/temp/my_Rscript.luo.R | d02e0fe7dee41302f9512772035922a7771de277 | [] | no_license | gauravp99/pathviewdev | e8f66a0e1a48843b7f9a8b610d7216e8160d3e97 | 9bd69a14e1af33b20a00c3fbf1dd2861c57610b5 | refs/heads/master | 2021-01-22T02:18:24.926244 | 2017-05-17T14:40:28 | 2017-05-17T14:40:28 | 92,350,733 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,247 | r | my_Rscript.luo.R |
#to get the arguments readable in R code
args <- commandArgs(TRUE)
# @arguments are split on comma as they are passed to Rscript with comma separated
library(pathview)
arg.v = strsplit(args[1],split=";|:")[[1]]
idx=seq(1, length(arg.v), b... |
97c79b5e11a9939a415db84758b59177f9ff4f07 | 83f41fbb8203711b1e2d27f51ee0303665bfc5de | /create_SRA_deposition.R | a745eedfc5dc77800a188dda8a500bb2728417da | [] | no_license | helixscript/Canine_hemophilia_AAV2 | 8919f177889582d7125f986311ba1810640287e6 | b16bc574f22b1068703ab109bc21cead1a188e0a | refs/heads/master | 2023-08-03T08:58:02.359461 | 2021-08-18T19:53:14 | 2021-08-18T19:53:14 | 274,838,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,749 | r | create_SRA_deposition.R | library(dplyr)
library(openxlsx)
library(parallel)
d <- read.table('AAVengeR/configs/Sabatino.samples.config', sep = ',', header = TRUE)
d <- select(d, subject, sample)
a <- read.table('data/sampleDetails.tsv', sep = '\t', header = TRUE)
d <- left_join(d, a, by = 'sample')
cluster <- makeCluster(30)
d$n <- 1:nrow(... |
2e8319e9d2633c26ef611e63deb7a5787e9d46bb | 64ca029adab7bdb67778f32a24ec3948fdd4581e | /lab4/plot.r | 49c4ec2c43779030250fa47178ad0c5247cd288a | [] | no_license | EasternSauce/mownit-homework | d12c26182588e6acdb7fb07fe7fca7633255591d | c3beb1484f7620510ba267160813830f203ce320 | refs/heads/master | 2021-06-03T08:12:59.862841 | 2016-09-14T20:50:01 | 2016-09-14T20:50:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 521 | r | plot.r | results1 = read.csv("inter1.txt")
results2 = read.csv("inter2.txt")
results3 = read.csv("inter3.txt")
options(scipen=999)
pdf(file="wykres.pdf", height=4, width=4, bg="white")
plot(results1$x, results1$y, type="l", xlab="x", ylab="y", col="red")
lines(results2$x, results2$y, col="green")
lines(results3$x, results3$y... |
a848bc020d15180cd03ef0f1b4dc4818dbf55dc4 | 46dd13f8d3dfb0aea99af8e201fe6b8e0fc220e5 | /Pattern recognition/Random Forest/Predicting wine quality using Random Forests.R | 2a102536af8ba3862b5e373e54ef20205b38f6fd | [] | no_license | arkada38/R-statistics | 26d85036cbb64212c312dfe81225254938710b91 | 5e84263d15477538a3c2cc63a3f6da35ae566411 | refs/heads/master | 2021-06-14T12:18:19.560684 | 2017-03-22T03:36:01 | 2017-03-22T03:36:01 | 64,801,300 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,554 | r | Predicting wine quality using Random Forests.R | # Predicting wine quality using Random Forests
# https://www.r-bloggers.com/predicting-wine-quality-using-random-forests/
library(randomForest)
url <- 'https://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/winequality-white.csv'
wine <- read.table(url, sep = ";", dec = ".", header = T)
head(wine)
ba... |
c5e2da829066fcd279e85a9a9c0c9994913e0d0b | c9211f1533d949bfd0c2f5050cfbc6f2e7592c04 | /01_earnshare_measures and sample.R | 743a554c39ea38f1fc34b386bd34be5bc5da5180 | [] | no_license | jrpepin/ACS_Share-of-Earnings | 7869a2f0fa2320114f06ddb37fde1f463382070d | ea04eac1d8218e02873650ebf9673ebcef3249c2 | refs/heads/master | 2020-06-01T14:32:03.271073 | 2019-06-11T16:40:00 | 2019-06-11T16:40:00 | 190,816,092 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,832 | r | 01_earnshare_measures and sample.R | #####################################################################################
# Set-up the environment
## Set-up the Directories
repoDir <- "C:/Users/Joanna/Dropbox/Repositories/ACS_Share-of-Earnings" # This should be your master project folder (Project GitRepository)
subDir1 <- "data" # This will be the name ... |
649c5ca3dd376cf2cf5562adf1f78df0cb78b0c6 | 080f12375a8a6afb5c0e1638d7ad48309f9705e0 | /man/covid_global.Rd | 953625df1de8bdb7bc19313f50918de36416d4bc | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | paternogbc/covid19br | 64b8b53201d7bb95128d474795c543336be66e0f | 5b1b49d0d868245e27a3c3bece61e944e95dcac2 | refs/heads/master | 2021-03-27T02:49:55.897048 | 2021-03-17T11:26:44 | 2021-03-17T11:26:44 | 247,778,689 | 6 | 3 | null | null | null | null | UTF-8 | R | false | true | 601 | rd | covid_global.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/document_data.R
\docType{data}
\name{covid_global}
\alias{covid_global}
\title{Historical number of covid-19 cases for the world.}
\format{A data frame with four variables:
\itemize{
\item{\strong{state}} {The name of the state (country)}
\it... |
858efa789db21fba8daee08f4ebbdbb838bc84c8 | 76fbd560b0c3f3ae32dea6554685df336ebe0fac | /pga_statjoin_roughhhhh.R | 930309b27b64cdb443eec3a2dcdb87e95e8e6db1 | [] | no_license | tn122609/dfs | 1f43f2cc65bfa8ff5f33479bfff35adbab834920 | 6e4faf5f7238fa5bb184da32706b8a6a89485254 | refs/heads/master | 2021-10-09T14:35:10.118152 | 2021-10-07T21:12:49 | 2021-10-07T21:12:49 | 158,970,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,683 | r | pga_statjoin_roughhhhh.R | cd /host-rootfs/sdcard/Download
sudo R
library(dplyr)
library(xml2)
library(stringi)
library(stringr)
library(rvest)
library('lpSolve')
library(corrplot)
library(lpSolveAPI)
FDSal2 <- read.csv('8_12_21_FDpga_merge_roughh2.csv', stringsAsFactors=FALSE)
FDSal2$Name <- FDSal2$Nickname
#FDSal$Nickname <- pas... |
5f7d02116f6ee80b7d062d7a0ddfa55f899c70d1 | eed8936c230507f5e8efc18b6d63d139a335cab5 | /R/print.R | 2ed883a6abc63522d917786214ac8b3dc15362a1 | [] | no_license | manoj8385/arulesCBA | 2564c31b9408e79e844d17b182010c8eb2e0a564 | c2a76c421994ffa2114164721a3aa61a79e1a120 | refs/heads/master | 2020-06-26T20:27:46.152764 | 2016-10-19T21:17:24 | 2016-10-19T21:17:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 186 | r | print.R | print.CBA <- function(x, ...){
cat("CBA Object\n")
cat("Number of rules:", length(x$rules), "\n")
cat("Class labels:", x$levels, "\n")
cat("Default class:", x$default, "\n")
}
|
9dae1003f9a143eb305bb9ed0b652105fb503773 | c5fe243e1c7f01c6217cc15f7f64a955f6561624 | /R/x_math1.r | 77259037ff6be7c31199537fa3a875890d12ba8e | [] | no_license | cran/probhat | 79c1ff28e9867565d80f2744e3a84f49aeba5dc6 | ae21b43b0de331247713e4294acad3aa99c4fdb5 | refs/heads/master | 2021-06-09T16:27:06.236867 | 2021-05-12T08:40:02 | 2021-05-12T08:40:02 | 174,553,921 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,501 | r | x_math1.r | #probhat: Multivariate Generalized Kernel Smoothing and Related Statistical Methods
#Copyright (C), Abby Spurdle, 2019 to 2021
#This program is distributed without any warranty.
#This program is free software.
#You can modify it and/or redistribute it, under the terms of:
#The GNU General Public License, versi... |
0821ef09edda4caa5323e4985e7a4416fb79f7a5 | 5f86b00794542041da6ce334d549cf54cee0302a | /acpca670_package/R/sim_apply_new_sample.R | 9d8a7fef8750ac2ec429718a9a77f8e1986bfdb8 | [] | no_license | smweinst/acpca670 | 5853a8c4c05465e7c41f5e69943b6bd3a7171606 | c91349770730a22f2f371ec7c4c879a38ef81eee | refs/heads/master | 2022-06-13T01:47:17.780041 | 2020-05-05T22:02:10 | 2020-05-05T22:02:10 | 259,481,311 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,694 | r | sim_apply_new_sample.R | #' @title Function to apply loadings from AC-PCA to new sample
#' @description User can specify alpha in the original sample and alpha in the new sample (i.e., samples differ in terms of strength of confounder)
#' @name sim_apply_new_sample
#' @param n the number of subjects; default is 5
#' @param b the number of brai... |
8fc554ad53384eef23921eb74868c802af20f442 | b987a7c5953f699a4d8fba8498f98b8bc7dd62ac | /state/ma/licenses/docs/ma_scrape_licenses.R | 5f9985932e6b6ba2447ca54942b77b0a4743ea83 | [] | no_license | irworkshop/accountability_datacleaning | 67f7301cf216cec891f892d05d7c1abcdaf4a78b | ba160f21fdb44446166077754e04705b763abe46 | refs/heads/master | 2023-09-04T09:44:11.737083 | 2023-08-05T16:54:33 | 2023-08-05T16:54:33 | 183,467,430 | 12 | 4 | null | 2023-05-23T17:14:17 | 2019-04-25T16:02:32 | Shell | UTF-8 | R | false | false | 3,696 | r | ma_scrape_licenses.R | # Kiernan Nicholls
# Wed Jun 1 11:49:08 2022
library(tidyverse)
library(rvest)
library(httr)
library(fs)
get_home <- GET("https://madph.mylicense.com/verification/Search.aspx")
cook <- cookies(get_home)
sesh_id <- set_names(cook$value, cook$name)
home_html <- content(get_home)
all_types <- home_html %>%
html_elem... |
23694f66b194b91ad64429dfd48e0c0d87e4fad0 | 13188691adffd02816283d8826e01e845817bb2d | /src/USA_ARHR_Graphics.R | 29ba59112659f2637e50ba9de7f50775d6f547a1 | [
"MIT"
] | permissive | kw-lee/ARHR_USA | 114a808b8c17f58006ff43e15268730b4198d379 | 569bccc3b5c5869b33438940b50054fabaf2a01e | refs/heads/master | 2020-09-21T13:27:28.244027 | 2019-12-15T07:14:31 | 2019-12-15T07:14:31 | 224,801,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,063 | r | USA_ARHR_Graphics.R | install.packages("ggtern")
library(ggtern)
load("C:/Users/user/Desktop/ARHR_error.Rdata")
dyn.load('C:/Users/user/Desktop/Add-Reg-Hilbert-Res/Dll files/CBS_continuous_simplex.dll') # path of the CBS_continuous_simplex.dll file
dyn.load('C:/Users/user/Desktop/Add-Reg-Hilbert-Res/Dll files/SBF_continuous_simplex.... |
4e427ce991ee1f6ee4e168782183d1c8f1eb26cd | b133065419866205155d0cea5ff85a833dc32d64 | /man/pollen.Rd | 730de850946bdd2929fd580908c02c106debd2dc | [] | no_license | mcomas/coda.base | 985a7e99b66abea34cbdb04457c00c7a693ad778 | ef9e03e345ff8c9e980f5bdc716999cf105ccffc | refs/heads/master | 2023-03-05T07:16:35.090759 | 2023-03-01T17:47:03 | 2023-03-01T17:47:03 | 97,572,580 | 7 | 0 | null | null | null | null | UTF-8 | R | false | true | 506 | rd | pollen.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{pollen}
\alias{pollen}
\title{Pollen composition in fossils}
\format{
An object of class \code{data.frame} with 30 rows and 4 columns.
}
\usage{
pollen
}
\description{
The pollen data set is formed by 30 fossil pol... |
08ca452f82e10a69936f198a2598b36f70d3915f | ba4af2c77581cc4a42959ba5307130cf06590532 | /NFP/Scripts/Obsolete/computeConfidence.R | 4cd7ddafa604c033597092ff544e0c67a3e9e124 | [] | no_license | gorilazz/BP | 94261607ee5c70742bd7acf482c56039bd7547e8 | ab126d810bca1909318d1986efcf5b32cfc55e18 | refs/heads/master | 2021-01-19T03:22:09.777201 | 2015-02-04T18:19:11 | 2015-02-04T18:19:11 | 25,895,720 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 370 | r | computeConfidence.R | source('utility.R');
path_inPrediction = "../Model/201410/experiments_AR_Social_Model_13_median_bestmodels_bootstrapping.csv";
predictionsFull = read.csv(file=path_inPrediction, head=TRUE, sep=",");
predictions = predictionsFull$Prediction;
result_mean = ConfidenceInterval(predictions, 0.95, "mean");
result_median ... |
f6b7fb6a61e8a879e0b430c8257b5c8096756dff | 8edf0521ebc0ca53ec618d6d220c47c851caaa71 | /man/sim_add_CPUE.Rd | 2677b9f0b25ec02369ffbd0648173d9f2a0329d0 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | amart/r4ss | 9b730038ee4c4b6d38aaabe81b6ad9fddf0eb4f3 | fbccbace9a70e846401d32577aeab9f25cb31ba5 | refs/heads/master | 2021-01-17T06:03:03.172272 | 2020-10-04T01:38:14 | 2020-10-04T01:38:14 | 24,735,775 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 865 | rd | sim_add_CPUE.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim_add_CPUE.r
\name{sim_add_CPUE}
\alias{sim_add_CPUE}
\title{this function adds a new line for a CPUE/survey observation in the CPUE data structure for the SS DAT file}
\usage{
sim_add_CPUE(
dat_struct = NULL,
CPUE_year = -1,
CPUE_sea... |
5b3a9892635fb43c0e312626c18edba4254f4074 | 30d67c192ac6e9da0799e28fd4855b0537eb0e3e | /assignment2.R | a471e3f63c9e186ebcb85e6fa37f64a32b771038 | [] | no_license | awartany/datasciencecoursera | 9f07fbc66f9fe70c9f19ff622e84452f315af182 | 7a1ac2081f4dbe17be859030e607e4abf4135518 | refs/heads/master | 2021-09-01T18:51:42.967567 | 2017-12-28T09:48:28 | 2017-12-28T09:48:28 | 115,052,637 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 898 | r | assignment2.R | makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
x <<- y
m <<- NULL
}
get <- function() x
setsolve <- function(solve) m <<- solve
getsolve <- function() m
list(set = set, get = get,
setsolve = setsolve,
getsolve = getsolve)
}
cacheSolve <- function(x, ...... |
1f66e31354bc6c9325ac27a91c921a7a0e66f7d6 | 5b103a7eda733caffd7aee485d0b9577113ab108 | /man/aggregate_duplicates.Rd | c5431be2305ced0d4eaa2c3de043babc3709b09f | [] | no_license | jackieduckie/ttBulk | ddf6611fa90d91db861373742a0a207b0ddc3f85 | de05cfd41bcb0b6ff8f7bd6604c2a8e5f905362f | refs/heads/master | 2020-07-18T07:32:00.334355 | 2019-09-11T09:21:30 | 2019-09-11T09:21:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,189 | rd | aggregate_duplicates.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/methods.R
\name{aggregate_duplicates}
\alias{aggregate_duplicates}
\title{Aggregates multiple read counts from the same samples (e.g., from isoforms)
This function aggregates read counts over samples, concatenates other character columns, and... |
79f9e0c13c66676eac80c10ed088c09fb7bf9cff | 90dfda50ead37d0a876c75bbd62469076f904d4f | /data/norolling_speed/stats_script.r | bf3898547f3d4b5d30822c69221538c945f6b231 | [
"Apache-2.0"
] | permissive | fritzfrancisco/fish_abm | 6091525cfdb4da982c0efe85f6c98f65e61083d4 | 1819a02babb021b0abbb218ddea1a96668eec387 | refs/heads/master | 2020-01-23T21:32:17.579076 | 2016-12-22T14:46:52 | 2016-12-22T14:46:52 | 74,699,690 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,347 | r | stats_script.r | #setwd("~/norolling_speed")
get_rates <- function(data_set){
rates <- NULL
start <- NULL
for(i in 1:ncol(data_set)){
x = seq(0, nrow(data_set) - 1, by = 1)
y = data_set[,i]
mod = lm(y ~ x)
rates[i] <- mod[[1]][2]
start[i] <- mod[[1]][1]
}
return(data.frame(rates,start))
}
nrspeed0 <- dat... |
2b7954c31159f8d23b828d751b578d9ecba91046 | 823576d24e5b373201edbb0f49a87f1c06150223 | /reeffishmanagementv030/global.R | 520150d2334e289402f122a31a37a73531ee076e | [] | no_license | claire-roberts/Reef-Fish-Management-Areas | 3192e2cd227dd14ab3f043527740e0596e5eece3 | 3a5624cfd46b64cb68994269afb149415a9d0b73 | refs/heads/master | 2021-01-19T09:03:20.420775 | 2017-02-16T18:28:02 | 2017-02-16T18:28:02 | 82,180,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,072 | r | global.R | ##global R
## Updates version 0.30 created github repo claire-roberts/Reef-Fish-Management-Areas
#setwd("X:/Data_John/shiny/reeffishmanagementv020")
## version 0.10
#setwd("X:/Data_John/shiny/reeffishmanagementv020")
#setwd("C:/reeffishmanagementareas")
## This script was used to import and convert the shapefiles to ... |
939abc58e5c7a8a72ac0658cda7a0ab13b7b4cdc | 4f217be84965dcdf28299a7ffea4724d2ef662e4 | /R/gta get imf data.R | 1b68156a6e4bd6beee701b5ae67f809e1f834de3 | [] | no_license | global-trade-alert/gtalibrary | 694cbc2718954ca8737ab2d2e72c787da649df68 | a8ad12b2792f5558dacde494adbd7c13faffff49 | refs/heads/master | 2023-08-17T09:21:23.631486 | 2023-08-08T09:45:05 | 2023-08-08T09:45:05 | 145,339,633 | 7 | 1 | null | 2023-07-17T17:01:39 | 2018-08-19T21:43:20 | R | UTF-8 | R | false | false | 2,099 | r | gta get imf data.R | # Roxygen documentation
#' A wrapper for the IMFData function
#'
#'
#' @param start.date Provide the period start date in R format ('YYYY-mm-dd').
#' @param end.date Provide the period end date in R format ('YYYY-mm-dd').
#' @param fx.frequency Provide time series frequency e.g. ('D','M','Q','A')
#' @param series What... |
5d1064ebd40b4ad07c0b60cb01f80dd827087b51 | b6312d8298f60b08b040b51ad1d66f8f3b6627a5 | /man/histWithDist.Rd | 74c312f3447f777fe0f4db7aa3cc42a1e69e5918 | [] | no_license | hutchisonjtw/JNCCTools | 36ced580cb7feb91cf310684220451843996bb16 | 48242eac43c37d16b50aa50504dd4ca7f02c4551 | refs/heads/master | 2021-01-10T10:13:43.298389 | 2017-03-22T14:25:45 | 2017-03-22T14:25:45 | 54,502,489 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,226 | rd | histWithDist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/histWithDist_function.R
\name{histWithDist}
\alias{histWithDist}
\title{histWithDist}
\usage{
histWithDist(x, main = "Histogram with fitted distributions",
distr = c("nbinom", "pois", "norm", "lnorm"))
}
\arguments{
\item{x}{Numeric vector ... |
c92e9ca278d9a0c52a2a2d695056644188fc9f5e | a18cc51bd8def3537206608adacdfbfe7a0f61da | /ui.R | 848a9830287a34be6da5b2d5dc03089b62c7c867 | [] | no_license | rbjork/Developing-Data-Products | eae6b5f3adf396a60b6203289989fde4102b0bd7 | da42840e4c2e1d1fd6d342642c052a729af172b3 | refs/heads/master | 2016-08-06T04:54:07.560033 | 2014-10-24T18:48:56 | 2014-10-24T18:48:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,080 | r | ui.R | # UI for ROC
shinyUI(pageWithSidebar(
headerPanel("ROC of SVM exercise prediction by roll and pitch belt"),
sidebarPanel(
wellPanel(
h5("Select outputs to group for prediction"),
checkboxInput("A","A", FALSE),
checkboxInput("B","B", FALSE),
checkboxInput("C","C", TRUE),
checkboxInp... |
4d386ddaf5b1af2c58f89c37e3c37bf4ca5ebd14 | 3ca4f0bb87f51eb60051665434a71de294915f3d | /Edx/Null_Distribution.R | 0847fe99e70138fa878a3c2d823f7f63022b9e2c | [] | no_license | Labimide/Data-analysis-for-life-sciences | 6b3c283471b7d8dc13db9870d78570b8f8d12844 | ae878cc72fbaa9e56c3d2d0ad3900aad63d7a105 | refs/heads/main | 2023-07-08T05:50:49.041266 | 2021-08-17T13:44:48 | 2021-08-17T13:44:48 | 397,268,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,060 | r | Null_Distribution.R | # upload packages
library(dplyr)
# upload data
x <- unlist (read.csv("femaleControlsPopulation.csv"))
# Exercise
## Sampling for 1000 times------------------------------------------------------------------------
set.seed(1)
n = 1000
nulls <- vector("numeric", n)
for (i in 1:n) {
pl... |
c84257582f58e6d0f462d2daa5d7739380612ed9 | 1848a46cc64114e3d1525191afeca645527f10f4 | /cachematrix.R | 5b94ecc70d0e85036a24d7a55af33d5c1320c69a | [] | no_license | NathanKim/ProgrammingAssignment2 | 154c39df9846c80aa37e215b72fef99e473b8d75 | 3d3bd0d38c1f60fddac7f778a75b04af62bc6599 | refs/heads/master | 2020-12-03T05:33:22.313550 | 2015-10-25T16:58:09 | 2015-10-25T16:58:09 | 44,433,805 | 0 | 0 | null | 2015-10-17T11:00:39 | 2015-10-17T11:00:38 | null | UTF-8 | R | false | false | 1,116 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
#Creates a class, like a list
#Contains four functions
#set stores matrix in cache and get recalls
#setinverse/getinverse is the same but for original matrix
makeCacheMatrix <- function(x = matrix()) {
z <- NULL
#z matrix value
... |
5c4aeed20e362f6e57e5aa7c4d1dabd556e8a4a7 | 5c6581472562e43646b2ce0097c1acabdf765e3a | /pkg/R/convhulln.R | 48f8c3c1dc002d7af0214e9e11bc8c6169262153 | [] | no_license | fguilhaumon/geometry | 14d1e16fd9bd0f7660935cd80ce9a80ea695a637 | fa2c83d5e81bc347c15bd3841bb956024f48079e | refs/heads/master | 2020-03-17T18:59:06.764615 | 2018-05-17T16:57:20 | 2018-05-17T16:57:20 | 133,841,587 | 1 | 0 | null | 2018-05-17T16:36:28 | 2018-05-17T16:36:27 | null | UTF-8 | R | false | false | 5,486 | r | convhulln.R | ##' Compute smallest convex hull that encloses a set of points
##'
##' Returns an index matrix to the points of simplices
##' (\dQuote{triangles}) that form the smallest convex simplical
##' complex of a set of input points in N-dimensional space. This
##' function interfaces the Qhull library.
##'
##' For silent ope... |
1a13d2b107b4030c539567411e869900a9a822c6 | ed2409820e00b5dfaa89513f709dc3bac61bb743 | /Rcode/data_merge.R | f81ebf1e3fb3848d89fbb4a5189dccc93a56ec43 | [] | no_license | KevinCayenne/PROSOCIAL | e771dd8d2b399f50ce5d2e09b216e13894b7c96f | 039df21546c7b15fa506e2e1bf2a0fcf7927f746 | refs/heads/master | 2021-01-23T20:27:46.825943 | 2018-11-07T13:11:39 | 2018-11-07T13:11:39 | 102,862,344 | 1 | 0 | null | null | null | null | BIG5 | R | false | false | 37,750 | r | data_merge.R | setwd("C:/Users/acer/Desktop/PROS/Data/fMRI_PilotData")
library(stringi)
library(tidyverse)
library(ggplot2)
library(ggpubr)
library(gtools)
library(magrittr)
library(tidyr)
library(dplyr)
library(gridExtra)
library(ggsignif)
library(lme4)
library(lmerTest)
File.list = mixedsort(list.files("behaviorD"))
#list.files命令... |
ce267e25d22961138fd6de4f40d3f2f2fe81bcad | 3f869c3ddc067a08c929d5d326e50f4f5605534d | /R/autoflow.R | 2e97b4fe5f547da9d0a1bf1d880e536306d17f65 | [
"Apache-2.0"
] | permissive | floesche/gpflowr | 4a076ad4b415240584e1a12d481486f089e002bd | df76da315e28acc696e3193b744f4d6218c22713 | refs/heads/master | 2021-01-20T05:54:28.148853 | 2016-11-30T04:08:15 | 2016-11-30T04:08:15 | 89,821,231 | 0 | 0 | null | 2017-04-30T00:46:07 | 2017-04-30T00:46:07 | null | UTF-8 | R | false | false | 2,385 | r | autoflow.R | # autoflow trickery
# This function is designed for use on methods of the Parameterized class
# (below).
#
# The idea is that methods that compute relevant quantities (such as
# predictions) can define a tf graph which we automatically run when the
# (decorated) function is called. Not only is the syntax cleaner, bu... |
bd5e82cd191ab159a76267ab9435950aa554ddb3 | 2e9bca3f8f367a943f1c729bff3ac2f29aa83a18 | /man/transformation.Rd | 2442650da8e19b2e8c5fd11661b03f633bf76e56 | [] | no_license | wenbostar/metaX | 3bee68e13d2cf12c5279ea224ea2cd27ecdba93d | 08c56fed31f2144f00afeff75f1c5f10781a3dc4 | refs/heads/master | 2023-06-26T15:14:56.327264 | 2023-06-16T06:11:56 | 2023-06-16T06:11:56 | 36,590,811 | 19 | 12 | null | null | null | null | UTF-8 | R | false | true | 928 | rd | transformation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prep.R
\name{transformation}
\alias{transformation}
\title{Data transformation}
\usage{
transformation(para, method = 1, valueID = "valueNorm", ...)
}
\arguments{
\item{para}{An metaX object}
\item{method}{The method for transformation, 0=no... |
e2207127fac32c5884d608b01534526f62caa1b7 | d9c2fb53d478dbecee1a7eb76465e2b1e7193a3f | /first-post.R | 77128c13a029bc845d5b90e4b5098285dc21f00d | [] | no_license | nibedeeta/blog-posts | e2aedce9574d5958e5000e7775fafa80a22fa505 | 28128790393d3a7dbd3d9c7d2633df6f8ea76ca8 | refs/heads/master | 2020-03-15T21:24:23.803431 | 2018-05-06T16:06:03 | 2018-05-06T16:06:03 | 132,354,367 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,606 | r | first-post.R | library(readr)
library(tidyr)
library(R2jags)
# Import data -------------------------------------------------------------
cleague2017 <- read_csv("first-post-data.csv")
# variable names have spaces (i.e. <Home Team>) and this bothers me IMMENSLY, so:
names(cleague2017) <- c("Round", "Date", "Location", "HomeTeam", ... |
05ef1d27e218759e4e94aad1349d2fa9a82562e4 | 838b2ec1bd23ac02712cade84f0bf1fc3e3165bb | /GO_E03_NDVI.r | d39e8309cc84873b20f9bb0295b4461987a130c0 | [] | no_license | mlcastellan/GO | 65a542336d94be93384bf26d88bc480b4f453aef | e5559cb6e7c1faa17483e0d83187efc1514e4bbc | refs/heads/master | 2020-04-13T16:31:09.135428 | 2019-01-02T18:28:35 | 2019-01-02T18:28:35 | 163,322,793 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,590 | r | GO_E03_NDVI.r | ####################################
## Funcion NDVI para sentinel 2 ####
## tal como sale de sen2cor ####
## ####
####################################
GO_E3_NDVI_SEN2COR=function(sentinel_2_folder="/home/martin-r/05_Rasters/SENTINEL_HDE_invierno",res=10){
######
library(raster)
librar... |
4b4b0da4240469f11639ad0cccd67698f8456f5c | 8a25fc2ad84f215f147ce1190a90daeec67eba99 | /cachematrix.R | d7e090e024bcfe01a01b961a6d73d12ca695f26d | [] | no_license | ahujarv/ProgrammingAssignment2 | 6456ab991c673c40d5973154b22597e1ec268ae5 | 01ba73030bd2ae77ca52603704ad49aae6947a6f | refs/heads/master | 2021-01-22T18:28:37.092560 | 2014-04-25T04:30:08 | 2014-04-25T04:30:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,678 | r | cachematrix.R | ## Set of two functions that
## 1. create a matrix that can cache inverse of the square matrix provided
## 2. check in cache if the inverse of provided square matrix already exists
## 3. return the inverse matrix from cache if found in cache
## 3. calculate the inverse matrix, if not found in cache then cache and retu... |
943a92fd7d0ffab96b5182359945d3a8c523700d | 6dd7f5baec15db0b45477659c6f268848ee6c5b7 | /start_analysis.R | c7eb2ccaf118cb430b4b332b30467ccfac9b6a6c | [] | no_license | andy400400/PTTCrawler | c29ffec47175a68970c4fc23961c7c3c7d25e7d7 | c826f60849d5fd7b4456157523fd7a0a30ecd887 | refs/heads/master | 2021-01-01T03:35:01.249765 | 2016-04-17T12:04:04 | 2016-04-17T12:04:04 | 56,434,242 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,925 | r | start_analysis.R | #載入資料
{
x1_path<-paste("D:/000/yahoo_movie.csv")
yahoo_movie<-read.csv(x1_path,header = TRUE,stringsAsFactors = FALSE)
x2_path<-paste("D:/000/3607_3912.csv")
ptt_movie<-read.csv(x2_path,header = TRUE,stringsAsFactors = FALSE)
}
#找雷文
{
class_ptt_title<-NULL
for (x in 1:nrow(ptt_movie)) {
#先找有沒有"]... |
598c611c1ca99054362f70584716b1a4a9009257 | 91a45e4f5b58561dcacddbf0ca91f9f0649e641c | /man/scrape_countries.Rd | b21fd75666d25c5ea4eebf7c5d3410708acd0c62 | [
"MIT"
] | permissive | jebyrnes/wikiISO31662 | b044cd9ed5cbca5d10d260ca5b7c988aeb47edd1 | d4fb6f6bf44d6dd65a3158ca2b7b1f796a830321 | refs/heads/master | 2022-10-16T11:41:21.919779 | 2020-06-01T21:20:49 | 2020-06-01T21:20:49 | 267,416,056 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 520 | rd | scrape_countries.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scrape_countries.R
\name{scrape_countries}
\alias{scrape_countries}
\title{Scrape ISO 3166-2 Country Codes from Wikipedia}
\usage{
scrape_countries()
}
\value{
A tibble of country codes and country names
}
\description{
Scrape ISO 3166-2 Coun... |
f491ba5159a196cd4493bed010a4107972707f8f | b82e5927759426b6f457b10f710f04d4fe70e485 | /logistic_reg.r | 391553a780cb06beebc56d6d2aafbbe8475d7ef4 | [] | no_license | anuj-dimri25/islr | e80572a2dcf821de01f645c939cfce22d335eaea | de224533b58756e040285ede6e5b65fa32a2f9c2 | refs/heads/master | 2020-03-19T00:14:34.102245 | 2018-06-12T21:49:17 | 2018-06-12T21:49:17 | 135,466,075 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,421 | r | logistic_reg.r | require(ISLR) # similar to library
names(Smarket)
# predicting direction -- binary response
# plotting all variables
pairs(Smarket,col=Smarket$Direction)
#logistic regression
model=glm(Direction~Lag1+Lag2+Lag3+Lag4+Lag5+Volume,
data=Smarket, family=binomial)
summary(model)
prediction=predict(model,type="r... |
33b8e9a33cf07be7a0f111041474ebdd5cfa96fa | 57834fe94033c7ca485e91976ae6efc579578b51 | /Rprog/cachematrix.R | b09213e779c3d7dc12e6b1974b63e35e76b6dc11 | [] | no_license | cbeltis/datasciencecoursera | d94e7ac1aa36e8b490d98ffd3560a03bef1c00bc | d5ef7ea9dbabe03da8710effa1c4fcb0b01b2c12 | refs/heads/master | 2020-05-17T05:40:28.393982 | 2015-07-16T19:04:21 | 2015-07-16T19:04:21 | 30,840,258 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 670 | r | cachematrix.R | makeCacheMatrix <- function(x = matrix())
# makeCacheMatrix makes a matrix that can cache its inverse
{
xinv <- NULL
set <- function(y)
{
x <<- y
xinv <<- NULL
}
get <- function() x
setInv <- function(inv) xinv <<- inv
getInv <- function() xinv
list(setInv = setInv,
getI... |
babbff419d3182d15e74f2cfe5d5f75e3c064de2 | 602980a2b335336d9bac17d1a924ddc690449691 | /R/EpivizBpData-class.R | 7b577a85e88d16a05a36cccf467d24533e6550ae | [] | no_license | epiviz/epivizr-release | 55211407cb8bf781ce8c5706479299d81ad3a5f8 | 798b350442b74334fdf3ac834c65a878e0d436e0 | refs/heads/master | 2021-01-13T01:40:53.888146 | 2015-06-09T17:08:33 | 2015-06-09T17:08:33 | 18,971,179 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,468 | r | EpivizBpData-class.R | EpivizBpData <- setRefClass("EpivizBpData",
contains="EpivizTrackData",
methods=list(
.checkColumns=function(columns) {
all(columns %in% names(mcols(object)))
},
.getColumns=function() {
names(mcols(object))
},
.getNAs=function() {
if (length(columns) == 0) {
return(int... |
24240c56c6613663010fdd2bbd6eaaf9e5aaef74 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /spsann/R/optimCLHS.R | ba8344d27a58dd640fcd747afeb02b3b2caf911d | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 21,208 | r | optimCLHS.R | #' Optimization of sample configurations for spatial trend identification and estimation (IV)
#'
#' Optimize a sample configuration for spatial trend identification and estimation using the method proposed
#' by Minasny and McBratney (2006), known as the conditioned Latin hypercube sampling. An utility function
#' _U... |
c47a70e715798ba610dd0da9556c676b18a33077 | ccd06ad4d52aec1366f03d2d73a95f4bfaed328e | /F0101-BvZINB4.R | 0d4b49fd66ebbecb7e80d0a3bc09dd6e60c47d0c | [] | no_license | Hunyong/SCdep | 7e2fd15fec411108f811f6ef39cf9dd5678736d5 | fa1184fc9291aa0b5113122cb2d2760d9de28945 | refs/heads/master | 2021-01-23T00:48:40.483227 | 2019-01-04T02:33:34 | 2019-01-04T02:33:34 | 92,848,572 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 37,968 | r | F0101-BvZINB4.R | # BvZINB4: BvZINB3 + varying zero inflation parameters
library(rootSolve)
source("F0101-BvNB3.R")
source("F0101-BvZINB4-supp.R")
dBvZINB4 <- function(x, y, a0, a1, a2, b1, b2, p1, p2, p3, p4, log=FALSE) {
dxy <- dBvNB3(x=x, y=y, a0=a0, a1=a1, a2=a2, b1=b1, b2=b2, log=FALSE)
dx <- dnbinom(x=x, a0+a1, 1/(1+b1))
dy... |
6e8e37adcad0a2cc0953b689a4a3f7b67ef2405e | 0df4238793e23d933f27172f6381789d00a81bce | /01/01.R | 3f4079e34571f60e537a8922cbdce4965061c384 | [] | no_license | honzikom/AoC2020 | 1ae94c501b9dc6cbc00f10f79711eb32accca782 | 61864b794ba7f3630cbe8b6b5af31c0d55b84e0f | refs/heads/main | 2023-02-03T06:38:27.654276 | 2020-12-22T14:42:33 | 2020-12-22T14:42:33 | 317,928,055 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 504 | r | 01.R | setwd("~/AoC/2020/01")
input <- read.table("./input01.txt")
input <- as.numeric(unlist(c(input)))
l <- length(input)
#star 1
for (i in 1:(l - 1)) {
for (j in (i + 1):(l)) {
if (input[i] + input[j] == 2020) {
print(input[i] * input[j])
}
}
}
#star 2
for (i in (1:(l - 2))) {
for ... |
7b65da10a8e2451065de941cea2e9dcfeb034941 | 688185e8e8df9b6e3c4a31fc2d43064f460665f1 | /man/demo.vowels.f0.Rd | c3486c11170b3852bd22d304d7527a6f2e69027c | [] | no_license | IPS-LMU/emuR | 4b084971c56e4fed9032e40999eeeacfeb4896e8 | eb703f23c8295c76952aa786d149c67a7b2df9b2 | refs/heads/master | 2023-06-09T03:51:37.328416 | 2023-05-26T11:17:13 | 2023-05-26T11:17:13 | 21,941,175 | 17 | 22 | null | 2023-05-29T12:35:55 | 2014-07-17T12:32:58 | R | UTF-8 | R | false | true | 806 | rd | demo.vowels.f0.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/emuR-dataDocs.R
\name{demo.vowels.f0}
\alias{demo.vowels.f0}
\title{F0 track data for segment list demo.vowels}
\format{
An object with $index, $ftime and $data
index: a two columned matrix with the range of the $data rows that belong
to the... |
2ec69012cf9efafc46bdeba269e3822c481e48ad | 77f4e1f47de39a5f6a324d13821c53c78063fc3f | /man/param.Rd | 844b6cf89101bf36c1b2a72fa2b45f7f78156dec | [] | no_license | bashlee/rcloud.params | 38d60ba34b94f9e15507a80dbaf5d49c554f7594 | be017d1e6ace14af5dbfc06d7dab73588702a303 | refs/heads/master | 2021-01-24T12:52:17.698233 | 2018-11-07T15:26:02 | 2018-11-07T15:26:02 | 123,157,268 | 0 | 1 | null | 2018-02-27T16:33:20 | 2018-02-27T16:33:20 | null | UTF-8 | R | false | true | 474 | rd | param.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rcloud.params.R
\name{param}
\alias{param}
\title{Pass parameters to javascript}
\usage{
param(inputTag, name, varClass, inputVal = NA, label = "")
}
\arguments{
\item{inputTag}{HTML string to create widget}
\item{name}{varibale name}
\item... |
2ae72f5e97dc571edb3ddbac8f74191038f74ba9 | 11a34b0073a682ffe3de8fc2e80e32d4a69d93a5 | /F0_otherRaw/snp_freebays_filter.R | 4eef88e3200ead65f72890308f625027a7c70be6 | [] | no_license | xinwenzhg/yeastAse_stats | 60ec644f5604da44f36613be9298acc90582b2a6 | cc25a702c713c8038f6ded46032ae8ba35ee6e8d | refs/heads/master | 2022-04-16T16:14:31.110385 | 2020-03-17T22:52:29 | 2020-03-17T22:52:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,554 | r | snp_freebays_filter.R | setwd('~/cloud/project/otherRaw')
# remove mummer unmatch snps
yr_pos <- read.table(header=T,file='yr5B.posmap')
names(yr_pos)[1:6] <- c('ypsChrom','ypsPosit','ypsN','rmChrom','rmPosit','rmN')
ry_pos <- read.table(header=T,file='ryB5.posmap')
names(ry_pos)[1:6] <- c('rmChrom','rmPosit','rmN','ypsChrom','ypsPosit','y... |
ddd4bfbc4016440a8b265ab0e45d6b8e4a80eabf | fce53c0e4a1d45c9c4d3470684f6b0fde6c939eb | /Chapter_4/Gapminder_enhanced/ui.R | e57152085d6b76ac1013f2d447f24155c4e867ae | [] | no_license | himynameismarcel/Web-Application-Development-with-R-Using-Shiny | 579ff710e977519cf1b33256f8165f586aa68d35 | 7dff0ddcb992725c892c65c44edafd94c4458faa | refs/heads/master | 2020-06-02T03:52:12.919588 | 2019-06-16T12:03:07 | 2019-06-16T12:03:07 | 191,026,674 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,494 | r | ui.R | ## Marcel Kropp
## 08.06.2019
## Shiny Application, Gapminder
## Following the book: Web Application with Shiny R (Breeley, 2018)
library(leaflet)
library(DT)
fluidPage(
titlePanel("Gapminder"),
sidebarLayout(
sidebarPanel(
sliderInput(inputId = "year",
label = "Years included",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.