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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be01270ef851b0b4da9dee308ece39ab9622afed | 6bea1cce82a7c0ef4eafb33b75360c0830d7bdff | /R/quantities.R | 96965e5bac262544776022d78ee50f4d9e81374c | [] | no_license | krlmlr/quantities | cb86a48da7dc11f16ba03d8d1d42e86d1e2c2ea2 | 5cd26e488835e672d8cd529e7f7c40f4e67023c9 | refs/heads/master | 2023-03-07T13:19:54.686971 | 2021-02-21T16:20:01 | 2021-02-21T16:20:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,010 | r | quantities.R | #' \pkg{quantities}: Quantity Calculus for R Vectors
#'
#' Support for painless automatic units and uncertainty propagation in numerical
#' operations. Both \pkg{units} and \pkg{errors} are integrated into a complete
#' quantity calculus system within the R language. R vectors, matrices and arrays
#' automatically prop... |
7fc13a68af829ac36dc8322186123fa648f3b2ce | 014ea6defc872a40b68259a7d14c2402cf7571aa | /plot4.R | e965a07de3c9549ab8792302fb7531e75ba589c9 | [] | no_license | OlaKahina/Exploratory-Data-Analysis | b115c1efa03aa8b6a693c3643096fb1a53633497 | 3cb14b8c33cab99db058ee7e99ffd0248164434b | refs/heads/master | 2021-09-03T01:15:28.307421 | 2018-01-04T14:09:21 | 2018-01-04T14:09:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,109 | r | plot4.R | library(ggplot2)
#Set working directory where it contains the data
setwd("./exdata%2Fdata%2FNEI_data/")
#Read data NEI and SCC
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
# ---------------------------------- QUESTION 4 -----------------------------------
#Across the United... |
6b3f84ddd89f9b809983c57418d6d84050e43423 | d5d861f87ba038b533c064e9481a3a397889b1a3 | /nnet.R | 474a3b785274ad99270af21ddc08bb12e63bfb7c | [] | no_license | HashRoot97/ML-Workshop | 2256dfed9d22638b85a496336685434587a994c4 | b2857f78f5f9a060916fc79c2e78fe09b0afa671 | refs/heads/master | 2021-06-28T21:30:23.694335 | 2017-09-19T09:23:29 | 2017-09-19T09:23:29 | 103,620,225 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 757 | r | nnet.R | library(neuralnet)
df <- read.csv(file = '/home/bigdata17/Documents/ML-Workshop/concrete.csv', header = TRUE, sep = ',')
str(df)
class (df)
dim(df)
normalize <- function(x){
return ((x - min(x))/ (max(x)-min(x)))
}
concrete_norm = as.data.frame(lapply(df, normalize))
summary(concrete_norm$strength)
concrete_train =... |
ac58bdfd61a2aedf4f58276be657576604a62c2f | 3dc8f46f8cf29903a0acd60eff607d23ede9f170 | /newprodforecast/man/repeatmodel.Rd | 94f843eb369d8e70657c12193680a338d32216e2 | [] | no_license | conoorss/NewProductForecasting | 699e94171c8a71cdb6e427fe68388295c3ce6f7f | 3a1aa65418066ef37aac6b8c8c6f8373105c2987 | refs/heads/master | 2020-05-19T12:10:55.741898 | 2014-01-09T17:19:33 | 2014-01-09T17:19:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,508 | rd | repeatmodel.Rd | \name{repeatmodel}
\alias{repeatmodel}
\title{Estimation for the Repeat Model}
\usage{
repeatmodel(formula, data, group, startvals = numeric(),
repSpec = list(), sf = FALSE, sfControl = list(),
estimation = c("OLS"), method = "Nelder-Mead",
optimControl = list(maxit = 20000))
}
\arguments{
\item{formula... |
dbcab3ca6b52defd2b0b459a376b1873ea9534f9 | 59c770cd3731ed3bbc177ea90eafda077d5cec6f | /tests/testthat/test_modularity_matrix.R | 95ca3e76b385d39ce6d0fb5d4be5499704c7cc17 | [] | no_license | vishalbelsare/rigraph | e52af967467ebe453bd07cfba0555354cc182a36 | b1ae1de3aca4e2b7eedb4d0f00b8a5f1df35b78d | refs/heads/dev | 2023-01-21T13:25:31.175473 | 2022-04-27T11:02:53 | 2022-04-27T11:02:53 | 129,304,592 | 0 | 0 | null | 2022-04-28T12:22:47 | 2018-04-12T19:58:07 | R | UTF-8 | R | false | false | 688 | r | test_modularity_matrix.R |
context("modularity_matrix")
test_that("modularity_matrix works", {
library(igraph)
kar <- make_graph("zachary")
fc <- cluster_fast_greedy(kar)
m1 <- modularity(kar, membership(fc))
m2 <- modularity(kar, membership(fc), weights=rep(1, ecount(kar)))
expect_that(m1, equals(m2))
B1 <- modularity_mat... |
ce30e8b2b7f40ee06c7f728dc4bc0419ec657924 | d68441b6311721a84d0210c371a1a94b2eb5f261 | /man/adf.Rd | 22f27e4ac8e032be45b6c0aa15c48d515068b21a | [] | no_license | jasdumas/dumas | 0e787cb29037cbfac331af108cff0f28c758b513 | 84aedfdd0e095e3a20d07877120a86e7b5d64f8b | refs/heads/master | 2020-04-06T05:37:36.930368 | 2017-07-17T19:24:24 | 2017-07-17T19:24:24 | 38,554,253 | 3 | 2 | null | null | null | null | UTF-8 | R | false | true | 355 | rd | adf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adf.R
\name{adf}
\alias{adf}
\title{Type less words for as.data.frame}
\usage{
adf(x)
}
\arguments{
\item{x}{a object to transform to a data.frame()}
}
\value{
a object of class data.frame
}
\description{
Type less words for as.data.frame
}
\... |
f9280b192be81ec4e7bd5b32ba2b860c778ae814 | 6cbb51fe996e65a51a8d9f2f35e3159721933f25 | /man/runPerCellQC.Rd | 6ae148da62d0a7380f173dce84b147c70fec7b50 | [
"MIT"
] | permissive | compbiomed/singleCellTK | 927fb97e257ba89cddee9a90f9cb7cb375a5c6fb | 990e89e7ccfbf663f23c793454f72fb8c6878a32 | refs/heads/master | 2023-08-11T09:17:41.232437 | 2023-07-26T20:43:47 | 2023-07-26T20:43:47 | 68,756,293 | 144 | 89 | NOASSERTION | 2023-09-06T18:22:08 | 2016-09-20T21:50:24 | R | UTF-8 | R | false | true | 6,676 | rd | runPerCellQC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/runPerCellQC.R
\name{runPerCellQC}
\alias{runPerCellQC}
\title{Wrapper for calculating QC metrics with scater.}
\usage{
runPerCellQC(
inSCE,
useAssay = "counts",
mitoGeneLocation = "rownames",
mitoRef = c(NULL, "human", "mouse"),
mi... |
16b1f9269a0498a57a75c993696da512b261a00a | 2656e71f4f685ad24e638b520e4a7cfaba44767c | /src/wrapper_theta_sampled.R | 2a0d9893811e0611268e788c4d4a3d36094092e3 | [] | no_license | varao/diffusionMCMC_JCGS | 1764be0e9e70d1915a92817af648e97721b8c2b1 | 3b050d3c9fa2eb3cfc88260f6ed3804d1263dc25 | refs/heads/master | 2022-07-14T21:10:18.517132 | 2020-05-11T19:35:25 | 2020-05-11T19:35:25 | 263,072,243 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,857 | r | wrapper_theta_sampled.R | source('./sder.R')
if(hyp_sin == 1) {
source('./ea1_func.R')
ea_func <- ea1_func
drft <- drift1
} else {
source('./ea2_func.R')
ea_func <- ea2_func
drft <- drift2
}
x0 <- 0; tEnd <- 20; nObs <- 9
sdv <- .5
sample_size = 5000
Prt = 50
step_size=.01
theta=1
set.seed(1)
dat <- data_gen(x0 = 0, t0 = 0,... |
081dc03978aaf8a4207bcbb926b86958bfbfe789 | 990defc7dfa8b37192d20c628f6dfd7471b5cddb | /R/stationarity.R | 1347eb3341ec61527bc92724b27c230518ee34a5 | [] | no_license | hoanguc3m/ccgarch | 247cbda115769c0f4bcdd87a5088e000b6bd73a0 | dbd84bacf56d09538d90fd687c2131d52e5dc7dd | refs/heads/master | 2020-03-13T17:29:12.532948 | 2018-04-29T01:22:42 | 2018-04-29T01:22:42 | 131,218,138 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 209 | r | stationarity.R | # stationariry condition.
# for details, see He and Ter\"{a}svirta (2004) and Nakatani and Ter\"{a}svirta (2007).
stationarity <- function(A,B){
G <- A + B
max(Mod(eigen(G)$values))
}
|
737d9188ff93ac7d138698daab267b7b53011de6 | f502efd2fa153c225643b2d960dd33de277e024f | /graph.R | 0d2e0faacd571a044d0aca87fbb202fb9f2cb571 | [] | no_license | seanlth/Cuda-Rcpp | caa2f10e9e629b4bde68dd0764d9d6d4279b8fa0 | 79a8169d8a4cc2868e60df57d98a5ec22bd2abbd | refs/heads/master | 2020-12-26T03:01:18.744511 | 2015-04-13T11:53:48 | 2015-04-13T11:53:48 | 29,820,908 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 969 | r | graph.R | d1 <- read.csv('timings_2015-03-19.csv')
d1
library(ggplot2)
library(reshape2)
# we only want the important columns as the rest other two are fixed at 22,10000
d2 <- d1[,c('Iterations','Rtime','CUDAtime')]
d2
# convert from "wide" to "tall" format
d3 <- melt(d2, id='Iterations')
d3
qplot(Iterations, value, colour=varia... |
cc7da0f06bcfd966b0196aa34950d6712e25c56d | b1e1a193db8d4647a2ae1566724beebcfbc2c167 | /index/data/mediation/scripts/001_adiposity_endometrial/forestplot.R | 99fe7c45e6a1161a7b69100378fa49e5965e81b0 | [] | no_license | mattlee821/000_thesis | 166cef4616ad70ea47a6d558c77c8c4ec0a021b3 | 867c9f08daea61ecca7aa73e660d5001d1315a1b | refs/heads/master | 2022-05-08T08:26:24.394209 | 2022-04-07T09:30:51 | 2022-04-07T09:30:51 | 229,047,207 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,109 | r | forestplot.R | rm(list=ls())
## set environment ====
directory_1 <- Sys.getenv("directory_1")
setwd(directory_1)
# source ====
library(ggplot2)
library(dplyr)
library(knitr)
library(patchwork)
library(tidyr)
library(purrr)
library(ggforestplot)
library(wesanderson)
colours <- names(wes_palettes)
discrete_palette <- wes_palette(colou... |
ae6b799f6ec382f43c1e45326722f225897827ba | b67d72740059ddb2e988c9faad6f390fb14e3f49 | /R/plotStateGraph.R | 8eedd3b97b12ffe5308046fd1068f1262a4da427 | [] | no_license | cran/BoolNet | e365c17c324a18fa023cc6968461385965e6be7f | 4d3fe9d97a3dd6178e9b932cc9a231ec405587a1 | refs/heads/master | 2023-03-09T20:54:46.608871 | 2023-02-27T12:52:30 | 2023-02-27T12:52:30 | 17,678,159 | 3 | 4 | null | null | null | null | UTF-8 | R | false | false | 8,883 | r | plotStateGraph.R | # Plots a graph that visualizes the state transitions and attractor basins. <attractorInfo> is an object
# of class AttractorInfo. This requires the igraph package.
# If <highlightAttractors> is set, attractor edges are drawn bold.
# If <colorBasins> is true, each basin is drawn in a different color.
# Colors can be p... |
1a5b96b61e7eaa744e116bb65e194f66ab2f0fd8 | 136452900447274023984e23e3a87baf8a87d999 | /figures/SupplementalFigure11_Network/NetworkCyto.R | 4457b9c16ec2d55eaa3808952405ee4850639d52 | [
"MIT"
] | permissive | GenomicsNX/JACI-BioinformaticsGraphics | 1d42b916736500ee0d3a094629cb6a7c96f97203 | 3ce8fb9b04b1f5712b195c8a447f5a7c9d397ed0 | refs/heads/master | 2023-03-16T04:12:13.274211 | 2019-04-05T17:56:32 | 2019-04-05T17:56:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,539 | r | NetworkCyto.R | #' ---
#' title: Network
#' author: A Calatroni & J Wildfire
#' date: "`r format(Sys.time(), '%d %B, %Y')`"
#' output:
#' github_document:
#' toc: true
#' ---
#' ### set defaults
knitr::opts_knit$set(root.dir = '../..')
knitr::opts_chunk$set(warning = FALSE, message = FALSE, comment = NA)
#' ### packages
pa... |
7bd0d81cdfdc17c6412f5fd5b55be56dcb3a61a0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/metaBMA/examples/dtriangular.Rd.R | ccb62bc23edcb07401e3ed2cf238699008a72c37 | [] | 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 | 317 | r | dtriangular.Rd.R | library(metaBMA)
### Name: dtriangular
### Title: Triangular Distribution
### Aliases: dtriangular rtriangular
### ** Examples
plot(prior("triangular", c(.2, .6, 1.3)), 0, 2)
samples <- rtriangular(1e5, .2, .5, 1)
hist(samples, 200, FALSE)
curve(dtriangular(x, .2, .5, 1), col = 2,
add = TRUE, lwd = 2)
|
c409e2d19c08b90e5a7a823ce39b94a8ad85f06c | 4e6476d3607a76f36c9ed3bcf269100d12cbcfbd | /man/matrixly.Rd | 0d0e9fb745c2292cfbafad17105e8179b26ddadc | [] | no_license | kmaheshkulkarni/corrly | 239e70e2ba1e53b83b2a700ec51d4ee1476bd0ef | aa1f465b9a73fcbe8cd1d5e68fa42983127ce9e8 | refs/heads/master | 2021-12-22T21:56:27.068956 | 2021-12-15T05:59:13 | 2021-12-15T05:59:13 | 189,001,782 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 369 | rd | matrixly.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/matrixly.R
\name{matrixly}
\alias{matrixly}
\title{matrixly
Correlation matrix Plot using R Plotly}
\usage{
matrixly(data = NULL)
}
\arguments{
\item{data}{is a Data Frame}
}
\value{
plot
}
\description{
matrixly
Correlation matrix Plot using... |
cb81e762ce84af699d76032d2bbd541035e5167a | e1b6203a7b5ecf24d8100141196f602a78a8db8b | /Lab4_Calculus.R | 9f2e6acd4899625cc8656c4707a6a30e618d3341 | [] | no_license | nightwolfer1/Mathemathics_data_science | ca2b48e9317bc7603026e649c08bb99010556c1f | 43cf036b1800855028f3cfad0bd7f5f4f4fd5779 | refs/heads/main | 2023-02-12T12:15:28.276882 | 2021-01-08T17:53:25 | 2021-01-08T17:53:25 | 315,022,749 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,047 | r | Lab4_Calculus.R | #Lab4 Calculus
#1. define and plot the function f(x,y) =x^2 +xy+y^2+y for x and y between -10 and 10.
f<- function(x,y) x^2+x*y+y^2+y
library(rgl)
plot3d(f,xlim=c(-10,10),ylim=c(-10,10),col='red')
library(Deriv)
#2. find fx,fy,fxx,fyy,fxy and write the close form expression for each
f.x <- Deriv(f,x='x') #2x+y
f.y <- D... |
5778bf5f8f56d995ec7eacb6f4bde41cf024c6c4 | 5fe35ca981886c8ec689af788ac6b8db8291b4a0 | /Post-processing/visualization.R | 8ad179d06461cadc2aecd31c14cd6c41642418e9 | [] | no_license | DienesB/VG2.0 | cba5e04181f2b5dbd07cdc47fc272f3a87493976 | ad9d5fed803e8b1ae28c5a1aa9dbf1cc67809ebe | refs/heads/master | 2020-04-26T05:56:48.964595 | 2019-08-23T07:45:14 | 2019-08-23T07:45:14 | 173,349,210 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,112 | r | visualization.R | #Import libraries
library(raster)
library(rgdal)
library(dplyr)
library(rasterVis)
#Read tables
temp <- list.files(pattern="*.txt", full.names = TRUE)
temp
structuredTables <- lapply(temp, function(x){
DF <- read.table(x, header = FALSE, skip = "1", col.names = paste0("v",seq_len(12)))
colnames(DF) <- c("row", "co... |
999fe38bce56b002cbdf5ed957668038c297f1d2 | c6f93a7ebbaacbe667e8061b2eb5913a850a08c6 | /R/plots.R | 7691cc47482132d52c6f4486399e33d31ef8b6ef | [] | no_license | dajmcdon/dpf | 6a8436d45be1229fd79b1fe604578060a9a636ae | 1d7e8abe05b65e44c0765761dd7b5caacac4d3a3 | refs/heads/master | 2021-06-03T20:17:20.530700 | 2021-03-10T16:35:30 | 2021-03-10T16:35:30 | 107,696,996 | 0 | 1 | null | 2020-10-21T22:10:57 | 2017-10-20T15:49:37 | TeX | UTF-8 | R | false | false | 2,511 | r | plots.R | #' Plots the observed tempo and estimated discrete states given parameters.
#'
#' @param performance The named performance, e.g. 'Richter_1976'. See \code{names(tempos)}.
#' @param params A vector of parameters of length 14. No checks are performed.
#' @param y A vector of tempos.
#' @param onset A vector of note onset... |
c6f912cea76974e8f1d2909051a20132e2bb2b91 | dab97f897f8a1d7a8b2c6f39ed267218cd02673e | /man/NormData_English.Rd | e7b79170525dde43f9df193179916cc667529f03 | [] | no_license | cran/MFAg | 098d37233e562d23c7f0c0da1f13a6ea84c4d9f5 | 0c4323811550abdad4f8145360f86560ee252cf1 | refs/heads/master | 2023-09-02T17:49:25.931693 | 2023-08-19T15:02:35 | 2023-08-19T15:30:30 | 41,166,681 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 926 | rd | NormData_English.Rd | \name{NormData}
\alias{NormData}
\title{Normalizes the data.}
\description{Function that normalizes the data globally, or by column.}
\usage{NormData(data, type = 1)}
\arguments{
\item{data}{Data to be analyzed.}
\item{type}{1 normalizes overall (default),\cr
2 normalizes per column.}
... |
4cf699fbb0a7d81c3593dd14c653f87418ea8908 | bf3e3afd77b6c8fb9b7dff811b1f4b057a9efa1b | /cleansing.R | ab5bc0286a6a82c2e6a5bd7d475beaf0548ac77f | [] | no_license | jonnygame88/tennis-scraping | 76ab917a6a428293353ff7c1abf53a2a859b0adf | 587604e0430521b992615af18c91f3fb3c0a7289 | refs/heads/master | 2021-01-21T14:43:50.499984 | 2016-07-23T14:42:32 | 2016-07-23T14:42:32 | 59,190,491 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,501 | r | cleansing.R |
source('scripts/_setup.R')
list.files('data/on-court/')
## match history
matches <- read.csv('data/on-court/atp-match-history.csv') %>% f_conv() %>%
mutate(match_date = ifelse(match_date == '', tour_date, match_date),
match_date = as.Date(match_date, '%d/%m/%Y')) %>% select(-tour_date)
unique_res... |
a0fdf9ff5eec5ab0dd3394b6522e4a0499c5b12f | cfd67d4a5283734793517d73fe243c6badf6c244 | /R/new.harvest.R | 8bf16fcbaa262867e8364c017bb80dc465d79fbd | [] | no_license | cran/tossm | 8df83466d4b75dd009c706ac9a19dcd39487f804 | 5f3a3cf64628b186fd2321eb8018db4157e8a14d | refs/heads/master | 2021-01-15T12:25:26.888726 | 2009-07-28T00:00:00 | 2009-07-28T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,918 | r | new.harvest.R | "harvest" <- function(mu.polys, interval.polys, bp.polys, rland, TAC){
# Genetic data from harvested individuals is discarded. However, this could
# be easily changed in the future if we want to assume genetic data is collected
if (sum(TAC)==0){ return (list(rland=rland, goners=NULL, actual.catch=TAC))... |
aa4a128600621595b9948f5ee9af709a1731784b | 75bdecb6b71b6b4f97548d914561961dc359069c | /code/plot.R | 988a068c9ce0d40869fb27a763d2010a979f939b | [] | no_license | jdmumm/P04_newVsOldStations | 8ca326450ee54942717c7ff479d74f75b2bc8de6 | aebb4a86f16de29e5c450ed7e0201a3e847e5503 | refs/heads/master | 2020-03-30T14:17:55.410516 | 2018-10-03T21:51:16 | 2018-10-03T21:51:16 | 151,311,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,333 | r | plot.R | ## TabsFigs ####
# make figures comparing survey results using core vs non-core.
## Load ####
library(tidyverse)
library(reshape2)
library(extrafont)
font_import()
loadfonts(device="win")
windowsFonts(Times=windowsFont("TT Times New Roman"))
theme_set(theme_bw(base_size=12,base_family='Times New Roman')+
... |
1ae469b2c7c212aaaf2f2a4927aabf734724d041 | 8f9c1016da2e360e3602c2c06fe1b55d112c3bc3 | /man/parl.questions.Rd | 0fd2583bca4e7b3b17db1aaeecffae7d22f7aa90 | [] | no_license | martigso/stortingAlpha | 3aba1fe5ca707e7634e9e0c7e31dd4dc11a1c627 | 093b7e7560648ff422c5a49d884b5eea11314b08 | refs/heads/master | 2021-01-10T07:17:48.688872 | 2015-11-06T16:44:16 | 2015-11-06T16:44:16 | 36,719,111 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,196 | rd | parl.questions.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/parl.questions.R
\name{parl.questions}
\alias{parl.questions}
\title{Scrap data on questions in the Storting}
\usage{
parl.questions(url, nPages)
}
\arguments{
\item{url}{String specifying one of the pages for the session to gather th... |
f600bef50b4ef37873ab33a2b2bab503b1f0cc9d | 53e85ebc6c2e391f37f8bfedc2ee8ed39f787086 | /tests/testthat/test_plots.R | c902d6ef76bafec8708974a728050920da130bb1 | [
"MIT"
] | permissive | David-Salazar/ggsupplyDemand | 43eeb25844b665a1ce76ae4cbde54df499c0d1a8 | 376e5aad83f8b4e997b317fc235803c82b25f6ff | refs/heads/master | 2020-03-18T00:41:12.625376 | 2018-05-20T14:50:38 | 2018-05-20T14:50:38 | 134,107,534 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 782 | r | test_plots.R | context("Basic Plots")
test_that("Basic plot stills work",{
create_supply_and_demand() %>%
shift_demand(outwards = TRUE) %>%
plot_supply_and_demand(consumer_surplus = TRUE) -> g1
vdiffr::expect_doppelganger("first_example", g1)
})
test_that("Second plot stills word", {
create_supply_and_demand() %>%
... |
c9ac57880732462e1fcf0df7152eb08dd8bcae91 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mvdalab/examples/contr.niets.Rd.R | 9c49774f707744658993304e1455e4e637d09115 | [] | 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 | 240 | r | contr.niets.Rd.R | library(mvdalab)
### Name: contr.niets
### Title: Cell Means Contrast Matrix
### Aliases: contr.niets
### ** Examples
# Three levels
levels <- LETTERS[1:3]
contr.niets(levels)
# Two levels
levels <- LETTERS[1:2]
contr.niets(levels)
|
3afa8b82fd720e2aa0f1264b8b726a6e06236af3 | 7379c8d889fad0119bb0b5457bc6c54638faf534 | /common_readrnaatacchip.R | 8e1707701dfd2bf41b60cab636f38b2fb3eadb0e | [
"BSD-2-Clause"
] | permissive | mahogny/th2crispr | 941db5200bd50f7dc1966cf83a320dbcc2957a3b | ad1257cbec423ff6b131ec5b2b2f39f339721c27 | refs/heads/master | 2019-04-11T02:57:35.123862 | 2018-09-19T08:48:49 | 2018-09-19T08:48:49 | 105,709,522 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 38,463 | r | common_readrnaatacchip.R | #############################################################################################
### ###
### Part of the paper ... ###
### Author: Johan Henrikss... |
a8d2352b5082381cf035b36e453972c0ae3aa8a7 | 80b4f7435b8aab542b7565e3fdd4c242b6fc0d89 | /analysis/sequence_tolerance.R | bcf03a04b9430481413d4a94597935893a6669d4 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Kortemme-Lab/sequence-tolerance | a4a78e6302e32be7358ae72d2a3b411c9deb5064 | 1dbb7650f335210af2e61a2bedfa69d3d369c623 | refs/heads/master | 2021-01-22T07:11:18.640763 | 2017-05-25T00:05:43 | 2017-05-25T00:05:43 | 21,290,959 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,928 | r | sequence_tolerance.R | # (c) Copyright Rosetta Commons Member Institutions.
# (c) This file is part of the Rosetta software suite and is made available under license.
# (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
# (c) For more information, see http://www.rosettacommons.org. Questions about this ... |
981a4396b4b4c3d82dbfe7b1e8f3deee275aba50 | f72f31c41043c5735d7beb81a0e43d1ae4400d45 | /R/format.R | 8c508347fc7bd02f5d3b32b7dcb0bdf9e5d65e33 | [
"Apache-2.0"
] | permissive | kevinykuo/pins | dbd07e4fb87270b9f9ed563636907819e27dbcea | ac74f7066d0d2b981b4bae93755d7b41c81e53e2 | refs/heads/master | 2020-07-02T19:51:57.229387 | 2019-08-10T01:53:38 | 2019-08-10T01:53:38 | 201,645,472 | 1 | 0 | Apache-2.0 | 2019-08-10T15:05:30 | 2019-08-10T15:05:30 | null | UTF-8 | R | false | false | 294 | r | format.R | format_tibble <- function(data) {
if (!is.data.frame(data)) return(data)
if (length(find.package("tibble", quiet = TRUE)) > 0 && !identical(getOption("pins.tibble"), FALSE)) {
as_tibble <- get("as_tibble", envir = asNamespace("tibble"))
as_tibble(data)
}
else {
data
}
}
|
e094fed9e1d8be1389a93e6a97e17b7788b0545f | 0186581204db672fb8e14684910cd5ce994aa7ef | /execution.R | e2d8538f6f16435fb4c0499370b3312859624b5b | [] | no_license | Cyrille620/FAO | 49bba230599e838fe084b7df92f3b58d76a09296 | b5abf10c490dd658cebf3c84ecb9db3a6142440c | refs/heads/main | 2023-03-02T17:58:45.332751 | 2021-02-03T00:57:04 | 2021-02-03T00:57:04 | 335,103,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 93 | r | execution.R | library(shiny)
runApp("C:\\Users\\Cyrille\\Documents\\FAO\\test", display.mode = "showcase") |
96a68bb586ae4bc34ab1492afba841e842c23bcd | 81ad7a31f9b17b0247b9b8ae9e70734e81bb537a | /OtherCode/demo.R | 1261c137c872472f82503b7384261ff20a0c9e8d | [] | no_license | avvo/Traffic-Potential | d7c9d4c1becc77253b3d5034197b8efda33fef01 | a5bec2b3c948b44f78f5239f65bbe55c8b915b49 | refs/heads/master | 2021-01-19T16:42:19.537831 | 2016-11-11T20:50:11 | 2016-11-11T20:50:11 | 73,510,345 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 363 | r | demo.R | library(cluster)
library(fpc)
tempd=ctylevel[,.(cit.not_citizen/pop.base_count,hh.median_income)]
plot(tempd,pch='+')
del=km(tempd,5)
plotcluster(del[[1]][,-3,with=FALSE],del[[2]]$cluster,method = 'anc',clnum=5,pch='+')
input=data.table(ncluster=5,statename='washington',practice_area='Immigration',variables=paste('po... |
023651f658248a8275122ea43c94479f0a83c4ea | 7895999e1d7fd1ca93dac6d3b7a5309014e50fa9 | /R/plots_from_ldats.R | e7a0d3c41f637161a9d9f262cfcd14e09e98f25b | [
"MIT"
] | permissive | wlandau/MATSS-pipeline | 7f4a7c54311803a3a16e42976290f93d0e0efe6c | fc309800ef79c9800d35aea7e2e6c0985dc418c3 | refs/heads/master | 2020-04-20T08:46:07.790847 | 2019-02-01T19:02:20 | 2019-02-01T19:02:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,116 | r | plots_from_ldats.R | #' @name plot_lda
#' @title Plot LDA topic composition and time series
#' @description Plot the species composition of LDA topics, and the
#' topic composition of the community over the time series.
#'
#' @param x an LDATS LDA object.
#' @param observed_dates a vector of dates for the observed samples. If
#' observ... |
d8bcd92853dcf41204cc59d975d83084096d9f74 | 98963e32d96bf2d2aa901ccc7ea325031d418fff | /codes/regre func-glm.R | 794949d9d83bfd3d9cfcdc95318a21195455e28d | [] | no_license | tozammel/eBayPaper | 9fb9de7d2be1eed35558f1ecd5606523b07f299b | 7d297807d4ac2d6326e58bdd4b43ca946f1f493a | refs/heads/master | 2020-03-27T11:55:06.844821 | 2016-03-11T17:50:35 | 2016-03-11T17:50:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,808 | r | regre func-glm.R | reg.ebay <- function(data = EBAY,
plotpoins,
r,
reduced = FALSE){
NT.grid <- length(plotpoints)
N.data <- length(data)
###############################################
p1 <- p2 <- n1 <- n2 <- 0
for(i in 1:length(data)){
if(data[[i]]$Value == 1){
p1 <- p1 + max(data[[i]]$Price)
n1 <- n1 ... |
bfc01821f6909f25bc7d2a2857c4f643860445b8 | 6cddbcf9922aeb1138d8b3388fe9f3d181bbad82 | /R/status.R | fbccc8329d299fba528632e2321acea702b55251 | [] | no_license | waynenilsen/prairie | 92d444a6332a3a1a7e637bc696d4957d7abcdf90 | 5eebd679eb6c2e4e11d83b8078d6d582cc5a5dbe | refs/heads/master | 2021-01-12T04:30:09.772039 | 2016-01-23T19:50:45 | 2016-01-23T19:50:45 | 77,629,323 | 0 | 0 | null | 2016-12-29T17:41:11 | 2016-12-29T17:41:10 | null | UTF-8 | R | false | false | 2,300 | r | status.R | #' HTTP Response Status Code
#'
#' Get or set the status code of a \code{response} object.
#'
#' @export
#' @name status
NULL
#' @param x An \R object
#' @export
#' @rdname status
status <- function(x) UseMethod('status')
#' @param value HTTP status code, 1xx through 5xx
#' @export
#' @rdname status
`status<-` <- f... |
05b584b10dcded35a556e4f3e67e4ea13bf6cef8 | 99cded7454d091c0e0ddbe32e096ea87ede0eeab | /cachematrix.R | 016b0f49888cc423fe2bdbde69c810816d3c145d | [] | no_license | Pik000/ProgrammingAssignment2 | 5139b94f683ee71758d07aae433b77f2e370fd30 | b11a710dcb8e604e97fed86f8c865833ca80c7c9 | refs/heads/master | 2021-01-18T20:29:08.787473 | 2016-09-19T06:23:59 | 2016-09-19T06:23:59 | 68,566,886 | 0 | 0 | null | 2016-09-19T03:43:36 | 2016-09-19T03:43:35 | null | UTF-8 | R | false | false | 1,259 | r | cachematrix.R | ## This script creates a matrix, and solves the invese of this matrix.
## It then stores the inverse of this matrix.
## The second part of the script checks to see if there is an inverse
## matrix already stored at x$getInverse. If it is stored then it is displayed,
## otherwise it is caculated.
## This script takes i... |
64443f1d0c8332df113bc3f0ae11752f569520ee | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/moko/examples/max_EHVI.Rd.R | 3b6e947990a7bbff0230ccedb3c0ea4109572697 | [] | 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 | 474 | r | max_EHVI.Rd.R | library(moko)
### Name: max_EHVI
### Title: max_EHVI: Maximization of the Expected Hypervolume Improvement
### criterion
### Aliases: max_EHVI
### ** Examples
# ------------------------
# The Nowacki Beam
# ------------------------
n <- 20
d <- 2
doe <- replicate(d,sample(0:n,n))/n
res <- t(apply(doe, 1, nowacki_... |
9b6836eebaef6e9a8265f39296b9565d98342d49 | 84cb934fc740af94806f96e89c916b04458237b4 | /code/plot_resampling_shared_GO_pvalues.R | abd738be2194d86e7342561610e5de079c6889a3 | [] | no_license | maudf/gtex_condor | 007bb97d2d2afd6b74d55575cd7d6939b9836883 | 3942080f94a788bafa522c7d0e3f7b411054b1eb | refs/heads/master | 2023-07-16T01:00:02.435731 | 2021-09-03T15:29:19 | 2021-09-03T15:29:19 | 113,999,734 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,602 | r | plot_resampling_shared_GO_pvalues.R | ### plot_resampling_shared_GO_pvalues.R
### Load variables
source("code/variables_definition.R")
args = commandArgs(trailingOnly=TRUE)
### Set variables
genes.file <- paste0("all_tissues_genes_fdr", FDRcis, FDRtrans,
"_", window, "MB.Rdata")
go.results.txt <- paste0('alltissues_fdr', FDRcis... |
71a8d855940edeb4a039038bc6f336b7de5564d6 | e4475f9d147174edb0c057af45f2afc60ddc7e4b | /scripts/Angela/Angela_CountReadsAssignedToGenes.R | aac2ba48e0fd4c2fd4774c8b8e610351498bb45a | [] | no_license | srmarzec/albopictus_remapping | 04859ceaff6820985199ab041271d9f06a0b7d51 | ccfffe46f200506108f9183df2af52c022984ed6 | refs/heads/main | 2023-04-26T11:46:57.565451 | 2021-04-22T18:20:58 | 2021-04-22T18:20:58 | 335,630,859 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,994 | r | Angela_CountReadsAssignedToGenes.R | # Script to count up the reads assigned to genes by HTSeq for each of the samples
#if (!require("readbulk")) install.packages("readbulk")
#if (!require("tidyverse")) install.packages("tidyverse")
#tidyverse can be used to reformat tables
library(readbulk)
library(tidyverse)
# Read in all the files at once
# Now all... |
00d521c584ce662099ba1dbd7bc794927ad6f2d6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/komaletter/examples/komaletter.Rd.R | 0a6b13967be8f80ca19ed92c49e84a19fb0e825d | [] | 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 | 274 | r | komaletter.Rd.R | library(komaletter)
### Name: komaletter
### Title: KOMA-Script LaTeX Letter Format
### Aliases: komaletter
### ** Examples
## Not run:
##D rmarkdown::draft("MyLetter.Rmd", template="pdf", package="komaletter")
##D rmarkdown::render("MyLetter.Rmd")
## End(Not run)
|
68cb6f74a6dc84755c3987f51a96b0bed31f4652 | 7218206cfc1b9d7d40d79dae94dbac99820fc794 | /ch3/exercises.R | f2c55dcdbdaa8ed7c46d9ab94173be293f7d9237 | [
"MIT"
] | permissive | azu/stats_with_R | ac7fbd6395c508f77ccc8be19977fe288221aa6f | 54ae7db49b881f6e9062ccc0f15e6e5f8fb077f6 | refs/heads/master | 2021-01-19T11:14:50.527047 | 2013-12-31T12:35:13 | 2013-12-31T12:35:13 | 15,205,100 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 993 | r | exercises.R | # (1) 以下は10人の大学生の一日の勉強時間(単位は時間)と定期試験の得点(100 点満点)のデータです。勉強時間を横軸に、定期試験を縦軸にした散布図を 描いてみましょう
currentDirectory <- (function() {
path <- (function() attr(body(sys.function(-1)), "srcfile"))()$filename
dirname(path)
})()
dataFrame <- read.csv(file.path(currentDirectory, "exercises_1.csv") , header=TRUE)
時間 <- dataFrame$勉強時... |
7e9e784f3504829d7aadacd1647160f5c4070ba0 | 455d5dadcc54cf2ae2b2b65b74a31cc6c81e178d | /02_Simulating_Networks.R | 49ab33d582d02fd41efb71fe51a71e1a9868edf9 | [] | no_license | albina23/Statistical-Analysis-of-Networks | f157f344ac5fbc50cae7173546418b6c029474cc | 06b9d567fd3c1f9c3d6fcf002b81237887aa97f9 | refs/heads/master | 2021-09-18T11:35:54.826260 | 2018-07-13T11:03:43 | 2018-07-13T11:03:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,228 | r | 02_Simulating_Networks.R | # Exploring ERGM through simularion in R and MPNet (Chapters 1-4 in Lusher et al., 2013)
# Set working directory
setwd("~/MethodsR/Statistical-Analysis-of-Networks")
# Install packages
install_package <- function(pkg){
new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])]
if (length(new.pkg))
install... |
4e02094fd0b1a3df0f5e71beb2e9f61ad759af30 | 34ea6f84847771a57523b4bcd53a1b94ff8903d7 | /iso.R | 6d2cc127ef3877c7464b3ef558666567b867e3ea | [] | no_license | cfshi/fgc | 52d929473b0a08be4b9e184f77d0df3517c17e68 | b6c7c07489cb10341997f5241c062debb57be92c | refs/heads/master | 2021-05-16T05:36:56.210568 | 2017-09-11T20:39:32 | 2017-09-11T20:39:32 | 103,170,756 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,967 | r | iso.R | library(ordinal)
library(splines)
library(gridExtra)
library(ggplot2)
library(reshape)
theme_set(theme_bw())
attr(modAns,"terms") <- NULL
catNames <- c("religion","urRural","job","maritalStat")
predNames <- colnames(modAns)[2:(ncol(modAns)-3)]
isoList <- lapply(predNames, function(n){
ordpred(mod, n, modAns)
})
... |
95a0c18b9e0dd5167a776d5f31d0a9143a442a26 | 62cc5c60c55b857860b5b6bc62529a096c54f060 | /FeatureBuilding.R | db44d94ecefa2ede51f5ae401e0ab5a46004d2e4 | [] | no_license | ChrisKye/TempPilot | 7bbea72c23a9f2c56f59e2abe5a1d6d2e4c78feb | a9a92a638dc8454aa06f0bbf16f30910dc7d2707 | refs/heads/main | 2023-02-01T10:36:14.218951 | 2020-12-13T05:42:19 | 2020-12-13T05:42:19 | 317,439,664 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,582 | r | FeatureBuilding.R | library(data.table)
library(dplyr)
library(R.matlab)
############# Creating y_labels for modelling #############
##Reading in data
ratings <- fread("./Data/metadata_csv/participant_ratings.csv")
data_y <- ratings[,c("Participant_id","Trial", "Valence",
"Arousal", "Dominance", "Liking")]
##Relab... |
db3ec7cc6706b48e4f7660c616b8aad009e3afc9 | 1e620d83967acb48dfba21436d88bf4697904ba0 | /scripts/12-GRN_final.R | 67893d9022790ddf7ce9e0bfc0526a6cddf90728 | [
"MIT"
] | permissive | umr1283/LGA_HSPC_PAPER | e6c32af5fd7303dd93b802b7a2d04704d421b305 | 5ff879dc64d555452d8ee980b242a957f412b6c6 | refs/heads/main | 2023-04-17T15:57:57.025596 | 2022-07-18T15:27:35 | 2022-07-18T15:27:35 | 404,302,229 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,089 | r | 12-GRN_final.R | ### Project Setup ==================================================================================
out<-"outputs/12-GRN_final"
dir.create(out)
source("scripts/utils/new_utils.R")
library(Seurat)
library(Signac)
####Functions####
GetMotifIDs<-function(object,motif.names,assay=NULL,return_dt=FALSE){
if(is.null(assay... |
c248a90e1602f8f61c83d30dac321c07edec7261 | 9b224706fa92a3aefd056a297830ada20dc063ae | /cachematrix.R | 5ecf0ab534309f94f3e4e403c424b8f3a71cb38c | [] | no_license | dasctobo/ProgrammingAssignment2 | 3d80ed0634d2318bd84c1cefe683ba5685f0cf7d | 69c51f020bde381d35fef1e0f059625480821365 | refs/heads/master | 2021-01-09T06:41:10.317884 | 2014-10-17T14:23:28 | 2014-10-17T14:23:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 989 | r | cachematrix.R | ## These are functions to create a matrix (makeCacheMatrix) which has its inverse cached after first retrieval (and
## calculation) of the inverse (cacheSolve)
## Creates and returns a list of functions, that can set and get a matrix and its inverse
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL
set <- ... |
379d03152cf1591005a17febc52f5c49127415fe | e08cbe1280758705991a3fecd2137fe262eaea3a | /peak_statistics.R | 21bbdb0e5d88162c4df15a98b00ebe2524d8ce7e | [] | no_license | cwarden45/peak_calling_template | 9272ba8274c93c03602cad737d8c4b918cee4e4e | d5aa9bf407cf95f5d84f8ccb98ed0dc1efe70dd9 | refs/heads/master | 2021-10-16T22:09:32.765005 | 2019-02-13T01:04:00 | 2019-02-13T01:04:00 | 103,324,290 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,644 | r | peak_statistics.R | param.file = "parameters.txt"
peak.length.dist = "peak_length_dist.png"
peak.length.stats = "peak_length_dist.txt"
max.plot = 1000
param.table = read.table(param.file, header=T, sep="\t")
genome = as.character(param.table$Value[param.table$Parameter == "genome"])
alignment.folder = as.character(param.table$Va... |
c2787a70190882cf9325ad8cdbbaac1eed90b6d2 | ed9f2693c0afb85aaebf08250f45d70f621feabc | /man/PhenoComp.Rd | a36ac75a178337597ebea11689193891d56a8e30 | [] | no_license | XJJ-student/PhenoComp1 | 87e1ead0be89c389cbf8d37484bb80cb73973b0d | 8fb3e3206f45653c6284317e200720f0f8bf36d4 | refs/heads/master | 2021-04-05T06:19:39.843300 | 2020-03-19T15:21:48 | 2020-03-19T15:21:48 | 248,529,086 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,850 | rd | PhenoComp.Rd | \name{PhenoComp}
\alias{PhenoComp}
\title{Identification of population-level differentially expressed genes in one-phenotype data}
\usage{
PhenoComp(expdata,label,gene,freq,method,freq1,outfile1,outfile2)
}
\arguments{
\item{expdata}{a (non-empty) numeric gene expression matrix with both disease and control sa... |
8b4d87f34c91cecb8d6e438d56b9fcdfbfb06a4c | 957ecf14135b19cadd1314c2528628fbbe239b5a | /warp10r/man/pushWarp10.Rd | 91201364d5cacc9e3c5f26a6ae9efebe14156294 | [] | no_license | senx/warp10-r | b0af0334ff1de6ecff4cb49d3d6129826232efc3 | 199a09d26a530cf77b4eda38d8fe1d9ef587ee8c | refs/heads/master | 2023-09-01T01:31:20.425182 | 2019-11-15T16:01:58 | 2019-11-15T16:01:58 | 82,603,784 | 1 | 2 | null | 2021-09-23T19:44:08 | 2017-02-20T21:19:48 | R | UTF-8 | R | false | true | 522 | rd | pushWarp10.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/client.R
\name{pushWarp10}
\alias{pushWarp10}
\title{Push data points}
\usage{
pushWarp10(data, token, endpoint = "http://localhost:8080/api/v0/update")
}
\arguments{
\item{data}{data points in GTS input format as a character vector or a file... |
94df102c5bc622e351c65e255ad6a7d914bb7a53 | 6e9b340fbad1378474ab0447dc8b822580b6bb2f | /assignment3/rankall.R | 0689a7dab99ed44dd7e227b30ed05d72165b75c1 | [] | no_license | kingname/datasciencecoursera | 2cb290738e147d9c7b81a33bf6ef5543f7e473a2 | 8417869d3138b8e80a866364d2ea8f6edb6a1d7b | refs/heads/master | 2023-08-16T16:51:12.082302 | 2015-02-01T04:45:19 | 2015-02-01T04:45:19 | 28,945,870 | 1 | 8 | null | null | null | null | UTF-8 | R | false | false | 872 | r | rankall.R | rankall <- function(outcome, num = "best") {
## Read outcome data
data <- read.csv("outcome-of-care-measures.csv",colClasses = "character")
## Check that outcome are valid
problem <- c("heart attack", "heart failure", "pneumonia")
right_outcome <- problem == outcome
if(sum(right_outcome)==0){
... |
1e57a2a25a22991a79ddada3d2c20df530b71447 | e39cd762e483cb80774aec5c89a333e3ff4cfa36 | /practice.R | 3aaa8b013e2cda48a38037b42dcf7c4b471fbd5f | [] | no_license | CodeFire98/impCodes | eaad7171bd77f489822f8998b5bed35c7fa947ca | 9740a3d53eedd71718e60d8b6f0e969f15afcdcb | refs/heads/master | 2020-03-21T07:02:42.985096 | 2018-06-22T05:10:38 | 2018-06-22T05:10:38 | 138,257,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,303 | r | practice.R | library(shiny)
library(ggplot2)
library(reshape)
library(scales)
source("queplot.R")
ui <- fluidPage(
titlePanel("Plots"),
sidebarPanel(
h3("Constraints (Between 2012 and 2016)"),
dateInput("date1", "Start Date", value = "2012-01-28"),
dateInput("date2", "End Date", value = "2012-01-28"),
... |
f932455f2c024755e56e79264ed1f6511d808fde | 1845007bf50e3cfa8a499fc7ab2c445e8b95a742 | /R/p1p2.c.h.R | 62bb410386e0c5f77e32e25d9855e8c881236672 | [] | no_license | cran/adaptTest | ebc77eee366622735cd385c9fae0ccff8598f507 | c6d8ce1c12ac7437024b77f603df703da4807260 | refs/heads/master | 2022-04-30T22:27:38.072271 | 2022-03-04T11:00:06 | 2022-03-04T11:00:06 | 17,677,105 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 115 | r | p1p2.c.h.R | `p1p2.c.h` <-
function (p1,p2) ifelse(!(le(0,p1) && le(p1,1) && le(0,p2) && le(p2,1)), NA, p2)
|
7f3c10cd823223209c574a977edd42395e710290 | fd55181a8fea8504b5d84b481970c1e75e0e28ae | /init.R | e7670ef6856c5770d015e034f3b94a52bed514f4 | [] | no_license | andreypeshev/SimBsc | 12fbb0c8ee8b1b834c9a2579e440ffca67955443 | e018c259a8dd08aff63b09a944193ce06340422d | refs/heads/main | 2023-03-15T06:57:53.316506 | 2021-03-14T11:04:28 | 2021-03-14T11:04:28 | 347,609,889 | 0 | 0 | null | 2021-03-14T10:49:29 | 2021-03-14T10:49:28 | null | UTF-8 | R | false | false | 570 | r | init.R | #Parameters of the simulation:
parameters <- list()
#Variable
M <- 10 # Number of iterations
nvec <- seq(100,10000,100) # sample sizes
r.squared <- c(.1, .33, .5, .66, .9) # R-squared
coeff_list <- list(c(1, .5),
c(1, .5, 3.3),
... |
de7ae864443ea5039543e3b3301100bc47f6105e | 893f643927525c9eb1de6fa9719463252c9cfbba | /tests/testthat.R | 3164cb034670cfc396f8ee84fab56ac0efa53ad5 | [] | no_license | cran/quantspec | 89b9b3f360686f877fcfae55c429a1641396fe42 | 755dad94c2dea5830625769c04c35c7b0aceba2a | refs/heads/master | 2021-01-24T16:09:48.007048 | 2020-07-14T21:50:02 | 2020-07-14T21:50:02 | 17,698,910 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 66 | r | testthat.R | library(testthat)
library(quantspec)
test_check("quantspec")
|
dc41f7fe3a06a388378880f1e7de16a84ac11525 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/highcharter/examples/hc_add_series_scatter.Rd.R | 678c72ce1037343c31698cbb933e959fac41204f | [] | 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 | 914 | r | hc_add_series_scatter.Rd.R | library(highcharter)
### Name: hc_add_series_scatter
### Title: Shortcut for create scatter plots
### Aliases: hc_add_series_scatter
### ** Examples
## Not run:
##D hc <- highchart()
##D
##D hc_add_series_scatter(hc, mtcars$wt, mtcars$mpg)
##D hc_add_series_scatter(hc, mtcars$wt, mtcars$mpg, mtcars$drat)
##D hc_... |
f49ddb2e93822990e3d56f11f4790fee2eb40fc0 | bfdaf30a13fa2a7e32c76d416992869a251a4814 | /WRF_0708_composite_impacts.R | 3b661c43f130295fd53bfafc436fbd789869ea79 | [] | no_license | apepler/Code-R | f214b76bd683ddee7c68eeefe63cfefe95aad524 | a6f51ce604af52495d4b356185bf260131979c84 | refs/heads/master | 2020-05-21T16:45:09.502219 | 2017-04-19T03:28:13 | 2017-04-19T03:28:13 | 60,828,413 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,287 | r | WRF_0708_composite_impacts.R | rm(list=ls())
setwd("/srv/ccrc/data34/z3478332/ECLtracks/outputUM_wrf_2007_all/typing/")
library(ggplot2)
library(reshape2)
library(abind)
library(RNetCDF)
lat=seq(-500,500,10)
lon=seq(-500,500,10)
library(sp)
dist=matrix(0,101,101)
for(i in 1:101)
for(j in 1:101)
dist[i,j]=sqrt(lat[i]^2 + lon[j]^2)
dist2<-dis... |
96bac72f449ff921069948d74d83d22e09dc7514 | 9eb874c69af07d94fc20a53ab733a27c35c29fb3 | /R/12__Hierarchical_clustering__Bulk.R | fbbb7a0cf7efd34053fd78bfa1842cddf910e7e4 | [
"MIT"
] | permissive | ms-balzer/ZSF1_sGC | e7d50823fb542bef9f4985f6ab204dcd2593c43d | 4f12d8927f8d6a67c720f27e39c8017c2c5a1e2c | refs/heads/main | 2023-05-26T13:37:28.768985 | 2023-05-20T12:40:56 | 2023-05-20T12:40:56 | 521,015,301 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,302 | r | 12__Hierarchical_clustering__Bulk.R | library(ggplot2)
library(stringr)
library(dplyr)
library(broom)
library(data.table)
library(cluster)
library(factoextra)
library(tidyverse)
library(dendextend)
library(stringr)
library(ggpubr)
set.seed(123)
#======== STEP 1: load human data ========
meta <- read.csv("/data/Biobank-Tubule/tubule_metadata.csv", na.str... |
65b57fe7cb20cd1976572cd0a7e98def9e95d83c | 7e8aedcf677232937597d109b13e8dabe061672f | /integerextent.R | 607b014c7e756de720f83149f2e4a7b95b6803ea | [] | no_license | rral0/rgrass | 4a94abdb72720cc7d14df113e0ad22043994ed19 | bf0bbf650fc2628683617bce1032c96dc375b9ef | refs/heads/master | 2022-01-11T12:46:21.154917 | 2019-05-10T00:23:16 | 2019-05-10T00:23:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 992 | r | integerextent.R | intext <- function(e, r, type = c('inner', 'outer')){#Integer numbers for extent object
#e Extent object
#r Resolution
#type Inner or outer extent object
xyfloor <- function(coord, res=r){
m <- as.integer(floor(coord))
n <- as.integer(round(res,0))
i <- 0
for (i in 0:n){
if((m-i)%%n=... |
c66e046a692a6e71ccc4647e86384aa1f5909ee9 | 5bac2f75038a4737e362763e8304e5b5b27bda89 | /plot3.R | 5cb4c5fa56e3f82d1b9818e720d977c21d00afeb | [] | no_license | mingjiezhao/Exploratory-data-analysis | 60fe56fa0bd1341fc75f3e61121edf63586d27f9 | 239ea6b610faae270fc9770bea485790bb13fcb3 | refs/heads/master | 2021-01-16T23:23:17.199803 | 2014-05-11T19:36:24 | 2014-05-11T19:36:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 932 | r | plot3.R | # Selectively read tables from the txt file, with date raning from 2007-02-01 to 2007-02-02
library ("sqldf")
file = read.csv.sql(file = "household_power_consumption.txt", sql= "select * from file where Date = '1/2/2007' OR Date = '2/2/2007'", sep=";")
grep("\\?",file[,c("Sub_metering_1","Sub_metering_2","Sub_metering_... |
b5a0011959508cfb7e7ea997ef681cd2e628ab8c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Omisc/examples/zScoreData.Rd.R | e4aa634c6783c0400d4f824672763255f0e8011c | [] | 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 | 152 | r | zScoreData.Rd.R | library(Omisc)
### Name: zScoreData
### Title: centerData
### Aliases: zScoreData
### ** Examples
X<-data.frame(X=c(1:4),Y=c(6:9))
zScoreData(X)
|
3c6c6b79068d5e122853833e10e992c05a1bcf9f | ab8546534ae13d36906286c82ac4324f2077a7e9 | /code/ind_mh.R | f1cf3527854b70ce86bfc26f053bee24a8945907 | [] | no_license | kaijennissen/mcmc | 8301fd5021e07bf45fa1db6cd8c228a7b068e1d7 | 7ab5da6f312ab62068b6e4c2dcc708784d0e366e | refs/heads/master | 2022-08-01T17:05:22.188258 | 2020-03-06T21:10:32 | 2020-03-06T21:10:32 | 212,301,105 | 0 | 0 | null | 2022-06-22T01:22:21 | 2019-10-02T09:29:25 | Jupyter Notebook | UTF-8 | R | false | false | 3,400 | r | ind_mh.R | # We'll assume estimation of a Poisson mean as a function of x
x <- runif(100)
y <- rpois(100,5*x) # beta = 5 where mean(y[i]) = beta*x[i]
# Prior distribution on log(beta): t(5) with mean 2
# (Very spread out on original scale; median = 7.4, roughly)
log_prior <- function(log_beta) dt(log_beta-2, 5, log=TRUE)
# Lo... |
404713a1dc32037318ac582d29d4ff32096e8ed3 | 863aa7e71911423a9096c82a03ef755d1cf34654 | /man/dendrogram_plot.Rd | 75154b29bedeb378026bcead8f44d30dde51a30b | [] | no_license | BioSystemsUM/specmine | 8bd2d2b0ee1b1db9133251b80724966a5ee71040 | 13b5cbb73989e1f84e726dab90ff4ff34fed68df | refs/heads/master | 2023-08-18T05:51:53.650469 | 2021-09-21T13:35:11 | 2021-09-21T13:35:11 | 313,974,923 | 1 | 1 | null | 2021-09-21T13:35:12 | 2020-11-18T15:22:49 | R | UTF-8 | R | false | false | 1,126 | rd | dendrogram_plot.Rd | \name{dendrogram_plot}
\alias{dendrogram_plot}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Plot dendrogram
}
\description{
Plot dendrogram of hierarchical clustering results.
}
\usage{
dendrogram_plot(dataset, hc.result, column.metadata = 1,
labels = NULL, ...)
}
%- maybe also 'usage' fo... |
7f5a7d9c348279f6f3bd0f599260b3d513cea892 | 25ecb2809ae8dc5aa90094c51fcf72537e6a194c | /man/get_property_tags.Rd | 561d9e5aedbd795829fb9bdc90817b6c1a42b780 | [] | no_license | mrc-ide/specio | fbe01c8374dcca4f00806580ea5d940358d94243 | 11535cf22294071bb6e6b7ed8409823cac2a7ddc | refs/heads/master | 2021-06-11T20:34:21.662465 | 2021-04-12T16:43:50 | 2021-04-12T16:43:50 | 164,118,723 | 2 | 0 | null | 2021-04-12T11:09:39 | 2019-01-04T14:41:29 | R | UTF-8 | R | false | true | 857 | rd | get_property_tags.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dp_tags.R
\name{get_property_tags}
\alias{get_property_tags}
\title{Get tags mapping for a property.}
\usage{
get_property_tags(property)
}
\arguments{
\item{property}{Property to get the tags for.}
\item{proj_years}{Years of the projection.... |
8322c254eb3c3b4a953d7e8056dc6e06fb12a685 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dynamicGraph/examples/setTreeBlocks.Rd.R | aef4028de518ce836f7f33d713b92efd98534f41 | [] | 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 | 5,768 | r | setTreeBlocks.Rd.R | library(dynamicGraph)
### Name: setTreeBlocks
### Title: The block tree
### Aliases: setTreeBlocks Closed Closed<- Parents<- Parents Children<-
### Children NodeAncestors NodeAncestors<- NodeDescendants
### NodeDescendants<-
### Keywords: methods dynamic graphs
### ** Examples
# Example 1:
Block.tree <- list(l... |
103ef4f26dc009a35cad8ef379dd3ddad1563291 | c9e02923d819d62aa4b460a89e26db86bd2f18a9 | /ui.R | d0226955d5b87cb9d3054bec93d28ec9d69893f5 | [] | no_license | hjermann/DataApplication | 410f76c0592fb674d248a308670eb5b340153d83 | 74156643ac089745e8569c3c0acefa3a9c804bab | refs/heads/master | 2021-01-10T10:01:27.025544 | 2015-11-22T14:45:50 | 2015-11-22T14:45:50 | 46,664,405 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,167 | r | ui.R | library(shiny)
shinyUI(pageWithSidebar(
headerPanel("Daily horoscope"),
sidebarPanel(
dateInput('bd','Please select your birthday',"1971-09-19" ),
dateInput('pd','Please select date for prediction' ),
helpText("Note: Just fill the dates with proper values ... |
33c64e21554eddce41b0546875d298f40e8b4c83 | 2b9c0c507aa0d049cd13885d0126a8996a2cdf83 | /4c Total costs.R | 39cda275d5333e59e452425d6b0e961fc1e050bc | [] | no_license | sabwongct/DM-Net-value | 55c87353239889c8b6be4bde953f1d37868517a8 | 7f19cb66bbeded481f4faf5b88748fdc01f169c1 | refs/heads/master | 2020-03-28T00:00:48.645709 | 2018-08-24T11:00:46 | 2018-08-24T11:00:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,160 | r | 4c Total costs.R | #(P.2) Spending #1: Convert nominal spending into real spending in local currency units (preferred method is using GDP deflator, and preferred base year is 2010)
#(P.2) Spending #2: All spending for a given individual is included, with no attempt to isolate DM-specific spending
library(data.table)
medcost <- readRDS("... |
67e608928a4c81f07773cb53b9b2d1323a985e6d | ccdc0d1d0e5ab160c5fa1672c2fccc7c7b13b6d9 | /plot4.R | d9142019348e895039b8934e975a90ec0a081fe2 | [] | no_license | sjkunnen/ExData_Plotting1 | 9001999f94db7fef4fbd5a3615acfea7e7c090b0 | 5fd02a0e36b637efdc80083ec1d48b9fb03fbb4a | refs/heads/master | 2021-01-01T16:24:01.421927 | 2017-07-24T10:50:28 | 2017-07-24T10:50:28 | 97,826,105 | 0 | 0 | null | 2017-07-20T11:10:31 | 2017-07-20T11:10:31 | null | UTF-8 | R | false | false | 2,006 | r | plot4.R | ## Read the data form the txt file and use the headers from the file
data <- read.table("exdata_data_household_power_consumption/household_power_consumption.txt",
header = TRUE, sep = ";", na.strings = "?")
## Make a POSIXlt class by combining Date and Time
DateTime <- strptime(paste(data$Date,... |
04c53d19e7ca52dc30f0ef5c937bd048bae205b3 | beecb0fa770e19f2fa20e7767705f075ff787c02 | /2018March_Ellipse/2018march21_ellipseplot.r | 17a53c3128bf04b390188a32dd553b097cadba9f | [] | no_license | email-clm/R_stat_visualization | dfc9e39875efbb87dc55c0c32a484dd984e46bf2 | deddc032c4d54b1d5bda17c48cad38906ddd19da | refs/heads/master | 2023-06-11T18:15:05.869138 | 2023-06-02T07:51:12 | 2023-06-02T07:51:12 | 134,325,739 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,425 | r | 2018march21_ellipseplot.r | # March 21, 2018 for Dona'a paper in Arctic C
library(ellipse)
library(ggplot2)
library(car)
setwd("/Users/xxuadmin/BUSINESS/PUBLICATIONS/WorkingOn_Zona_SnowC/20180315_plot")
obs <- read.table("obdata",header=TRUE)
attach(obs)
library(Hmisc)
minor.tick()
pdf("Figure3a.pdf")
par(mai=c(1.25,1,0.9,0.8))
plot(-1000,-1000... |
547e076954e7d2fbb1ba11d7a61662993b306fa2 | 394b8a5c63d6f087c343e466b3161a0d13cce19c | /Sentiment.R | 75708fc578aa4d4847e3cc2c07d96a610483a3eb | [] | no_license | thaque2050/University-Twitter-Sentiment-Score | 4339fd222506a74ada01d9d7fb493439087ca1bf | 7e11b2639940e664ce8490573ba2d5ba29f5257b | refs/heads/master | 2020-05-24T18:11:15.400705 | 2019-05-18T20:51:02 | 2019-05-18T20:51:02 | 187,403,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,230 | r | Sentiment.R | library(tidytext)
library(dplyr)
library(stringr)
library(sentimentr)
library(ggplot2)
library(ggrepel)
#COUNT WORDS FOR SENTIMENT BY DICTIONARIES
corpus<-Corpus(VectorSource(reviews_data2$value))
corpus <- tm_map(x = corpus,removeNumbers)
corpus <- tm_map(corpus, content_transformer(tolower))
corpus <... |
32356b70dd73670772014609461504439b78642a | f45333719c9d6f1b55c95be0f9dc03dea9b6c086 | /.development_files/examples_stemr_0.1_ebola_mod/effpop_sir_covg.R | 578909881b95be7bfed278ae730b16b87fb5ea61 | [] | no_license | fintzij/stemr | 7c95bde20622142c7f62aad49cfb764a46342b47 | 185375e0933331da49bdc53563ce61338de4c450 | refs/heads/master | 2022-05-19T18:29:05.622681 | 2022-03-16T17:16:52 | 2022-03-16T17:16:52 | 52,254,628 | 8 | 6 | null | 2022-03-16T01:35:15 | 2016-02-22T07:16:45 | R | UTF-8 | R | false | false | 8,724 | r | effpop_sir_covg.R | library(stemr)
library(extraDistr)
library(foreach)
library(doRNG)
library(doParallel)
library(coda)
args <- commandArgs(TRUE)
print(args)
replication <- as.numeric(args[1])
popsize <- 1e5
S0 <- 1e5-10
I0 <- 10
R0 <- 0
set.seed(100817 + replication)
true_pars <-
c(R0 = 1 + exp(rnorm(1, 0, 0.5)),
mu = ... |
e053f659b2666c9c9578c77b737460034b271311 | 5d05a691af890d6fa9a8bce4ffe8f976bd786bd7 | /Estructura.R | 248f1180de681b77bbb2df73fe3ee535b0dbccee | [] | no_license | critinafernadez/ps_apps | 1b98d66c4c9cb64e5d04f7151c21d82aab510f3e | 1bc919284cc13a7cc0bdc3381db6d4f18d515c9f | refs/heads/master | 2020-04-25T11:00:12.863021 | 2019-03-29T14:06:08 | 2019-03-29T14:06:08 | 172,729,778 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 611 | r | Estructura.R | library(shiny)
library(shinythemes)
ui= navbarPage("GOOGLE APPS",theme = shinytheme("flatly"),
tabPanel("Distributions",
mainPanel(
tabsetPanel(type="tabs",
tabPanel("Hola"),
tabPanel(... |
528db173d1d2599b63089067cfe58fe32714d830 | 2655fcbde895737e36a1f2283e0cd51765e98168 | /Taxonomy/R/silhouette_viz.R | 7fc273670a8c2c4053ab8b1221c52bd02136465a | [] | no_license | DDTD-IS/DDTD-IS | 5b7128df844289fa804bc9a3750c73898001bfb4 | eb21f343a7224793af823cd580f206d2fb48b604 | refs/heads/master | 2020-09-21T19:21:24.316497 | 2019-11-29T17:38:21 | 2019-11-29T17:38:21 | 224,897,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,543 | r | silhouette_viz.R |
#' @title Silhouette display with standard color palette
#' @description This function is based on the function \link[factoextra]{fviz_silhouette}. It visualizes a silhouette object and applies the standard color palette (used for the shiny application)
#' The reader is referred to the original documentation \link[fa... |
3d8cf34324f938ac129d89ca9583ed5446ae41d3 | 1bd90b867597ff1fde0cab414f6cc663f96ecbf7 | /R/clustering.R | 869e02e3df90c8590119675fc1a15c914b5046c3 | [] | no_license | c00cjz00/flycircuit | faf32d1ea024e2781fc98bd648bdfa2736aaec80 | 3c7119f1328e873e8626731ba8784ea7a6a1d576 | refs/heads/master | 2021-01-18T08:00:06.874459 | 2014-06-26T18:47:41 | 2014-06-26T18:47:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,514 | r | clustering.R | #' Cluster a set of FlyCircuit neurons identified by gene_name
#'
#' Given a vector of gene/neuron names or neuronids use hclust to carry out a
#' hierarchical clustering. The default value of distfun will handle square
#' distance matrices and R.
#' @param gns FlyCircuit identifiers (passed to fc_gene_name).
#' @pa... |
913cf2ff4ad3e3a8378cf3088fff653aa55b627c | d6c0595084b6f9f3a541df39d7e54ad2cdd29d8e | /man/extractDateFilename.Rd | 4d45f39d8d1fca3f43201f365b72e05189d223e9 | [] | no_license | cran/phenopix | 2b6e5b2ea601de51c312e692e04ec050529bf5e8 | 9220b65ba06c6e08e1df76a365db0b78364ed684 | refs/heads/master | 2023-08-19T07:31:53.401802 | 2023-08-09T13:50:02 | 2023-08-09T15:30:47 | 94,452,244 | 7 | 5 | null | null | null | null | UTF-8 | R | false | false | 1,643 | rd | extractDateFilename.Rd | \name{extractDateFilename}
\alias{extractDateFilename}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Estract dates from filenames
%% ~~function to do ... ~~
}
\description{
This function extracts dates from filenames.
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\... |
35a6a89adf1b79b1b57a8bcbed68a0b7f225bee8 | 7afbb148ec11b3105aaead6bdd900f847e49eb18 | /tests/testthat/test-missing.R | 2b15e31d290f1df9ecf816030142e510399a2ee7 | [
"MIT"
] | permissive | tidymodels/recipes | 88135cc131b4ff538a670d956cf6622fa8440639 | eb12d1818397ad8780fdfd13ea14d0839fbb44bd | refs/heads/main | 2023-08-15T18:12:46.038289 | 2023-08-11T12:32:05 | 2023-08-11T12:32:05 | 76,614,863 | 383 | 123 | NOASSERTION | 2023-08-26T13:43:51 | 2016-12-16T02:40:24 | R | UTF-8 | R | false | false | 2,562 | r | test-missing.R | library(testthat)
library(recipes)
set_with_na <- tibble(
a = c(1, 2, NA),
b = c(1, 2, NA_real_),
d = as.integer(c(1, 2, NA_integer_)),
e = c(1, 2, NA_character_)
)
tst <- function(...) {
cols <- quos(...)
recipe(set_with_na) %>%
check_missing(!!!cols) %>%
prep() %>%
bake(set_with_na)
}
test_... |
a271fb16f4e6fd880b594d99fc142155b6b94d92 | 36290132d0cc0940d2925c54c40f154ad4c36c64 | /victors_originals/Wes_explore_data_v1.r | 0a47d174a0f5846f2f0359119b9269f5850eadf0 | [] | no_license | VKON/wesv1 | 635814cefb58a07d04cc00e64e3028b6bc27782a | 6f80d4f85820895f8482bdcc66ba2ee3ffb2e23f | refs/heads/master | 2020-04-05T00:19:30.705980 | 2019-01-13T09:52:58 | 2019-01-13T09:52:58 | 156,392,719 | 1 | 1 | null | 2019-01-13T09:52:59 | 2018-11-06T14:04:22 | HTML | UTF-8 | R | false | false | 2,311 | r | Wes_explore_data_v1.r | #
# Sort, add time features and limit dataset
#
# restart R session
# setwd("C:/Users/VK/Desktop/VKOR/wes")
# Sort1 <- read.csv(file = 'Wesv14.csv')
Sort1 <- Join1
View(Sort1)
# limit dataset
options(max.print=600)
# Sort1 <- A[,c(1:8,10,11,13,52,54,561,563,565,567)]
# Sort1 <- A[,c(1:8,52,54,561,563,565,567)] # ... |
f7f26e42966c655973ade72bee5f02a8a0bbf7cd | 05e0e111ad0b82e222371bd84d25564e9b1310ae | /02_R_Programming/ProgrammingAssignment1/pollutantmean.R | 14d27aeb3bda68083a5887d62b7d491255c3a194 | [] | no_license | anuarimanbayev/datasciencecoursera | 9f847569bd526a045c69cdb80a70197d3c6bf2d7 | d698096e95c91cf526c0c94c6928424ace56564e | refs/heads/master | 2021-01-21T21:48:36.731533 | 2016-04-24T23:42:42 | 2016-04-24T23:42:42 | 42,086,705 | 0 | 0 | null | 2015-09-08T03:03:02 | 2015-09-08T02:59:50 | null | UTF-8 | R | false | false | 1,969 | r | pollutantmean.R | pollutantmean <- function(directory, pollutant, id = 1:332) {
## ==== Homework Assignment 1: Part 1 ====
## Creates a list of files with prepended directory
files_list <- list.files(directory, full.names=TRUE)
## Instantiation
specdata <- data.frame()
##... |
7d7ded265903a0f27accbe0a24381ecc4577ef86 | d59e56c7658f5177551b308b483ab352236da8a2 | /paws/man/backup_update_region_settings.Rd | e943d137a6ba46044c991c0f1760b5b2271e4180 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jcheng5/paws | a09b03b93c6bafdab26c3217c33926b86907276b | 9bb49f9a3ba415c3276955fa676bc881bc22fa3e | refs/heads/main | 2023-02-01T15:25:58.124905 | 2020-11-10T22:35:42 | 2020-11-10T22:35:42 | 317,394,924 | 0 | 0 | NOASSERTION | 2020-12-01T01:48:12 | 2020-12-01T01:48:12 | null | UTF-8 | R | false | true | 980 | rd | backup_update_region_settings.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/backup_operations.R
\name{backup_update_region_settings}
\alias{backup_update_region_settings}
\title{Updates the current service opt-in settings for the Region}
\usage{
backup_update_region_settings(ResourceTypeOptInPreference)
}
\arguments{... |
efcee535f2d323ad2b7cb128e8e5d7252d386b23 | df7b041b0622c517ce16fbff0916c542e7da8174 | /hindcast_ms/summarize_ms/annotated_histogram.R | 46cd27e777036bd9d2499a1ee5311d6654cfeee8 | [] | no_license | HeatherWelch/EcoCast_EcoROMS_comparison_ms | f56a4f2e9954f98068d349682c241d5fe9f02d47 | 9fdca2b69d946073a3d2783db8c2caed82ba3654 | refs/heads/master | 2021-05-09T09:13:13.924743 | 2019-10-31T21:54:59 | 2019-10-31T21:54:59 | 119,427,444 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 510 | r | annotated_histogram.R | library(magick)
plotdir_ms="~/Dropbox/EcoEast_EcoROMS_comparison_ms/EcoCast_EcoROMS_comparison_ms/hindcast_ms/summarize_ms/plots/"#;dir.create(plotdir_ms)
file=paste0(plotdir_ms,"histograms3.png")
template=paste0(plotdir_ms,"template.png")
hist=image_read(file)
template=image_read(template)
template2=image_scale(temp... |
55c86b20de9bfa54d8ddaad4e8f4e381bbed0777 | 7d615c4460b459d044213279490dc23f9aaa4c73 | /NPV-IRR_indicators.R | c5aabf3375a16a0863a63847a501d39d8dcfeb11 | [] | no_license | silvadaniels/BasicEconometrics | eaa5b65d5e53d3e4694503cb6fd83aefb7dff099 | 045871ec20dff2fd1264f4082667b1bb00120cf6 | refs/heads/main | 2023-06-09T20:18:10.477720 | 2021-07-09T00:00:07 | 2021-07-09T00:00:07 | 383,644,127 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 549 | r | NPV-IRR_indicators.R | # Script to calculate economic indicators: Net Present Value and Internal Rate of Return
# Net Present Value (NPV), i= interest rate, cf=net income vector (negative or positive), invest=initial investment (always negative)
npv <- function(i, cf, invest, t=seq(along=cf)) sum(cf/(1+i)^t) +invest
# Interest Ra... |
545d36ea0a45f8c27046bb4c2761b947d0f23189 | 3486c479855d4a346c3fdd9fe30b4c02bc58c112 | /tests/testthat/test-make_phrase.R | 9a56d2fbe95a327bf9b4c4f2108ed0738af4025d | [
"MIT"
] | permissive | GenghisKhandybar/twelvedays | bb88eee7f26d0393d1316738c162e4ced5280625 | 5de8b4b8735f5a55ac4f25123223e652cb4679bd | refs/heads/master | 2022-11-25T15:06:33.328574 | 2020-08-04T06:04:41 | 2020-08-04T06:04:41 | 284,625,823 | 0 | 0 | MIT | 2020-08-03T06:52:10 | 2020-08-03T06:52:09 | null | UTF-8 | R | false | false | 278 | r | test-make_phrase.R | context("Testing make_phrase function.")
test_that("Random sentence construction works",
expect_equal(make_phrase(3, "AGM-158 JASSM Missiles", "flying","silver","into civilians"),
"three silver AGM-158 JASSM Missiles flying into civilians"))
|
c758f5781538548c2b7735134fc59076c4bc9f2e | 2b13ed71bc7ff59ebe7a2bd4b1dd5ab77b1496d1 | /R/plotMSD.r | eb27f55f923af8e74dad8ef8000c3dbcf8a2823f | [] | no_license | jgodet/trackR | 5336444a1fd7ce67454c8ef27dc2f840c33babf5 | 231482b1c34232e77d5c68d7ed4a439fda4296a5 | refs/heads/master | 2021-01-06T19:59:47.018135 | 2020-05-19T14:13:05 | 2020-05-19T14:13:05 | 241,470,839 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,356 | r | plotMSD.r | # plotMSD.r
# written by JuG
# March 08 2020
#' Plot MSD
#' @author JuG
#' @description
#' @param msdData MSD data (list) (output of calcMSD function)
#' @param deltaT time elapsed between two consecutive frame
#' @param fitMSD boolean
#' @param printMSDfit boolean
#' @param npoint4fit number of points to use for M... |
1286d868514b428f283ab6e4a9c10404302fc064 | ba892b7dda59a3024307699aaee1d42d4af30e03 | /manipulation/3-data-cleaning.R | 33f2fee53bd167fe087ff65274e6dad804a2099c | [] | no_license | IALSA/longitudinal-response-pattern | 5b9d5b3ce292b27e1eaed7b8ed9d6ee8c616fa0d | d293812cb7f0cea8d8e9a4a447bb87843f2ff24f | refs/heads/master | 2020-04-09T16:52:07.699990 | 2016-07-15T20:06:43 | 2016-07-15T20:06:43 | 61,064,550 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,755 | r | 3-data-cleaning.R | ## Project title: MAP
## Created on: June 08 2016
## Author: Jamie Knight
## Data: ds2
## Summary: Data Cleaning
##
## ---------------------------------------------------------------------- ##
options(width=160)
rm(list=ls())
cat("\f")
# ---- load_packages --------------------... |
2b672fead507bfacacd8ced70d26fa1a1d79e44c | 0d9078891cd9b470be33514d1b2f1e7fbf77af3e | /man/get_quiz_attr.Rd | e415d51076a06a66b5a50782ceb8211cfad0b827 | [
"MIT"
] | permissive | Lightbridge-KS/moodleQuiz | 0acdc9f78951e0fd25b318d32378461b769845e6 | d32edcec4769b93210a5f5736a1173694846630d | refs/heads/main | 2023-04-09T09:02:24.671795 | 2022-09-23T13:30:49 | 2022-09-23T13:30:49 | 368,576,033 | 0 | 0 | NOASSERTION | 2022-06-02T12:26:37 | 2021-05-18T15:14:40 | R | UTF-8 | R | false | true | 1,936 | rd | get_quiz_attr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quiz_attr.R
\name{get_quiz_attr}
\alias{get_quiz_attr}
\title{Get Moodle Quiz Attributes}
\usage{
get_quiz_attr(data)
}
\arguments{
\item{data}{A data.frame of \href{https://docs.moodle.org/311/en/Quiz_reports}{Moodle Quiz report}.}
}
\value{... |
465b24897bdd3feb9e4d69ee8fa639bfad2f4a35 | 32f251147606d865a04834ba8f08f8be75410738 | /R/data.R | a1bed5d0d9c315c62b221d11fd9803756773899c | [] | no_license | cdv04/ACTR | 4e17aaab32d319b1b609b6c1c0c553a0f7e41317 | d1762dc8884eb37b023cf146a71c05a96508cc08 | refs/heads/master | 2021-01-01T05:11:47.528297 | 2017-04-07T10:16:40 | 2017-04-07T10:16:40 | 59,212,181 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,584 | r | data.R | #' EDR10 and ED50 selected from FREDERICA modelling for the ACT :Acute to
#' Chronic SSD extrapolation for project for ionising radiation.
#'
#'
#' A dataset containing ED (Effective Dose) derived from dose response
#' modelling of selected FREDERICA tests
#'
#' @format A data frame with 786 rows and 22 variab... |
c8e78b31a04a85af7ab69bb3e1e4138bba257e4c | e14fc97a2bde8a4f303a7109ab5694d332e806d4 | /inst/doc/milr-intro.R | 5785138dcb7eec29098fa492b625bbbb7af26ccd | [] | no_license | cran/milr | d321f9cec7f9a60c57b617268c68a198ba8def0f | 55e4ab3cfa6aac436a61bb6dc4b7564485b45327 | refs/heads/master | 2021-01-20T18:36:15.259947 | 2020-10-31T06:30:02 | 2020-10-31T06:30:02 | 63,359,470 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,875 | r | milr-intro.R | ## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(cache = 2, cache.lazy = FALSE, tidy = FALSE, warning = FALSE)
## ---- eval=FALSE--------------------------------------------------------------
# milr(y, x, bag, lambda, numLambda, lambdaCriterion, nfold, maxit)
... |
6779693ca9ecebb57bb74b96119138d1f3496dfe | 6e8395e00701e58af37bfa5a21365fa68ec1e9ad | /aftica.R | 2719fef7643f279ccd61dd0cf6dd108d514661a1 | [] | no_license | RobertoRW/EspacialR | 47fe17d5c2cff1793f648b71a45b5c86a0be84cf | fda2bb93c8e02f05a11e7cac428677e0332695c3 | refs/heads/master | 2020-04-10T12:18:10.355748 | 2018-12-09T09:07:10 | 2018-12-09T09:07:10 | 161,018,032 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,756 | r | aftica.R | library(readr)
library(ggmap)
library(dplyr)
library(spatstat)
library(maptools)
library(rgdal)
library(sp)
library(splancs)
library(RColorBrewer)
set.seed(798487)
conflict.data <- read_csv(
"africa.csv")
conflict.algeria = subset(conflict.data, conflict.data$COUNTRY == "Uganda")
conflict.algeria = subset(conflict.... |
3cceb458669522245628bde5fa1eb8ef5c8bb13a | 192acf57bf90aa3892bddd088a52c9a40e24a241 | /data-preparation.R | 3303006eb5a68f6c62eaaf171d1d3fea38d5a5ae | [] | no_license | szigony/ceu-mtpods | 0c31668acd5a317f622328dbda281cb345d8761f | bbe89dd9a1769897f893bf254fa8ed2afb44dc7f | refs/heads/master | 2020-05-26T20:20:22.545155 | 2019-06-09T21:46:19 | 2019-06-09T21:46:19 | 188,361,318 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,679 | r | data-preparation.R | # Libraries
library(dplyr)
library(tibble)
library(stringr)
library(readxl)
## Drinks.csv
# Calculate total liters of pure alcohol
# 1 ounce = 0.0295 liter
# Beer serving: 12 ounces, 5% alcohol
# Wine serving: 5 ounces, 12% alcohol
# Spirit serving: 1.5 ounces, 40% alcohol
# Omit the NA values so that it wouldn't skew... |
cd6130505da219a1708b2258fea9861b6fdfc8d7 | 5b2aa89a49b0414dff445fc7c1959ecd7180e0da | /plot2.R | cf5eb5a83602a00f7682b726d4822e4e36035945 | [] | no_license | Pavit/ExData_Plotting1 | 0b40f8a60ea7a55064e2e3c32fe8f2b15d88d690 | acd040acb27e7adfcf0575656096bdd3de0b2a2f | refs/heads/master | 2020-03-28T00:52:42.930321 | 2018-10-09T01:18:48 | 2018-10-09T01:18:48 | 147,456,732 | 0 | 0 | null | 2018-09-05T03:52:29 | 2018-09-05T03:52:29 | null | UTF-8 | R | false | false | 944 | r | plot2.R | # This function reads data from household_power_consumption.txt
# and, using a subset of power consumption data from 2/1/07 to 2/2/07,
# it creates a line chart showing global active power by day in kilowatts
plot2 <- function() {
# subset the data to get the time period that we want
data <- read.table("... |
fca22855e98ab1c7110033c08aea3fc8b2ed827c | 12121d441ca67952f281823499c7252a09df65b2 | /R/suns.R | 1dcd149be3233f21f46543e66259f0cb509ce420 | [] | no_license | cran/StatDA | 53022b17e897ecb5c0ad07d12ce5db1acefdd96b | 828bc95cda80edd448192fea1239e5d5e61982fd | refs/heads/master | 2023-06-08T14:10:18.890836 | 2023-06-02T11:20:05 | 2023-06-02T11:20:05 | 17,693,780 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,092 | r | suns.R | suns <-function (x, full = TRUE, scale = TRUE, radius = TRUE, labels = dimnames(x)[[1]],
locations = NULL, nrow = NULL, ncol = NULL, len = 1, key.loc = NULL,
key.labels = dimnames(x)[[2]], key.xpd = TRUE, xlim = NULL,
ylim = NULL, flip.labels = NULL,
col.stars = NA, axes = FALSE, frame.plot = a... |
ae0f8c91caacbbcad0aec1f531bb67f50fa4b66e | 7c7c3469bf92ecedae878a35ca6d609071c569fe | /src/data/descriptive_analysis.R | c249f80d0f232aea844e58549500de06592f484f | [
"MIT"
] | permissive | joaophellip/comp5904 | 9fe3309e616397d2135923ec2db3ca3cb49cbfb4 | 0f7bb443f615bd812eb64b88d251c155e5246fe6 | refs/heads/master | 2023-01-30T17:46:10.093590 | 2020-12-05T22:59:21 | 2020-12-05T22:59:21 | 298,909,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,216 | r | descriptive_analysis.R | library(tidyverse)
library(ggcorrplot)
source("src/data/earthquake_damage.R")
data <- Earthquake_data()
data$generate()
# Juntando as features com a variável resposta
damage <- as_tibble(cbind(data$dataset,
damage_grade = factor(data$class_response,
... |
5302f2a8b03b70ebda3fea369c74d7dbd0a7e443 | 093f4979b58388700d670906ddb4f9e839675299 | /plotZoom.R | e1db2de48ab0af75a4b12f7a9059a1ef5916c843 | [] | no_license | sgschneider01/R_code | 6ac0c871ad619635f238a655dde7c5f6e5d1a106 | 39d1db3d91673655cf799343eb884ee4caded5ad | refs/heads/master | 2020-06-20T12:44:19.672021 | 2016-11-27T02:50:22 | 2016-11-27T02:50:22 | 74,863,072 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,158 | r | plotZoom.R | plotZoom <- function (egid,sp,ss=NULL) {
# Plots mapped probe locations FOR EACH TRANSCRIPT SEPARATELY
if (is.numeric(egid)) egid <- as.character(egid)
txs <- parseExonTable(egid) # this is a list
tx.list <- lapply(txs,genom2tx)
tx.num <- length(tx.list)
tx.nms <- gsub(" .+","",names(tx.list))
big.ma... |
efdc58134529f930ae813c588179da4323a70252 | 576fd3d9b972a46d6284c51baa3603811d482cc6 | /source/prototypeNormalization.R | b2b7dff3dc8c57dce9b499b81e93e40e63e0619f | [] | no_license | NicolasHousset/RetentionTimeAnalysis | 89bd5da47245a60465293d5899a38d34fc771f1d | ff4801ba8a1876dc5dcd234473f12e0ff57dca48 | refs/heads/master | 2020-05-29T14:05:10.382666 | 2013-10-16T16:52:37 | 2013-10-16T16:52:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,450 | r | prototypeNormalization.R | # Something huge...
# How can we bring closer the retention times of different set of lc-run ? I'll try stuff on two sets of lc-run I found with Spotfire
library(data.table)
library(ggplot2)
projectPath <- "C:/Users/Nicolas Housset/Documents/RetentionTimeAnalysis"
load(file = paste0(projectPath,"/data/identified.RDa... |
8fef13deb71d9f0c21f72280fae6d60692624056 | 65688298753e6ad992da18a864ebcce6359a2c92 | /HM_ref_check.R | 4651a35ee379487954f21809a7483b111276551a | [] | no_license | tleung2/HM | 3d71ed1bf17fb974c5f0a7555871a64bba76aec9 | de32aa20a465bf4af0fdd9eafb6460c573c96673 | refs/heads/main | 2023-01-27T20:42:07.993476 | 2020-12-11T07:32:32 | 2020-12-11T07:32:32 | 319,709,290 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 30,765 | r | HM_ref_check.R | ## SET WORKING DIRECTORY
## Install Phyloseq if needed (for R ver 4.0+)
if(!requireNamespace("BiocManager")){
install.packages("BiocManager")
}
BiocManager::install("phyloseq")
## Alternative for installing phyloseq (from Phyloseq website)
## I always have problem going this route
source('http://b... |
b6f405e3959930fd5969079c70db9cf6be2e2a82 | 62f46e39c6dcde7265ab9f1079fa73e2e454b258 | /Plot3.R | 71efa2b29630b929f035d863717af26a73a0645a | [] | no_license | Ignacio-dAR/ExData_Plotting1 | bc00e1a824e4f696691ea2617b864311592c2e1e | 10393eaa7a738023110bb2369b46873003365cdd | refs/heads/master | 2021-01-17T08:03:47.031713 | 2015-02-06T13:55:09 | 2015-02-06T13:55:09 | 30,404,945 | 0 | 0 | null | 2015-02-06T09:29:05 | 2015-02-06T09:29:02 | null | UTF-8 | R | false | false | 763 | r | Plot3.R | d = read.table("household_power_consumption.txt", header=TRUE, sep=";",dec=".",na.strings="?")
d1<-subset(d2,Date>=DateLimit[1])
d2<-subset(d1,Date<=DateLimit[2])
d2$Date<-as.Date(d2$Date,format="%d/%m/%Y")
remove(d1)
plot(d2$Sub_metering_1, main="", type="l", xlab="", axes=FALSE, ylab="")
lines(d2$Sub_metering_2,col=... |
e849e8cdaf4cd0de41670241ff4299ccbbe23740 | 19bda1321417205a4b2859814291a805a3ecfc17 | /man/testSvdReg.Rd | 6cf367bab1e23289fdff453a8828b1ff24d3da3c | [] | no_license | driegert/transfer2 | 15e885fd67db828e00db6afe9c6ecd3bc59e51a4 | ef09863f3bf8cdffdcffc8976f120fa0a05fc1ca | refs/heads/master | 2021-05-23T06:06:02.312396 | 2018-04-16T14:51:22 | 2018-04-16T14:51:22 | 94,790,567 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 274 | rd | testSvdReg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/testing.R
\name{testSvdReg}
\alias{testSvdReg}
\title{Test out to see if the regression stuff works...}
\usage{
testSvdReg(Y, X)
}
\description{
Test out to see if the regression stuff works...
}
|
bf8065ba63402e9e0cfe24a70077f178e639ce6a | b31fef59aa6842007c4a12ce09be413ac7a39bf9 | /app.R | bcd77544498850e878e8b9ac17b50a882406f0ef | [] | no_license | nvelden/table-race | 2c669c6b967fbf57d438171e7e9b9f0abfcb053b | d6ea29f40545d2008ac9479c105458b403569f93 | refs/heads/master | 2023-01-23T11:40:54.844562 | 2020-11-14T10:16:56 | 2020-11-14T10:16:56 | 311,434,367 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,504 | r | app.R | library(shiny)
#devtools::install_github("rstudio/r2d3")
# install latest version from Github for join() function
library(r2d3)
library(COVID19)
library(tidyr)
library(plyr)
library(dplyr)
library(shinythemes)
library(zoo)
options(r2d3.shadow = FALSE)
source("functions.R", local = TRUE)
ui <- fluidPage(
#Theme... |
4d92943f5bae1d5365cca5c3d1bfb3cc347d12dc | b43a6be2e74edb64bf29a13943e46d98e8ef2b83 | /AML_sim/3_generate_plots/main_clustering_performance/plots_AML_sim_diffcyt_methods_main_clustering_performance.R | af39744a6e865e511ef8350ca3a0b6e43da8d55e | [
"MIT"
] | permissive | lmweber/diffcyt-evaluations | 982ddb3cfb44c896fef7aa0b8ae58a80f715aa2c | 74974b9167b8f38ce860090d7d888e3989a214e0 | refs/heads/master | 2021-03-19T16:09:30.412168 | 2019-05-02T16:12:39 | 2019-05-02T16:12:39 | 74,908,643 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,999 | r | plots_AML_sim_diffcyt_methods_main_clustering_performance.R | ##########################################################################################
# Generate plots
#
# - data set: AML-sim
# - plot type: clustering performance
# - method: diffcyt methods
#
# - main results
#
# Lukas Weber, May 2018
##########################################################################... |
c6fd023f338f70d4dfde40d820bbbbbfe759afc9 | 08c48f2627281810fe2a4a37bb1e9bc5c03eeb68 | /Huan_link_all_script/R/x86_64-pc-linux-gnu-library/3.4/IRanges/unitTests/test_IRanges-class.R | 67402fe2241c7441055423dc88a7291255542a2f | [] | no_license | Lhhuan/drug_repurposing | 48e7ee9a10ef6735ffcdda88b0f2d73d54f3b36c | 4dd42b35e47976cf1e82ba308b8c89fe78f2699f | refs/heads/master | 2020-04-08T11:00:30.392445 | 2019-08-07T08:58:25 | 2019-08-07T08:58:25 | 159,290,095 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,055 | r | test_IRanges-class.R | test_IRanges_names <- function() {
range1 <- IRanges(start=c(1,2,3), end=c(5,2,8))
checkIdentical(names(range1), NULL)
nms <- c("a", NA, "b")
names(range1) <- nms
checkIdentical(names(range1), nms)
checkTrue(validObject(nms))
names(range1) <- NULL
checkTrue(validObject(nms))
checkIdentical(names(ra... |
db3a5c1cc5c67cfe7502db5a299e39bc9bdc6023 | f2a71819963dd21c9c7fdc6c1c30192229abe881 | /man/MxVersionType-class.Rd | f9092801dd40ae56a41a95fff0882d8164d61ed6 | [] | no_license | cran/OpenMx | 03f5f1fdd734899547c33e0bc93f8451b19083f9 | 28fb64add0857e35466f52f8cfa4dccf8920955d | refs/heads/master | 2023-04-13T18:01:28.853095 | 2023-04-05T19:43:20 | 2023-04-05T19:43:20 | 35,870,105 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 233 | rd | MxVersionType-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/0ClassUnion.R
\name{MxVersionType-class}
\alias{MxVersionType-class}
\title{A package_version or character}
\description{
A package_version or character
}
|
1f31a44b42151850b61bb99f60bcf2eea4772837 | 7dc7c5b7d6faa41e52788b1dd6f5b7316a845e24 | /DATRAS/man/indexSubset.Rd | 93fcf4ec7b0ef6d115999638eecccaba3c5af006 | [] | no_license | alko989/DATRAS | 7f969cc2295ede8b9d81e7f24aa1e0fe4518d5b3 | 26bd3f3d9c8460d2f82b3e73525c809973e8261d | refs/heads/master | 2021-08-28T03:48:00.471214 | 2020-11-03T15:05:47 | 2020-11-03T15:59:01 | 212,617,500 | 1 | 0 | null | 2019-10-03T15:45:54 | 2019-10-03T15:45:54 | null | UTF-8 | R | false | true | 755 | rd | indexSubset.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_datras.R
\name{[.DATRASraw}
\alias{[.DATRASraw}
\title{Sample unit subset.}
\usage{
\method{[}{DATRASraw}(x, i)
}
\arguments{
\item{x}{DATRASraw object}
\item{i}{Integer vector}
}
\value{
DATRASraw object
}
\description{
Sample unit sub... |
4807b73ee2c6a9f1e491ddad3fd0844e6f6ad376 | 0f2206cefc893004b5626511bbf2b32d89fb2c0b | /Analise/tokenizers.R | 983ca64ce22b00fec88eac591b7295d159ba89d1 | [
"MIT"
] | permissive | jnthmota/Analise_dados_R | ba9a0120f2150f08a14169d8de9de53bdacfe54c | 528e4546caf037e70339f04a102325ffdf980682 | refs/heads/main | 2023-05-10T07:54:11.205751 | 2021-06-16T04:53:41 | 2021-06-16T04:53:41 | 376,166,252 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 97 | r | tokenizers.R | library(tokenizers)
tokenize_words("recuperação recuperam alunos que precisam ser recuperados") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.