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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
760fe9d4449facbae766153da9c2f78939559620 | f910b89dfb4454e1ec2dbdd36fcebec21f68137e | /Thesis.R | 6e48075d1fd32e2920638a15111f10365bc103da | [] | no_license | hyunjin-nam/thesis-diabetes | 92c70d31ee2a3e1b87ce9f50a1f343b66ea9439f | a3c7f302a9621177676dc53f2159a0f6b7b9306c | refs/heads/master | 2020-07-16T18:45:08.947297 | 2019-09-02T11:54:30 | 2019-09-02T11:54:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,190 | r | Thesis.R |
install.packages('xgboost')
library(dplyr)
library(tidyverse)
library(data.table)
library(rpart.plot)
library(ggplot2)
library(randomForest)
library(caret) #confusionMatrix
library(reprtree)
library(randomForestExplainer)
library(xgboost)
library(ROCR)
library(skimr)
library(stargazer)
library(caret)
library(e1071)
... |
96f6ab5fa1a8f42ed87ec46e85f97ed0f84e3fa9 | ac8f1f29dfa7b15a51b4e4df3bad1526f4c46640 | /loaders/load_matches_with_win_ratios_prev_10_tie_as_half_win.R | 8c8017a11eeb6b6ea88f65306dc350551ac1671d | [] | no_license | martin-galajda/ML-soccer-data-project | 8c6830e1d8cd53b79e503c3b77cc0d4749758bda | f18c7d2477d4ae3a38bd2a6db8bb194975f0e2ba | refs/heads/master | 2020-03-09T17:08:53.931751 | 2018-06-20T19:51:30 | 2018-06-20T19:51:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 501 | r | load_matches_with_win_ratios_prev_10_tie_as_half_win.R | load.matches.with.win.ratio.from.prev.10.matches.with.tie.as.half <- function() {
# This will precompute features of win ratios from prev 10 matches
# (if it was not computed yet)
# and save it to "precompute_win_ratios_prev_10_with_tie_as_half.csv" inside data/ dir
source('./feature_extraction/precompute_feat... |
5acfd31561c9e5e49ce5c37cf2cb7399b3775ade | 74f3121b84b8518aaae29d10fe0e69ed59fc145b | /plot4.R | 5cb96de1c15b80190b79cbc685b044231e02d76c | [] | no_license | dlarlick/ExData_Plotting1 | c0e74a82a93f9f675f39aa8d044d3ac8e756c717 | 94251a5ab7b89b2fdabddeece09f130af250661b | refs/heads/master | 2021-01-14T11:05:56.304931 | 2016-03-14T01:20:04 | 2016-03-14T01:20:04 | 53,793,893 | 0 | 0 | null | 2016-03-13T16:02:22 | 2016-03-13T16:02:22 | null | UTF-8 | R | false | false | 2,445 | r | plot4.R | ##################
## Student DLARLICK
## COURSERA : Exploratory Data Analysis
## Week 1 Assignment Project 1
## File : plot4.R
## Due 03/13/2016
##################
##Needed for mutate function
library(plyr)
##Set the working directory and read in the relevant datasets
setwd("c:/rprogramming/ExpDataAnalys... |
e55dac7dc8836a0ac2bff84802d2777cc8749dec | b16154d020aca160dec32497b466d51909b1a812 | /plot1.R | a15fbfb9c38a819442cc1c389188049ec906b30c | [] | no_license | gjamnitz/ExData_Plotting1 | 2fd3dc5c2aecb8b4ca9a683ffceebce437833b87 | ca418687a17eb20a0819df6ba38d907454797f31 | refs/heads/master | 2021-01-21T16:54:48.454372 | 2015-01-11T11:11:28 | 2015-01-11T11:11:28 | 28,880,864 | 0 | 0 | null | 2015-01-06T19:59:39 | 2015-01-06T19:59:39 | null | UTF-8 | R | false | false | 629 | r | plot1.R |
# reading file - only necessary rows read
powerConsumption <- read.csv(file = "household_power_consumption.txt", sep = ";", header = FALSE, skip = 66637, nrows = 69518 - 66637 - 1)
names(powerConsumption) <- c("Date", "Time", "Global_active_power", "Global_reactive_power", "Voltage", "Global_intensity", "Sub_metering_... |
6d7271f3a39604f2b96c209342ae029d419ec033 | 81a9486b9f7fef323e8446107272bbdeb7e1d5cf | /03-analysis/analysis.R | 0627d5510f12952c9e33e40fb5e54bb1452f266a | [] | no_license | sssspork/2020-hk-legco | 65f979ede29fc86ec61e2cae12c782dd41bd4e2b | 96eb8c47636ad8698e602cf4c6427384718b33c3 | refs/heads/master | 2022-11-25T05:04:01.353341 | 2020-07-22T05:29:02 | 2020-07-22T05:29:02 | 281,314,994 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,598 | r | analysis.R | library(data.table)
master <- fread("../01-extract-data-from-XML/legco-201610-202006.csv")
member <- fread("../02-manual-members-info/legcomembers.csv")
# remove youngspiration as they were unable to vote, due to the oath-taking controversy
# cf https://en.wikipedia.org/wiki/Hong_Kong_Legislative_Council_oath-taking_... |
6cee4e60d8267d01f2fc099ee8700d7b82419309 | 7c3083e6eb57d38a8735b63d0f23620938d28669 | /man/SURVFIT.Rd | 3f58d4535c702fa760f55aa683cff63640926596 | [] | no_license | hamzameer/SURVFIT | 530d45a929bdae2ca3825505a100e10129a8b7c1 | a921c744a2da2661588dc8ae22563be519ab8419 | refs/heads/master | 2021-01-03T22:04:21.743495 | 2020-12-16T14:29:59 | 2020-12-16T14:29:59 | 240,253,274 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,630 | rd | SURVFIT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/survfit.R
\name{SURVFIT}
\alias{SURVFIT}
\title{Doubly Sparse Survival Rule Extraction}
\usage{
SURVFIT(
formula = formula,
data = data,
rulelength = 3,
doubly.sparse = FALSE,
gamma = NULL,
lambda1 = NULL,
lambda2 = NULL,
cros... |
fbdf469c7a8f5b4cb42ad889fc8670459e3655d4 | 04a89a0089f50c2b98db688c6bbc899c2ea9f295 | /man/add_watcher.Rd | 0970ec7819ee74054b19f746cae21aa2097316ef | [] | no_license | patsulda/Rjira | 3f9e7eeb7b42ea72c85dfb7bc0ee05780193924d | 4fdd287a61c6fae48ab3effba073f5ca47b12b6f | refs/heads/master | 2021-01-22T21:07:37.824994 | 2017-04-01T19:07:12 | 2017-04-01T19:07:12 | 85,394,436 | 1 | 0 | null | 2017-03-18T10:53:18 | 2017-03-18T10:53:17 | null | UTF-8 | R | false | false | 785 | rd | add_watcher.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/watcher_functions.R
\name{add_watcher}
\alias{add_watcher}
\title{Add a watched to an existing issue}
\usage{
add_watcher(issue, user, jira_url = getOption("jira_url"),
jira_user = getOption("jira_user"),
jira_password = getOption... |
03b904a06f3c3224de49e12c999a19c88c327a48 | 4e3d58e1e2165b2fd8a5c5141e9990a70914e8d9 | /man/circos.genomicTrack.Rd | e1e84daae212ea59bdd582b5aef659876051b9c6 | [
"MIT"
] | permissive | jokergoo/circlize | d287b72d1e2cb3079068d9c36f253342fde29bf7 | 11ddb741620c44e9c566c992a4e28bb213fab19f | refs/heads/master | 2023-08-23T02:27:35.268033 | 2022-12-09T16:16:41 | 2022-12-09T16:16:41 | 9,529,406 | 884 | 156 | NOASSERTION | 2022-02-03T11:26:44 | 2013-04-18T18:56:04 | R | UTF-8 | R | false | false | 391 | rd | circos.genomicTrack.Rd | \name{circos.genomicTrack}
\alias{circos.genomicTrack}
\title{
Create a track for genomic graphics
}
\description{
Create a track for genomic graphics
}
\usage{
circos.genomicTrack(...)
}
\arguments{
\item{...}{Pass to \code{\link{circos.genomicTrackPlotRegion}}.
}
}
\details{
shortcut function of \code{\link{circo... |
2008a7ceaf8e4a2c6d85ee4dd6bf32f58cff22c4 | 82acfdef9ac6b3b0fcf0d04bb678b88fdf24e965 | /lab8/assignment8_1.R | 895cdf2745852bba3bd320c1284860b750daf145 | [] | no_license | NikhilMugganawar/Data_Analytics_Lab | 1fe7093fc6b354c27e1c5c136d1a1d2b98b2e86b | 0ffe8e6f66d0c2d6265732933bb8b2c8b509c077 | refs/heads/main | 2023-08-24T10:23:21.196816 | 2021-10-29T13:18:35 | 2021-10-29T13:18:35 | 394,239,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,296 | r | assignment8_1.R | #OVERALL STRATEGY
#A SMALL TRAINING SET (here Iris dataset)
#TRAIN A SIMPLE MODEL ON SMALL TRAINING SET (here decision tree and knn)
#GATHER A LARGE SET OF UNLABELLED DATA (here using the test split set for convenience)
#IF MORE TRAINING DATA IS NEEDED MAKE PREDICTION ON UNLABELLED DATA (For convenience we treated ... |
001131a443a0ab38b2bc0263eebaf9737884fe86 | ca4772ee47f2d3d2b1d9bc8d9450d633ad1b7c74 | /R/assert-is-set.R | daa9ad30d21ca51d30258257c5f8dd736db49af1 | [] | no_license | cran/assertive.sets | 400f82484be52e2147f197b259fa772ed28a4c19 | f196701576ce5e490b2346ad6e4a66ade39b0a56 | refs/heads/master | 2021-05-04T11:23:03.322718 | 2016-12-30T18:35:49 | 2016-12-30T18:35:49 | 48,076,809 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,788 | r | assert-is-set.R | #' @rdname are_set_equal
#' @export
assert_are_disjoint_sets <- function(x, y,
severity = getOption("assertive.severity", "stop"))
{
assert_engine(
are_disjoint_sets,
x,
y = y,
.xname = get_name_in_parent(x),
.yname = get_name_in_parent(y),
severity = severity
)
}
#' @rdname are_set_... |
20d54e7db8126fe6ae538780c46c641f06c2fbcc | fd80a412dd304b8b9994e9aa897b41e42093bbca | /ui.R | a4131232d67c7af731822030d3a183e8ffab4dcb | [] | no_license | Shekhar8777/WBAT | 7379588363ced3f07577b19349662c3f803b09df | 32bccd414c682c36a027ab29666132e7bc1ecfe9 | refs/heads/master | 2021-01-23T01:26:54.765195 | 2017-05-31T06:09:04 | 2017-05-31T06:09:04 | 92,874,993 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,516 | r | ui.R | library(shiny)
library(shinydashboard)
library(ggplot2)
ui <- dashboardPage(
dashboardHeader(title = "E-Analyzer"
),
dashboardSidebar(
sidebarMenu(
menuItem("DashBoard", icon = icon("fa fa-tachometer"), tabName = "dashboard"),
menuItem("Word Count", icon = icon("fa fa-commenting-o... |
900c294382e0077aa44689d627da4345a356bf71 | 8ff336d8fa0b4cee7c4359b1792ddf019a430baf | /R/x_data_deparser.R | 8616af24cb1363e2c20c3e1b290d5bf4245417c9 | [
"MIT"
] | permissive | prestevez/victim | aab79dd897adf2539a88eeaa17e9d79a9923194e | 9cac44d7a0a5d199fd7cb8db44a4b0a968471dfc | refs/heads/master | 2022-04-03T20:37:29.162704 | 2020-01-27T16:47:45 | 2020-01-27T16:47:45 | 90,482,308 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 443 | r | x_data_deparser.R | #' x_data_deparser function
#'
#' A helper function used inside other functions to be able
#' to call either x as an object or as a column name of data
#' @param x a vector or a name of a column in \code{data}
#' @param data a data frame.
#' @export
x_data_deparser <- function(x, data = NULL)
{
if(is.data.frame(da... |
87fc6cb523e8fc94203ce67eaef7bb61affed014 | 6990b119bcec4203db277be183b6cefd7ff46b9f | /Useful functions.R | c67f15e0d70e4ed77fe6bc97442fd42126cbc55f | [] | no_license | visheshkochher/R_codes | 30897f8b4277b3bfc0efbb320ee32c46b2491cf3 | 24e7b86a6c84a60f36e34e544fdb1377025aefb0 | refs/heads/master | 2021-01-01T18:46:33.707698 | 2017-07-26T14:47:36 | 2017-07-26T14:47:36 | 98,434,096 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 341 | r | Useful functions.R | `%not in%` <- function (x, table) is.na(match(x, table, nomatch=NA_integer_))
shift.vec <- function (vec, shift) {
if(length(vec) <= abs(shift)) {
rep(NA ,length(vec))
}else{
if (shift >= 0) {
c(rep(NA, shift), vec[1:(length(vec)-shift)]) }
else {
c(vec[(abs(shift)+1):length(vec)], rep(N... |
f9c0f306f4c4fc0b6f43d4ad855d2f1bee2e5c3a | f14aa70c97272cc70360c733fc348026da93ec79 | /man/titanic.Rd | 99609260a2208ef13138c6c6bfb1e9a2b1234bd7 | [] | no_license | tklebel/crosstabr | 410c2a229b23b56b90ed05ebd07026add609aae2 | 01c9e8d5b7c85723233f4b73c6e8ec9863450f16 | refs/heads/master | 2021-01-21T05:00:07.697291 | 2018-05-15T16:54:32 | 2018-05-15T16:54:32 | 46,113,923 | 1 | 0 | null | 2016-07-08T14:12:10 | 2015-11-13T09:52:34 | R | UTF-8 | R | false | true | 489 | rd | titanic.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{titanic}
\alias{titanic}
\title{Data on Titanic survival.}
\format{A data frame with 2201 rows and 4 columns.
The levels are as follows:
\describe{
\item{Class}{1st, 2nd, 3rd, Crew}
\item{Sex}{Male, Female}
\... |
a0df4957b260bf135e367a9e326e808d56f87286 | a29b0b2ec374909fe1087099c309989dcd9d0a8b | /R/deriveTotalPrecipitation.R | 4a8e0edbdd50e9997f5ffa3e7d18b5e785471446 | [] | no_license | jbedia/loadeR.ECOMS | 729bab9a41074234bc4b9d3e4473cc25bf411018 | 84528ab325dba57d2af34e1b71ce032830ee7ac9 | refs/heads/master | 2021-01-24T23:58:02.464171 | 2018-02-12T12:04:11 | 2018-02-12T12:04:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,756 | r | deriveTotalPrecipitation.R |
deriveTotalPrecipitation <- function(gds, grid, dic, level, season, years, time, latLon, aggr.d, aggr.m) {
timePars <- getTimeDomain(grid, dic, season, years, time, aggr.d, aggr.m)
levelPars <- getVerticalLevelPars(grid, level)
message("[", Sys.time(), "] Retrieving data subset ..." )
# grid =... |
7fb81477f93d5b04d27afddd7c072193d3bbbfb2 | e38f11fe73c4562db284e8dda6890f4037ebc3ae | /package/man/perform_qc_plots.Rd | f40abfa6dd1f851678b9fcfabd2faec2d7b9770f | [] | no_license | genepi-freiburg/saige-pipeline | f3430dccf0d5d174f34e63dcd1d6ef3fb4951a9b | cd3145ea65e3204530308167bdc980b7f3ce8a97 | refs/heads/master | 2020-06-29T22:13:13.532977 | 2020-01-13T09:35:38 | 2020-01-13T09:35:38 | 200,639,008 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 613 | rd | perform_qc_plots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/perform_QC_plots.R
\name{perform_qc_plots}
\alias{perform_qc_plots}
\title{Performs box plots, histograms, Manhattan and QQ plot
(unfiltered, MAF >1\%/INF >0.4 and MAF >5\%/INF >0.8.}
\usage{
perform_qc_plots(file_pattern, out_prefix, file_s... |
536c373d50d7a4e2f71f8f400236169b2b61e056 | b526588e6e7a3febf842d961e27c4f3fcb059588 | /not_shiny_app/Scripts/med_hh_income_2010_2019.R | f22c3d761fbbf5535f8757ed066959191080cc8b | [] | no_license | DSPG-Young-Scholars-Program/dspg21rappk | 9e0301e3b4201f1e960bc4cd15ecc340b52438ed | e725cc5e4f60b48fc5e43600b08a7b0afefaa473 | refs/heads/main | 2023-07-02T09:43:58.488965 | 2021-08-04T20:26:00 | 2021-08-04T20:26:00 | 392,816,062 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 25,232 | r | med_hh_income_2010_2019.R | ##### Necessary Libraries ######
library(tidyverse)
library(tidycensus)
library(ggplot2)
library(sp)
library(rgdal)
library(tigris)
library(raster)
library(maptools)
library(rnaturalearth)
library(rnaturalearthdata)
library(rgeos)
library(tmap)
library(tmaptools)
library(maps)
library(leaflet)
library(viridis)
library... |
ba3baed8731eb5c231e769241ea3deebe954e7d4 | 409cdf1ef7d0009475c28b56d8fe009d869231c2 | /plot3.R | 40735f9a23b10ab7dcd0d939f9a3eac2c6603368 | [] | no_license | wlau0721/ExData_Plotting1 | d1d81b8fdcf3b106ab94fc30eb592c1a646e96ba | 3f6159c0682f5fd18d91266c0f9fd6152d46c94b | refs/heads/master | 2020-05-29T11:57:42.098056 | 2015-01-10T17:32:50 | 2015-01-10T17:32:50 | 28,992,057 | 0 | 0 | null | 2015-01-08T23:50:33 | 2015-01-08T23:50:33 | null | UTF-8 | R | false | false | 1,576 | r | plot3.R | ##### filename: plot3.R
##### goal: this script is to generate plot3.png for course project #1. The data file is assumed to be stored in the data folder in same directory as the script.
##read the entire electric date set
if (!file.exists("./data")) {dir.create("./data")}
powerdata <- read.table("./data/household_pow... |
75af1dcf6005a942a9e18aae5ec3d547e4fc5f66 | 842d2e60d78bf98fbc801bf77c0cdecefdc743fb | /R/range_bag.R | 34e6a698a4e01c6919f77637acf14fffb6c2389e | [] | no_license | jscamac/edmaps | f3c2a588b1c23d64a7739d30fd8c1b21cbef4823 | 3b21b380d5de167c115fc867162eed23c58d96c1 | refs/heads/master | 2023-04-04T23:42:50.981957 | 2022-05-27T04:05:24 | 2022-05-27T04:05:24 | 220,372,372 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,132 | r | range_bag.R | #' Fit and project range bag model
#'
#' Fit and project range bag model.
#'
#' @param occurrence_data `sf` object, `data.frame` or character
#' path to a csv file containing occurrence coordinates (must contain
#' columns named "Latitude" and "Longitude").
#' @param bioclim_dir Path. Path to directory containing W... |
cdde47bae06dd8d7d1b2c9b8c9d6c8a496428093 | 70b973af1466108afbb476e62e5672b1fb495f94 | /seir-model/compare-models.R | bd7cec6567af78e3193d2ab04c7b128e0e2d9744 | [] | no_license | openmodels/coronaclimate | dbac851a4a7b4d51891f69c7e9e43d691e34ecf1 | 2909520af378cc9b38db09c295f4c451a3be2c00 | refs/heads/master | 2022-11-07T07:19:59.006186 | 2022-11-03T01:58:19 | 2022-11-03T01:58:19 | 249,415,990 | 0 | 0 | null | 2020-03-30T19:39:06 | 2020-03-23T11:46:24 | Python | UTF-8 | R | false | false | 7,087 | r | compare-models.R | setwd("~/research/coronavirus/code/seir-model")
library(lubridate)
## result.files <- c('epimodel-0604.csv', 'epimodel-0604-ww.csv', 'epimodel-0615.csv',
## 'epimodel-meta-0616.csv', 'epimodel-0803.csv', 'epimodel-meta-0806-x5.csv',
## 'epimodel-meta-0817.csv', 'epimodel-meta-0817-... |
bce6316ce7917ec5a78134bcd33f60a0f6a78539 | cfe8b5466b9e1bd35ebb000a15e74e466f613603 | /Analyses/Mapping.R | fbaba1a6db48e43d90664c43e08c80ce0e2b1359 | [
"MIT"
] | permissive | christiancjw/how-many-galeopterus | fb5d691a1ff37fed97162268f72bb83992a4dd75 | 7ffe1211a4411578d48544ded2afe62f7b91c0bf | refs/heads/main | 2023-04-22T18:50:23.629628 | 2021-05-07T08:43:18 | 2021-05-07T08:43:18 | 353,683,466 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,744 | r | Mapping.R | # Assuming your original data is called cologu. Note you don't need the PCs or anything, just the data for how you want to split/colour the points and the lat longs
## Load libraries
library(tidyverse)
library(sf)
library(rgeos)
library(rgdal)
library(Hmisc)
library(rnaturalearth)
# Helper functions for plotting ----
... |
62e05d258f04f3ce63e712d1128eee700eed09a9 | 29585dff702209dd446c0ab52ceea046c58e384e | /PopGenKit/R/freqPCA.R | 2ba3f96ffdb6a4ed82dc949624b31bb60a253307 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,843 | r | freqPCA.R | freqPCA <-
function(datafile, ndigit=3, default.pop=T, vecpops)
{
freq.overall=F
freq.by.pop=F
input=read.table(file=datafile, sep='\t', colClasses='character')
noext= gsub("[.].*$","",datafile)
nloci=ncol(input)-2
#transformer pour trouver npops et popsizes
whereNbSamples=grep('NbSamples',input[,1])
np... |
332ae16adfd8e81bf724dc7efdd7daa9ae882788 | 1f3f41868d8ac5afd1731bd6756a2a6bde855c27 | /Analysis/Read_Files.R | a795978a8b98f66a82da838e74ab693c190a6269 | [] | no_license | milescorak/The-Canadian-Geography-of-Intergenerational-Income-Mobility | 49c1d04f034b7d07f08680cfdc8eceb210ae2a61 | 7dd30b575011b94312d1dbadbc7f59cefa4ee1f4 | refs/heads/master | 2020-08-22T03:47:52.432308 | 2020-03-09T11:12:28 | 2020-03-09T11:12:28 | 216,311,236 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,342 | r | Read_Files.R |
# May 9 2016
# Miles Corak
# load libraries used in mapping and analysis
# of intergenerational inocme mobility
# of Census Divisions and Census Sub Divisions
# install libraries needed for mapping
MapLibraries <- c("sp",
"maptools",
"gpclib",
"maps... |
d1cf0f2de84526f8359c06f31cb2c8d4b67f6bfb | d1976dc8700c0edaf02556d9a232c4893a722ec0 | /man/fitModel.Rd | eb2e9c2f27cc2df594f6c30bbc474deaa3eebfc6 | [] | no_license | MichaelFolkes/forecastR_package | 5276cbb897078efd8994b5267aa6ef227917e613 | 2f291afff2bde360e8dee00fc17cf9a3b4e40725 | refs/heads/master | 2021-06-11T16:09:48.104493 | 2021-04-03T18:22:58 | 2021-04-03T18:22:58 | 171,557,939 | 1 | 3 | null | 2021-04-03T18:22:59 | 2019-02-19T22:09:42 | R | UTF-8 | R | false | true | 1,275 | rd | fitModel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Module_fitModel.R
\name{fitModel}
\alias{fitModel}
\title{General Model Fitting Functon}
\usage{
fitModel(
model = c("Naive", "ReturnRate", "Mechanistic", "SibRegSimple", "SibRegKalman",
"SibRegLogPower", "TimeSeriesArima", "TimeSeriesE... |
ffc5a9276550b63d7bedc5454a1cbee01111c890 | f0a43727416e8bee2dee9895b82ec0b7d5b9fa10 | /man/files.Rd | 4b56e2d9d39bde375d62be2b68e84b6addbf2ef3 | [
"BSD-3-Clause"
] | permissive | jtoll/fileTools | 5e8e41b3b513efcc9a825bfe56a87b19c1655349 | 57b1a067e85668ad860f74563a28aa3b31068683 | refs/heads/master | 2016-09-05T22:18:22.468669 | 2015-06-24T15:13:51 | 2015-06-24T15:13:51 | 6,632,251 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 420 | rd | files.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/files.R
\name{files}
\alias{files}
\title{files}
\usage{
files(path = ".")
}
\arguments{
\item{path}{a character vector containing a single path name.}
}
\value{
a vector of files
}
\description{
Return a vector of \strong{just} the f... |
727a4a44ef48fb07931a18925ad7372c08f0622d | 623c061e25faef39f517345413ceeb6cb44203f5 | /man/sdMean.Rd | d61a2aa20ba1e3cb1de57180f829c0c36bba3c48 | [] | no_license | RostyslavMaiboroda/mixvconc | e0f70af37df7d9e916897e220b7e2403904da84f | cfd955ca0f3e3e68770f3cdde81e860aea0cb5ed | refs/heads/master | 2020-06-03T03:53:10.405082 | 2019-06-11T18:30:08 | 2019-06-11T18:30:08 | 189,638,338 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,650 | rd | sdMean.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/start2.R
\name{sdMean}
\alias{sdMean}
\title{Estimates for standard deviations and CI
for weighted means by observations from the mixture.}
\usage{
sdMean(x, p, comp = 1:ncol(p), means = FALSE, CI = FALSE,
alpha = 0.05)
}
\arguments{
\item{... |
0751e84d371f108a276613fa1c35142e5cba26d7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/datapack/examples/getSize.Rd.R | a81ac14b02e2a4fd931e6f7b1104fe7d2280efa7 | [] | 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 | 325 | r | getSize.Rd.R | library(datapack)
### Name: getSize
### Title: Get the Count of Objects in the Package
### Aliases: getSize getSize,DataPackage-method
### ** Examples
dp <- new("DataPackage")
data <- charToRaw("1,2,3\n4,5,6")
do <- new("DataObject", dataobj=data, format="text/csv", user="jsmith")
dp <- addMember(dp, do)
getSize(dp... |
3d6e5914b07419e617d3114c9a869f62bd57b51d | fe9c43c5eab08594756bf37eb7db5f7d0a7d8024 | /man/slackr_tex.Rd | 2879d1f1d50c4c5a42dfe97a1e945477a88becca | [
"MIT"
] | permissive | mrkaye97/slackr | f3cf7c5e9a4170948d9b51c8414e9623e40aaccc | 4dbc80db2fb89822b14879ab06dabbf9c2c5f7c7 | refs/heads/master | 2023-05-31T17:54:14.115413 | 2023-03-30T14:18:43 | 2023-03-30T14:18:43 | 23,662,956 | 49 | 14 | NOASSERTION | 2023-09-10T16:55:31 | 2014-09-04T13:16:47 | R | UTF-8 | R | false | true | 2,043 | rd | slackr_tex.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/slackr_tex.R
\name{slackr_tex}
\alias{slackr_tex}
\title{Post a tex output to a Slack channel}
\usage{
slackr_tex(
obj,
channels = Sys.getenv("SLACK_CHANNEL"),
token = Sys.getenv("SLACK_TOKEN"),
ext = "png",
path = NULL,
title = N... |
084f1ced541f12c439239c0da68f4148de6eb649 | 508c80c7ba3c5e6670d9122569aa8b144291d27c | /PA1_template.R | 055e3fb0f86982ea2b8edda845176ed0d785d8df | [] | no_license | DJMcClellan1966/reproducible-pa_1 | 573f139bc96acd748c77e557fb712e7e172cc48c | 071e3b70348271f0a564e3eb2b61e90cafd90c35 | refs/heads/master | 2020-05-19T22:40:34.709835 | 2015-05-07T23:23:10 | 2015-05-07T23:23:10 | 33,887,892 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,507 | r | PA1_template.R |
**Introduction**
================
It is now possible to collect a large amount of data about personal movement using activity monitoring devices such as a Fitbit, Nike Fuelband, or Jawbone Up. These type of devices are part of the “quantified self” movement – a group of enthusiasts who take measurement... |
d57f90fbf0e38bde01e5897d078d140446794e19 | 1670b4a0eff54dfa917a25b5fee464477cc2c3cb | /CS7DS3-Applied Staticstical Modelling/Assignment-2(Main)/code/asm.R | 6908fbd9d05ea56ee55aec6597e8259ddc495423 | [] | no_license | Mihirtcd/trinity | 34dc0a1e64e562c299fc848696f8a30282c4b9cc | 26ead3d713f4640f622822e24cc6acf50b40746a | refs/heads/master | 2023-07-25T13:59:49.815092 | 2019-08-19T14:28:07 | 2019-08-19T14:28:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,506 | r | asm.R | library(jsonlite)
library(ggplot2)
library(MCMCpack)
library(RColorBrewer)
#read the file
json_file <- stream_in(file("data/Business_Toronto_Restaurant.json"))
#select data
data = json_file[json_file$neighborhood == "Etobicoke"|json_file$neighborhood == "Scarborough",]
#x2 = json_file[,]
#data = rbind(x1,x2)
data =... |
6ac9a3bfc4bfe0a75f439cfd4e638731a5fd6829 | d8dd7a1e55fe0a636cff463ba59cc18ea337bab3 | /R/yokkunsr.R | bba97ac57803d66db035b014e3ee52bf754af4bb | [] | no_license | teramonagi/yokkunsr | ac2a969ad9ee204a04f52c3f8608cb28ae36a6fc | b06d77da72010a7618296f082abf1e0594ca3916 | refs/heads/master | 2020-06-15T17:14:16.490131 | 2016-12-01T09:22:18 | 2016-12-01T09:22:18 | 75,274,610 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 141 | r | yokkunsr.R | #' yokkunsr
#'
#' Love Yohei Sato
#'
#' @name yokkunsr
#' @docType package
#' @import stringr lubridate dplyr tidyr httr jsonlite data.table
|
9e82b2321287d01cbc5885166b6add83a8dd05cf | e3dfb30d469eca5a4880b18214fa32595dd9c6f1 | /process.data.R | 6e742452bb2ceda47970c04db686c3df3b3b317f | [] | no_license | badfroze/abelian-complexity | 741268e0bd04247d5a10f0a6e75edddeeb53da76 | d50fee18685b1dd7a26c79831bcc5c2526572ddb | refs/heads/master | 2020-03-18T08:47:46.913578 | 2019-02-22T08:53:41 | 2019-02-22T08:53:41 | 134,528,441 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,204 | r | process.data.R | process.data <- function(){
###process the data
##############################################
#2018.01.12 by chengchao wu
############################################## read sample
############################################
ratio = 1 #ratio equals the proportion of training sample druing the whole origi... |
01da50d3d88cf7e64e731e0740e1278e0a891a80 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/maelle/india_trains/complementing_timetable.R | 814a4fbdb55e8b515d295ccb44cc5dc2b41923d2 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,674 | r | complementing_timetable.R | load("train_data/train_timetable.RData")
load("geo_data/geoInfo.RData")
timetable <- timetable %>%
# Remove 'JN', which represents junction, from station names
mutate(sourceStationName = gsub(" JN", "", sourceStationName),
destStationName = gsub(" JN", "", destStationName),
stationName = gsu... |
df7194ce66596cc6af0bd628faace414fbe54822 | 43418fa45f03b4c68c9e6f6fcefdec462105f6ee | /man/epsAu.Rd | d869547998b58a3e8a66ff0e9db419d1d6e3a7d9 | [] | no_license | cran/dielectric | 9e66a9271b93042cb0d31de23be8f496663ee687 | 6c0e1164e5ba3c1da87a9b014c701d1236cbb0de | refs/heads/master | 2020-04-06T03:31:31.574027 | 2012-03-04T00:00:00 | 2012-03-04T00:00:00 | 17,695,498 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,314 | rd | epsAu.Rd | \name{epsAu}
\alias{epsAu}
\title{epsAu}
\usage{
epsAu(wavelength, epsilon.infty = 1.54, lambda.p = 177.5,
mu.p = 14500, A1 = 1.27, phi1 = -pi/4, lambda1 = 470,
mu1 = 1900, A2 = 1.1, phi2 = -pi/4, lambda2 = 325,
mu2 = 1060)
}
\arguments{
\item{wavelength}{wavelength in nm}
\item{epsilon.infty}{backgr... |
82edc7bf64c8309cb141f6a0ff812570ced6b853 | 02e7669a028e0920a73ea00dcf4a3ede616809cf | /man/MultiForecast.Rd | f79f83a5ed14d25a35a6309e663e219dea32cc38 | [
"MIT"
] | permissive | evandeilton/RTFC | 7b13339fe9d44c9f20d7ffa60fe024e2990353c7 | 20d37faa182751a6f276ad80a73fd6bab7215688 | refs/heads/master | 2021-01-20T00:48:05.754274 | 2018-04-05T17:46:34 | 2018-04-05T17:46:34 | 89,193,443 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,998 | rd | MultiForecast.Rd | \name{MultiForecast}
\alias{MultiForecast}
\title{
Faz forecast com diversos metodos
}
\description{
Em analise...
}
\usage{
MultiForecast(x, Control = cmisControl(), fcMethod=NULL)
}
\arguments{
\item{x}{
Série temporal
}
\item{fcMethod}{
Método de forecast definida pelo utilizador. Se NULL, a es... |
e7290b499affe75f0b3a0441b12733d8312c3826 | 1f74a31dce7c679d3ef4507335e2f6e763987ff1 | /stockassessment/man/corplot.Rd | 9c53db455369fcc94ae691e0c514928537b898f1 | [] | no_license | fishfollower/SAM | 5b684c0a54d6e69f05300ebb7629829b2a003692 | a1f1c5b17505a7a73da28736f0077805a7606b30 | refs/heads/master | 2023-07-22T00:50:48.411745 | 2023-04-21T10:25:20 | 2023-04-21T10:25:20 | 67,597,583 | 55 | 35 | null | 2023-02-22T08:42:23 | 2016-09-07T10:39:25 | R | UTF-8 | R | false | true | 593 | rd | corplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{corplot}
\alias{corplot}
\alias{corplot.sam}
\alias{corplot.samres}
\title{Plots between-age correlations by fleet, either estimated or empirical using residuals.}
\usage{
corplot(x, ...)
\method{corplot}{sam}(x, ...)
\method{c... |
48ce9a0418a4d5384a6adf5604cf932a6dbbe63f | 2b5d396d500ffc3523aa40c4bbc478cb08724986 | /2.1_network_make_plots.R | 61d1aa3a5577bde8593081971e8d260d4b914bfc | [] | no_license | peterch405/pchic_network | 2a67419f2c75e009a6156078f0cdb15ae8046e68 | c618d614cf01b37da12aad85409db2ca17374c0a | refs/heads/master | 2023-02-18T14:52:56.690645 | 2021-01-19T21:48:03 | 2021-01-19T21:48:03 | 190,488,260 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,627 | r | 2.1_network_make_plots.R | library(readr)
library(igraph)
library(ggplot2)
library(ggpubr)
source("network_dynamics_functions.R")
#Naive primed only -------------------------------------------------------------
net_all_s <- readRDS("2_network_make/net_all_s_20190829.rds")
net_all_naive <- isolate_cell_network(net_all_s, "naive")
net_all_pr... |
178cf402d91bc65aa8e5210067c5d32ccfa9bb88 | d060fad3c33325ba3e6ab2e42ac9df2ff2a5abf0 | /R/check.variables.to.be.ordered.R | 851b3552dff73c083591c8b612deaa20227d558f | [] | no_license | cran/bnpa | 0eb35f0d18850e4b3556c7b08c469e04aab97538 | 3f27ca031b7f6fbf30264d8582970f505f8b76ea | refs/heads/master | 2021-01-11T21:51:55.114628 | 2019-08-01T22:20:02 | 2019-08-01T22:20:02 | 78,866,497 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,235 | r | check.variables.to.be.ordered.R | #'Check if the variables need to be ordered
#'
#'This function receives a data set and check the level of each factor variable, if they have more than 2 levels the function recommend to check the need to transform it to ordered factor.
#'@param data.to.work is a data set with variables to check.
#'@return TRUE or FALSE... |
5f9a07cfb3dfd1ca946bf925155cebceb520c976 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed_and_cleaned/10520_0/rinput.R | 23379ab17691f43b7f7a2c98db65c1d669f77ecd | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("10520_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="10520_0_unrooted.txt") |
26233ea8cfcd4e2bdcbdb181e58a19f253cabc97 | e5ae96af6fcc5e8ad327412258be984912898985 | /2015/12-December/2015-12-10BLM.R | d5574fa6fd0487f79e5ab2d6416a6dee1327da62 | [
"MIT"
] | permissive | AdolfoGrossoGamboa/Ninja | 146c672523a7aaac61c3528266d0781f2380d4dd | b8e0dcb46b70bf635878ae9a91b29355ce4f6397 | refs/heads/master | 2022-04-17T10:24:31.137549 | 2020-04-11T18:55:22 | 2020-04-11T18:55:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,551 | r | 2015-12-10BLM.R | # Fatal Encounters
rm(list=ls())
library(data.table)
library(plyr)
library(stringr)
library(ggplot2)
library(scales)
library(dplyr)
library(tm)
library(foreign)
C <- function(x) x %>% strsplit(split=",|,\n") %>% unlist %>% gsub("^\\s+|\\s+$","",.)
fataldata <- fread('Z:/Data/FatalEncounters/FatalEncounters.csv', he... |
6164418200e473b5d9a368aba6ff3d3b24e4cbf4 | 864b7c280da3729cdc9b122b47dcbbe8bb2a09a1 | /R/Archive/Bmatch_Example2.R | df4b31d643a7fd01ee15446413978342bd3409e1 | [] | no_license | ejbreen/LOCOS | a431c0f514436cb5ae7cff8579a9cea1dca83148 | f119079ae7a9b0950178ab48eb58215b74c9b185 | refs/heads/master | 2021-05-13T19:12:16.234931 | 2018-04-20T14:21:31 | 2018-04-20T14:21:31 | 116,886,231 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,393 | r | Bmatch_Example2.R | # Required packages: Rglpk
# designmatch
# gurobi 'C:/gurobi752/win64/R/gurobi_7.5-2.zip'
install.packages('C:/gurobi752/win64/R/gurobi_7.5-2.zip', repos = NULL)
library(gurobi)
library(Rglpk)
library(designmatch)
# Load and attach data
data(lalonde)
attach(lalond... |
bdb88028f5229a4b9260a35bdeece2f23eb661df | 708ae4e7e59e6f67baa2faafc39c34d235ebcf8d | /8schools.R | 19b018064df24c11ca58632d43c3141c518d9a52 | [] | no_license | albcab/Stan-OpenBugs-Examples | af791bc910ecaf56a01b709ec4e6f24c523f82c5 | ba964c930a726247a865f56cf138b1cdf0d72c2e | refs/heads/master | 2020-04-24T06:12:48.063443 | 2019-03-29T13:23:38 | 2019-03-29T13:23:38 | 171,757,361 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 661 | r | 8schools.R | library(rstan)
schools_dat <- list(J = 8,
y = c(28, 8, -3, 7, -1, 1, 18, 12),
sigma = c(15, 10, 16, 11, 9, 11, 10, 18))
eight <- stan("8schools.stan",
data = schools_dat)
print(eight) #customizable
plot(eight)
plot(eight, pars = c("theta[1]", "the... |
4a417242b43da7a7f4c5af326c30b65c9d27fda0 | 561beed458dfcf06de55c8b9145613adf3e3dad6 | /myPairs.R | c6d5f4d4d9df00852acc41ca1d1c91ffcf18bbfd | [] | no_license | deniseduma/respls | e75dafd68ecd0fa5905667b78f2a36f44d8947da | f326cf1a84ab4734a67a156917f8a2752597be68 | refs/heads/master | 2016-09-14T05:36:51.454059 | 2016-05-23T22:30:59 | 2016-05-23T22:30:59 | 59,517,165 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 674 | r | myPairs.R | twofour <- read.table("./percentMutation_24Genes.txt",header=TRUE)
names(twofour)[1] <- c('Subject')
twofour <- tbl_df(twofour)
train.data <- readRDS("./traindata.rds")
X <- as.matrix(twofour[,2:24])
b <- svd(X)
plot(b$u[,1],b$u[,2])
plot(X%*%b$v[,1],X%*%b$v[,2])
# perfrom pca on 24 genes
twofour.pca <- prcomp(as.matr... |
a64f8e5e8f74022b99abfb4bee94d493477b202e | 30fc18d8606b252d2b27e459fb33b457892a06ff | /R/April1st2020.R | 5aedf7fbe401a06bf11d3b03c02034ef18cf0609 | [] | no_license | sbalci/MyRCodesForDataAnalysis | f76be3c7ef2163e67ea805b4e923c52cba5d52d0 | 3839c86b11bf4734fbd4949558f473fca63068f6 | refs/heads/master | 2021-09-08T11:39:19.117922 | 2021-09-06T19:40:45 | 2021-09-06T19:40:45 | 136,336,983 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,191 | r | April1st2020.R | controloutcome=c(1,0,0,1,NA,1)
controloutcome=c("1","0","0","1",NA,"1")
myoutcome2 <- jmvcore::toNumeric(na.omit(controloutcome))
!is.numeric(myoutcome2) || !any(myoutcome2 %in% c(0,1), na.rm = TRUE)
controloutcome=c(1,0,0,1,NA,2)
jmvcore::naOmit(controloutcome)
controloutcome=c(3, 33, 1, NA, 0,1,NA,2)
c... |
2a3cf59706d57e9f1ba521f1f88dab975cd83382 | 9b7888b0b9ecab83ac55e020d2c59917d6452f39 | /man/bindist.Rd | fe3dfc9d53d8ba9bbee2e8d1ae77111b343b7158 | [] | no_license | jianhong/ChIPpeakAnno | 703580b9ce6a7708f60d92a78a3714bc9d82a562 | d2136538718c58881a420c9985c53c6e89e223f4 | refs/heads/devel | 2023-08-22T15:29:29.888828 | 2023-07-25T14:57:28 | 2023-07-25T14:57:28 | 186,652,664 | 10 | 6 | null | 2023-09-01T20:48:22 | 2019-05-14T15:41:28 | R | UTF-8 | R | false | true | 729 | rd | bindist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bindist.R
\docType{class}
\name{bindist-class}
\alias{bindist-class}
\alias{bindist}
\alias{bindist-method}
\alias{$,bindist-method}
\alias{$<-,bindist-method}
\title{Class \code{"bindist"}}
\description{
An object of class \code{"bindist"} r... |
5746dd8e6c7bced56a3842a2e66250f22736937f | 3a28482227fed83be725bc4bf7f365328c70ba6d | /tests/testthat/test-share.R | ec9c40d8b4124059873e6ce9c5dde5484c759302 | [] | no_license | cran/crunch | 2028c53d134c0d1b74cc2e680fbdb7c0ec80388f | 5a855bbcaf3f8edadcb73989f435e299a726426b | refs/heads/master | 2023-04-03T12:09:41.136011 | 2023-03-22T12:10:09 | 2023-03-22T12:10:09 | 33,396,864 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,030 | r | test-share.R | context("Sharing")
me <- "fake.user@example.com"
with_mock_crunch({
ds <- cachedLoadDataset("test ds")
ds2 <- cachedLoadDataset("ECON.sav")
test_that("Dataset has permissions catalog", {
expect_is(permissions(ds), "PermissionCatalog")
expect_identical(
urls(permissions(ds)),
... |
290313c9ce862495c47904365a49126fdeb62e87 | 92f10d4f9750d68f3a048669e3efd5e92d5afd18 | /man/somatic_piu_mapping.Rd | cacb4992e566d189ea278999ddfcf072ab4cb622 | [] | no_license | ginnyintifa/GPD_v0 | 5af48f399bc855614cd1898c0dd7ea2b0297165a | e0bbbc1dafc1f545593d234535c8fab1a2e15053 | refs/heads/master | 2020-03-30T09:00:19.049829 | 2018-11-07T01:40:52 | 2018-11-07T01:40:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,772 | rd | somatic_piu_mapping.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/somatic_extraction_mapping_wrap.R
\name{somatic_piu_mapping}
\alias{somatic_piu_mapping}
\title{Map soamtic pc to piu and bpiu, summarise bpiu and npc per gene}
\usage{
somatic_piu_mapping(ptm_domain_filename, pc_data_name, npc_data_name,
c... |
390e5d2c95cfffb2b8749c92fd72e80a99ae6345 | 7625768e5b648788380cd89161f22805e187b1bc | /tests/testthat.R | e69d0a8e444cc6b005cb9141d786b245a84da7ac | [
"BSD-2-Clause"
] | permissive | jsta/gamut | b33f2f05788874c955d0c7ea84330ba0a08940a7 | 0db7d240c06de1df4a3c6aba7fbd66a280d1279e | refs/heads/main | 2023-06-05T08:49:05.075141 | 2021-05-05T19:42:53 | 2021-05-05T19:42:53 | 382,505,180 | 0 | 0 | NOASSERTION | 2021-07-03T02:14:23 | 2021-07-03T02:14:22 | null | UTF-8 | R | false | false | 54 | r | testthat.R | library(testthat)
library(gamut)
test_check("gamut")
|
96dd81059a1f5fdcad44a934ff77c76f60664eab | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/colf/examples/fitted.colf_nlxb.Rd.R | 0d225b8383ab6c409523154d3223e631aa284890 | [] | 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 | 207 | r | fitted.colf_nlxb.Rd.R | library(colf)
### Name: fitted.colf_nlxb
### Title: Fitted values for colf_nlxb
### Aliases: fitted.colf_nlxb
### ** Examples
mymod <- colf_nlxb(mpg ~ hp + cyl, mtcars)
#fitted values
fitted(mymod)
|
03c239e9c6f861d6772ed3a0ccff7ab81c222fd7 | 1eefd329fd5432932e67dd0cc47e8140eb914265 | /08_swissre-use-case/test_script.R | ef93e9f7347160273e20ef1411a5c5197f5dfe7d | [] | no_license | shubamsharma/Data-Analytics | 73ff7b0874eb5923a7dd7d853bc713b035011225 | ec9aaaeae441232adf88629857ab9a130f2f0bec | refs/heads/master | 2021-08-30T22:05:14.394388 | 2017-12-19T15:45:53 | 2017-12-19T15:45:53 | 113,478,992 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,435 | r | test_script.R | setwd("D:/09_analytics_new_start/07_swiss_re")
train_File = "train_dataset.csv"
train_data = read.csv(train_File)
X = as.matrix(train_data[,2:5])
y = as.matrix(train_data[,1])
ols.lf1 <- function(theta, y, X) {
beta <- theta[-1]
sigma2 <- theta[1]
if (sigma2 <= 0) return(NA)
n <- nrow(X)
print (beta)
e <... |
267d8bde36d25a4cfc7a34a86a7b8f1b9742807f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/clValid/examples/stability.Rd.R | 9248cb3b8409335323ee9766f894a83ff351936b | [] | 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 | 865 | r | stability.Rd.R | library(clValid)
### Name: stability
### Title: Stability Measures
### Aliases: stability APN AD ADM FOM
### Keywords: cluster
### ** Examples
data(mouse)
express <- mouse[1:25,c("M1","M2","M3","NC1","NC2","NC3")]
rownames(express) <- mouse$ID[1:25]
## hierarchical clustering
Dist <- dist(express,method="euclidean... |
916698ced852ee64a9b0804dd581e59d5d6fd845 | 6c4464440bf42df3df8eb947b3a2798476dfac78 | /PBSmodelling/man/plotBubbles.Rd | 9015a4902d4e1c7ee9233a45331ff632ef013225 | [] | no_license | pbs-software/pbs-modelling | ad59ca19ced6536d2e44ff705e36a787341f60d7 | 44b14f20af33d5dee51401bad2ff3dce2dfd3cea | refs/heads/master | 2023-01-11T16:18:06.846368 | 2023-01-06T22:45:05 | 2023-01-06T22:45:05 | 37,491,656 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,976 | rd | plotBubbles.Rd | \name{plotBubbles}
\alias{plotBubbles}
\title{Construct a Bubble Plot from a Matrix}
\description{
Construct a bubble plot for a matrix \code{z}.
}
\usage{
plotBubbles(z, xval=FALSE, yval=FALSE, dnam=FALSE, rpro=FALSE,
cpro=FALSE, rres=FALSE, cres=FALSE, powr=0.5, size=0.2, lwd=1,
clrs=c("black","red"... |
57a671e5c0fde94531d095cb87e6b4cef7631f65 | cd0bcba4c286d810674110f77538e78fb51c63d3 | /man/cv_joint_shrinkage_est.Rd | 2eb8896340901862a3d4f3cffee23dd61565a944 | [] | no_license | KenLi93/PPWLSE | cf1259c5d009ccb76412be8eb67ca0cd339c49cb | e91b821d97b0bdcdc9768439aedfa50fb969af09 | refs/heads/main | 2023-04-12T02:36:31.174043 | 2021-05-19T22:29:55 | 2021-05-19T22:29:55 | 349,157,536 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 334 | rd | cv_joint_shrinkage_est.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/joint_cv_rlasso.R
\name{cv_joint_shrinkage_est}
\alias{cv_joint_shrinkage_est}
\title{Joint Cross-Validation}
\usage{
cv_joint_shrinkage_est(
X,
Y,
lambda = NULL,
nlambda = 100,
nfolds = 5,
nrep = 200
)
}
\description{
Joint Cross... |
b28f08c6a59b0d1e70857477399a33013a2a0ee4 | c1846f5e7846306940875e597b94d1100b5244ef | /database.R | ed896bd3d9dc324d68f2ab1a7d787f5b976e7d04 | [
"MIT"
] | permissive | lusystemsbio/geneex | c75d8ea8034b8e5fb6cd48c1c5ec83de491966f6 | c17dc2536807e20e828c60dfc72b8c0a587b2de3 | refs/heads/master | 2022-12-12T08:06:12.545785 | 2020-09-02T19:12:36 | 2020-09-02T19:12:36 | 267,390,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,688 | r | database.R | database <-
tabPanel("Database",
useShinyjs(),
fluidRow(
column(1,offset = 1,
actionButton(
"biologicalDB", "Biological",
style="color: #fff; background-color: #337ab7;
border-color: #2e6da4", title = "Add this interaction... |
55f1aa3572e94ad86c76d09e5ea69ff3f4fb8bbc | bfbf3c22cab871231f35b8fd38ffce846a0571b2 | /Energy_Optim_Project/Scripts_and_functions/LCOE_NUCLEAR.R | 5a964f8c568e97a37af41cd6d8d0f93fe3ce9945 | [
"MIT"
] | permissive | malooney/Economic_Optimization | 9df926b042bf1e460d2b1448e194abb979dbe2f0 | e00f412e5ba14d69a683b8287c11d44fcc8fe6c9 | refs/heads/master | 2021-01-23T17:38:33.763265 | 2017-12-10T18:02:26 | 2017-12-10T18:02:26 | 102,771,460 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,645 | r | LCOE_NUCLEAR.R |
library(triangle)
LCOE_NUCLEAR <- function(i=0.10, Fc=0.65, terms=40, count=10000){
# Nuclear
# Terms is the estimated lifetime of power plant
# count is the number of Monte Carlo replications
# i is the interest rate on capital costs
# Fc is fuel cost ($/MMBtu) - convert in-situ
##################... |
2f1d8e14ebcc7a8f150d2d5518ba7bfa7dc9d848 | a4c4893d319c93078075ab7549d23f927cf29ac5 | /code/alfresco/alfExtract.R | 72b0a0533d3c992f4baa643b5b562c53ffdbc63f | [] | no_license | leonawicz/SNAPQAQC | 4fecaef9b245e2f8b1c6a9c40d2ed86e6e6d5392 | 54eb9eca613202ffa166a2f3d417b506c5b78f8a | refs/heads/master | 2020-04-12T01:48:01.178693 | 2017-03-10T19:00:31 | 2017-03-10T19:00:31 | 30,124,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,121 | r | alfExtract.R | # @knitr setup
suppressMessages(library(rgdal))
suppressMessages(library(raster))
suppressMessages(library(data.table))
suppressMessages(library(dplyr))
rasterOptions(chunksize=10^12,maxmemory=10^11)
prep_alf_files <- function(i, loopBy, mainDir, reps, years){
if(is.null(years)) years <- 2008:2100
if(loopBy=="... |
451032cd913047e575ff4091411a0746de6c93a1 | 8b7630b35f68dccbbcd6a7656d4c8bd5ce3123a1 | /zeta_boxplot.R | 8c662c4841753ec6858694bedba2ce226bf3804b | [] | no_license | omarchy/TMC | 4722d24b89e7e173617a87928f261c73be9ce5a1 | 4ae552d92f80678ee830b2153c40a854de9b5a4c | refs/heads/main | 2023-06-22T03:23:44.221828 | 2021-07-19T20:25:23 | 2021-07-19T20:25:23 | 344,884,815 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,295 | r | zeta_boxplot.R | library("readxl")
library(writexl)
library(dplyr)
library(ggplot2)
library(rstatix)
library(reshape2)
#######################################
zeta <- read_xlsx("OmarZeta.xlsx")
##Boxplots of microplastics initial zeta potentials in diluted jars##
zeta$Dose <- as.factor(zeta$Dose)
initial_zp <- zeta %>... |
535816c804da7994b8b3d0bdde57ae7dc50a105f | 903a04d3b2ad601eac56531a6b81692d96d40b2d | /R/homerange.R | acd9630091a7c2ad6fc7b2efcf8ba6a9fc73003f | [] | no_license | cran/secr | a2b058587a4655e4688c912d3fecb5fa7838dca8 | 50b315739c723f61bcd82bbbb5c6770973fcb132 | refs/heads/master | 2023-07-20T04:45:01.190001 | 2023-07-10T23:40:02 | 2023-07-11T07:34:31 | 17,699,535 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,647 | r | homerange.R | ############################################################################################
## package 'secr'
## dbar.R, ARL.R, MMDM.R, RPSV.R
## all in homerange.R 2014-09-01
## 2014-09-01 modified for userdist
## 2014-09-10 does NOT work when userdist fn requires mask covariates..
## 2016-10-06 secr 3.0
## 20... |
c351ffc8df2ad320b9bcc6556d52b8e40a829cb1 | 8227fe55923635d2c02e2382d7d9696d7f4b3f35 | /R/Rslippy-internal.R | aa169ea35882d4f7b88205f3463f07fda99e9f79 | [
"BSD-2-Clause"
] | permissive | ozjimbob/Rslippy | 1ff80939e725803368113424a692cf59760fafb0 | c4edc2ae0d91c535a59bc38bb96d917cc78757d5 | refs/heads/master | 2021-01-19T12:58:26.081208 | 2014-07-28T01:42:07 | 2014-07-28T01:42:07 | 22,045,519 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,285 | r | Rslippy-internal.R | .Random.seed <-
c(403L, 10L, -1165760154L, 1549851888L, 1556875283L, -1157145167L,
1955985504L, -1209608706L, 1348755849L, 1441175227L, 630379146L,
-1373557396L, -1036059921L, 2084373797L, -1879837732L, -1824357966L,
-1892933459L, -1769082777L, 791238542L, -2140348312L, -438555541L,
108525065L, -1204430696L, 204585... |
7bded04b18a01738ed9047b75c03034d7231addc | 954d502ab9ed7442ecdd960880403d4ed6a2ec10 | /01-Reads_Count/Reads_count.R | cd62c5e45eb9b19580ea3274085e30f9cc237e43 | [] | no_license | LuigiLopezIglesias/Autocheck_Run | c9de6412d3aa9664395bdd1a237685c7f5c2ac9c | b7ba61cab2bf0ab5a0083e2db9814a9974558be9 | refs/heads/master | 2021-10-24T23:16:37.124639 | 2018-11-28T16:22:38 | 2018-11-28T16:22:38 | 117,987,398 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,510 | r | Reads_count.R | library(dplyr)
library(optparse)
library(crayon)
#########################################################################################
### Cargar argumentos//Load arguments ###
option_list <- list(
make_option(c('-d', '--date'), action='store',
dest='date', type='character'),
make_optio... |
6136ec08b46092cd8ef2f30b768df61d012643c4 | 4ae53c7a18aa4f789ad9f8709eaa33f46819478a | /ConnorCode/candidateSpecificLDA.R | 87fd2f44bccdbf885f167ccc8c4d42e8d480a5cf | [] | no_license | Denizhan-Yigitbas/Presidential-Candidate-Sentiment-Analysis | 8bf2a04a59b1eac706615dca3ff4c55569b9ddd8 | 44bf9010981058dec570ef998c705704197026dc | refs/heads/master | 2020-05-18T13:10:46.052390 | 2020-04-20T00:40:46 | 2020-04-20T00:40:46 | 184,428,631 | 2 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,627 | r | candidateSpecificLDA.R | ### TRASH? DO NOT USE
### STEP SIX: Topic Modeling by Candidate
amyklobuchar <- subset(tweet_words, candidate=="Amy Klobuchar")
andrewyang <- subset(tweet_words, candidate=="Andrew Yang")
berniesanders <- subset(tweet_words, candidate=="Bernie Sanders")
betoorourke <- subset(tweet_words, candidate=="Beto O'Rourke")
co... |
3a8e9ef951cb223e06299fe9bdb6314e6fc2ce14 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/stringi/examples/stri_datetime_fields.Rd.R | a254d8a1870fab5739a4ce449060debafeb27da5 | [] | 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 | 400 | r | stri_datetime_fields.Rd.R | library(stringi)
### Name: stri_datetime_fields
### Title: Get Values for Date and Time Fields
### Aliases: stri_datetime_fields
### ** Examples
stri_datetime_fields(stri_datetime_now())
stri_datetime_fields(stri_datetime_now(), locale="@calendar=hebrew")
stri_datetime_symbols(locale="@calendar=hebrew")$Month[
s... |
f073a351963ccc56c7798c3682878359a92a3831 | 50c3b08c5958d3b8f8f4c4d32692467100fec0cb | /R/SolrCore-class.R | a1e1c3b359df0358b2b28cd46b213e062a921cdd | [] | no_license | lawremi/rsolr | 1355ac70c51559bfdedccdda5ea8e156071d052d | f8a2d25864e06556000bd25f6430827580e7c653 | refs/heads/master | 2022-05-19T04:01:22.765793 | 2022-05-17T23:16:29 | 2022-05-17T23:16:29 | 49,519,372 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 13,996 | r | SolrCore-class.R | ### =========================================================================
### SolrCore objects
### -------------------------------------------------------------------------
### Represents a Solr core; responsible for obtaining the Solr schema
### and processing Solr queries.
### We assume that the schema is relat... |
bf00ae6254838b88539ee3ebb3714b327ad50f1f | 2d50491917be033214010ed349f0c6ab5d916271 | /R/missCompare-package.r | 9d580d7c3a08079c4da8fcc3894463eb30885c9f | [
"MIT"
] | permissive | ZipZaap/missCompare | 82aa38b388c7c2fd2dbfa9be55bc064fd33bd6b1 | 20ceaf2c16f5e62ef195760b77bb1a5d67e1a35b | refs/heads/master | 2022-11-23T01:44:14.335078 | 2020-05-13T15:01:52 | 2020-05-13T15:01:52 | 282,241,971 | 0 | 0 | NOASSERTION | 2020-07-24T14:34:32 | 2020-07-24T14:34:31 | null | UTF-8 | R | false | false | 1,628 | r | missCompare-package.r | #' missCompare: Missing Data Imputation Comparison Framework
#'
#' The \strong{missCompare} package offers a convenient pipeline to test and compare various missing data
#' imputation algorithms on simulated data. The central assumption behind missCompare is that structurally
#' different datasets (e.g. larger datasets... |
55ac4bbdc86b481fdc8ce7bdb79acaa65ac7080e | 454cd86f0669593707012f7038448e80fe940dac | /R/quickenrichmentscore.R | 2dea3ff74f1bc3273246fc0a302fd4500e001b28 | [] | no_license | zhangxiner2/GeneExpressionSignature | a51148457c5d53f7d11f686cc495cee2e844414d | 27c86a2cc5cbbf7a5ff41393b108b1442bfddc00 | refs/heads/master | 2023-03-19T15:33:35.174178 | 2020-12-17T05:19:59 | 2020-12-17T05:38:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,197 | r | quickenrichmentscore.R | quickenrichmentscore <- function(S, S1, List) {
Or_list <- List
# List=sort(List);
# List=as.matrix(List)
Rank <- order(Or_list)
Rank <- as.matrix(Rank)
N <- length(Rank)
Nh <- length(S)
tmp <- matrix(0, N)
for (i in seq_len(Nh)) {
tmp[Or_list[S[i]]] <- 1
}
hitCases <... |
2b92d530e4d86a94ecea303919b5b42eb4f5951d | 3314a0e62f49ef830d604c14f5a3941701405860 | /R CODE/Crime data.R | b8418329e5f27b696026d891bfbf4ff23ab7fed3 | [] | no_license | SaradaPrasadp/Hierarchical-Clustering | 8a06c5e07cf355b61dc74ad8546b49e8af641c4a | 9f5795eea25e180bae4a19cb13ff5425ae16105e | refs/heads/master | 2023-06-16T06:15:36.925050 | 2021-07-06T15:05:18 | 2021-07-06T15:05:18 | 383,482,989 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,088 | r | Crime data.R | #Crime_Data
cd <- read.csv(file.choose())
summary(cd) # Summary of data set
#we know about skewness outliers all things from here.
sum(is.na(cd)) #No missing values are there
#First we have to see is there any outlier or not.
# we dont have ... |
b5118e38d63736a2b084f1516bdd2cab9e87f2b0 | f6faf7e2574bcf84319fc7c7e0d88ee8f9db2231 | /R/subplex.R | 9c9ca9f9c0864e61b83332968d039e3a7ef62756 | [] | no_license | Bhanditz/subplex | 1c624b630f53ae40f35c2c4191fe57ba99899c30 | a5e3a231148f3fc88453efc968f86df529063e71 | refs/heads/master | 2020-04-19T09:25:18.573965 | 2016-11-19T09:16:14 | 2016-11-19T09:16:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 563 | r | subplex.R | subplex <- function (par, fn, control = list(), hessian = FALSE, ...) {
## set default control parameters
con <- list(
reltol = .Machine$double.eps,
maxit = 10000,
parscale = rep.int(1,length(par))
)
namc <- names(control)[names(control)%in%names(con)]
con[n... |
234729b576f0eb0c61d632beb4d3d8aefaa3cb14 | 69f9674002b1e12fed760f5f287c1b15971c46f5 | /R/validate_textfile.R | 2b9237fa4d75ce39cc50677b725ed75fad7b51d1 | [
"MIT"
] | permissive | SimonGoring/pb210dating | 8cb4f3840a2893d7631975c7eddc8d4b5dd411e7 | 2ae5013ec10fac1628787a327a078dec56a5a5d1 | refs/heads/master | 2021-09-05T06:26:36.874643 | 2018-01-24T19:55:25 | 2018-01-24T19:55:25 | 117,278,200 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 191 | r | validate_textfile.R | #' @title Validate user supplied metadata text
#' @description Users are expected to provide a set of parameters.
#'
validate_textfile <- function(filename) {
# Check the required fields
}
|
0a4c69497611eba286a261815e4332a676ab7430 | 12dce397df2b04249ed08682ddbc63371d1e7469 | /man/readMulti.rooted.Rd | d660b67b418852ebe11d7af30cdd25d18474399d | [] | no_license | erenada/Rboretum | 7e682f14f3c6d778bc4d63d453aed30961ad598c | 4f58b563a51d55e29ce95797f48ae9712e423c79 | refs/heads/master | 2020-09-19T07:52:29.706537 | 2019-11-25T18:43:12 | 2019-11-25T18:43:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 820 | rd | readMulti.rooted.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/readMulti.rooted.R
\name{readMulti.rooted}
\alias{readMulti.rooted}
\title{Rboretum Multiphylo Rooted Tree Reader}
\usage{
readMulti.rooted(tree_paths, root_taxa)
}
\arguments{
\item{tree_paths}{Vector of paths to tree files that can be read ... |
fac6e7f76a8c2ad7dd753819f986d3fab1ef4006 | 5355ce6341489f05dc5894a70cf5cff1f951a194 | /man/dbGetCurrentuserEM.Rd | d7c8894fa2e46ac365865d99e9ce8c3aeabc90c6 | [] | no_license | AndreMikulec/econModel | 5032565f1722275425f75b55811493d45bf87f8c | 22b8507838116d3e33b6e40cf891988ad104ac7b | refs/heads/master | 2023-06-03T19:23:00.544927 | 2021-06-26T07:38:20 | 2021-06-26T07:38:20 | 303,683,123 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 837 | rd | dbGetCurrentuserEM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AmerAssocIndividInvestorsAAII.R
\name{dbGetCurrentUserEM}
\alias{dbGetCurrentUserEM}
\title{PostgreSQL Current User}
\usage{
dbGetCurrentUserEM(connName, env, exec = TRUE, display = TRUE)
}
\arguments{
\item{connName}{String. Default is "con... |
facace3928645e85545986d199d3b12c44e74a24 | 1287dc617038cb92d7b665b4b4ba91d74e83837f | /man/mean.Rd | fcf8407fb186cdb84be2efbcbab008953c163124 | [] | no_license | MiGraber/myTestPackage | 037d2f41ef2e56a917be0b1a6ec0f86e9adfdce5 | 3c8e4bf6c132d52187e93176d5a679e34524184a | refs/heads/master | 2021-08-14T22:01:44.096533 | 2017-11-16T22:10:49 | 2017-11-16T22:10:49 | 110,173,887 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 407 | rd | mean.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{mean}
\alias{mean}
\title{Calculates the arithmetic mean}
\usage{
mean(x, digits = 3L)
}
\arguments{
\item{x}{a numeric vector}
\item{digits}{integer indicating the number of decimal places}
}
\value{
an integer
}
\description{... |
0b3bf58de4b722f64ac20352f7b0ba28aef91ed0 | 8b6d926eedbc58195f9158ea44097fd3b7f8ad12 | /tests/testthat/test-misc.R | c72c4358bf3c0f0e7518231ed61b7ad24a91c4d2 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | mattwarkentin/R6methods | 708fc4d3915c6fe4ccf3fb10defb662753ebdb17 | 65a07c850bd5414d7846425987f9b0c56676f1f6 | refs/heads/main | 2023-02-04T16:50:18.233728 | 2020-12-21T21:01:18 | 2020-12-21T21:01:18 | 320,459,004 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 577 | r | test-misc.R | test_that("length() works", {
X <- R6::R6Class(
public = list(
.__length__ = function() {
nrow(mtcars)
}
)
)
x <- X$new()
expect_equal(length(x), 32)
})
test_that("names() works", {
X <- R6::R6Class(
public = list(
.__names__ = function() {
names(mtcars)
}
... |
3199c59263a60955ff1355de13b8481d4888374c | ef977c68e12d7ccc216b17e0ffc37c6e8bc9d057 | /dep.happy/perm.free.dep.happy/perm.free.dep.happy/readargs.R | 791274ffba5d8f0092645d2d4e8183c72e61dadf | [] | no_license | jflournoy/sea_np_models | 52e0df1f14c650dcf060bfc4c86d0a7014c2fc35 | 51214f4977ed0a7b4d6adcbd562befe51e150801 | refs/heads/main | 2023-04-18T03:57:56.694352 | 2021-05-05T19:47:36 | 2021-05-05T19:47:36 | 189,055,017 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 765 | r | readargs.R | cmdargs <- c("-m","/net/holynfs01/srv/export/mclaughlin/share_root/stressdevlab/stress_pipeline/Group/FaceReactivity/NewNeuropoint/dep.happy/perm.free.dep.happy/mask.nii.gz",
"--set1", "/net/holynfs01/srv/export/mclaughlin/share_root/stressdevlab/stress_pipeline/Group/FaceReactivity/NewNeuropoint/datafiles/setfilenames... |
5bb8a4e19b61301c07f3d7a8d8e603a802fa7b3e | 5038954117333b59dda21d2d12a05fc6fc82061b | /man/write_matrix.Rd | 0b5f7a407892f85d3a15e5c6f62fe31daeded062 | [] | no_license | fossbert/binilib | b4887c996d2fbbcdfb7c4f988822460a9e37e37e | 173e5fe7e4fb16dec10e1c57fe30cd155a5b895a | refs/heads/master | 2021-06-05T14:55:00.691039 | 2021-04-19T09:20:05 | 2021-04-19T09:20:05 | 157,078,242 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 468 | rd | write_matrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helper_functions.R
\name{write_matrix}
\alias{write_matrix}
\title{Convenience function for writing gene expression to file}
\usage{
write_matrix(eset, path)
}
\arguments{
\item{eset}{Numeric gene expression matrix with gene identifiers as ro... |
b35aa7aceb08feac66b534a90d8b3f40461196be | 253f82ba019b919889d54acea1a67a259e8014aa | /GeoCleanR/man/HHI.Rd | 435511660c5ef6373911b1c195254babcd1734fd | [
"MIT"
] | permissive | Jadamso/GeoCleanR | 98a65a0d73f56357718d3461276931cdd1bdeee1 | 3e09874e375237264bd5b05c4e2bfde53d0f9f0f | refs/heads/master | 2021-01-15T11:03:33.387095 | 2020-01-08T06:25:37 | 2020-01-08T06:25:37 | 99,609,004 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 647 | rd | HHI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/HHI.R
\name{HHI}
\alias{HHI}
\title{Calculate HHI for each raster cell}
\usage{
HHI(
rast,
wind,
FUN = hhi_in,
mask = NA,
writedir = NA,
HHIname = paste0("HHIrast_", wind[1], "_", wind[2])
)
}
\arguments{
\item{wind}{size of local... |
5fc1ff2aebf3ab53233714b3c20c4061201f0aa0 | c8ce461387ababba10c5116dd047325d873a17a4 | /diversification_analyses/PGLS/PGLS_diversity_and_rangeSize.R | d5f8d33e48e173c08aab199af351be9b6a7445e0 | [] | no_license | elsemikk/tyranni | 8ff58e6c39e2f402766d13fda413b3504023ec78 | 859f162e55124c72603f25b21172ac0b63188203 | refs/heads/master | 2023-05-01T05:57:18.018181 | 2021-01-29T16:15:03 | 2021-01-29T16:15:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,333 | r | PGLS_diversity_and_rangeSize.R | setwd("tyranni/diversification_analyses/PGLS")
getwd()
library(ape)
library(caper)
library(phytools)
library(MEDUSA)
library(BAMMtools)
library(scales)
library(phylotate)
# Get ES
es.table <- read.table("../SummaryStats/es/text_files/es_AOSHM.txt")
es <- es.table$x
names(es) <- rownames(es.table)
# Get tree/diversit... |
0da3103d141c2fc114853d6b342f30ef025dfd5c | a27bc5f0552cb30d0de320785017c3557c135762 | /R/utils.r | f85c23ebac7f2c80c7709033233929102f554939 | [
"MIT"
] | permissive | dimagor/pkgdown | bb39f90669d8c498f937014bdce726e66688283e | 61c3999702966dd75267b98ce905df22521ebd11 | refs/heads/master | 2020-08-17T05:01:52.520310 | 2019-10-10T12:57:20 | 2019-10-10T12:57:20 | 215,612,007 | 1 | 0 | NOASSERTION | 2019-10-16T18:01:31 | 2019-10-16T18:01:31 | null | UTF-8 | R | false | false | 2,973 | r | utils.r | set_contains <- function(haystack, needles) {
all(needles %in% haystack)
}
split_at_linebreaks <- function(text) {
if (length(text) < 1)
return(character())
strsplit(text, "\\n\\s*\\n")[[1]]
}
up_path <- function(depth) {
paste(rep.int("../", depth), collapse = "")
}
dir_depth <- function(x) {
x %>%
... |
bbe6aa2d88a59a1d0d0413babd0415c398be1372 | e189d2945876e7b372d3081f4c3b4195cf443982 | /man/nn_loss.Rd | bc1b4e655fbce98a70b9ca643567e7ecc58a4b10 | [
"Apache-2.0"
] | permissive | Cdk29/fastai | 1f7a50662ed6204846975395927fce750ff65198 | 974677ad9d63fd4fa642a62583a5ae8b1610947b | refs/heads/master | 2023-04-14T09:00:08.682659 | 2021-04-30T12:18:58 | 2021-04-30T12:18:58 | 324,944,638 | 0 | 1 | Apache-2.0 | 2021-04-21T08:59:47 | 2020-12-28T07:38:23 | null | UTF-8 | R | false | true | 344 | rd | nn_loss.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/experimental.R
\name{nn_loss}
\alias{nn_loss}
\title{Fastai custom loss}
\usage{
nn_loss(loss_fn, name = "Custom_Loss")
}
\arguments{
\item{loss_fn}{pass custom model function}
\item{name}{set name for nn_module}
}
\value{
None
}
\descriptio... |
36c9e2b5ff13e434d45b3e08f8b9107e98568444 | c4d6a4797a1b0be9b110d6af769e2844179551f6 | /MDplot/man/rmsd_average.Rd | 13094a3ecb824d45c4583f525b43917fd6bf1d24 | [] | no_license | MDplot/MDplot | 52c1e1ba759ef03fc88e744607775741475507dd | 3f4324a7e2fc884f8af75736ab3fdacf8052deea | refs/heads/master | 2022-05-24T15:03:50.615525 | 2022-03-23T15:47:32 | 2022-03-23T15:47:32 | 51,455,487 | 19 | 6 | null | null | null | null | UTF-8 | R | false | false | 2,404 | rd | rmsd_average.Rd | % (C) 2017 Christian Margreitter
% last update: 2017-02-20
\name{rmsd_average}
\alias{rmsd_average}
\title{Root-mean-square-deviation (RMSD) average plot}
\description{Combines several RMSD index-value pairs and computes and plots the mean value and the spread (the respective minimum and maximum values) at every timepo... |
72fc42fcf27ad93117127e93ff8fa31b4acad21b | 04dc61178424b438c9c446262d85db8c165a166a | /man/do.in.envir.Rd | d49bb2828beb143710f8f7c05d4f42e4ee2b2cda | [] | no_license | cran/mvbutils | 0f259152bff14d668055e1924bde1ca91129a9f8 | 0de12969abaf828b5106290951318c79f0741a18 | refs/heads/master | 2021-01-17T05:46:40.652339 | 2018-12-12T14:30:03 | 2018-12-12T14:30:03 | 17,697,779 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,642 | rd | do.in.envir.Rd | \name{do.in.envir}
\alias{do.in.envir}
\title{Modify a function's scope}
\description{\code{do.in.envir} lets you write a function whose scope (enclosing environment) is defined at runtime, rather than by the environment in which it was defined.
}
\usage{
# Use only as wrapper of function body, like this:
# my.f... |
fd62f6d7964a319cb597299de21e2f5f28b54473 | 3371d7dce7d02905cfbcf52f28ec58c26dfbb222 | /ui.R | 10544824e7a0e10950ea18fc0cd78d45b88959ee | [
"MIT"
] | permissive | thevaachandereng/LPWC-Shiny | 254d11cfddf35116c39c1328522467a5b615cec0 | db03aa9f046bac30e3944e4f5ac4548eb514c7bd | refs/heads/master | 2021-08-29T10:56:55.069218 | 2017-12-13T19:54:04 | 2017-12-13T19:54:04 | 113,227,128 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 701 | r | ui.R | library(shiny)
library(LPWC)
pageWithSidebar(
headerPanel('Lag Penalized Weighted Correlation'),
sidebarPanel(
fileInput('file1', 'Data (CSV file)',
accept=c('text/csv', 'text/comma-separated-values,text/plain', '.csv')),
radioButtons('sep', 'Separator',
c(Comma=',',
... |
dd618547f6989b31202a8d4b739872545abe3f7f | 43d4b9dc11ad7721b8d872dfd0781d468d2a26fe | /OECD files.R | 89df769b40e3aee587e5e21acc5e9fedd1429b94 | [] | no_license | Paulrans/LST_Thesis | 247bc2eb3698f5c3ba472220bdd2ce740bbb80f4 | 000183863dc4267b74b4d6cd8c88f6bfa87878ea | refs/heads/main | 2023-02-26T21:47:27.603671 | 2021-02-10T11:13:57 | 2021-02-10T11:13:57 | 337,698,848 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | OECD files.R | set <- get_datasets()
search_dataset("oil", data = set)
|
2ddeeecaf4583a1fdfdd1e1e0b1cd8fed67edede | 2d39f850aad64a1880359de6ce9808459be330e3 | /last.R | 5ee8e04895faa7d159615aed9b494d1593bc0f87 | [] | no_license | andreasose/music-mining | e78774046d1f9000f66980337bce54625140bb30 | f89b7beebdc30eca6641af70af38a77c65536ef0 | refs/heads/master | 2016-08-12T05:25:53.185318 | 2016-03-01T22:25:32 | 2016-03-01T22:25:32 | 51,100,524 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,915 | r | last.R | library(plyr)
library(ggplot2)
library(plotly)
library(lubridate)
#Make sure your csv file is in the working directory
music <- read.csv("andreas.csv", header = FALSE)
#By default, the data comes without column headers, so they are added manually:
colnames(music) <- c("artist", "album", "song", "date")
#the date co... |
dd1c9fb989a026905c0508a51bc18ee304700122 | 4419dcaad86d41cca6ad026a6a6c72e408fa62eb | /tests/testthat/test-parameters.R | 4edcb32f0c53ecdebfd9168bbe6a563399b7303d | [
"MIT"
] | permissive | poissonconsulting/mcmcr | c122a92676e7b1228eedb7edaebe43df823fdeb8 | ca88071369472483e7d73914493b99fd9bda9bd5 | refs/heads/main | 2023-06-24T09:43:04.640793 | 2023-06-13T00:19:29 | 2023-06-13T00:19:29 | 70,411,531 | 15 | 3 | NOASSERTION | 2022-06-21T03:07:27 | 2016-10-09T15:18:09 | HTML | UTF-8 | R | false | false | 1,089 | r | test-parameters.R | test_that("parameters.mcmcr", {
rlang::local_options(lifecycle_verbosity = "quiet")
lifecycle::expect_deprecated(parameters(mcmcr::mcmcr_example))
expect_identical(parameters(mcmcr::mcmcr_example), c("alpha", "beta", "sigma"))
expect_identical(parameters(mcmcr::mcmcr_example, scalar = TRUE), c("sigma"))
expec... |
b0f2b57a5aa2a579af2143d4771fe73d7b991bb5 | 1eb964100bbc7f4ef1ffebc762826da618045679 | /단일.R | 57c79f268f658f59a84b2c0eb74ec7b6caaefc01 | [] | no_license | kjihoon/AllRecover | 2ba973d92c401a5d26363d34f7a5f9ce4329cde0 | 7cb9b743be2aa043f41cd3c6eff280e5e9fe20a4 | refs/heads/master | 2020-03-22T15:42:27.469081 | 2018-07-12T06:32:21 | 2018-07-12T06:32:21 | 140,271,409 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 999 | r | 단일.R |
df<-read.csv("병원정보3.csv")
ykiho<-df[,2]
ykiho<-as.character(ykiho)
url<-"http://apis.data.go.kr/B551182/hospAsmRstInfoService/getHospWhlAsmRstList?ServiceKey=BVnt6h5rMtX52Vuu5ckoGKesnewYmnOTSYLd6GaQ4vjGnBMCgCG%2FEoMuP5StXjfQQZmrLeNU1luHjqbDDbu4cg%3D%3D&ykiho="
list<-c()
for(j in 1:length(ykiho)){
urlf... |
261509323022e0a78c3dfe4769631f651b44a388 | 3116af50b95f348bbcb506adc4c733a2327b8234 | /Script/scrape_BMC.R | fd47ca438fd4e1592de17fa84a14975c4d465f23 | [
"CC0-1.0"
] | permissive | andreaspacher/openeditors | 2e2d228906775c89ecbc9e793b9d80266fcf93ef | 909f2036727dea844e569cc6a96cce2eb7c69d09 | refs/heads/main | 2023-04-14T00:28:19.941845 | 2022-12-27T07:14:30 | 2022-12-27T07:14:30 | 340,627,338 | 45 | 9 | CC0-1.0 | 2022-04-21T23:02:16 | 2021-02-20T10:32:47 | R | UTF-8 | R | false | false | 5,742 | r | scrape_BMC.R | library(tidyverse)
library(rvest)
# regex-function to clean strings from html codes
clean_html <- function(htmlString) {
return(gsub("<.*?>", "", htmlString))
}
# get journals
journals <- read.csv(url("https://github.com/andreaspacher/academic-publishers/blob/main/Output/allpublishers-PRELIMINARY-2021-12-09.csv?raw... |
c1a112fc73f5858deb59abc8c176970d535c198a | e3df4de339e023592659ef87dac9115abf85ac73 | /hbolouri/oncoDev/Oncoscape/R/NanoStringExpressionData.R | f7c79fb91c8870110819d342526dcca8da28690a | [
"MIT"
] | permissive | oncoscape/webapp-R-package | 99919a2c227b3956a638d825c31d2c4ffdc090fd | a762d410a70b5eb12496802ae45680440ad0ebb7 | refs/heads/master | 2021-01-22T13:57:50.080131 | 2014-09-24T17:56:50 | 2014-09-24T17:56:50 | 24,355,025 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,337 | r | NanoStringExpressionData.R | # incoming message function to call return.cmd
# ------------------- ---------------- -------------
addRMessageHandler("NanoStringExpresssionData.ping", "nanoStringPing") # handleNanoString... |
700c4b17d7b03e188facf2cb99c0fcb5967870d4 | 5d0ad197f94a53680dc4172ed3b8f1e8384a7d27 | /uzhOS/tests/testthat/test-rorcid.R | b2e0eeea6f595ee0989bf6c4541384643705fb67 | [
"MIT"
] | permissive | markrobinsonuzh/os_monitor | 3356cbc8fb2a826572a8f4d64d1a454a180ffe2b | a6acd4740c657b9ebae0a09945862666bf1345f0 | refs/heads/master | 2022-02-28T20:44:27.516655 | 2022-02-17T12:43:52 | 2022-02-17T12:43:52 | 243,106,445 | 2 | 1 | MIT | 2020-10-07T05:55:18 | 2020-02-25T21:29:29 | R | UTF-8 | R | false | false | 1,084 | r | test-rorcid.R | testthat::test_that("check_if_likely_orcid correct",{
expect_true(check_if_likely_orcid("0000-0002-3048-551X"))
expect_true(check_if_likely_orcid("0000-0002-3048-5511"))
expect_false(check_if_likely_orcid("0000-0002-3048-55X1"))
expect_false(check_if_likely_orcid("0000 0002 3048 5511"))
})
testthat::test_th... |
da16e871d7099f11ba6600877a60b8e80a617f97 | 3c4759629d61a33fc8c36aa21c537d691a53fa54 | /barcodes_file/barcodes_check.R | 75205c0ea8743369c67aee4599b609d05d13c8c4 | [] | no_license | jenessalemon/erisor | 63264eae14ac0c35f7d85e92c87d84ba4a1d1bf6 | 468c5fdacce7b041e61c7d5f495cd3a1b4ba06a3 | refs/heads/master | 2020-12-03T04:18:32.461537 | 2018-01-02T23:07:55 | 2018-01-02T23:07:55 | 95,848,860 | 2 | 1 | null | 2017-07-12T02:34:39 | 2017-06-30T04:33:18 | R | UTF-8 | R | false | false | 2,243 | r | barcodes_check.R | ## The objective here is to solve the "columns vs wells" problem. Barcodes are pulled
## from a different dataframe, and assigned to the appropriate spot in the dataframe
## containing samples and wells. Note that this must be done one plate at a time!
## The two input files are well_sample, which has two columns, "Wel... |
c5c2391aace9b5bb8eab0f0041e3822d27b34b0a | 12499f173ba030d444d11e3884c0bb538f8a136c | /R/dynamictableTM.R | 10749b49d4c0524d1e1b27ae1812aacf200d7a2a | [
"Apache-2.0"
] | permissive | StanWijn/cemtool | 7ff5b451fa689f44fb2f41e5aba2271793ad1fb5 | 8d7e277c7f5a263d28407a57c5fb81b16f4ce95a | refs/heads/master | 2020-05-29T14:03:27.703471 | 2020-04-07T09:36:24 | 2020-04-07T09:36:24 | 189,181,805 | 1 | 0 | null | 2020-04-07T09:36:25 | 2019-05-29T08:18:40 | HTML | UTF-8 | R | false | false | 4,666 | r | dynamictableTM.R | # Dynamic table to alter treatment effect
#' @import rhandsontable shiny shinydashboard utils
#outdir=getwd()
editmatrix <- function(m.P, m.P_treatment){
DFtrans <- data.frame(m.P)
DFcost <- data.frame(m.P_treatment)
title <- tags$div(h2("Step 3: Transition probability matrix"))
header <- dashb... |
d004c6a6c467002191d5a8245fc72403b951eb2e | bae869ce879da3f7342a3fec33c8c227d00b2a27 | /SES_model.R | 50c3957f5b1b85bec897bd4163d07260015d3347 | [] | no_license | ThomasKraft/epidemicERGM | 6cb2112c2d4d2addaee68adc68bbbb1ea389219e | 74e83710c32090657fa1d261e674d6afb8bae140 | refs/heads/master | 2022-04-22T04:03:38.910642 | 2020-04-22T22:27:43 | 2020-04-22T22:27:43 | 256,597,370 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,339 | r | SES_model.R | ######## SES ##########
# load packages
library(statnet)
library(EpiModel)
library(ndtv)
######## SES ##########
# 1) Network with SES
# initialize empty network with desired attributes
net <- network.initialize(n = 200, directed = FALSE)
net <- set.vertex.attribute(net, "SES", rep(0:1, each = 100))
# Setting model ... |
919c840d64362d9b8ca592de8ca85619f04ade39 | 71101f28de94b8c189ce9b7f7a14cb236dfcfd6e | /man/names.resATs.carb.sulf.Rd | fbac571e34de9c5caa06f9d0533c436077dc8029 | [] | no_license | Pawansit/vanddraabe | e5434b72fcf771cd28b9dfa6c88a328b140a40ef | 5eccfec7ed511e4eb2e38a21d2218106d7fb2c42 | refs/heads/master | 2023-05-12T18:53:44.718393 | 2021-06-10T20:58:26 | 2021-06-10T20:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,197 | rd | names.resATs.carb.sulf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Constants.R
\docType{data}
\name{names.resATs.carb.sulf}
\alias{names.resATs.carb.sulf}
\title{Carbon and Sulfur Residue-AtomType Names}
\format{An object of class \code{character} of length 109.}
\usage{
names.resATs.carb.sulf
}
\description... |
823290f01173fba3aee5d531437c5d92bb6df6c3 | a61405b833f7122ace43db9de16b6044b9eb7ae9 | /processing.R | f777ec9bbe85de8a35f168806260fbf513810305 | [] | no_license | hsrijay/COVID-19-Predictive-Modeling | 5ad5c32069b7fa291e13f7501bac1a14b6cc0dee | 4f88c82fe6b72610d191952527897b8051c0a31f | refs/heads/main | 2023-02-08T06:25:37.453267 | 2021-01-04T18:57:59 | 2021-01-04T18:57:59 | 325,624,977 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,767 | r | processing.R | # MESSI RNA Seq Analysis #
# Both batches
batch_type = 'all'
# Path for output #
```{r}
path <- "D:/Research/Summer-2020-+DS/data/"
save.image(file = "processing.RData")
```
raw_data_path <- paste0(path, "data/raw/")
readable_data_path <- paste0(path, "data/processed/", batch_type, "/readable/")
b... |
04a572bf01ea4bc13f3f948c7d43f0de38153bc5 | a87a0af1931d6f0f2cf4512a0791dc7c0c20322b | /man/get_associations_points_tw.Rd | 122579c917db9c8af99ca88b74054d969366e5fe | [] | no_license | cran/asnipe | 6ddc6d2a1d79601b9eb29980c161940b2a5f29dc | aab6c24eb867097b6602d886b6147dffe6d0b383 | refs/heads/master | 2021-08-07T11:18:58.825808 | 2021-06-08T09:30:02 | 2021-06-08T09:30:02 | 49,210,143 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,492 | rd | get_associations_points_tw.Rd | \name{get_associations_points_tw}
\alias{get_associations_points_tw}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Calculate Group Membership using Time Window (please read warnings before using this method)
}
\description{
A time window approach to calculate group co-memberships.
}
\usage{
get... |
c8fc842a01d3a708200ca8c81090baaff1b97498 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_Makkink/libFuzzer_ET0_Makkink/ET0_Makkink_valgrind_files/1612737633-test.R | cf27b265348b46618815a5bc3de6ef830a871f6e | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 865 | r | 1612737633-test.R | testlist <- list(Rs = numeric(0), atmp = numeric(0), relh = c(NaN, NaN, NaN, NaN, NaN, NaN, -2.00416836000897e-291, 1.27319747452976e-313, NaN, 3.62604439982445e-217, -5.486124068794e+303, NaN, NaN, -1.16992835169468e+170, 4.65661287307728e-10, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, 9.70519443299998... |
4a6c6900d76ba7ca2089355595b02ecb9e63b48a | d8531244ced5f30c40a306389b80757d4852b944 | /archive/linreg_QR.R | dfce789a4edaf5c1a902b4d68be4ae19b0cddcd3 | [
"MIT"
] | permissive | MiniDlicious/Lab4 | b769bf514168e574c5c511cfa7f358f4a1522ab7 | 3246022a0ad7f12499a76d64a09520672c44fb8e | refs/heads/master | 2020-07-27T12:21:54.454994 | 2019-10-14T19:56:38 | 2019-10-14T19:56:38 | 209,087,967 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,818 | r | linreg_QR.R | #' Multiple Regression Model using QR decomposition
#'
#' Multiple Regression Model works by... #TODO#
#'
#' @param formula an object of class "\code{formula}" describing the model sctructure.
#' @param data an object of class "data frame" containing the variables in the model.
#'
#' @return \code{linreg} returns an ... |
01d8267ab810547accc41952bdac79a21600128b | 4cfa9af712c13f7769f3733bfed0dd1ba9d7549c | /tests/testthat.R | 9750d7a05b445f8b77fb10b39c8b1702a329081a | [] | no_license | ahvargas/ProgrammingAssignment2 | f1b900d7281ca09341cc3b8211f5e50b8d224a06 | bbda65ea3acefd256b7ffe72922793b4a6d1eb5a | refs/heads/master | 2021-01-16T22:18:59.761164 | 2015-05-18T20:59:20 | 2015-05-18T20:59:20 | 35,838,995 | 0 | 0 | null | 2015-05-18T19:49:09 | 2015-05-18T19:49:09 | null | UTF-8 | R | false | false | 54 | r | testthat.R | library(testthat)
library(week3)
test_check("week3")
|
43937556a951642b579be0a78916abe61784b2e7 | b1120d87051412552fcbcad4acf520528a0f575b | /importdata.R | 357794ca5429bce93ca87b5a0665f408a9dbe010 | [
"MIT"
] | permissive | webadam1/ReMo_data_analysis | bd0985970fc5310b3da99bec42320fcd63a1044a | 21580767bd7818d1cdb76bf557eb1afdc715a8e2 | refs/heads/master | 2021-08-24T04:28:16.083778 | 2017-12-08T02:26:24 | 2017-12-08T02:26:24 | 113,520,227 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,437 | r | importdata.R |
#rewrite to your working directory
setwd("D:\\Adam\\Szakdolgozat\\_Gitre\\ReMo_data_analysis\\data_googleforms")
#Processing all form data
#it will take a while
exportAllAnswersCsv(14,"all_answers.csv")
exportAllFormsCsv(14,"all_forms.csv")
answers_all <- read_csv2("all_answers.csv")
answers_all <- addEmptyV... |
6d0dc736fa0dca4aabdd096e0e7755686af9b54b | 843d76780ea67bec4087d8892f3a2fdbd4993893 | /src/cec4.R | 7a9655a936330ee4a4227d8b143dfacf375c49cb | [] | no_license | mingless/ALHE | 43d6cba0b0e4909adc85935b26d8039082b558fc | c20d8826e88e55145cb2bc61e5c0cc3f3d89198b | refs/heads/master | 2021-01-21T11:15:58.664507 | 2017-06-11T19:27:24 | 2017-06-11T19:27:24 | 91,733,910 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,731 | r | cec4.R | library("cec2017")
desUniformInit <- function(fitnessFcn,nvars,control)
{
population = numeric()
for(i in 1:nvars){
population = cbind(population,runif(control$popSize,control$lowerBounds[i],control$upperBounds[i]))
}
return(population)
}
#Main des function.
#Minimizess the given fitnessFcn,... |
e7fb935b1d5bef8a69211d70212a7e4c1eb271d9 | 219ec7af97064924129019af253e337a1d4e9dfb | /RHive/man/rhive-api.Rd | 04bc1f6787547416bb78ecd9a958524bdb6def63 | [] | no_license | jiyulongxu/RHive | 6bac37610c83a11e2d508182b7f99862286ef642 | f161db301f64129a1af5692e7fdf7c27a9b47f28 | refs/heads/master | 2020-04-01T06:41:20.660847 | 2017-07-19T01:02:28 | 2017-07-19T01:02:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,264 | rd | rhive-api.Rd | \name{rhive-api}
\alias{rhive.list.databases}
\alias{rhive.show.databases}
\alias{rhive.use.database}
\alias{rhive.list.tables}
\alias{rhive.show.tables}
\alias{rhive.desc.table}
\alias{rhive.load.table}
\alias{rhive.load.table2}
\alias{rhive.exist.table}
\alias{rhive.size.table}
\alias{rhive.drop.table}
\alias{rhive.s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.