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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1a37f2223f26117ff25a4019e259f77f141be8bc | f997169854672f36810e793a2932313f11b52139 | /man/coins.Rd | 6f204682f5d04a3ec611b33279ab9495505839e0 | [] | no_license | jverzani/UsingR | 7e3fcbddae97a0ecd0268a9068af7a70ecc82907 | d1cd49622b6e85cf26710c5747423b4ba0721ef6 | refs/heads/master | 2021-01-09T20:53:56.202763 | 2020-07-29T16:53:55 | 2020-07-29T16:53:55 | 57,312,995 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 519 | rd | coins.Rd | \name{coins}
\alias{coins}
\docType{data}
\title{The coins in my change bin}
\description{
The coins in author's change bin with year and value.
}
\usage{data(coins)}
\format{
A data frame with 371 observations on the following 2 variables.
\describe{
\item{year}{Year of coin}
\item{value}{Value of coin: ... |
7a1090f139779644bdaf3f368ea72f96cabf7aca | 6b5ca4ba55e404ade3d0e16d20192ace73cfe904 | /man/overlay_spatial_prior.Rd | fab00cbe25b9309348bc6130b2ee7c1fbb9dcf7c | [
"MIT"
] | permissive | Michael-Stevens-27/silverblaze | 6715506ed23132ca9d1f71f1a208061edaa4722d | f0f001710589fe072545b00f0d3524fc993f4cbd | refs/heads/master | 2021-08-21T20:46:40.350940 | 2021-05-26T16:47:50 | 2021-05-26T16:47:50 | 127,313,359 | 3 | 0 | MIT | 2021-05-26T16:47:51 | 2018-03-29T15:46:19 | R | UTF-8 | R | false | true | 973 | rd | overlay_spatial_prior.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{overlay_spatial_prior}
\alias{overlay_spatial_prior}
\title{Add spatial prior to dynamic map}
\usage{
overlay_spatial_prior(
myplot,
project,
col = col_hotcold(),
opacity = 0.8,
smoothing = 1
)
}
\arguments{
\item{myplo... |
7a3d4ca9413b517b48ab2affa0a171032694a5a2 | eaa3a59c28af9fbf27f610a54a54af8399ab4bf6 | /lib/read_GLUE_results.R | 3820ef7bb4546e898a160e3edf4393c2c19c1bcb | [] | no_license | co822ee/LUR_optimization | 419214564d0a71f4afb496032fd2029b3d862892 | 84f35535ecd67349872c5b15c801ef3b3492fc05 | refs/heads/master | 2021-01-05T06:38:05.204724 | 2020-05-17T07:31:34 | 2020-05-17T07:31:34 | 240,917,143 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,970 | r | read_GLUE_results.R |
# Observations
sensor_validation <- read.csv('../data/sensorValidateData_all.csv',header=T)
sensor_train <- read.csv('../data/sensorTrainData_all.csv',header=T)
sensor_all <- read.csv('../data/data_laea_new_correctTropomi.csv',header=T)
tropomiValues_training <- read.table('../data/tropomiInTropomiTBlock.txt')[,1]
tr... |
a641dbeb3b381aff6131adaad31c515d48508faf | beed510c5f96942b0330cd7e531b84c58c18b0eb | /src/scripts/loadResults.R | 10265767db84d31ad79ee88602dbc20b72f91448 | [] | no_license | pauloditarso/costmodel | 81acde07b4dcae47789f6617f9e1710c9249957c | 5ee907d62067345437a9d7397df97c8a5989c9ed | refs/heads/master | 2022-06-20T23:00:15.107373 | 2022-05-14T18:03:51 | 2022-05-14T18:03:51 | 200,047,586 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,846 | r | loadResults.R | rm(list = ls())
demands <- c("02", "04", "08", "16", "32", "64")
allCosts <- data.frame(matrix(ncol = 6, nrow = 0))
allCostsCI <- data.frame(matrix(ncol = 6, nrow = 0))
allDisc <- data.frame(matrix(ncol=6, nrow=0))
allReps <- data.frame(matrix(ncol=6, nrow=0))
allRepsCI <- data.frame(matrix(ncol=6, nrow=0))
for ( dem... |
029f16a07f222d5d73c6bd3679036cc1736513f2 | 3f6396b8716b02ae5b126dfee4c6bd03c81ccb21 | /server.R | f703738d6d061b49e601eb3819d7cc17c0e51a66 | [] | no_license | qwang-big/visVCF | 5a91f0b499bd930dd7895767faac47fdaa688eb7 | 6f4d022f2722df6939855d98b8e2daa9cb2b8a31 | refs/heads/master | 2020-04-11T05:04:49.574607 | 2018-12-12T20:06:44 | 2018-12-12T20:06:44 | 161,537,179 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 738 | r | server.R | library(shiny)
library(ggplot2)
load('res.rda')
function(input, output) {
output$plot <- renderPlot({
codon=input[['tRNA']]
p <- ggplot(df[df[,1]==codon,2:4], aes(Var1, f, fill = Freq)) + geom_tile(colour = "white") +
scale_x_continuous() + scale_fill_gradient2(low="white", high="red") +
theme(axis.... |
2f4df5e741003531f1c5ced05c0b8b6b978cdc98 | 39d7de14e99f6c30e3bb4b8f38859f52433f78c3 | /Stepik/stepik.R | d3b4dad8175bf0db6ed23b49d00607ce0cc0da71 | [] | no_license | petr-konovalov/R | f8c6fe4abd7fa77ef92ef21c5c79743c6d4b8442 | 14e729968693f6b2f3513e0eb14772cb174e33f9 | refs/heads/master | 2021-06-24T09:53:09.510178 | 2021-05-10T15:47:20 | 2021-05-10T15:47:20 | 224,501,137 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,001 | r | stepik.R | mtcars$new_var <- ifelse(mtcars$carb >= 4 | mtcars$cyl > 6, 1, 0)
ts (1:12, frequency = 12, start = 1990)
v <- c(1, 3, 2, 7, 11, 5)
v <-as.vector(AirPassengers)
v[2:length(v)][v[2:length(v)] > v[1:(length(v)-1)]]
v <- c(0, cumsum(as.vector(AirPassengers)))
moving_average <- (v[-(1:10)] - v[-((length(v) - 9): length(v)... |
55fccb1b76bd72fd475bfba5929b63417401b5ed | d5cb55bdfa329eae2da7c2c084fbda7580c3f0a0 | /R/run_analyteHTO_nk1.R | 1f450ffd585a89a885eb91df2fa42139774711d7 | [] | no_license | janihuuh/cml_stop_manu | bcc1a2a7b38810008e42dc3231e0fc20d064bba6 | e11f4b677e44a9255652e143b8e76af7d6ff8bcb | refs/heads/master | 2023-03-10T19:09:33.021383 | 2023-03-07T13:39:17 | 2023-03-07T13:39:17 | 282,205,741 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 940 | r | run_analyteHTO_nk1.R |
cml1_seurat <- cml_seurat_new_filt1
cml1_seurat$is_nk <- ifelse(cml1_seurat$RNA_snn_res.0.1 == 2 & grepl("NK", cml1_seurat$my.demux), "NK", "CML")
## Select only tumor cells
cells.to.keep <- cml1_seurat_tumor@meta.data %>% filter(is_nk != "NK" & !my.demux %in% c("E-NK-only", "NE-NK-only")) %>% pull(barcode)
cml1_... |
35ad32ca542d4d73d5ab0d49a526b81d5a8c44de | df903cf2bbd2119dc25417a24cbd3967952e6a8e | /L1/svc_L1_v1.R | 38301bd04de2da248c39655b36bbffb66524cf84 | [] | no_license | bishwarup307/Santander_Customer_Satisfaction | 7ea56b314a2265f15dca3c5e6bee4f6c89c054cf | 566514267bd9692f6409c475d10dcb9cc22c8227 | refs/heads/master | 2016-09-12T12:54:51.559866 | 2016-05-18T05:37:19 | 2016-05-18T05:37:19 | 59,084,157 | 7 | 2 | null | null | null | null | UTF-8 | R | false | false | 9,020 | r | svc_L1_v1.R | # load required libraries
require(readr)
require(Hmisc)
require(dplyr)
require(caret)
require(LiblineaR)
require(Metrics)
require(MASS)
require(glmnet)
options(dplyr.print_max = Inf)
options(dplyr.width = Inf)
# set working directory and seed
dir <- 'F:/Kaggle/Santander/'
setwd(dir)
source('./Scripts/linear_utils__.R'... |
b08b1c48659d389f1ee716f199973b6fafe41d76 | 8c5db57fc672558a9f95a798f7a79daa3c58f0ad | /tewari/tewari_equimolar/r_code/03_other_tools.R | cba6348602bce9c5833a25b5799859bf7ec781b3 | [] | no_license | miRTop/incubator | 7c24fd271913b07588c9accccfbcf1d70713b14a | 916eb164554f8b287747ce3d593a3d58dc5ee2ee | refs/heads/master | 2021-01-19T03:38:06.463354 | 2019-04-25T21:25:20 | 2019-04-25T21:25:20 | 45,271,759 | 6 | 4 | null | 2018-09-19T16:31:23 | 2015-10-30T19:17:11 | R | UTF-8 | R | false | false | 1,920 | r | 03_other_tools.R | library(tidyverse)
library(ggplot2)
library(pheatmap)
theme_set(
theme_light(base_size = 14L))
theme_update(
legend.justification = "center",
legend.position = "bottom")
prepare = . %>% filter(ref_is_1 == 1) %>%
dplyr::count(protocol, sample, pct_cat, iso) %>%
group_by(protocol) %>%
mutate(... |
0f21c861da460f0abd36c09c7ab9cea29752f020 | ceb95b1483ba7a41a73f1d04df8fdfd40d502d23 | /test_for_nomality_and_transform.R | 322ca3499b0109cc5a6b94b64a136911de9766f4 | [] | no_license | RustyBrain/phds_assignment | b5ea4c7cb91e39352f7abb9a2ba49ac10bc01402 | 104b5227d07def3de0ac2fa31087e447b0bb2a9c | refs/heads/master | 2020-05-03T11:48:06.903818 | 2019-04-29T09:44:00 | 2019-04-29T09:44:00 | 178,609,310 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,211 | r | test_for_nomality_and_transform.R | library(fingertipsR)
library(dplyr)
library(tibble)
library(tidyr)
library(mi)
library(car)
library(ggplot2)
library(ggcorrplot)
library(caret)
library(psycho)
# Get data
df <- fingertips_data(ProfileID = 19, rank = TRUE)
df <- social_determinants_df
# Create a data frame of indicator polarities
polarities <- df %>%
... |
c9941b4a84cd77ad0693280fd3273c2ba488e5cc | 599f6b6abf1cab72648c6a0589a6d7057a701551 | /Scripts/8_BSP_Plot.r | 200031fab69c5ee88c536aa54bfeda12da018df5 | [] | no_license | StopTB/China_TB_Evolutionary_History | ebd3af2a515e8b396179ebc4ef8067dae8737eaf | f12be9221710c2ad7768ee55285728c400baf133 | refs/heads/master | 2021-09-05T00:41:21.138523 | 2018-01-23T05:44:29 | 2018-01-23T05:44:29 | 117,248,878 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,514 | r | 8_BSP_Plot.r | library(ggplot2)
MTBC <- read.table("data.txt", header = T, fill = T )
options(max.print=1000000)
ggplot(data=MTBC) +
geom_line(aes(x=y5, y=l5),color="Magenta", linetype="dotted", alpha=0.5) +
geom_line(aes(x=y5, y=u5),color="Magenta", linetype="dotted", alpha=0.5) +
geom_line(aes(x=y5, y=m5), size=0.5, colo... |
1c3af1f162dea6cbcdc39a46646179e4ce758d84 | f7408683a4b9f3ea36e6c56588f257eba9761e12 | /R/PEER.Sim-data.R | 5ed033280eb8b74ed53d015cb674c20c56d099d5 | [] | no_license | refunders/refund | a12ad139bc56f4c637ec142f07a78657727cc367 | 93cb2e44106f794491c7008970760efbfc8a744f | refs/heads/master | 2023-07-21T21:00:06.028918 | 2023-07-17T20:52:08 | 2023-07-17T20:52:08 | 30,697,953 | 42 | 22 | null | 2023-06-27T15:17:47 | 2015-02-12T10:41:27 | R | UTF-8 | R | false | false | 1,362 | r | PEER.Sim-data.R | ##' Simulated longitudinal data with functional predictor and scalar response,
##' and structural information associated with predictor function
##'
##' \code{PEER.Sim} contains simulated observations from 100 subjects, each
##' observed at 4 distinct timepoints. At each timepoint bumpy predictor
##' profile is ge... |
d86219aebd8d2566e69750ae2841ca223ffc4282 | bae0c518f1e2c8cec2eff5b2d2c64e39427543b8 | /kubobook_2012/binomial/COMMON.R | 66a1b5100cf622caac090ed62a1bff969d6f5b8a | [] | no_license | yoshiki146/Stat_Modelling_for_Data_Analysis | 9844e4424731d5f7584b1d445f555b892df48e35 | 8e7383f42b0f0af03f781618501f144264a4929d | refs/heads/master | 2020-03-19T09:25:30.982914 | 2018-06-12T11:46:46 | 2018-06-12T11:46:46 | 136,287,546 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 94 | r | COMMON.R | source("../COMMON.R")
d <- read.csv("data4a.csv")
width <- 3.5 # inch
height <- 2.8 # inch
|
b627e90e7f127c56a5fed6cad87c9ed092f33477 | 13633e7b14681e43366ca86b7b00e22ab6a72aac | /R/matrix.R | 9dcc33ffe92cfdf9b9d5fdcfc5dddc874fea505b | [] | no_license | thaisssimoes/cursoML | aca7543a57b9f3bfd97afc13e539ff3e8596bde7 | 0920fc8323b1772c5990af1996c3850306aa7ba6 | refs/heads/master | 2022-02-19T07:46:15.973519 | 2019-08-10T19:56:38 | 2019-08-10T19:56:38 | 197,964,338 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,037 | r | matrix.R | #Matrizs
#criação de matriz
m1 <- matrix(1:6, nc=3)
m1
m2 <- matrix( 10*m1, nc=3)
m2
#Operação com matrizes
m1 + m2
m1 - m2
m1 / m2
m1 * m2
m1 ** m2
#Transposta da matriz
t(m1)
#criar matriz preenhendo pela linha
m1 <- matrix(1:12, nc =3, byrow=T)
m1
#Tamanho (quantidade de elementos)
... |
d21adb1a5c5b609d136ce5d0624fb811673b315a | d6670a701d4dc07a921cff8c94331677fdde3804 | /man/print.summary.dcalasso.Rd | 468f43bc8e209e704f2e17f9afd4369888f54bd0 | [] | no_license | wujing121/dcalasso-1 | b72a957aef80443d604face553dd5a9229991f2e | d41c991325b4f18857d3114660af18b78c436382 | refs/heads/master | 2023-03-18T13:58:11.859155 | 2021-02-23T07:21:26 | 2021-02-23T07:21:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 441 | rd | print.summary.dcalasso.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summarymethods.R
\name{print.summary.dcalasso}
\alias{print.summary.dcalasso}
\title{Print summary for dcalasso objects}
\usage{
\method{print}{summary.dcalasso}(x, ...)
}
\arguments{
\item{x}{a summary.dcalasso object}
\item{...}{...}
}
\de... |
0867c624967e399ac8f8ed9456d0e370d998cff6 | bf6e6d9a51776287e03c531d122e83287617cdfb | /labsimplex.Rcheck/00_pkg_src/labsimplex/R/print.smplx.R | 760aab167f9c3b22f34b1014370c9304832d5997 | [] | no_license | Crparedes/labsimplex | 2ec465947373e7fffabeaf469354e61eaef1e07c | 8228dd1ac6adfe9a4da42c59bb3c2b9ba1c63046 | refs/heads/master | 2021-09-27T03:48:09.634111 | 2021-09-22T14:22:18 | 2021-09-22T14:22:18 | 179,175,356 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,407 | r | print.smplx.R | #' Prints given simplex (a \code{smplx} class object)
#'
#' Prints given simplex information.
#'
#' @param x simplex object to be printed
#' @param extended logical, if \code{TRUE}, the object is printed as a
#' list containing all hiden elements
#' @param conventions logical, if \code{T... |
04f3352e91dfc46e0dce4d06b33413aa2e776389 | cf374f665ea9e683e441001c509a902ecf8399cc | /R/test.R | 20a39cffe1a78931744a946681f8ae2b11ded647 | [] | no_license | kpagacz/superlintertest | a4cede995d85e0dd1a511a4f87191726b00c534a | ad14114a38c215d559fee6bdc0612857a418499a | refs/heads/main | 2023-07-17T06:28:17.576184 | 2021-08-31T05:28:58 | 2021-08-31T05:28:58 | 401,570,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 84 | r | test.R | #' test
#' @import shiny
#'
test_function <- function() {
ns <- NS
ns("test")
}
|
cd537a89f30a9acd7ae920cd35220a8122ff07c4 | 3bfcfbb1ce30e01e2bee4f9d611388f7860be455 | /prediction_model.R | 3fb1cf05d76a6ba45077c00f369148a693174c27 | [] | no_license | JaymonV/DC3-G7 | 9cfaa1b7d0d139f248aa026ec7143fb1d3e7c423 | c5e5d1690c341b14b1efe8d04b1dc47d6b19232d | refs/heads/master | 2020-07-24T19:13:46.951485 | 2019-11-08T19:55:39 | 2019-11-08T19:55:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,802 | r | prediction_model.R | if(!require(rstudioapi))install.packages("rstudioapi")
library(rstudioapi)
if(!require(forecast))install.packages("forecast")
library(forecast)
if(!require(lmtest))install.packages("lmtest")
library(lmtest)
library(ggplot2)
setwd(dirname(rstudioapi::getActiveDocumentContext()$path))
###################################... |
d16bc2022ff0af01b270db680e17abdda261e323 | 08c566c7906434c99bb4f6bb6b649023807e7437 | /sentiment_bar_graph.R | b92a07962bec29ae2938206b9461a41ef31b0ad8 | [] | no_license | shivi1019/NLP-Algorithms-Python | 02c47a15ed16059db54124441aae91147e28487b | 72eaf728f056551e348a1e3fd7c0d6b8dd752d4b | refs/heads/master | 2023-06-07T14:42:33.757073 | 2021-06-28T10:18:39 | 2021-06-28T10:18:39 | 288,165,943 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,827 | r | sentiment_bar_graph.R | #### Loading library ####
require(tidyverse)
require(tidytext)
require(RColorBrewer)
require(gplots)
theme_set(theme_bw(12))
library(textdata)
library(reshape2)
# Reading dataset
setwd("~/Project1-WFM/Project5 - NLP/Emotion Tagging/")
data <- read.csv("emotion_data.csv", stringsAsFactors = F)
#### ... |
49be3f2f65adca38533de8a3cc7117b639a3aad1 | 66e04f24259a07363ad8da7cd47872f75abbaea0 | /Correlation and Regression/Chapter 5-Model Fit/7.R | 732ed520e4a3829cb944f38d556339fcce5593c1 | [
"MIT"
] | permissive | artileda/Datacamp-Data-Scientist-with-R-2019 | 19d64729a691880228f5a18994ad7b58d3e7b40e | a8b3f8f64cc5756add7ec5cae0e332101cb00bd9 | refs/heads/master | 2022-02-24T04:18:28.860980 | 2019-08-28T04:35:32 | 2019-08-28T04:35:32 | 325,043,594 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 841 | r | 7.R | # High leverage points
# Not all points of high leverage are influential. While the high leverage observation corresponding to Bobby Scales in the previous exercise is influential, the three observations for players with OBP and SLG values of 0 are not influential.
#
# This is because they happen to lie right near the... |
b8d1582f613a7698acbc2c4b9a7d8a9e0cad1828 | 47949eb43a023ad2f81dedf498d2bb5e50a66e73 | /06-MSN.R | 5d7d3a732847483c8f1a1db634a8579961c22cfd | [
"MIT"
] | permissive | everhartlab/brazil-sclerotinia-2017 | fd1eff318e7f7a51f4b20ebf317f2b67f9ddd20f | e3b472a3f204be5a9b37e013abd788ebfba3bc79 | refs/heads/master | 2021-03-16T10:20:53.039968 | 2020-09-25T21:22:10 | 2020-09-25T21:22:10 | 111,736,175 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,902 | r | 06-MSN.R | library("poppr")
library("igraph")
enc <- getOption("encoding")
in_script <- !interactive()
options(encoding = "iso-8859-1")
CD <- readRDS(here::here("data", "full-genclone-object.rds"))
min_span_net <- bruvo.msn(CD, replen = other(CD)$REPLEN, showplot = FALSE, include.ties = TRUE)
set.seed(69)
min_span_net <- plot_... |
2cb17800a0eebde8035a6b19e74aad5152f40017 | eece0098d8700a7a56809fba4f2e3be17d95c233 | /spark/demo/ms_demo_1000_rmark.R | ddd01726b18519407db73cb439162cdad6eb08bd | [] | no_license | sjbonner/spark | 2ab969de7ffeb7bde3aa07905efc00f281747220 | 281e2dc961236eb526b874f72872329825066c9a | refs/heads/master | 2023-07-10T05:44:29.856545 | 2023-06-29T16:04:45 | 2023-06-29T16:04:45 | 36,303,277 | 0 | 1 | null | 2016-09-20T02:27:45 | 2015-05-26T14:57:30 | R | UTF-8 | R | false | false | 3,440 | r | ms_demo_1000_rmark.R | ## Load packages
library(RMark)
library(ggplot2)
## Set path to data set
infile = system.file("extdata", "msdata1000.inp", package = "spark")
## Run spark
msdata = spark(infile = infile,
informat = "mark",
outformat = "mark")
## Fit model to truncated data
## 1) Process data
msprocess... |
3786371db02e997e323adaf2db7ef1a250f31201 | 4c23c6f3a80bfb5a2ec611fc3534ae2a89a757ba | /R/gbt.fit.R | 441000eb23b69adae16602bbc347d0a533d07f76 | [] | no_license | harrysouthworth/gbt | dd90dca3052d06a7486d9f0483ec279aba12aedb | ccda94b1c21951e20aaa09d04d2b27b3f494e361 | refs/heads/master | 2016-09-05T17:28:12.767656 | 2014-04-10T10:16:58 | 2014-04-10T10:16:58 | 18,555,593 | 3 | 5 | null | 2014-04-10T10:16:58 | 2014-04-08T11:23:01 | C | UTF-8 | R | false | false | 7,084 | r | gbt.fit.R | gbt.fit <-
function( formula,
loss="squaredLoss",
data,
n.trees,
interaction.depth,
shrinkage,
bag.fraction,
cv.folds,
conjugate.gradient,
... |
a363ee42bc0edb545dfc1823d8ee3b3e702d8611 | 66f8711bc942a1bc635a6deea253e9a49c718094 | /R/nnNetwork.R | bf250f3f8112ce863566cbc8b54cd66c69ffae8a | [
"MIT"
] | permissive | seanrsilver/novnet | bd179476c48a8dd809757c60488dde7193a4145b | 85107cfbbabc68c603134db5b5fc8bbf9219624b | refs/heads/master | 2020-06-05T18:20:58.057024 | 2019-06-18T14:29:45 | 2019-06-18T14:29:45 | 192,495,039 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,976 | r | nnNetwork.R | #' nnNetwork()
#'
#' A visualization function, which produces a network-style visualization from
#' a properly formed Novel Networks data set.
#' nnNetwork() chains
#'
#' @param filename <- "Frankenstein"
#' @param include.all <- TRUE
#' @param set.voice <- NA
#' @param local <- TRUE
#' @param filename Character strin... |
e9c0c1d039d059a6884a650daaa085fed6a0da9c | 3723f4e4aa552d9e2dc5de24d158720492f5b711 | /mu-gis-stats/load-packages.R | e000152742090cda570ad546ec08da5d2005baf9 | [] | no_license | dylanbeaudette/reports | 46048145f67824a7def13247fddd6947b184a640 | 2c00783093b2d35f18b19c800f17c281dac76a5e | refs/heads/master | 2020-05-21T04:28:06.474527 | 2016-10-11T17:25:04 | 2016-10-11T17:25:04 | 54,495,118 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 612 | r | load-packages.R | ## you need all of these packages to run the report
# packages + deps from CRAN
packages.to.get <- c('knitr', 'rmarkdown', 'rgdal', 'raster', 'plyr', 'reshape2', 'aqp', 'soilDB', 'sharpshootR', 'latticeExtra', 'clhs', 'devtools', 'rgeos')
res <- sapply(packages.to.get, install.packages, dep=TRUE)
# latest versions fr... |
963dfa6c0a9b903b81ea9962e688204aa4252c96 | dc64458135fdfd0ce1885714c1d56e82c5e94fa6 | /nevada_scripts/task_scheduler.R | 77084ea2026ba71c02fb2f8208c03c3291438d5f | [] | no_license | GOliveira10/Nevada-Caucus-Monitoring | 0d2abeac0fa06c061658440230021baf8a631dba | 138d0856ca92e05c10a521ace605cee1de57fcd0 | refs/heads/master | 2021-01-02T07:48:16.592730 | 2020-02-25T04:55:08 | 2020-02-25T04:55:08 | 239,553,489 | 3 | 0 | null | 2020-02-23T04:08:56 | 2020-02-10T16:07:48 | R | UTF-8 | R | false | false | 1,437 | r | task_scheduler.R | # remotes::install_github("r-lib/later")
library(later)
library(lubridate)
run_times <- seq.POSIXt(from = as.POSIXct("2020-02-22 14:10:00"),
to = as.POSIXct("2020-02-23 14:05:00"),
length.out = 24*12)
check_for_updates <- function(){
file_info <- file.info(list.... |
c99a1e9835d4ef5505e2657189e093f29114e359 | 7e478f91bf78f5492cf33c0dc70ce0dd95b2ea1b | /studentship_project/examples/Non-additive interaction for diuretics.R | 94a9d9bf8389db14068a02b1d6a855bd022a9551 | [
"MIT"
] | permissive | MerrimanLab/urate_variance | 82858372b968c78b50df4e99fa9cf144123eec7d | f280997664093907f543fc34b8a79788cec6c388 | refs/heads/master | 2020-12-24T16:24:10.016574 | 2016-03-07T01:43:32 | 2016-03-07T01:43:32 | 31,228,927 | 1 | 1 | null | 2016-03-07T01:43:33 | 2015-02-23T20:47:10 | R | UTF-8 | R | false | false | 4,020 | r | Non-additive interaction for diuretics.R | load("Non-additive interaction for diuretics.RData")
dataset <- rbind(ARIC_snps, CARDIA_snps, CHS, CHSDIU_snps, FHS_snps)
dataset$DIU <- NA
dataset$DIU[dataset$COHORT=="CHSDIU" | dataset$COHORT=="ARICDIU"] <- 1
dataset$DIU[dataset$COHORT=="CHS" | dataset$COHORT=="ARIC" | dataset$COHORT=="FHS" | dataset$COHORT=="CARDIA"... |
3a003baa2e99bfc16f0776c58359ab19ac616fe3 | 61d28d0598efb9636bd8ca6c5055b3197429e71c | /2_Forcing_WIN.R | 42eee7415c7486952cb7437d78467f4effb37fef | [] | no_license | DaDaDaDaDaLi/VIC_data_process | bf3ae2ab53ffbd4aac90522f6060cb50856e1992 | efaca690c5cfb6206feda5a9f2aa290753a9eb99 | refs/heads/master | 2020-04-23T07:05:20.144922 | 2019-02-16T11:32:29 | 2019-02-16T11:32:29 | 170,995,971 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 4,465 | r | 2_Forcing_WIN.R | #这段代码的作用是提取研究区的气象站点数据
lati = read.table("D:\\data_xijiang\\data_result\\forcing\\win\\SURF_CLI_CHN_MUL_DAY-PRE-13011-201001.TXT")[,2]
lati = lati/100
long = read.table("D:\\data_xijiang\\data_result\\forcing\\win\\SURF_CLI_CHN_MUL_DAY-PRE-13011-201001.TXT")[,3]
long = long/100
S_code = read.table("D:\\data_xijiang... |
8ff541144ce2a0ab8b46703517272564aa10e6a6 | a8cd1d7b01e62053f2bab2fe9c0e1544fa558aa0 | /cachematrix.R | 11f30f1a501d039b2194cd71725d7e3c91212384 | [] | no_license | lobes/ProgrammingAssignment2 | 387dbce2672a156f6eef11ed6ff8f965a2be6ff8 | 48e03f80cf2614d6bbfc70500034505dfc8e92c5 | refs/heads/master | 2020-06-17T13:00:36.093363 | 2019-07-12T04:13:31 | 2019-07-12T04:13:31 | 195,932,138 | 0 | 0 | null | 2019-07-09T04:23:31 | 2019-07-09T04:23:30 | null | UTF-8 | R | false | false | 1,742 | r | cachematrix.R | # This pair of functions will check to see if the inverse is stored in cache,
# and if not will calculate the inverse and set it to the cache.
# Generate a matrix that contains the following functions as a list:
# 1. set the values of the matrix
# 2. get the values of the matrix
# 3. set the inverse of the matrix
# 4.... |
8b316b24ff47a4d05ed9e0d8ae69993ed9587081 | e784dc9d52588bc6c00fa18fab014f6cf3fe73b7 | /R-Finance-Programming/ch03_graph/13_mfrow.R | 5187b2ff376c22ee7cc3753581f95fbaef4c3028 | [] | no_license | Fintecuriosity11/Finance | 3e073e4719d63f741e9b71d29a97598fa73d565d | b80879ece1408d239991d1bb13306cc91de53368 | refs/heads/master | 2021-02-20T12:59:51.559033 | 2020-08-08T16:21:49 | 2020-08-08T16:21:49 | 245,337,007 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,798 | r | 13_mfrow.R | ##########################################################################################################################################
#(주의) -> 순차적으로 코드를 실행하는 것을 권함!
#에러 발생 시 github Finance/R-Finance-Programming 경로에 issue를 남기면 확인
############################################################################... |
9e9718f74814c3581b7fab32966043d233f39b46 | 9ef0ad8f18f19009244bb6b1608f129eeb20878f | /bin/Validation.R | a0e2341ef0852e384eef36be4571a8bfbe89d2d4 | [] | no_license | e-marcelo/EbitSim_MANET | 8db2a56e20d27a0c3215cdae5bbb540f9208675f | 31af7b4c900aac20c263b690a333e1422a4fc5b9 | refs/heads/master | 2021-01-11T18:11:06.532054 | 2017-03-13T17:00:19 | 2017-03-13T17:00:19 | 79,503,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,774 | r | Validation.R | #!/usr/bin/env Rscript
# load libraries
## Summarizes data.
## Gives count, mean, standard deviation, standard error of the mean, and confidence interval (default 95%).
## data: a data frame.
## measurevar: the name of a column that contains the variable to be summariezed
## groupvars: a vector containing names ... |
25520bda577315aec18c75688fe3dae93a8a27d2 | c29a2534fb4e5224d49d3fed5e23f6c86987d055 | /man/recalculate_expression.Rd | a0c42ec099a593ee672762f1ee3f37c478cf4df6 | [] | no_license | ddeweerd/MODifieRDev | 8c1ae2cd35c297a5394671e05d3198b6f3b6fcf8 | 5660de4df282b57cd2da20e8fe493e438019b759 | refs/heads/Devel | 2020-03-28T18:37:56.271549 | 2019-11-07T10:45:09 | 2019-11-07T10:45:09 | 148,896,901 | 4 | 0 | null | 2019-08-20T14:14:35 | 2018-09-15T11:42:06 | R | UTF-8 | R | false | true | 1,596 | rd | recalculate_expression.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_input.R
\name{recalculate_expression}
\alias{recalculate_expression}
\title{Recalculate collapsing probes to genes}
\usage{
recalculate_expression(MODifieR_input, method)
}
\arguments{
\item{MODifieR_input}{A MODifieR input object prod... |
62b4458a5aff5347a6decf33d5d469f7bfe908c4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/splinetree/examples/projectedR2.Rd.R | 2504e9ba1432d64e4b9de09622d65454a98daf6c | [] | 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 | 210 | r | projectedR2.Rd.R | library(splinetree)
### Name: projectedR2
### Title: Computes percent of variation in projected response explained by
### a splinetree.
### Aliases: projectedR2
### ** Examples
r2 <- projectedR2(tree)
|
8d88cfa0d3c32d0534c0787d8693c1082d1f55f8 | 70ab7729db8c949aff5742e6e7fb88b99165db50 | /server.R | 512fe827b48a387e828bbb31896bf23e6f2aa46a | [] | no_license | vincentgombe/Developing-Data-Products-Project | 87fccb9be69642a35e154707c285f501e4ed0395 | 03146c6a8670813a54fe33056448c500145fc79c | refs/heads/master | 2021-05-11T20:21:25.765681 | 2018-01-14T15:51:11 | 2018-01-14T15:51:11 | 117,442,119 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,154 | r | server.R |
library(shiny)
shinyServer(function(input, output) {
output$plot <- renderPlot({
n <- input$`Sample Size`
lambda <- input$`Given Occurances`
z <- input$`Interested Occurance`
t<- input$`Interested Interval`
lambda2 <- lambda * input$`Interested Interva... |
88772c682db9202bcf052d6ca7e482f2a7e3f624 | e9dc98ef9ef633666be0a91e51c4857f2c3eef32 | /api/man/get_model_id.Rd | 457c7155157680d49c4682bb7b1a09b2e0865a63 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dlebauer/pecan | b0de087b2107460e481c96f1499601cbd73694bd | 36cc58406190809c1cb916ee633ee4e9f93559c6 | refs/heads/master | 2022-06-08T13:02:54.809873 | 2020-05-06T00:44:23 | 2020-05-06T00:44:23 | 217,627,062 | 0 | 1 | NOASSERTION | 2020-09-08T01:53:06 | 2019-10-25T23:08:15 | R | UTF-8 | R | false | true | 701 | rd | get_model_id.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_model_id.R
\name{get_model_id}
\alias{get_model_id}
\title{Retrieve database ID of a particular version of a model}
\usage{
get_model_id(con, name, revision, multi_action = "last")
}
\arguments{
\item{con}{Database connection object (Pqco... |
3663da275327d118fd7e3a52663fcbe69269fe3a | ca8e2e11ea54ba365aa5ab758a6c34c2f2411d9a | /06_既是世间法、自当有分别.R | 017eade975ae876961a6644411c8eb2f46aee3e7 | [
"MIT"
] | permissive | byaxb/RDataAnalytics | 0ecbf8b28918e6278aecc113d1856b2a670cedc0 | 7debb44a44ae1486e4b1555991dfa7db9ea84e38 | refs/heads/master | 2023-01-28T14:02:13.069370 | 2023-01-11T01:27:32 | 2023-01-11T01:27:32 | 96,006,564 | 169 | 91 | MIT | 2022-05-06T05:58:10 | 2017-07-02T06:29:54 | R | UTF-8 | R | false | false | 36,188 | r | 06_既是世间法、自当有分别.R |
# 06_既是世间法、自当有分别------------------------------------------------
#这里的分别,指的是分门别类
#更具体的讲,是根据特征做出判断、作出分类
#分类与回归,几乎是有监督学习的代名词
#也是机器学习/数据挖掘最核心的内容
#旨在揭示自变量与因变量之间的映射关系
#因变量为类别变量时,称之为分类
#因变量为连续变量时,称之为回归
#本实验以分类为主
#在R语言里,caret包提供了分类与回归的统一框架
#caret包也是R里边使用最广泛的包之一
#小伙伴们可以多加留意
# Data Exploration ---------------------------... |
4c3a2b94fbfa82549006a5f9beace81445f6b877 | f645b968f7290bba933e7db487366135cde14b62 | /R/combine_smartstorevisit.R | f6c2ea57ede9a3e498e24b175d7ffb37a6103a53 | [] | no_license | drtagkim/ProjTkJy | c5ea762ea6a1acaf9c42fd002d801565ba5cae28 | 8574d24cfe264fdc3245a0cba37316f817c92618 | refs/heads/main | 2023-04-15T18:48:27.914293 | 2021-04-17T06:31:45 | 2021-04-17T06:31:45 | 355,756,036 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 456 | r | combine_smartstorevisit.R | #combine ssvist
f=list.files(pattern='^ssvisit_')
dsetssvisit=f %>% map(function(x){readRDS(x)})
length(dsetssvisit)
ss_visit <- bind_rows(dsetssvisit)
dim(ss_visit)
names(smart_store_data)
smart_store_data <- smart_store_data %>% inner_join(ss_visit)
smart_store_data <- smart_store_data %>% inner_join(ss_grade_zzim)
... |
a7bf420af934e3d3c673390e688a7958d4652fa3 | e154cdb4788ff04f97af5c2b12504cdb879b8199 | /kaggle/PortoSeguro/Numerical_Vars_FE.R | 5c0c333524f2a8cb00439a9bbd9bef1b94395c46 | [] | no_license | melwinjose1991/LearningMachineLearning | 970a3bcf21bb369c0afe335f34e4ec7a3f5830e4 | d09a0fbea44cb8c53763446f32119b22bc8970c6 | refs/heads/master | 2021-01-17T05:02:41.193335 | 2018-05-17T01:35:23 | 2018-05-17T01:35:23 | 83,053,730 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 3,668 | r | Numerical_Vars_FE.R | library(data.table)
###### Removing tables() ######
rm(list=tables()$NAME)
gc()
### Reading Data ###
fe_train = fread("data/train.csv")
fe_test = fread("data/test.csv")
cols = colnames(fe_train)
setkey(fe_train, id)
setkey(fe_test, id)
### Numerical Attributes ###
numeric_cols = cols[which(sapply(fe_train, cl... |
7b8f8da6545187ac97c0a6f3cba0b7be50a04b49 | ef58ea5f8792a292262f7561c18d94fd37b6d2bf | /tests/testthat/test_grapes-land-grapes.R | e3bc66759dfd12b854464c49ffc81382ba80f0a8 | [] | no_license | kevinwkc/replyr | f1e32de4ce2b0ed753195deb91d13d35cb8ed0ea | ac898b408b8b8f42e499ebc1b32a390ae88c69a2 | refs/heads/master | 2021-01-22T08:52:53.421412 | 2017-05-27T23:54:28 | 2017-05-27T23:54:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 198 | r | test_grapes-land-grapes.R | library('replyr')
context("test land")
test_that("test_grapes-land-grapes.R", {
library("dplyr")
7 %>% sin() %->% z1
7 %>% sin() %->_% 'z2'
varname <- 'z3'
7 %>% sin() %->_% varname
})
|
6588af740be6e7828293ce023fdec215eacf6857 | 49645c4e57889635638399e88cb490a49b79607d | /R_scripts/Columbia_single_cell_bootcamp/tutorial_code.R | 955403c286adfb3a82335aceb9c925d15b48c18e | [] | no_license | pbpayal/Bioinformatics-Documents | f9440c5efb735c5f9ac705f15832d4eb163248cc | 3c79fc8c9afc87b962c7297edde8cbf5dffe12b0 | refs/heads/master | 2023-05-21T02:04:12.057441 | 2021-06-14T19:55:09 | 2021-06-14T19:55:09 | 170,368,307 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,466 | r | tutorial_code.R | #Session 4: Introduction of scRNA-seq Data Analysis (Hands-on Lab)
#load required packages
library(SingleR)
library(Seurat)
library(cluster)
library(umap)
library(pheatmap)
library(viper)
library(MAST)
library(ggplot2)
library(ggrepel)
library(infercnv)
library(MASS)
library(SeuratData)
library(Hmisc)
#Seurat walkthr... |
185cd824a3f28e9cbd1ee248d375334bb9f03e29 | a0ceb8a810553581850def0d17638c3fd7003895 | /scripts/rstudioserver_analysis/spikeins/integrate_chic_spikeins_with_facs.R | 0870b67247b7ece04f5a31e691ff9ec5e00a8d73 | [] | no_license | jakeyeung/sortchicAllScripts | 9e624762ca07c40d23e16dbd793ef9569c962473 | ecf27415e4e92680488b6f228c813467617e7ee5 | refs/heads/master | 2023-04-15T22:48:52.272410 | 2022-10-24T10:45:24 | 2022-10-24T10:45:24 | 556,698,796 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 354 | r | integrate_chic_spikeins_with_facs.R | # Jake Yeung
# Date of Creation: 2020-08-14
# File: ~/projects/scchic/scripts/rstudioserver_analysis/spikeins/integrate_chic_spikeins_with_facs.R
#
rm(list=ls())
library(dplyr)
library(tidyr)
library(ggplot2)
library(data.table)
library(Matrix)
library(scchicFuncs)
# Load ChIC -----------------------------------... |
b64f4cdf380e5c951e33bc0fc71e76d1c711fe62 | bf6eeabe8154eb0c192c1f27603dbd53fca4bdec | /man/show.Rd | 9d9ab56a207bc1ceca8a01b77195ff5f533d528c | [] | no_license | gokmenzararsiz/MLSeq | a81484c77bc77cc43a9317a5cc71ec10eb751a63 | f58cf5297d97b1f338d1748cc38df75f2e2accd3 | refs/heads/master | 2021-01-17T09:21:45.177052 | 2016-12-22T07:42:47 | 2016-12-22T07:42:47 | 18,428,996 | 1 | 1 | null | 2016-04-19T13:10:50 | 2014-04-04T05:58:29 | R | UTF-8 | R | false | true | 532 | rd | show.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generics.R, R/methods.R
\docType{methods}
\name{show-methods}
\alias{show}
\alias{show,MLSeq-method}
\alias{show-methods}
\title{Show method for MLSeq objects}
\usage{
\S4method{show}{MLSeq}(object)
}
\arguments{
\item{object}{an \code{MLSeq}... |
075f52fb2bc65ba252123da38efb7726b21c078e | 75284442478bb6d9bc3502d1893a09c08e67aadb | /man/to_percent_change.Rd | ff233372d9e9c754f06e264b1a19c26be8a738e8 | [] | no_license | tbadams45/wrviz | 5f95649516850da54e126b9364bab7a243abc203 | 35da48b9f6998bec138b3a042a00744a34a0fb81 | refs/heads/master | 2020-04-06T06:56:49.537233 | 2017-06-14T21:02:36 | 2017-06-14T21:02:36 | 62,154,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,070 | rd | to_percent_change.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility_functions.R
\name{to_percent_change}
\alias{to_percent_change}
\title{Convert decimals difference to percent differences.}
\usage{
to_percent_change(decimal_list, baseline = 1)
}
\arguments{
\item{decimal_list}{The list to convert.}
... |
30972d3ff774253f94a963c34984677b04eab16b | 05363a01f0583ea0977f21cd627d2284f59be457 | /R/classify.R | 847517bdb31369a25fdf739b8d9dcf5a8815ac9e | [] | no_license | emilygoren/MixtClust | 6fa523bf13b07953e45855edea46a56753a64010 | 0865a1b896196f9d88f83c2260f082628c138d68 | refs/heads/master | 2022-03-12T01:41:54.492726 | 2022-03-04T03:35:40 | 2022-03-04T03:35:40 | 262,897,695 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,490 | r | classify.R |
#' Classify New Observations
#'
#' @description Classify new, possibly incomplete, observations arising from a finite mixture of multivariate
#' t distributions.
#'
#' @param newobs A matrix with new observations (rows), \eqn{p} columns
#' (dimensions), and missing entries set to \code{NA}.
#' @param params A list... |
37d8c4c62226442a15900795f4d0ab1499bdaf23 | 3bc5bb3dbb3b34961fdc7b4523965a92591d23e8 | /R/RCPGenerator.R | be416d0c8c37beee46338c73a579cd834d7b6925 | [] | no_license | brandonsie/phipcc | 510291462cc0c89764729bbe6d0010ad957d5e70 | 60d785ca8a1373d799cc9cc82a42532a30997a84 | refs/heads/master | 2021-07-23T17:33:59.722692 | 2020-05-31T01:35:41 | 2020-05-31T01:35:41 | 180,176,287 | 2 | 3 | null | null | null | null | UTF-8 | R | false | false | 3,356 | r | RCPGenerator.R | #' RCPGenerator calculates RCP, Relative Control Percentile, a case-control
#' statistic describing the percentile from 0.0 to 1.0 of one score against
#' that of a control population. For example, if a control population consisted
#' of three scores, 4.1, 5.0, 6.8, and 10.1, then a score of 5.0 would be
#' assigned an... |
c48032b8a84e838e1e0f59872a20f3984a026a7d | eb6aeb235e9d476e8bc3dd1aefa52f04e086d4b5 | /code/wgcna2igraph.R | dbc118625f0caca777ea082d56acb999cb7b5cb4 | [] | no_license | TheBeeGuy/WGCNA_Intragenomic_Conflict | 8489713342c6c0a3bbef7c5540afe81ff0674a9c | 3cad9d05b184273d716977d208dcb311f913107b | refs/heads/master | 2021-07-13T14:18:24.113518 | 2020-07-27T01:27:44 | 2020-07-27T01:27:44 | 185,473,857 | 0 | 0 | null | 2019-05-31T16:05:44 | 2019-05-07T20:32:41 | HTML | UTF-8 | R | false | false | 6,958 | r | wgcna2igraph.R | #' @title Generate an igraph object from wgcna output
#'
#' @description
#' \code{wgcna2igraph} Function to cull and plot WGCNA networks. Requires
#' igraph and WGCNA to be installed.
#' @param net WGCNA generated network. Usually from WGCNA::blockwiseModules
#' @param datExpr The expression dataset, transposed so that... |
e72b9923b53120d46a6b2b650ce6d98468d1debe | f1e5a836d5c7e95e7f4251613211b0887fb7d1f6 | /R/ops_fulltext.R | 0a86861204c612b35c58be8f693bf77d9520db5c | [] | no_license | wipo-analytics/opsrdev | 42236173216d570a694deba1f587a8af696a7a0e | b32ca743f48238c11e947a36de2215c88d4bf995 | refs/heads/master | 2021-01-12T15:53:11.559849 | 2016-10-24T10:54:52 | 2016-10-24T10:54:52 | 69,320,484 | 0 | 11 | null | 2016-10-24T10:54:52 | 2016-09-27T04:52:09 | R | UTF-8 | R | false | false | 2,863 | r | ops_fulltext.R | #' @title retrieve full text using patent numbers
#' @description For jurisdictions where full text is available. This is
#' presently limited to Austria (AT), Canada (CA), the European Patent Office
#' (EP), Great Britain (GB), the Patent Cooperation Treaty (WO), Spain (ES)
#' and Switzerland (CH).
#' @param que... |
d622f02f77ff909d4d09df7a48224282e8862051 | 246189c0e240e174b9ca74e2a42bfecee79cc9e1 | /R/analyzeMatrixPopModels.R | bfc992d4506214800be0b212f980073de735813d | [] | no_license | ksauby/GTMNERRproc | f3bcd140578d710c9b013da83d9ac8d08e781eee | fd5a073d5fd2690b6fde64a0313d1a3fdfe07645 | refs/heads/master | 2021-04-06T13:03:29.008590 | 2017-11-15T20:35:53 | 2017-11-15T20:35:53 | 83,352,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,775 | r | analyzeMatrixPopModels.R | #' Analyze Matrix Population Models
#'
#' @description Analyze multiple matrix population models, allowing for a seed bank and clonal reproduction.
#' @return Returns a list including:
#' \itemize{
#' \item the growth/retrogression/survival/fecundity transition matrix and clonal reproduction transition matrix for ea... |
9bdb180b31b91ab5b492c9d72dd88c0970d13ed4 | f7eda815d3ce720ec4621f2b579914f8e8f8993e | /futboldata/tests/testthat/test_player_urls.R | 89606e41f98d3e2f96faa49d1772872f3f805829 | [
"MIT"
] | permissive | cfranklin11/futbolean | 1513a4d1483f0ee1e9d27bbc5dbb004d79dcd170 | 9b919ae752ecba66932d1d869f4354f0837b1b16 | refs/heads/master | 2023-01-21T06:41:51.276207 | 2019-11-01T22:44:01 | 2019-11-01T22:44:01 | 207,424,103 | 0 | 0 | MIT | 2022-12-26T20:58:42 | 2019-09-09T23:36:57 | Python | UTF-8 | R | false | false | 622 | r | test_player_urls.R | describe("scrape_player_links()", {
start_season <- "2016-2017"
end_season <- "2017-2018"
n_seasons <- 2
# Fetching data takes awhile, so we do it once for all tests
player_urls <- scrape_player_links(
start_season = start_season,
end_season = end_season
)
it("returns a vector of url characters"... |
e3fb9cc5fce11f232b0de3f85d84ef9922a36142 | e3e94e53a7fd67f6b437e633e1eec4c266db5ae1 | /Abby/RandomForest.R | 33ff0daff4aabb333e59e85984e09279d1d196ba | [] | no_license | HandsOnTheRope/Data-Jaguar | 7c1f9465a606595b3c725d4e8cb79695c938acb1 | 8fc6830fe382abdf6ed358b60d2b06afba4055fe | refs/heads/master | 2020-06-16T12:27:09.252542 | 2016-12-01T15:51:37 | 2016-12-01T15:51:37 | 75,102,456 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,134 | r | RandomForest.R | #import data
library(readr)
mydata <- read_csv("~/train.csv")
mydata$Sex <- factor(mydata$Sex)
mydata$Pclass <- factor(mydata$Pclass)
#make family size variable
mydata$famsize <- mydata$SibSp + mydata$Parch + 1
#check for blanks or NAs in Age
which(is.na(mydata$Age))
which(mydata$Age == '')
#fix NAs... |
51ab2ce3bd20f5ea36a6bc7c85e36a11208daa9f | 9a0e90c86f0e62f36368760d30ee82cbfa902cff | /R/read_li6400.R | 95f84266db36d56fa274855b578c1fe300c104e3 | [] | no_license | bvsonawane/photosynthesis | 1856fd74bfe671198950e012c20e70b181f914c0 | 5d29cf5843141e4f11e2c1d77fe149665a35f6e2 | refs/heads/master | 2020-04-04T17:39:53.678405 | 2019-09-09T23:24:49 | 2019-09-09T23:24:49 | 156,129,668 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,188 | r | read_li6400.R | #' @title Read and clean LI6400 file from csv format.
#'
#' @description Reads and clean Li6400 file from csv format, removes unnessory coulmn, adds Li6400 name, measurment data and remarks in separate column.
#' @param file_path path of Li6400 csv file.
#' @return Read and clean csv file made from output of Li6400 gas... |
e0897f03768d50344ac06603d55744c9dafc197b | 57eb613a446a89e08918c18e4a2ef5b7904754a3 | /man/mothers-ProgenyArray-method.Rd | b743afac1f94dc7b952b5c2bc2e16c2dd51e0f3f | [] | no_license | kate-crosby/ProgenyArray | c0fec380460e1d21d16477a05d05361e88e59f70 | 6fde9526f0bcb953251a28473a7c042b40254211 | refs/heads/master | 2020-12-28T23:49:59.252767 | 2015-05-15T23:44:22 | 2015-05-15T23:44:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 414 | rd | mothers-ProgenyArray-method.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/progenyarray-methods.R
\docType{methods}
\name{mothers,ProgenyArray-method}
\alias{mothers,ProgenyArray-method}
\title{Accessor for mothers in a ProgenyArray object}
\usage{
\S4method{mothers}{ProgenyArray}(x)
}
\arguments{
\item{x}{a... |
f8a11dd3873b3a79219a144e28189f974b364abb | b2eeb5e69ce34680a1aeb6259a549cf0d8153978 | /man/GIMAP5.Rd | 9fbba13716faf2366208fd568043bb45e8fa2123 | [] | no_license | SFUStatgen/LDheatmap | abb3444304c6185287436fc482ae5b45c06f7cfc | 510c60056c371127c4a2fc63c0d1b032717bde62 | refs/heads/master | 2023-03-09T17:57:04.521184 | 2023-02-24T01:15:32 | 2023-02-24T01:15:32 | 131,069,485 | 11 | 5 | null | null | null | null | UTF-8 | R | false | true | 2,602 | rd | GIMAP5.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GIMAP5Rd.R
\docType{data}
\name{GIMAP5}
\alias{GIMAP5}
\title{Example data set for LDHeatmap}
\format{
GIMAP5 is a list with three elements: snp.data, snp.support and
subject.support. snp.data is a \code{SnpMatrix}
object containing the SNP g... |
3e2aa45dee8112af7add2eaf063048db4364f7ec | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/clv/examples/SD_SDbw.Rd.R | e554867682794dec00264e04cf193db4a60e44db | [] | 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 | 679 | r | SD_SDbw.Rd.R | library(clv)
### Name: clv.SD, clv.SDbw
### Title: SD, SDbw - Internal Measures
### Aliases: clv.SD clv.SDbw
### Keywords: cluster
### ** Examples
# load and prepare
library(clv)
data(iris)
iris.data <- iris[,1:4]
# cluster data
agnes.mod <- agnes(iris.data) # create cluster tree
v.pred <- as.integer(cutree(agnes... |
816c4dbd3c3019bb633e3475e68353a7881e03ae | 3f87e835a8a7c2e755e139c7ff5596d549a37d90 | /replace_and_convert.R | bb8d6202a0b63a6700f885e36a1f542c50c83782 | [] | no_license | Paularb3ar/data-analytics | 584185780554c43ced5c3d2d358b7fc30c0d3cc9 | 4c4a4a3e342ccbc0106f3d8bf1efae1863159040 | refs/heads/master | 2021-04-25T14:45:42.147314 | 2018-07-17T08:59:35 | 2018-07-17T08:59:35 | 124,045,258 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 640 | r | replace_and_convert.R | #replacing patterns with sub() and gsub(), first and all respectively
fin$Expenses <- gsub(" Dollars", "", fin$Expenses)
fin$Expenses <- gsub(",", "", fin$Expenses)
#since $ is a special character in R, create an escape sequence with double backslash
fin$Revenue <- gsub("\\$","", fin$Revenue)
fin$Revenue <- gsub("... |
bdea9b9d0a629e2a36df23a2cf3d224f19bf3f6c | 1eb6d4302fd74f783018524ba23cc46bd40c9fcf | /otto3tsne.R | ecc1dfecbd89bf9a19119538925fa740d2cb9f1d | [] | no_license | LiYan1988/otto | 03f3c4fd7c24efd0396f54839ce6f54a2b9bdbdb | dfab4a066c59420557d9ca312a82ca7487ea79ef | refs/heads/master | 2021-01-11T01:09:36.243654 | 2016-11-05T17:55:43 | 2016-11-05T17:55:43 | 71,056,521 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 593 | r | otto3tsne.R | library(methods)
library(data.table)
library(Rtsne)
setwd("C:\\Users\\lyaa\\Documents\\otto")
train = fread("train.csv", header = T, data.table = F)[,-1]
test = fread("test.csv", header = T, data.table = F)[,-1]
y = train[,ncol(train)]
y = as.integer(gsub('Class_', '', y))-1
train = train[,-ncol(train)]
x = rbind(trai... |
220442775364a55d3eae2e1b7f9a2350af61c005 | 92ace6ca147e2ecd00e4ddfc77e8a519f9364d1e | /helpers/sample_data.r | 927ef4969797b217c2c787ff1ef594d3789c9704 | [] | no_license | drscghosh/spatial-analysis | 6c646f1af1a1f35468958097cc6db3520494f727 | 41a33d70d80122cc47488edd3720bab9121c774a | refs/heads/master | 2020-04-12T22:31:50.117213 | 2018-12-22T08:01:01 | 2018-12-22T08:01:01 | 162,791,617 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 205 | r | sample_data.r | longitude <- c(-116.7, -120.4, -116.7, -113.5, -115.5, -120.8, -119.5, -113.7, -113.7, -110.7)
latitude <- c(45.3, 42.6, 38.9, 42.1, 35.7, 38.9, 36.2, 39, 41.6, 36.9)
lonlat <- cbind(longitude, latitude) |
60a2ed0b1248b2597f3c551ffda466d2c5e481a6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/aprean3/examples/dse15k.Rd.R | fbf02a813f82dcd525d502824d08fe4149139bdf | [] | 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 | 153 | r | dse15k.Rd.R | library(aprean3)
### Name: dse15k
### Title: Dataset for Exercise K, Chapter 15
### Aliases: dse15k
### Keywords: datasets
### ** Examples
dse15k
|
a8ee38ad17393f5f3724373f0d043b994e6a7523 | 0293e3aada71aa5c22969b1fb42bb646b9e8d6cc | /Repeat Article/Semi_XGBoost.R | 9839cee4528f14c20f0202c0b383a142982d8768 | [] | no_license | jim19930609/Superconductivity-Prediction | 44aad24778cf1552403d9439d5b1666bb10deaf6 | bfff7292220a82ba737fec9c42c121d30e8dbf68 | refs/heads/master | 2020-04-09T20:35:23.806383 | 2018-12-12T17:46:56 | 2018-12-12T17:46:56 | 160,578,379 | 0 | 3 | null | 2018-12-18T03:08:15 | 2018-12-05T21:04:12 | R | UTF-8 | R | false | false | 2,576 | r | Semi_XGBoost.R | library("xgboost")
rsq = function (x, y) cor(x, y) ^ 2
# Readin Data into DataFrame
sem = read.csv('C:\\Users\\jim19\\Desktop\\Statistics_Project\\ML Models\\train.csv')
# Average RMSE in 25 iters
TrainRMSE_list = c()
TrainRSQ_list = c()
TestRMSE_list = c()
TestRSQ_list = c()
for (iter in 1:25) {
... |
caef542215c2a2471abe684075ed969a2f9f250c | 010b1c2fd855c025ea623c1f55dfca8d2723b24f | /inst/scripts/Estimation/biasvarcov.R | 007135d8b0075293ccdaa2164f521890b5d23020 | [] | no_license | gbonte/gbcode | cd9cbdc5ef40b53ed82d79c5620c97357cdbcd0d | aa912f71a766b29fe4f4c2aa23bcf49751f5ea67 | refs/heads/master | 2023-03-22T03:17:26.278341 | 2023-03-17T15:52:09 | 2023-03-17T15:52:09 | 52,086,706 | 11 | 11 | null | 2022-06-03T11:42:52 | 2016-02-19T12:37:02 | HTML | UTF-8 | R | false | false | 681 | r | biasvarcov.R | rm(list=ls())
R=100
Ntr=1
Nts=100
sdw=0.1
E=NULL
CC=NULL
V=NULL
B2=NULL
N=NULL
for (r in 1:(R/2)){ ## over functions
theta=runif(1,1,1)
that=NULL
for (rr in 1:(2*R)){## over datasets
DNtr=rnorm(Ntr,theta,sdw)
DNts=rnorm(Nts,theta,sdw)
muhat=mean(DNtr)
that=c(that,muhat)
E=c(E,mean((DNts-muhat... |
11acf3b2142b5c7c438ffb5d21bb502ca7739eb8 | a0919984c9cebe5d34f0e6a5eeb3e87ba9ec98e9 | /Factor script.R | 56fc2608b09d11f03548c399cc58d7f4070e9560 | [] | no_license | pbrehill/IDMSolsCoding | 8fcf0a424fb9de02701bf8f6375ffd2ed01ef7d6 | 90db6f5609489b728b2b62ee28223948811677e1 | refs/heads/master | 2022-12-08T23:44:17.892049 | 2020-08-13T08:37:20 | 2020-08-13T08:37:20 | 267,760,849 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,295 | r | Factor script.R | # Load tidyverse and load data
library(tidyverse)
library(car)
source('~/Documents/IWDA Consultancy 2/data/Dimension construction/Sols_dimensions.R')
setwd("~/Documents/IWDA Consultancy 2/Report chapters")
source('summaryfuncs.R')
# Unlist columns that have somehow become lists
data <- map_df(data, function (x) {
i... |
b244ae73b187158e7e6baba99e0118feb3146c72 | 3980ac1a2de7fe2c607d3b7b38d93a8dd0855337 | /example_scripts/beating_data_into_shape_part3_transcript.R | e79fdbdfb4f7a3ffbb71ae405981790b012e8cbe | [] | no_license | ea-guerette/ACC-From_thin_R | 5bda9da9c08c992be9403e33a4466f1447fad39e | 71aa7a79fd75d0839ca00d8d769b47e720a4344c | refs/heads/master | 2022-11-24T21:32:34.727001 | 2020-07-27T02:32:07 | 2020-07-27T02:32:07 | 258,040,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,807 | r | beating_data_into_shape_part3_transcript.R | #let's start with a cleaned up version of what we did last time - I removed all the 'non-essential' bits of code
#reminder that we are looking at 30 min data from BOM AWS at Gunn Point
#load packages
library(openair)
library(dplyr) #this is part of the tidyverse suite of packages
library(lubridate) #this package ma... |
11b1dea4373d116c87ee098f3c46a3549badab75 | f088bde14cc6b950474e57e89b297b482ccb18f3 | /R/package_setup.R | 7f35e2aa296bef2638d086b3e5c3c76278ef0939 | [
"MIT"
] | permissive | matiasandina/nobrainr | 36c86d940f325d465d3b944d276d8dd6e3592d75 | dceb61b7a1a608d537694e939d7424a24b223b1a | refs/heads/main | 2023-08-22T02:26:21.328292 | 2021-10-12T22:05:02 | 2021-10-12T22:05:02 | 411,441,451 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 496 | r | package_setup.R | # library(usethis)
# use_mit_license("Matias Andina")
# use_package("dplyr", type = "Imports")
# use_readme_md()
# use_news_md()
# library(wholebrain)
# library(SMART)
# data("EPSatlas", package = "wholebrain")
#
# use_package("ggplot2")
#
# trial_df <- readr::read_csv("D:/SWAP/ChoiLab/YS/MG776/001/results/M... |
466a048c42083fc265035543f0900665f2598e47 | 09fede3ddb1fe90d486ead390e557275514ebcd7 | /R/aaa.R | 1be7f8ab3c44d111e60f46f2ea3b4f50c08cd949 | [] | no_license | Mrlirhan/mlr3extralearners | 05723212d650c623a8bcf5ba4eb809eb7cc6707e | 3655ccecb43f18837bc6a2078672636a399bab5d | refs/heads/main | 2023-06-29T09:31:58.113359 | 2021-08-04T17:42:26 | 2021-08-04T17:42:26 | 392,993,757 | 1 | 0 | null | 2021-08-05T10:05:51 | 2021-08-05T10:05:50 | null | UTF-8 | R | false | false | 495 | r | aaa.R | # clearly this should be a Dictionary but there's a weird bug that leads to objects
# being handled wrong and not cloned properly when loaded from dictionary in `mlr3::lrn`
.extralrns_dict = R6Class(".extralrns_dict",
public = list(
lrns = list(),
add = function(key, learn) {
assert_character(key, len =... |
c0648fe32af207324ae0d01ae004feb6f731e2e3 | b2eb1052fe4e9a8ce458f3c786c8449330e0c09f | /R/fixSVGDim.R | af6d68c236580be49d0a4f44716683c93fd3575a | [] | no_license | duncantl/XDynDocs | 9245e9c25ef5cc4b575c4a11e85552c09c1bcd43 | 6612b35323a195c2b9646a2591163092935f328f | refs/heads/master | 2023-01-09T02:51:24.797126 | 2022-12-22T17:01:08 | 2022-12-22T17:01:08 | 40,777,819 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,297 | r | fixSVGDim.R | checkImages =
function(doc)
{
if(is.character(doc))
doc = htmlParse(doc)
src = xpathSApply(doc, "//iframe[@src]|//img[@src]", xmlGetAttr, "src")
src[!file.exists(src)]
}
renameReferences =
function(doc, to = ".", base = NA,
xpath = "//iframe[@src]|//img[@src]|//a[@href]|//link[@href]|//script[@... |
0a40ce7574dc9f2495a9e3533ae0b7ae154fb665 | 241cf24d4b7226631c161d37eb85580d603cc3e3 | /Plot3.R | 07e1f987bbf59644d9244c7cc7638eae51abee6f | [] | no_license | ashokjain001/Exploratory_Data_Analysis | 9dcd26fd7603739488c2abce0adfc73a98312b2d | caac4bab7958d9a33558ec948c0e045ae27b7953 | refs/heads/master | 2020-04-06T04:22:26.041539 | 2014-08-09T04:53:22 | 2014-08-09T04:53:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 648 | r | Plot3.R | plot3<-function(){
url<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
dir.create("EPA")
download.file(url,destfile="./EPA/data.zip",method="curl")
NEI <- readRDS("./EPA/summarySCC_PM25.rds")
SCC <- readRDS("./EPA/Source_Classification_Code.rds")
baltimore<-subset(NEI,NEI$f... |
cf19c62d36010987973db37ca0659c084b389160 | f62736da11b1818af73866a6c5da7c5b8b75b980 | /2015/05_megafon.R | 3b6a800cfe6268a14dcbec045a3ef439a0c0ca83 | [] | no_license | erikgahner/posts | 95b108dccea199a81656fd207857ba7afc7cf92a | 38293e4f7d5a02ef87f9ae4cf36af0fefa209b86 | refs/heads/master | 2023-08-30T17:36:37.503975 | 2023-08-27T08:33:32 | 2023-08-27T08:33:32 | 25,849,217 | 0 | 0 | null | null | null | null | ISO-8859-15 | R | false | false | 1,785 | r | 05_megafon.R | # R script til figur i "Hvorfor er stikprøvestørrelsen mindre i den seneste Megafon-måling?"
# Link: http://erikgahner.dk/2015/05/27/hvorfor-er-stikproevestoerrelsen-mindre-i-den-seneste-megafon-maaling/
# Åben pakker. Kan installeres med install.packages("")
library(downloader)
library(ggplot2)
# Download fil fra Gi... |
a23b9593b512690b498569a9a609698372570a61 | 1f3ae09ccb392ad94f0fb2a29c0ed20921505f58 | /R/debugVariable.R | 6bde443b3da8edbe7dea074004accad5efec9709 | [] | no_license | End-to-end-provenance/provDebugR | fdf0e387a1ade48d7c308e00d2c9167d3d82ac30 | 6c0819dfb9c6208dab3a4f274861d87d83d0df4e | refs/heads/master | 2023-05-27T15:10:03.609547 | 2021-04-26T20:24:17 | 2021-04-26T20:24:17 | 141,144,094 | 1 | 1 | null | 2023-05-16T18:40:58 | 2018-07-16T13:42:02 | R | UTF-8 | R | false | false | 16,295 | r | debugVariable.R | # Copyright (C) President and Fellows of Harvard College and
# Trustees of Mount Holyoke College, 2020, 2021.
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License,... |
121b2dc21d108d97e2bb65eaf0b6a9468abd4fe0 | d2f39a2258dbe6253bc28fd00717a67b131751f4 | /man/Obs.Rd | ba75600458d61d7ce09919cbe1b5ef821a32b6c9 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | andrewzm/MVST | 6e5d9d5c84ba0d28e38fdb69b12cfa8ba1bcc45f | 2bf0835e66e04e120f78fe8673afe3dd9d6f42c0 | refs/heads/master | 2022-09-29T23:40:39.048820 | 2022-09-15T21:37:50 | 2022-09-15T21:37:50 | 20,478,703 | 10 | 9 | null | 2018-10-18T14:50:36 | 2014-06-04T10:13:03 | R | UTF-8 | R | false | true | 1,350 | rd | Obs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllConstructor.R
\name{Obs}
\alias{Obs}
\title{Observation block}
\usage{
Obs(df, name = "Obs", remove_cross_ins = 0, ...)
}
\arguments{
\item{df}{a data frame which should contain at least 5 entries, \code{x,y,t,z} and \code{std} which denot... |
77763f72dd440a6b8007d2971ed21ca0d6ba06df | 29a1809b5307273dd75adab4d9214b8ba7a191d1 | /R/rlapjv.R | 7e57c52f24f28254e7353190e9d16782762f431f | [
"BSD-2-Clause"
] | permissive | bkj/rlapjv | ff28796904b9332bb29bd6dee8b2b7f3e2398cd0 | e01f65db4cca0898967ac87d9f8ccfcbf3a149c5 | refs/heads/master | 2020-03-30T20:41:23.912803 | 2018-10-01T20:49:14 | 2018-10-01T20:49:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,212 | r | rlapjv.R | #' @title Solves the linear assignment problem using the Jonker-Vogenant algorithm
#'
#' @description Find a set of vertices pairs in the order of goodness of matching according to a
#' specified measure.
#'
#' @param cost A non-negative matrix-like object that can be coerced to a matrix
#' @param maximize If FALSE (de... |
1764160e0b5339780fc3d45575b8c1a5be8615a6 | 09a76c99e0bfd15cdd2740e2471aceab344d4e60 | /statistikdeskriptif.R | 177d79e27768fc128591ab1326ac3b60c87d0a0d | [] | no_license | dedylesmana/stock_analysis | 208f8981e64e7c45fa60b033b931c5095e94cadc | 58a19dd63883ebc4dc0723c00a5b8e77b21c1717 | refs/heads/main | 2023-08-22T00:06:38.692799 | 2021-10-13T20:57:09 | 2021-10-13T20:57:09 | 416,857,922 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,208 | r | statistikdeskriptif.R | #Regresi data panel
#Panggil Packages dan Input data
install.packages("devtools")
library(devtools)
install_github("Displayr/flipPlots")
devtools::install_github("Displayr/flipTransformations")
require(devtools)
install_github("Displayr/flipPlots")
install.packages("flipPlots")
library(flipPlots)
library(dply... |
98371e3ec8c12af02e635d0e3111ad76c941eecf | 4b48647555feaac4cbb9bb4864db20e6e40a8980 | /man/ggside-ggproto-geoms.Rd | f0d4cb267ab8d6795febc2cfeb7f6e63bbd31b43 | [
"MIT"
] | permissive | seifudd/ggside | 8d9fdca5b042f9528c5dc4ef5ce0d7f64537f730 | 442c83db4cca57bc9cc962be563fbd7df0463d86 | refs/heads/master | 2023-07-12T20:29:20.936007 | 2021-08-16T19:30:55 | 2021-08-16T19:30:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,538 | rd | ggside-ggproto-geoms.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aab-other_utils.r, R/geom-sidebar.r,
% R/geom-sideboxplot.r, R/geom-sidecol.r, R/geom-sidedensity.r,
% R/geom-sideline.r, R/geom-sidepath.r, R/geom-sidepoint.r,
% R/geom-sidesegment.r, R/geom-sidetext.r, R/geom-sidetile.r,
% R/geom-si... |
7ddfe1c52c936a6c411c4c149d9034e2f056a35d | c280e616fb69fef82ca78a2a9642232e98026277 | /man/FEM-package.Rd | 8aeceb370e0f64ad26f46e35a9f02d96f76a0f32 | [] | no_license | zyangx/FEM | 535f730381722111fc24471ca6ded09515971406 | 7e5dfccd696c3b1db01f24cb5157a651e1f2f49c | refs/heads/master | 2022-09-11T11:21:59.971018 | 2020-06-04T12:28:56 | 2020-06-04T12:28:56 | 267,861,250 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,738 | rd | FEM-package.Rd | \name{FEM-package}
\alias{FEM-package}
\alias{FEM}
\docType{package}
\title{
Identification of interactome hotspots of differential promoter DNA methylation
and differential expression
}
\description{
The FEM package performs a systems-level integrative analysis of DNA
methylationa and gene expression. It seeks modules... |
42a2cd8f4c26971550f6750f73f062cf1aa77346 | c51347680754745733293e00aacf7b633334c1fc | /R/zenaz.R | 33425825675c4f28bde59d7d12c7989383d2ff69 | [] | no_license | cran/YplantQMC | 771c341d00e410a0e61dbdadc02af8866d5cd198 | dc62bfc247ba9d6dd92498e8afa00d511a36e00e | refs/heads/master | 2021-01-21T21:47:33.241377 | 2016-05-23T06:34:50 | 2016-05-23T06:34:50 | 17,694,152 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,439 | r | zenaz.R | #'Calculates position of the sun
#'
#'@description Calculates the zenith and azimuth angle of the position of the sun, based
#'mostly on routines from Iqbal (1983).
#'
#'
#'By default, it is assumed that the time of day is not given in local apparent
#'time (LAT, also known as 'solar time'). To convert the sta... |
1bbb17709d950d4d58d585fbca5b260d4e21fdde | 79b52d45fc4fa5d55f6564ed0d4921ef6a092dae | /man/plotScaleFreeTopology.Rd | a1b9b3f0e5ef46a67bb374af5549a5a045c510df | [
"MIT"
] | permissive | avcarr2/MetaNetwork_R_package | 174e5019c9eb4c6672b63c2f6dd77628621faab6 | b4aa5dbb96d183f169c14a50a603a448a302689b | refs/heads/master | 2023-03-08T00:29:33.846065 | 2021-02-19T17:28:06 | 2021-02-19T17:28:06 | 340,441,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 976 | rd | plotScaleFreeTopology.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/WGCNAFunctions.R
\name{plotScaleFreeTopology}
\alias{plotScaleFreeTopology}
\title{Plots scale free topology diagnostic plots.}
\usage{
plotScaleFreeTopology(
fileName = "Results/ScaleFreeTopology.pdf",
powersOutput,
powers,
cex1 = 0.... |
bdfdf59715a3683be520f9c76803fbbfe037b264 | 92af37e3c14034ce9b69442317a8e91cacd7584e | /man/bc_decomp.Rd | 05cf1aeffae827f71613422d34f597fb95ac5012 | [
"MIT"
] | permissive | MarcioFCMartins/blue_carbon | 948cc59a4651f982fd4f7ed5b1d1db73ed6e3317 | 42d499122e66b19c8f0d04d9cb015bde36fd5c46 | refs/heads/main | 2023-08-27T20:13:59.523062 | 2021-10-07T14:30:33 | 2021-10-07T14:30:33 | 339,830,063 | 0 | 0 | MIT | 2021-02-17T19:15:08 | 2021-02-17T19:15:07 | null | UTF-8 | R | false | true | 945 | rd | bc_decomp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bc_decomp.R
\name{bc_decomp}
\alias{bc_decomp}
\title{bc_decomp}
\usage{
bc_decomp(
data,
sampler_length,
internal_distance,
external_distance,
sampler_diameter,
method = "linear"
)
}
\arguments{
\item{data}{data.frame with the fo... |
2dd897374383003ed717261da1dc0bd62e7bfc71 | 4970b6d208ce9eb89503a88d3957d6e4acbb35c5 | /Fig1b.R | 1581e299b7f256143707631709b3d06e159ec2a7 | [
"MIT"
] | permissive | BICC-UNIL-EPFL/CatalyticHostParasiteCycles | 908fc18191eb30770a7bb52525c7bd70c6fd5e60 | 35e214ffdbc56bac60db98acabfc6452dc9930dd | refs/heads/main | 2023-04-09T15:37:01.440447 | 2022-10-28T12:04:16 | 2022-10-28T12:04:16 | 558,826,095 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,245 | r | Fig1b.R | # R code to generate the figures of the manuscript
# Energy-harnessing problem solving of primordial life:
# modeling the emergence of cata-lytic host-nested parasite life cycles
# Copyright (c) 2022, Christian Iseli, Bernard Conrad and Magnus Pirovino
#
### setup
dt = 0.01
t = 0
m = 5997
E_lower = 0.5
E_upper = 0.9
#... |
6392eac36ffe35dd425579b69383988fe767ecfb | c6ccaabb627f8b29a7cb32c5b3fe19b72d07e188 | /man/Particle.Rd | f72d1b1d8a85ed17ad2529bd1ebeab61841a6963 | [] | no_license | cran/particle.swarm.optimisation | 5f5a14944f95bfa095c6088f9fbbbe971095ad42 | e8d7e4b31817a8be4c2e2a52437397c445ee01a8 | refs/heads/master | 2023-04-30T00:25:00.363880 | 2021-05-21T07:00:02 | 2021-05-21T07:00:02 | 369,583,860 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 5,753 | rd | Particle.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/particule.R
\name{Particle}
\alias{Particle}
\title{Particle}
\description{
Class for the Particles used in the Particle Swarm Optimisation, It is call by the Particle Swarm object to make the population.
}
\examples{
# If you use the Particl... |
b26680ce67b852d69420b2940231e00465c8dc9b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mcmcse/examples/mcmcse-package.Rd.R | c371dd78d3e67f36c49947aa8e3824ad48aca23b | [] | 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 | 527 | r | mcmcse-package.Rd.R | library(mcmcse)
### Name: mcmcse-package
### Title: Monte Carlo Standard Errors for MCMC
### Aliases: mcmcse-package mcmcse
### ** Examples
library(mAr)
p <- 3
n <- 1e3
omega <- 5*diag(1,p)
## Making correlation matrix var(1) model
set.seed(100)
foo <- matrix(rnorm(p^2), nrow = p)
foo <- foo %*% t(foo)
phi <- foo ... |
04b39313f3ba94f0ba6c3503dd61d1e268984449 | 77da83540db02cfa5c0caf0e470c2d50e9201e63 | /DomacaNaloga2/arhiv/tretjaMartin.r | 4e74521a9fa994200b2ceb1134e821a77291bb7d | [] | no_license | tinarazic/machine_learning | 1d42a8ee5d209a988407e73385a03f4ddd898379 | 9e8f9c73079ae8f8b2fd8e2b4ef35ab0737b2bf2 | refs/heads/master | 2021-01-26T03:41:57.676366 | 2020-06-16T21:11:04 | 2020-06-16T21:11:04 | 243,295,247 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,348 | r | tretjaMartin.r | #115 120
#3.1.
library(readr)
podatki31 <- read_csv("podatki31.csv")
razvrstitev <- function(w0,w1,w2){
vrednosti <- rep(0,dim(podatki31)[1])
matrika <- data.frame(podatki31$y,vrednosti)
for(i in 1:dim(podatki)[1]){
matrika$vrednosti[i] <- -(w0+w1*podatki$x1[i]+w2*podatki$x2[i])/podatki$x3[i]
}
#za negat... |
cabbf1b9448ae5e48926620f4e521e6944c5c6d5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/modi/examples/TRC.Rd.R | bec30ee138bcd8e7b51b90cc2e168019edea58d6 | [] | 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 | 285 | r | TRC.Rd.R | library(modi)
### Name: TRC
### Title: Transformed rank correlations for multivariate outlier detection
### Aliases: TRC
### ** Examples
data(bushfirem, bushfire.weights)
det.res <- TRC(bushfirem, weights = bushfire.weights)
PlotMD(det.res$dist, ncol(bushfirem))
print(det.res)
|
56a1875a84574eafe90e5e90c1efcdf4b85c65d3 | 10558c2626f3e1fc1f19e0a0e5ebd23258e3ec16 | /man/is_tsdrtools_install.Rd | 863a1ca0e153bb712632c2f79e68ff9f2e7c60de | [
"CC-BY-4.0"
] | permissive | nejerovbo/r-tsdrtools | f8589415fea6b9c283114c524003a5570efac63d | f0bb10c6b6a9e5a286f8c0da77a1b756026bbf55 | refs/heads/master | 2022-12-05T16:54:08.426684 | 2020-08-31T18:21:32 | 2020-08-31T18:21:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 301 | rd | is_tsdrtools_install.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tsdrtools-classes.R
\name{is_tsdrtools_install}
\alias{is_tsdrtools_install}
\title{Validate tsdrtools_install}
\usage{
is_tsdrtools_install(x)
}
\arguments{
\item{x}{an object}
}
\description{
Validate tsdrtools_install
}
|
0aafc08550637b7f06050e02c00200fd43d64451 | d52c1d77744387b94e2266ff2758881547351bfe | /worker_dashboard/server.R | b9c2063d999ef40e978a283f86504a97939d44a1 | [
"MIT"
] | permissive | okassi/onlinelabourindex | f6727c4d2397ce98876f1d2fdc295d9a300d499a | fc11573e619dff456052303f467e37bda92bb7b9 | refs/heads/master | 2022-01-26T08:56:34.108692 | 2022-01-17T13:40:47 | 2022-01-17T13:40:47 | 96,996,459 | 0 | 0 | null | 2018-08-09T10:52:18 | 2017-07-12T10:40:32 | R | UTF-8 | R | false | false | 1,672 | r | server.R | ## =============================== License ========================================
## ================================================================================
## This work is distributed under the MIT license, included in the parent directory
## Copyright Owner: University of Oxford
## Date of Authorship: 2016... |
897b34fc8216b73a5cb3121ff283bc0e5e5ac472 | 2099a2b0f63f250e09f7cd7350ca45d212e2d364 | /DUC-Dataset/Summary_p100_R/D096.AP900130-0113.html.R | b05e43bb5baa342a24e37702b33bdf83842bb5ce | [] | no_license | Angela7126/SLNSumEval | 3548301645264f9656b67dc807aec93b636778ef | b9e7157a735555861d2baf6c182e807e732a9dd6 | refs/heads/master | 2023-04-20T06:41:01.728968 | 2021-05-12T03:40:11 | 2021-05-12T03:40:11 | 366,429,744 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 732 | r | D096.AP900130-0113.html.R | <html>
<head>
<meta name="TextLength" content="SENT_NUM:4, WORD_NUM:91">
</head>
<body bgcolor="white">
<a href="#0" id="0">This year's game was seen in about 35.9 million homes.</a>
<a href="#1" id="1">The higher viewership was made possible by the annual increase in the number of homes with television.</a>
<a href="#... |
a5684f1343e6b1843feac575b9e4cbce4f5e3596 | 6058ae780cde6ec6117a3fc86a4c1c26b578650e | /R/seq_pigeon.R | 06103f6b4f11d9d9d00f7b19858488d6ce6c455b | [] | no_license | mjg211/xover | 88243eb2f99a76502057f67924725fda1796dd39 | 9e8bb48dcc735d78aa9a8d14f236a8ba13609866 | refs/heads/master | 2020-03-26T14:55:03.702584 | 2019-10-15T10:40:29 | 2019-10-15T10:40:29 | 145,011,976 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,377 | r | seq_pigeon.R | #' Pigeon (1984) cross-over design specification
#'
#' Specifies cross-over designs from Pigeon (1984).
#'
#' \code{seq_pigeon()} supports the specification of designs from
#' Pigeon (1984). Designs for three through seven treatments (see
#' \code{D}) are supported, for any chosen treatment labels (see \code{labels}).
... |
191beb16a4fc5dd5da247e3b5899b61b03c82368 | 182257a7b18220970988c68cdd0d815e12ab4c85 | /scratch/Modeling.R | 1cad2cc3cde39234a3f91d2d2af6cb464f1f41e5 | [] | no_license | tylerandrewscott/elwha | 3b81c495f96a8e14819621a1b70556f7eca29d06 | b2c3f0b3b9cafc3382eaa57acf87ebc2c47b1cfc | refs/heads/master | 2022-05-12T16:03:49.773027 | 2016-05-11T14:32:48 | 2016-05-11T14:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,500 | r | Modeling.R | rm(list=ls())
setwd("//Users/TScott/Google Drive/elwha")
library(statnet)
#dat_imp=read.csv(file="edgelist_implement.csv",row.names=1)
#dat_plan=read.csv(file="edgelist_plan.csv",row.names=1)
#dat_cons=read.csv(file="edgelist_consult.csv",row.names=1)
dat_all=read.csv(file="edgelist_all.csv",row.names=1)
dat_all$combi... |
4614f7d47ac48c660a9453c5bc91e2f50ae2b4cb | 7dfd2b5a31ac723907f4888c98782084eac920fc | /man/has_transcription_factors.Rd | d5e23eef8691e8c03000f6f095535ea45205871d | [] | no_license | ehenrion/ChIAnalysis | c9ac7ec9412d841dc7c1ac21706c055800b5600c | e53c25d142d294e26989e2e801d2b8633cf94b2f | refs/heads/master | 2020-03-31T13:30:14.430350 | 2017-01-18T19:51:49 | 2017-01-18T19:51:49 | 152,258,410 | 0 | 0 | null | 2018-10-09T13:44:07 | 2018-10-09T13:44:23 | null | UTF-8 | R | false | true | 519 | rd | has_transcription_factors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AccessorsChIA.R
\name{has_transcription_factors}
\alias{has_transcription_factors}
\title{Determines if the given chia.obj has TF binding information.}
\usage{
has_transcription_factors(chia.obj)
}
\arguments{
\item{chia.obj}{A list containin... |
d883bc10d16266470ea28ac3dcde09b686a3fd85 | 4f44c325c990789f75a20f49c28343b436147a89 | /tests/testthat.R | edad9cfdfdfd37537939c98f4c9faa149251e62b | [
"MIT"
] | permissive | towitter/gramr | 80f332eca58bef50e5a75b72ff4b8bad02efcb6f | 6902273a158b1cb033b79009ac1d8f1809e81a31 | refs/heads/master | 2023-03-16T08:40:55.947874 | 2017-05-27T16:29:39 | 2017-05-27T16:29:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 54 | r | testthat.R | library(testthat)
library(gramr)
test_check("gramr")
|
e3f93c09120e59cb55f1ad19c618ccbd02a2bf59 | d80dbe0e2c8ca1b15cb7ef1f91eeaf0575c34a94 | /analysis/R/alternative.R | d786943990607853507f259360233d62bcac4852 | [
"Apache-2.0"
] | permissive | silky/rappor | 0e282c914f8fd71a5febb7506e2db0dc2b2b3cdb | b9b413c3057e5f840f81d7016de0e9f5332659ee | refs/heads/master | 2021-01-18T17:44:36.192757 | 2015-03-18T04:27:03 | 2015-03-18T04:27:03 | 32,444,169 | 1 | 0 | null | 2015-03-18T07:26:58 | 2015-03-18T07:26:58 | null | UTF-8 | R | false | false | 1,496 | r | alternative.R | # Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... |
f00edfac9bf9347989f0c7cdaef5ee2916d18491 | 5929b731242c09b2feef736af70b48f1aedb24c3 | /server.R | 5e33515eb9623c979e44ef2b6211a18ac670c904 | [] | no_license | maddipatikiran/placement-data-visulization | e3e9c27e7218998896f3dde1b77c752b5ca07627 | 7e47d654ea123fcb7f7a88138bbcfb5899f970dd | refs/heads/master | 2021-01-19T17:03:26.612037 | 2017-08-22T09:44:29 | 2017-08-22T09:44:29 | 101,041,087 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,058 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
library(ggplot2)
library(plotly)
library(wordcloud2)
library(rsconnect)
data1<-read.csv("file/1617.csv")
shinyServer(function(inpu... |
fae3e93e96bfc7321d86b32cb992d71ca7d516db | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/patternplot/examples/imagepie.Rd.R | ac22193ed89aaaf3c9118e56e0fc0f8b8858d315 | [] | 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 | 770 | r | imagepie.Rd.R | library(patternplot)
### Name: imagepie
### Title: Plot a pie chart with slices filled with png and jpeg images.
### Aliases: imagepie
### ** Examples
library(patternplot)
library(jpeg)
Tomatoes <- readJPEG(system.file("img", "tomatoes.jpg", package="patternplot"))
Peas <- readJPEG(system.file("img", "peas.jpg", p... |
84ee676bb8e8a2b74bdd31513aafe4116b5ab481 | 04f349102910e5052ea34d3e7744e4d79a2fbb4f | /tests/testthat/test-n_cof_excl_ehv_132kv_tf.R | c7fc5a67ae41f07f475bcf3c9a003c32ebb4d236 | [
"MIT"
] | permissive | scoultersdcoe/CNAIM | f0728b00f0d0628e554975c78d767ee2c472fb3b | 5c77ce4c50ef92fd05b9bb44b33fdca18302d020 | refs/heads/master | 2023-08-23T22:54:59.450292 | 2021-03-12T15:52:54 | 2021-03-12T15:52:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 359 | r | test-n_cof_excl_ehv_132kv_tf.R | library(testthat)
library(CNAIM)
context("Network cost of Failure")
test_that("n_cof_excl_ehv_132kv_tf", {
# TODO: verify correctness
expect_equal(n_cof_excl_ehv_132kv_tf(asset_type_ncf = "6.6/11kV Transformer (GM)",
no_customers = 750,
... |
f8173504dd019da065fcae2ae6a68a053584d4ef | 0b695af895164180fab9361ae38c1af96a7c9222 | /PA1_template.R | 809353664c5f33b72d454b5b14a6aabafcae50d1 | [] | no_license | Rick2015/RepData_PeerAssessment1 | f713106aa6a931377c3ed167ed4a1aa737dfdf3e | 5cca8a0f37c19941a1455cf293d3c066316e56cd | refs/heads/master | 2021-01-22T06:59:04.254393 | 2015-07-19T20:42:21 | 2015-07-19T20:42:21 | 39,195,157 | 0 | 0 | null | 2015-07-16T12:18:27 | 2015-07-16T12:18:27 | null | UTF-8 | R | false | false | 2,450 | r | PA1_template.R | #Reproducible Research: Peer Assessment 1
## Loading and preprocessing the data
adata=read.csv(unzip("./activity.zip"),header=TRUE, sep=",")
adata$date=as.Date(adata$date, "%Y-%m-%d")
## What is mean total number of steps taken per day?
library(dplyr)
day_group<-group_by(adata, date)
step_totals<-summarize(day_... |
6e619d87d69835f6a065c2bf53b4e5cb5b755b03 | 77157987168fc6a0827df2ecdd55104813be77b1 | /palm/inst/testfiles/euc_distances/libFuzzer_euc_distances/euc_distances_valgrind_files/1612968463-test.R | 49699edcb8c4d2550778828be81c1b3947d56dba | [] | no_license | akhikolla/updatedatatype-list2 | e8758b374f9a18fd3ef07664f1150e14a2e4c3d8 | a3a519440e02d89640c75207c73c1456cf86487d | refs/heads/master | 2023-03-21T13:17:13.762823 | 2021-03-20T15:46:49 | 2021-03-20T15:46:49 | 349,766,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 218 | r | 1612968463-test.R | testlist <- list(x1 = numeric(0), x2 = c(8.19687411242632e+107, 8.19687411242632e+107 ), y1 = c(8.19687411242632e+107, 8.19687411242632e+107), y2 = c(0, 0))
result <- do.call(palm:::euc_distances,testlist)
str(result) |
227d0db822b53951c19f455298e243a0447cd283 | 3be933f8f60175a492b29debce223354ce7deca3 | /tests/testthat/test-deltaV.R | 437870152e406ae657a9405f9f5e457a057a9021 | [
"MIT"
] | permissive | PabRod/waydown | ca2a73129b1f92ecc79602fbb805a4b4c7abc347 | bb963c50f6fa37f5f8d0f189acea4be8c4c8e828 | refs/heads/master | 2023-06-24T22:16:55.002698 | 2021-07-19T10:00:21 | 2021-07-19T10:00:21 | 323,318,893 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,722 | r | test-deltaV.R | context("Potential difference approximation")
test_that("1D exact", {
# Flow
f <- function(x) { sin(x) }
# Evaluation points
x0 <- 1
x1 <- 1.01
results <- deltaV(f, x1, x0)
dV <- results$dV
# Compare with expected result
V_expected <- function(x) { cos(x) }
dV_expected <- V_expected(x1) - V_expe... |
1781592c933a1643157f35bbdc47e84f3cc23a2d | d792c728a6b9d6b8312399224241d78dea1440d0 | /EXPERIMENTS/8_ChIPseq_2_Clstr/Scripts/prop_plotting_functions.R | 3b9c6f54e75eb7bb7bfa674d2669ed7e0a4ce54a | [] | no_license | shamoni/cen-evo-devo | 2b9ce0c03711fa047a272880fde634f7ea5225f1 | 81d1326e2800ceb0c25159b2f73b38900dc041d9 | refs/heads/master | 2021-01-17T15:47:46.683406 | 2016-05-04T05:50:13 | 2016-05-04T05:50:13 | 51,276,408 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,672 | r | prop_plotting_functions.R | require(reshape)
require(ggplot2)
require(plyr)
require(RColorBrewer)
parse_clstr <- function(x){
h <-strsplit(x,"-")[[1]][3]
}
parse_Chr <- function(x){
h <-strsplit(x,":")[[1]][1]
substr(h,nchar(h)-3,nchar(h))
}
cen.fraction <- function(df,meta){
NChIP.summary <-adply(df, 1, transform, CEN = sum(Un... |
c9bf6cb744ec0a3bab3c0d27ece821d11e3a2b71 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkCellRendererGetSensitive.Rd | 02a6b1c69451be044c802d9619f11e1fe63eaa3f | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 428 | rd | gtkCellRendererGetSensitive.Rd | \alias{gtkCellRendererGetSensitive}
\name{gtkCellRendererGetSensitive}
\title{gtkCellRendererGetSensitive}
\description{Returns the cell renderer's sensitivity.}
\usage{gtkCellRendererGetSensitive(object)}
\arguments{\item{\verb{object}}{A \code{\link{GtkCellRenderer}}}}
\details{Since 2.18}
\value{[logical] \code{TRUE... |
ee7a8d2188799cb338024209eb5e6b84972f8bfb | d6b5cbc975c4f99bc1b8902e5949688fc464957c | /man/FastSampEn.Rd | adb1d0bc2b066a6a8deef13ee20a5d89523e94df | [] | no_license | cran/TSEntropies | b0d7900de9d29724253706e8fc2bad2dcd41c7aa | 3ef8888faa4c3bda6a403ce022eb210a85cce82c | refs/heads/master | 2020-03-31T08:38:08.419940 | 2018-10-08T10:00:07 | 2018-10-08T10:00:07 | 152,065,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 732 | rd | FastSampEn.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FastSampEn_C.R
\name{FastSampEn}
\alias{FastSampEn}
\title{FastSampEn}
\usage{
FastSampEn(TS, dim = 2, lag = 1, r = 0.15 * sd(TS))
}
\arguments{
\item{TS}{- given time series}
\item{dim}{- dimension of given time series, default value is 2}
... |
efc7a767c0dc0df329ebca35de219ec9626e0e54 | c66690df66cd458ca1bd9352bd0c4e04ff70089a | /Code/loadDataCarvalhoEtAl.R | 902d358cd0ad4f3736eb5afde02ea93a3795a9fe | [
"Apache-2.0"
] | permissive | biobibibi/classifier_selection_code | 6ef8a706c808de1a8b911df61e7fbd10e571551b | 040a2e1c8504e5f0e3d2877fdbaa326cc9c0708d | refs/heads/master | 2021-10-01T00:52:17.720895 | 2018-11-26T12:34:22 | 2018-11-26T12:34:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,361 | r | loadDataCarvalhoEtAl.R | loadDataCarvalhoEtAl = function(pathFromDataFolderToCsv,pathToDataFolder)
{
library(plyr) # used for revalue
pathToFile = file.path(pathToDataFolder,pathFromDataFolderToCsv) # construct full file to csv
data = read.csv(pathToFile,sep = ",", dec = ".", strip.white = TRUE, na.strings = '') # read data from .csv
... |
c868ff893fcf4b640cd56f3c46978fa457567301 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/NISTunits/examples/NISTpintUSdryTOcubMeter.Rd.R | 17e9758ba7338cf9ae1ff95adce3c49179558e38 | [] | 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 | 206 | r | NISTpintUSdryTOcubMeter.Rd.R | library(NISTunits)
### Name: NISTpintUSdryTOcubMeter
### Title: Convert pint to cubic meter
### Aliases: NISTpintUSdryTOcubMeter
### Keywords: programming
### ** Examples
NISTpintUSdryTOcubMeter(10)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.