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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8c130a37e30802dc2d06b5bd369609cbdf61d0a3 | 8002fafcdfcce506ece983de89d8f0abbbd6f5bc | /man/BMMpriors.Rd | 097a707f381750e8aa052ac7a9227dfa33591d0a | [] | no_license | cran/bayesmix | a07c5752c71ee28ac3787136860edb325c1a8642 | a575c8b08acc5cb4c339e48932a93d15037f436b | refs/heads/master | 2023-06-21T21:09:56.036478 | 2023-04-12T12:50:02 | 2023-04-12T12:50:02 | 17,694,645 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,468 | rd | BMMpriors.Rd | \name{BMMpriors}
\alias{BMMpriors}
\title{Create a 'BMMpriors' object}
\description{This function enables a comfortable creation of
\code{BMMpriors} objects, which can be used for specifying the priors
of a \code{BMMmodel}.
}
\usage{
BMMpriors(specification, y, eps = 10^-16)
}
\arguments{
\item{specification}{na... |
dac4f3fdeba6ec2cf2d2e3324d2d019d340b288a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/locfit/examples/lscv.exact.Rd.R | f51a5623ee495dd53b3912cc9d7e637bd830c696 | [] | 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 | 265 | r | lscv.exact.Rd.R | library(locfit)
### Name: lscv.exact
### Title: Exact LSCV Calculation
### Aliases: lscv.exact
### Keywords: htest
### ** Examples
data(geyser, package="locfit")
lscv.exact(lp(geyser,h=0.25))
# equivalent form using lscv
lscv(lp(geyser, h=0.25), exact=TRUE)
|
630591f028d2cc5cdd0ca53be2cc276d909ae8cb | 3e2dda52abb7af3fa346f700a821cf0a45fd4d4f | /Lumbar2.R | 39f3b62a13cfa172defbc39c67d6da42720b9d78 | [] | no_license | AnhKhoaVo/LumbarDiscHerniation | 671d0860c91312aa0bacfd5a7d155839a5d39218 | 2aad140fa00e4324330aa376ed205eb5a5f42e10 | refs/heads/master | 2023-07-11T04:13:37.476544 | 2021-08-15T02:16:14 | 2021-08-15T02:16:14 | 276,206,176 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,253 | r | Lumbar2.R | plot(ctree(Postop_grade_paresis_3m~Preop_grading_paresis+Myotoma+Duration_paresis+Duration_initial+Age+Levels, data=subset(lumbar_disc_herniation, !is.na(Postop_grade_paresis_3m))))
plot(ctree(Postop_muscle_strength_3m~Preop_muscle_strength+Duration_initial+Myotoma+Duration_paresis+Age+Levels, data=subset(lumbar_disc_... |
ea42ab876b1c73a4a589077b2c125df0a3337bda | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Faber-Leone-Maratea-Ricca/Strategic_Companies/x165.0/x165.0.R | bd84812fe97ea991228a8f77b64f85df2db927db | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 672 | r | x165.0.R | c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Input Clause Count: 15429
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 15429
c
c Input Parameter (command line, file):
c input filename QBFLIB/Faber-Leone-Maratea-Ricca/Strategic_Companies/x165.0.q... |
52fe0edbadf9237761306e29a6c15a4f908ecf75 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/CARLIT/examples/Community_data.Rd.R | 4bc542a66bb50f2328689eb3eb3a72bd7e14f9da | [] | 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 | 225 | r | Community_data.Rd.R | library(CARLIT)
### Name: Community_data
### Title: Example Data Set for the Function carlit().
### Aliases: Community_data
### Keywords: datasets CARLIT carlit
### ** Examples
data(Community_data)
str(Community_data)
|
842fad0be12d8d3deab83c748dfc4fb62fe174d3 | eaf9c4aa37543dda596832f4e20a2da8c327392b | /ptgbtwn.R | cd649f5d1f1b0f04cb6655af824c600c2d3ecd2d | [] | no_license | AceFire6/ashci_analysis | 97ba8417c676b8c953e3b8d4b3131727783ce880 | 1c0aaaa29d11c8169755feedc37eb2f8f8e7008d | refs/heads/master | 2021-01-19T02:19:06.807733 | 2016-08-14T17:04:33 | 2016-08-14T17:04:33 | 65,676,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,982 | r | ptgbtwn.R | data = read.csv("ptgbtwn.csv")
View(data)
data$Subject = factor(data$Subject)
summary(data)
library(plyr)
ddply(data, ~ Device * Cursor, function(d) summary(d$Errors))
ddply(data, ~ Device * Cursor, summarize, Errors.mean=mean(Errors), Errors.sd=sd(Errors))
boxplot(Errors ~ Cursor * Device, data=data, ylab="Errors"... |
d7c79c111d72985e38b117a19cfe50068467bd78 | b93485a8888c11b43df2c974dfc695fee7109f75 | /plot3.R | 90c15a20b24ff70ec38b067e971f7ddc62c2e55d | [] | no_license | Ecofred/ExData_Plotting1 | 545489ba4f7daede718ccb998ccf75f1723ed571 | 059d48504cb4280924597248c9bc3136a4477527 | refs/heads/master | 2020-04-14T12:48:06.897960 | 2019-01-02T21:50:41 | 2019-01-02T21:50:41 | 163,851,053 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 687 | r | plot3.R | # TITLE: plot3
# avoid time consuming process if object is loaded
if(!exists('house_power')) {source('household_power_import.R')}
png(filename = 'plot3.png', width = 480, height = 480)
# names(house_power)
with(house_power,
{
# 'none' plot
plot(datetime, Sub_metering_1,
type = 'n',
... |
5f8e8988440229cf6fbd7f13d709bf5e82603ce2 | a22be77ec187759412eb82debf250adb038e7939 | /R HW/Stat HM1 MES5AC.R | 81b855d93dc005582e1ba6a2212680c7b32997dd | [] | no_license | meganstiles/Stat_6021 | 47ce8d0fac3414025d3ca8560ee8880ef395dd85 | 79b45e8fe7b6dc37a96f1fd04c8922861f5e4b61 | refs/heads/master | 2021-01-11T15:09:10.465593 | 2017-01-28T18:14:57 | 2017-01-28T18:14:57 | 80,301,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,061 | r | Stat HM1 MES5AC.R | #Megan Stiles MES5AC
library(MPV)
#Question 2.1
data(table.b1)
attach(table.b1)
#Part A
nfl.lm<- lm(y~x8, data= table.b1)
nfl.lm #B1 =-0.007025, B0 = 21.788251
#Part B
anova(nfl.lm) #p-value = 7.381e-06, because the p-value is < 0.05, we reject Ho because there is significant regression
#Analysis of Variance Tabl... |
58cf50d2221343bbb6013bc2340a5e9816f8dc6c | c1de86148c60c665bc59475a279df6a07651773c | /scripts/regressions/Reg_3_script.R | d1087b2ae091f81fe7049d619cf0fb773e122c2f | [] | no_license | jakewalker56/ml-lab | ebbbabb1c7b50341cd9bf6154b2d42d6d3898336 | a7c4839991bd6d95941216589482672093bed446 | refs/heads/master | 2020-05-21T22:43:00.190371 | 2017-02-11T10:34:02 | 2017-02-11T10:34:02 | 47,048,259 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,902 | r | Reg_3_script.R | setwd("~/Dropbox/Booth/Fall 2013/Regression/Data")
#1.1.i
news = read.csv("newspaper.csv")
plot(news$daily, news$Sunday,pch=20)
#1.1.ii
plot(news$daily, news$Sunday, pch=20)
news_lm = lm(Sunday ~ daily, news)
abline(news_lm, col="red")
confint(news_lm)
legend("topleft", "y = 1.2767*x + 76.01", fill = 2)
#TODO: figure ... |
6e54e784dcc546b50c7794f0c0c44fb701559b6d | 45d84d3fcb3bda679bbab5b153fdff66c9565930 | /R/heatmap.R | 34085f819e4e35cb802c984481d4442b872a3a02 | [] | no_license | jamebluntcc/myRtools | 14e3ad3dba1405389be3e786d77e53f036b13d85 | 2fae680d1d6fe8ad512bfd50f4fdc8f4f0c5b81d | refs/heads/master | 2020-12-02T19:50:16.728643 | 2017-07-11T08:46:22 | 2017-07-11T08:46:22 | 96,397,179 | 2 | 0 | null | 2017-07-11T02:43:59 | 2017-07-06T06:40:20 | R | UTF-8 | R | false | false | 7,674 | r | heatmap.R | #' Creates a heatmap plot fork by raivokolde/pheatmap wrap and make it more simple
#'
#' The function also allows to aggregate the rows using kmeans clustering. This is
#' advisable if number of rows is so big that R cannot handle their hierarchical
#'
#' @param data numeric matrix of the values to be plotted.
#' @para... |
91e66e88192ee247b1cefd83ac5f75b9ed3e5cb9 | 82f144c9d095217772f8bac0722c4012652fa14f | /man/ttest1.Rd | 1a4dc1333f245911ff9f32db17cff6175be3f18e | [] | no_license | RfastOfficial/Rfast | 41cb1a922c3fc77b8045e5e00a031e012374c261 | 11cc9fc68b679eccfd6d0453c7f267e7f163cf41 | refs/heads/master | 2023-09-01T08:32:01.112957 | 2023-07-03T13:44:28 | 2023-07-03T13:44:28 | 213,182,742 | 107 | 15 | null | 2023-07-03T13:44:30 | 2019-10-06T14:25:53 | C++ | UTF-8 | R | false | false | 1,212 | rd | ttest1.Rd | \name{One sample t-test for a vector}
\alias{ttest1}
\title{
One sample t-test for a vector
}
\description{
One sample t-test for a vector.
}
\usage{
ttest1(x, m, alternative = "unequal", logged = FALSE, conf = NULL)
}
\arguments{
\item{x}{
A numerical vector with the data.
}
\item{m}{
The mean value under the null... |
008ff317b919535e74ee98ac21b44095f810c72c | a722dfeef06ecf4e3a3820039eb1a1942c29b546 | /src/01_process_data.R | 76fbff39d20d13e5166917cf2988ef5b55f209cb | [] | no_license | narenschandran/cytopred | 5e5fcb6e2abe4c432c3d8afeda17df0a0dba277f | 617666e0638733f52c08861b89dac36a86004775 | refs/heads/master | 2020-03-25T15:42:55.750421 | 2018-11-03T12:44:55 | 2018-11-03T12:44:55 | 143,897,992 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 952 | r | 01_process_data.R | # Ensuring that nothing else is loaded
rm(list=ls())
gc()
# Loading basic data
source("./setup_scripts/base_paths.R")
source("./setup_scripts/prognosis.R")
clear_temp_data <- function(bdata) {
env_dat <- ls(envir=globalenv())
clear_dat... |
287a52069fbd32471710263263e647dced7f56d5 | e978ec2ee5db0ec11acfde6a317098b1768c0dbe | /loading-data/lsoa-flow.R | 563c8f68eda34263d2069401d919acfa9aada25e | [
"MIT"
] | permissive | Robinlovelace/pct | 192d664fedb91bb73dcd6d728a00cca2eefa3643 | c411c09ac3cbd095791f316642593ccb9e345a3c | refs/heads/master | 2021-01-15T22:28:39.830046 | 2015-11-18T15:14:39 | 2015-11-18T15:14:39 | 29,705,312 | 11 | 7 | null | 2015-08-26T07:50:39 | 2015-01-22T23:12:34 | TeX | UTF-8 | R | false | false | 807 | r | lsoa-flow.R | source("set-up.R")
dsource <- "F:/flow-data/WM12EW[CT0489]_lsoa.zip"
unzip(zipfile = dsource, exdir = tempdir())
list.files(tempdir())
flow <- read_csv(file.path(tempdir(), "WM12EW[CT0489]_lsoa.csv"))
object.size(flow) / 1000000000 # 8 gb of data!!!
# reduce to top n flows
flo <- top_n(flow, n = 10000, wt = flow$Al... |
d3534de99fbd1aa1c34695e059b01a7089cf1d13 | 5567e79bdc5f5ae037fe310849e60f6b681e3092 | /man/util_POSIXTimeToDate.Rd | a96fb0af68ba3b928d12c8c73ae0abcc33514463 | [] | no_license | IanMadlenya/PortfolioEffectHFT | baf63cd36761d50ccbb74fdb1e7937054aadb355 | 4bf854cc3858a822bf75fa1c03ffe00aa47165d5 | refs/heads/master | 2020-12-30T15:55:13.066226 | 2017-03-24T18:54:25 | 2017-03-24T18:54:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 960 | rd | util_POSIXTimeToDate.Rd | \name{util_POSIXTimeToDate}
\alias{util_POSIXTimeToDate}
\title{POSIX Time To Date}
\usage{util_POSIXTimeToDate(time)
}
\arguments{
\item{time}{One dimensional vector of milliseconds since the beginning of epoch.}
}
\value{One dimensional vector of time values in "yyyy-MM-dd hh:mm:ss" string format.
}
\de... |
aa8508b3353332e8d061983405a417107bccb2c4 | 45a3d4bf1aaceab207cdef4dd50d36d965bae686 | /tiempos.R | 727e3fb29cbf701a4113c06bb2275d27883c707b | [] | no_license | espinosabouvy/DesviacionesCriticas | 6c67bc6de1b0d9dec2e48c0f09f0b30a4a90e2da | f485c9339f32b448970c121ec694f238045d7b8a | refs/heads/master | 2021-01-19T10:45:47.181140 | 2017-04-04T00:32:25 | 2017-04-04T00:32:25 | 82,220,714 | 1 | 0 | null | 2017-04-04T00:32:25 | 2017-02-16T19:59:54 | R | UTF-8 | R | false | false | 3,230 | r | tiempos.R |
#limpia el archivo que sale del sistema, se hace tabla dinamica presenta 4 columnas
#DEPTO, NLISTA, VCESTIL, FUNCION, TIEMPO, PARES, FAMILIA
#DEBE REALIZAR (DEJAR ESTILO, TIEMPOS PARA CADA FUNCION (AGRUPANDO PESP-PREL))
preparar <- function(agrupar = FALSE){
require(tidyr)
require(dplyr)
tiempos.... |
517c763af693a8f3f36db920eb8af79600b5bfb5 | 0c6668ba6be520469d2b35fcd5f975e5bc559225 | /r/compare_regions.R | 05f1990455dc45d40e886191c5b68c30d4873cbf | [
"MIT"
] | permissive | Alerovere/WALIS_Visualization | a962e437cee6c0a5c11c6db19cac87c6005da457 | 4d1b221a729c12c76fa2639690ebbbbb09f78742 | refs/heads/main | 2023-06-25T18:44:04.140200 | 2023-06-06T23:40:52 | 2023-06-06T23:40:52 | 329,045,377 | 4 | 1 | MIT | 2023-06-06T23:40:53 | 2021-01-12T16:26:34 | R | UTF-8 | R | false | false | 1,036 | r | compare_regions.R | extract_slip_region <- function(area_sli, sl_stack = c(),n_sampling=10000){
## 1. Define Sea level peaks
sl_peaks = c()
if (length(sl_stack)>0){
sl_peaks <- define_peaks_ranges(sl_stack)
}
## 2. Sample Sea level indicators
if(nrow(area_sli)>0){
# Age
pboptions(type = "timer")
system.t... |
e8922083a98a9938e6ee38b903faff538a2c10d7 | a9e199b32183546673d485ac5422510bb3504cb3 | /Week8/Week8Exercises.R | aab9ba869af2b4c30436b26d5c69969aa35555ff | [] | no_license | ali-fairbrass/IRDR04_Tutorials | 0f9cc1347bc060679bc48cb909d8a2c7289486c8 | 8c49f55961942ff71f725f0b14e9baa6ca9634d5 | refs/heads/master | 2020-04-02T00:16:27.599673 | 2018-12-20T16:55:13 | 2018-12-20T16:55:13 | 153,796,843 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,170 | r | Week8Exercises.R | # IRDR04 Research Tools Module
# Week 8 Tutorial
# 27/11/18 9-11am @ Birkbeck, Malet Street 414/415 Public Cluster
# Tutor: Dr Alison Fairbrass, UCL Centre for Biodiversity & Environment Research, alison.fairbrass@gmail.com
# # # Exercises # # #
# Exercise 1
# Create a high quality plot using the datafile: Nelson... |
93a393a479754a5595beaa1d8ba236bb77f32409 | 15d741907d15d3b816599b09d320520fbf97daa5 | /exercises/week-3-exercises-unit-tests.R | b971b9ea910c62564689c620462de6b7db86b0e1 | [] | no_license | bcbeidel/clean-code-fundamentals | 53769a86417c7ecc6a8a64ee054edf6ba68467fa | 613613c6414cff0cc5da865077de31e2e573b95c | refs/heads/main | 2021-07-01T14:53:00.748933 | 2020-09-22T02:43:23 | 2020-09-22T02:43:23 | 170,702,481 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,479 | r | week-3-exercises-unit-tests.R | #' Week 3 | Unit Testing | Exercise
#' -----------------------------------------------------------------------------
#' Unit testing is a tool that can help provide additional assurance that code
#' is functioning as expected. `testthat` is a powerful automated testing tool
#' in R that helps ensure that your small, ... |
28705f1d09a102556ce57bc31d355ddd4fbb740c | 50e3b8b917eca040eafa4b6d61221a753c0f1b9a | /R/validate_domain.R | 0987a5fc7690540d324f3734bfe3af5b3e4de082 | [
"MIT"
] | permissive | ryan-hall/tidysocrata | 453a639bf466e5771fe5c73f7e5aa36ba375acb8 | b5a91a18a872ee60b622ef1d0e6b8b96b2caa41d | refs/heads/master | 2023-07-19T08:08:07.731815 | 2021-08-12T22:27:16 | 2021-08-12T22:27:16 | 404,506,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 793 | r | validate_domain.R | #' Validates the format of a provided Socrata domain
#'
#' @param domain A Socrata hostname.
#'
#' @return A Socrata hostname.
#' @export
#'
validate_domain <- function(domain) {
domain <- casefold(domain)
domain_parse <- httr::parse_url(domain)
if(!is.null(domain_parse$hostname)) {
domain_valid <- domain_p... |
f89902ff53bfe884c4d0a7f4e44ca9fddca8bc64 | 54d9c57ffc500687351595d62ef73748f75e0aae | /pca-iris.R | 1e6d91aad778a5b297483f201c2083456e1de608 | [] | no_license | shionguha/scripts | ddfb0c5290e331492925029c4428de11639ec67c | a37640fb1ad53ff7a273433e7f54ff857bb0dcdf | refs/heads/master | 2022-11-14T16:07:11.049358 | 2020-07-08T18:49:40 | 2020-07-08T18:49:40 | 8,860,971 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,537 | r | pca-iris.R | #this script will use Fisher's iris dataset to perform Principal Components analysis and its diagnostics
#loading the data
data(iris)
#inspecting the data
str(iris); summary(iris[1:4])
pairs(iris[1:4],main="Iris Data", pch=19, col=as.numeric(iris$Species)+1)
mtext("Type of iris species: red-> setosa; green-> versicol... |
0866f4730c68ad1cc9120dce5ca8614497bb0381 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gamlss.dist/examples/PARETO2.Rd.R | ca50803bd027a04ccd7040b0df2791be488a6fe4 | [] | 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 | 572 | r | PARETO2.Rd.R | library(gamlss.dist)
### Name: PARETO2
### Title: Pareto Type 2 distribution for fitting a GAMLSS
### Aliases: PARETO2 dPARETO2 pPARETO2 qPARETO2 rPARETO2 PARETO2o dPARETO2o
### pPARETO2o qPARETO2o rPARETO2o
### Keywords: distribution regression
### ** Examples
par(mfrow=c(2,2))
y<-seq(0.2,20,0.2)
plot(y, dPARETO... |
7a80ab2d0afe86bc1e43db0ca9e6bb2e7a43d041 | 37e0c547fc64f1d18e698d041e2f37e6bd240018 | /dimerSearch/dimerSearch.R | 6593001d0a350ddd2fd55295c5616d225d286612 | [] | no_license | metabdel/genomescale_scripts | bbd947e876f0267299fd93ef53ab51974bf94b5d | cd2e6ce87020dffeee74580620566c884fe70b1b | refs/heads/master | 2022-12-01T01:47:54.717618 | 2020-08-20T23:14:57 | 2020-08-20T23:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,039 | r | dimerSearch.R | library(RUnit)
library(gplots) # for heatmap.2
library(PSICQUIC)
library(trenaSGM) # if you want to use allKnownTFs()
#------------------------------------------------------------------------------------------------------------------------
if(!exists("psicquic")){
psicquic <- PSICQUIC(test=FALSE)
providers <- ... |
17f3bbf9dc06508a5c47680f9a5841f77fbf5c52 | d8f5550dbbe4696c170d391e09d00738714c5dd0 | /man/plotMutTypeProfile.Rd | b4017358c403e7bcab4990fcdd726e2db3e73e1a | [] | no_license | dami82/mutSignatures | 19e044eb99ee8c65c4123c131fa978bd5bd9d93c | ad406018266f80a3048ae6219bf6c09cf6f69134 | refs/heads/master | 2023-01-24T00:39:46.026623 | 2023-01-18T21:22:55 | 2023-01-18T21:22:55 | 123,127,851 | 12 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,142 | rd | plotMutTypeProfile.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/s03_all_functions.R
\name{plotMutTypeProfile}
\alias{plotMutTypeProfile}
\title{Plot Mutation Signature Profiles.}
\usage{
plotMutTypeProfile(
mutCounts,
mutLabs,
freq = TRUE,
ylim = "auto",
ylab = "Fraction of Variants",
xlab = "... |
4ed17566d8229d0751d5c7f2445aa3f3eb94d2f4 | 962daa964ca92b1a363c3363abb05e6d2c2708af | /man/extractSig.Rd | 71cd83d5a923f9176637ecd8cdb5e79b375e70c9 | [] | no_license | anishaluthra/tempoSig | 5e36fde49630e40067a27495355c9a90b639ede0 | edec6ffecc6c51c113f8a490beeb15ff225528ad | refs/heads/master | 2023-01-23T01:01:03.050728 | 2020-12-08T20:57:18 | 2020-12-08T20:57:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,514 | rd | extractSig.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract.R
\name{extractSig}
\alias{extractSig}
\title{Infer Signature Proportions}
\usage{
extractSig(
object,
method = "mle",
itmax = 1000,
tol = 1e-04,
min.tmb = 2,
compute.pval = FALSE,
nperm = 1000,
progress.bar = FALSE,
... |
720651b2aea7dbac33363c9f5bc060e85ca78bba | f21c8b03b3c4d882fd7709b9aaec5cb347bf7e0e | /man/som_mep.Rd | 735161a5fdf523082eab0a9f84de012ec956a4a9 | [] | no_license | mschmidt000/oposSOM.PT | a2e67e7da2cb70887d884c65020ba8a46787167a | e1c49dc2c849eb46dba4c7389adb21ea43508938 | refs/heads/main | 2022-12-27T13:30:21.171303 | 2020-10-05T11:15:01 | 2020-10-05T11:15:01 | 301,334,606 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 751 | rd | som_mep.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/som_mep.R
\name{som_mep}
\alias{som_mep}
\title{SOM Maximum Expression Path (MEP) Function}
\usage{
som_mep(env, root = c(), tips = c(), lineages = c())
}
\arguments{
\item{env}{An enviroment produced by the oposSOM pipeline.}
\item{root}{A ... |
c9a4c2625e3a32588f35a6624bb2e76b649fe0bd | d060ea9e03f24f924256e4fbc3bc7905f13952c8 | /R语言代码包/ch3 数据预处理.R | 3b4c445c0c61b7617d0907113cb941c5d3a198da | [] | no_license | DongaiLiu/data-analysis-r-in-action | c8d269fb31279e0c5f6ba36e63c97a5fd30eaae8 | 5158177ce35ca25ce714e1e482d10d0b78a97788 | refs/heads/master | 2020-03-21T09:39:03.246811 | 2017-09-11T08:21:35 | 2017-09-11T08:21:35 | null | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 3,549 | r | ch3 数据预处理.R | #3.1
data=read.table("d:/data/salary.txt",header=T)
attach(data)
mean(Salary) #求均值
length(Salary) #数据长度(个数)
cumsum(Salary) #累积工资
salary1=cut(Salary,3,labels=c("low","medium","high"))
table(salary1)
salary1=cut(Salary,3,labels=c("low","medium","high")) #给每个区间设置标签
table(salary1)
breakpoints=c(0,30,40,50,60,70)
sala... |
44be7b0d1276662af3cc7f5621ddc67277b80ed7 | 6d1d6b350d87abe868b00b4061751457cf3f61cd | /tests/testthat.R | 8a146a86436dc11f41beb2b6755e836f427ab06c | [
"MIT"
] | permissive | JimMeister/capstoneJH | a8745b4a3f39d8fecbceb89c3b0e578b5bc1f337 | 821ddefb2ee1042f3f78d947fba98b403c96293a | refs/heads/master | 2022-12-07T11:54:25.796808 | 2020-09-02T09:16:14 | 2020-09-02T09:16:14 | 108,685,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 64 | r | testthat.R | library(testthat)
library(capstoneJH)
test_check("capstoneJH")
|
53c1bbdccb96e172e2e4a38f74586cd60cba1490 | cb4faa50b08a0b1782e3ae847b7a92be82b1e86e | /plot1.R | 93f0f52e904e5104402230cb3d20c98f1e65e6f7 | [] | no_license | dacherta/ExData_Plotting1 | 1f17b8f596950e7beba212c488c4b068668aceed | eb3a66ee4aff2d08914eb3435ceb8efb6ba4ecf4 | refs/heads/master | 2021-08-23T02:42:12.785977 | 2017-12-02T16:37:53 | 2017-12-02T16:37:53 | 112,854,470 | 0 | 0 | null | 2017-12-02T15:45:33 | 2017-12-02T15:45:33 | null | UTF-8 | R | false | false | 994 | r | plot1.R | # Read data:
data <- read.table("household_power_consumption.txt", header = TRUE, sep = ";", na.strings = "?", stringsAsFactors = FALSE)
dim(data) # 2075259 9, Ok
str(data)
# Only "2007-02-01" and "2007-02-02":
data <- subset(data, Date %in% c("1/2/2007", "2/2/2007"))
dim(data) # 2880 9, Ok: 24h * 60min * 2days
#... |
d3b9afacf7d04d3730eef10594d4aca8373c80e8 | 27f53c5a9aa2d0962b5cd74efd373d5e9d9e0a99 | /R/tuneThreshold.R | 8fa9f371142e577203a72cec33cd00c677f62f2d | [] | no_license | dickoa/mlr | aaa2c27e20ae9fd95a0b63fc5215ee373fa88420 | 4e3db7eb3f60c15ce2dfa43098abc0ed84767b2d | refs/heads/master | 2020-12-24T13:44:59.269011 | 2015-04-18T19:57:42 | 2015-04-18T19:57:42 | 31,710,800 | 2 | 0 | null | 2015-04-18T19:57:43 | 2015-03-05T11:29:18 | R | UTF-8 | R | false | false | 2,339 | r | tuneThreshold.R | #' @title Tune prediction threshold.
#'
#' @description
#' Optimizes the threshold of prediction based on probabilities.
#' Uses \code{\link[BBmisc]{optimizeSubInts}} for 2class problems and \code{\link[cmaes]{cma_es}}
#' for multiclass problems.
#'
#' @template arg_pred
#' @param measure [\code{\link{Measure}}]\cr
#' ... |
f52d2c1dd30cc668983010018b6ce4a0790bf72c | 0e2ce546312ee44206bc05d0863b30503a5dbaa6 | /FindIncompleteRowsHW4P10.R | 5f824eb8e49da488a42e632ef1b151a91a6385e5 | [] | no_license | BethCH/es207hw7 | 4ffc5c052ed8c6a8452781c6a08c5c87f96edfe5 | a6057d2e17bd500228a5f5c81a58960a7e6f9a2d | refs/heads/master | 2020-04-28T19:33:50.002370 | 2019-03-20T00:12:09 | 2019-03-20T00:12:09 | 175,515,333 | 1 | 1 | null | 2019-03-20T18:31:58 | 2019-03-13T23:40:05 | HTML | UTF-8 | R | false | false | 623 | r | FindIncompleteRowsHW4P10.R | # Elizabeth Clifton Holcomb
# March 13, 2019
# ES 207
# HW9 P10
# Find addresses that are incomplete
# Find street address rows that don't start with a number
# Find zip codes that have less than 5 rows
LocAddress <- length(loc$Address) - sum(str_detect(loc$Address, "^\\d") & str_detect(loc$`Zip Code`,"\\d{5}"), na.... |
63d52c351e27c6e2aa58dc27062fa4196c85369d | 8baa46a398bd5860333ced1e245535fbe2d1762c | /man/mode_cell.rd | ce85be44b8b9aec62328439715990a800b19ecd8 | [] | no_license | cran/etable | e5942a73d0f470ee23879f3dbd5317df85f9b79a | 2edff06431e86cc6f325be6d01198dde1ded708a | refs/heads/master | 2021-06-10T06:21:43.922726 | 2021-05-22T15:50:02 | 2021-05-22T15:50:02 | 17,695,860 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,275 | rd | mode_cell.rd | \name{mode_cell}
\alias{mode_cell}
\title{
Mode cell function
}
\description{
Shows the most frequent value (mode)
}
\usage{
mode_cell(x, y, z, w, cell_ids, row_ids, col_ids, vnames, vars, n_min,
digits=3)
}
\arguments{
\item{x}{
The x variable
}
\item{y}{
NOT USED
}
\item{z}{
NOT U... |
d4a1afabc5c1d507df15305eb888ab5cc4a5a6e3 | 7e4251b7631ab116a179ae72251425f798fbf8b5 | /scripts/3_visualize/Explore_seasonality.R | ca093989e9cb9c2524603da1f36d7aeb2f39da85 | [] | no_license | srcorsi-USGS/MMSDOptical | d9ec095dba8d65d46a15af3a8ea9ea92b7f50cd8 | 447456369a2018c105d19b2747a78bf8c9d5f489 | refs/heads/master | 2021-05-23T05:21:33.414676 | 2019-05-22T22:15:17 | 2019-05-22T22:15:17 | 95,141,444 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,248 | r | Explore_seasonality.R | #Explore seasonality of optical signals and bacteria
library(smwrBase)
library(dataRetrieval)
#set data directories
raw.path <- "raw_data"
cached.path <- "cached_data"
summary.path <- "SummaryVariables"
summary.save <- "1_SummaryVariables"
cached.save <- "0_munge"
df <- readRDS(file.path(cached.path,summary.save,"df... |
41c77d9278a1fff3206806a06421e00b32c6bbb0 | c55d7812cfc02b401397f3ef4acbb4269ef18284 | /10x-pilot_region-specific_Amyg_step04_correl-mm-MeA.R | b4800e0af1e35178b27d79feb1f437993f298775 | [] | no_license | BertoLabMUSC/10xPilot_snRNAseq-human | af8836a0d1019260c691dafef692a24885c7f93b | 4da6e15b7d9a4507c0997e375d6984bbaecb8995 | refs/heads/master | 2022-12-28T03:19:08.700352 | 2020-10-08T22:38:26 | 2020-10-08T22:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 39,708 | r | 10x-pilot_region-specific_Amyg_step04_correl-mm-MeA.R | ### MNT 10x snRNA-seq workflow: step 04 - downstream comparisons
### **Region-specific analyses**
### - (3x) NAc samples from: Br5161 & Br5212 & Br5287
### * Comparison to UCLA's Drop-seq on mouse medial amyg (MeA)
#####################################################################
library(SingleCellExperime... |
e6a1561d542e5d40b0f289e603a7fe723daa148a | 63b6a7e1890c956ba6082c65ed035e478aaec0f1 | /Item_item _based_CF.R | 81f47c2a77a3745487da06cbbe893d239fdac073 | [] | no_license | abhiraj24/RecommendationSystem | 20c56493915b8b24816ec29f4cd2cbcebfbac22b | 54374f92edda55cf93a5c264b355020a4e38bf07 | refs/heads/master | 2022-04-15T09:27:59.674159 | 2020-04-12T20:40:12 | 2020-04-12T20:40:12 | 255,165,820 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,307 | r | Item_item _based_CF.R | setwd("C:/Users/User/Desktop/product_recommendation_engine")
library(data.table)
library(dplyr)
library(reshape2)
#Loading the datasets
prod_mast<-fread("ProductMasterNovDec18.csv")
trans_data<-fread("TransactionDataNov18Dec18.csv")
nei_lo<-fread("NeighborLoyaltyCardData.csv")
nei_seg<-fread("NeighborSegmentJan... |
37ab418cfc1010ca08a95bf6e0132bfbfcdbae33 | 9daa542b71edc3f698fd7cc2ab6f1d7a1c48d7f2 | /blc_export/postprocessing.R | f8340821d5a7d1444d890651b7e4684365d1d1d6 | [] | no_license | patrickrd/SMLM | 74b5d745633f2a4574d8e247d8dccee6824a658f | 1bdc80b5e327787593b6e7117c963218309b67ab | refs/heads/master | 2020-06-11T13:17:44.409661 | 2016-12-05T19:00:38 | 2016-12-05T19:00:38 | 75,655,578 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,350 | r | postprocessing.R | source("internal.R")
foldernames=c("ROIs")
sapply(foldernames, function(expname){
nexpname=expname
r = readLines(con=file.path(paste(nexpname, "/config.txt", sep="")))
get <- function(type){i = grep(type,r); strsplit(r[i], "=")[[1]][2]}
as.v <- function(ch){as.numeric(strsplit(ch,",")[[1]])}
if (le... |
4b57965b8db58606b12d2d84d71e7bec0efaf263 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.networking/man/apigateway_get_gateway_responses.Rd | c3ea6e0a590f7c3e600be4490570654f91ec6b31 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 1,961 | rd | apigateway_get_gateway_responses.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apigateway_operations.R
\name{apigateway_get_gateway_responses}
\alias{apigateway_get_gateway_responses}
\title{Gets the GatewayResponses collection on the given RestApi}
\usage{
apigateway_get_gateway_responses(restApiId, position, limit)
}
... |
3941dd4ac9d6d47bc00544711b4306d50d1b8b20 | e03daf38d0e6b8755a28b321bd3f9102c47a409e | /man/kmerFit.Rd | 1973e36043e25ca5d5caa72644484c59664c3a3d | [
"MIT"
] | permissive | pkimes/upbm | 9709b857c5bb9e5b468785d567728094a30eccba | 019977afd48c75534e5ce5e87e9d2fcfe46da53e | refs/heads/master | 2021-03-22T03:02:25.365308 | 2020-10-16T15:23:24 | 2020-10-16T15:23:24 | 118,683,405 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,162 | rd | kmerFit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kmerFit.R
\name{kmerFit}
\alias{kmerFit}
\title{Fit k-mer probe set models}
\usage{
kmerFit(
pe,
kmers = uniqueKmers(8L),
positionbias = TRUE,
method = c("dl2", "dl"),
contrasts = TRUE,
baseline = NULL,
outlier_cutoff = stats::q... |
e6ba49e288c07d58372b91fb69b174d8b64d7185 | 7d31f360f1ece69b09a4b51e3986ac44025efc7c | /package/clinUtils/man/dataSDTMCDISCP01.Rd | 8c72cf3e9f4b2ededcaaf49e5b38cbc46548ef7f | [] | no_license | Lion666/clinUtils | a0500a773225ffafc29b7d7f7bcc722dd416743c | dc6118f32d311657d410bdeba02f3720f01d62df | refs/heads/master | 2023-08-12T08:48:42.923950 | 2021-09-21T14:56:18 | 2021-09-21T16:14:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,229 | rd | dataSDTMCDISCP01.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{dataSDTMCDISCP01}
\alias{dataSDTMCDISCP01}
\title{Example of SDTM datasets from the CDISC original Pilot 01 study}
\format{
List of data.frames containing the SDTM
dataset for each selected domain.\cr
Labels for th... |
d09f1ef96f01a03281f9d2b3875d3c82e8c90f86 | 43d1ad2ef32ead801ce22ad12dfad8788a2fb1db | /Normality test.R | 9a9c7fc549ac0096884ddeb59caf06acf69f2cd9 | [] | no_license | SinghAbhi3/Myfiles | ecf0c902f4f6bda97000c6e97712da22fb6c0459 | a321b69831b62e66ddd99f5b2c2da02f486e03bc | refs/heads/master | 2022-12-08T17:25:03.933963 | 2020-09-08T16:52:57 | 2020-09-08T16:52:57 | 256,956,643 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 470 | r | Normality test.R | getwd()
cars1 <- read.csv("Cars.csv")
cars1
View(cars1)
MPGcars1 <- cars1$MPG
MPGcars1
shapiro.test(MPGcars1)
# Since p-value is greater than 0.05, we can assume the normality
waistat <- read.csv("wc-at.csv")
waistat
waist <- waistat$Waist
waist
shapiro.test(waist)
# Since p-value is less than 0.05, dat... |
45ad0a8c336c4682a834885c0497cb4689c83d19 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /An_Introduction_To_Statistical_Methods_And_Data_Analysis_by_R_Lyman_Ott_And_Michael_Longnecker/CH14/EX14.10/Ex14_10.r | 5b2731bdf09e1211be7539f1027d6c886c915544 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 174 | r | Ex14_10.r |
my_data <- read.table(file.choose(), header=T)
attach(my_data)
str(my_data)
model1 <- aov(Time ~Emergency+Display+Emergency:Display, data = my_data)
summary(model1)
|
ee493dbcbe9e1cb79a488c63ea03d8dcb7d5c2b5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/iNextPD/examples/ggiNEXT.Rd.R | 64c7ca1e3682033a0e594b48c8359c154383ea27 | [] | 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 | 1,021 | r | ggiNEXT.Rd.R | library(iNextPD)
### Name: ggiNEXT
### Title: ggplot2 extension for an iNextPD object
### Aliases: ggiNEXT ggiNEXT.default ggiNEXT.iNextPD
### ** Examples
# single-assemblage abundance data
data(bird)
bird.phy <- ade4::newick2phylog(bird$tre)
bird.lab <- rownames(bird$abun)
out1 <- iNextPD(bird$abun$North.site, bir... |
3b42979140db3994dc02a53d0993b0ac943c7665 | d2faae85589717f37402338fe40f5990530edb28 | /tidyr_package.R | 119f98bc34580d31778dfa6ed9d9b60519c96db2 | [] | no_license | charan2000/Intro-to-R | 50a2f235d59f947eb8afbd99f0ed04d414c6a530 | 18de662af524384ed9dc1682243b9b107effa146 | refs/heads/main | 2023-04-02T18:16:42.510756 | 2021-04-06T17:29:38 | 2021-04-06T17:29:38 | 328,731,529 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 536 | r | tidyr_package.R | library(tidyr)
bill_data <- read.csv(file.choose())
bill_data1 <- bill_data
str(bill_data1)
bill_data$Date <- as.Date(bill_data$Date,format="%d-%m-%y")
View(bill_data1)
str(bill_data)
#Gather
gather <- gather(bill_data,Bill_type,Bill_amount,gasbill:waterbill)
View(gather)
#Spread
unpivot <- spread(... |
ab89d19580944170d055531c8fbe74b29f98cb2b | 31362fdab2193f92b64f9a82b0fe1ca732fcf6df | /ComparatorSelectionExplorer/R/dataModel.R | 150e2313891ea25fc962aa7d421a1b6d32626223 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | OHDSI/ShinyDeploy | a5c8bbd5341c96001ebfbb1e42f3bc60eeceee7c | a9d6f598b10174ffa6a1073398565d108e4ccd3c | refs/heads/master | 2023-08-30T17:59:17.033360 | 2023-08-26T12:07:22 | 2023-08-26T12:07:22 | 98,995,622 | 31 | 49 | null | 2023-06-26T21:07:33 | 2017-08-01T11:50:59 | R | UTF-8 | R | false | false | 15,082 | r | dataModel.R | # Functions for querying data model
#
getCohortDefinitions <- function(qns) {
checkmate::assertClass(qns, "QueryNamespace")
qns$queryDb("select distinct
t.cohort_definition_id,
short_name,
atc_flag as is_atc
from @schema.@cohort_definition t
wh... |
c051a944438bdfc95f17b943efb605af3e2e80fe | ff0064f72d0652c242ca2b3b1f7807090f30ae26 | /Twitter_MongoDB.R | 915e135287abf67d98aa331f54b4bd6c8e75180a | [] | no_license | scubjwu/CodeBase | 1b1c10065de43dd62788bc20e3d457d1c90cbe2b | f4e1d9f13a7f076c5586b6631d0946cf6e52358f | refs/heads/master | 2021-01-17T21:43:32.689058 | 2015-09-01T04:26:14 | 2015-09-01T04:26:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,214 | r | Twitter_MongoDB.R | # Twitter Data analysis: using mongodb as database
# Yichu Li
# Aug 30, 2015
require(rmongodb)
rm(list=ls())
# Remember to run MongoDB daemon on localhost before running the code below!
mongo <- mongo.create()
mongo.is.connected(mongo)
NS <- "twitter.tweets"
# case 1: go through the whole db of twitter
if (FALSE)
... |
a364b6129233c2c12c8b5a803d2dbf28d3e3cdda | b739482757d868e077929c49ed0a1c2446d0fbee | /Paper/plotScripts/final_scripts/simulation_analysis/plot_expression_traces_player_piano_figure3.R | acba4238814e3a591ec749518e8ddba3cffcd97f | [] | no_license | arjunrajlaboratory/lost-in-space-public | 9bae5d2ba70c4433febca8716dc283aeadae9f8c | e9aacc03591c5451ca46140f1212271f14496488 | refs/heads/main | 2023-04-11T11:05:47.705168 | 2022-09-16T17:50:08 | 2022-09-16T17:50:08 | 537,553,932 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,991 | r | plot_expression_traces_player_piano_figure3.R | library('R.matlab')
library(tidyverse)
library(cowplot)
rawMat = readMat.default('./../../../extractedData/20210528_for_paper/vary_off_add_k_700params/mat_files/S_outpar_20210524_vary_off_add_k_for_paper-rep1_3_1_1_summed.mat')
save_directory = './../../../plots/plots_for_figures/'
plot_three_gene_player_piano = func... |
b18a8c043d6b6f93c1b45ad2ed1f65ba0142cb21 | 5555383cebaa7375a04e6759c8d0e1644c7d39c3 | /R/hello.R | 1d1c7e09379290b81a888009f7b46253b11cde62 | [
"MIT"
] | permissive | ltrainstg/prismadiagramR | fc83ba1676b67490e0ce934b6ee3810f41ed4423 | 6b496a49658254e71b222bfcfa747accbc3fc2af | refs/heads/master | 2023-07-25T21:41:09.354333 | 2021-09-07T17:31:58 | 2021-09-07T17:31:58 | 255,697,169 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 74 | r | hello.R | hello <- function(){
print('HI')
}
bye <- function(){
print('BYE')
} |
3060bc980b015c5f71ace8d596a742db027dc627 | cd68b13f269ad9aef96449dfebe88f6df7a19d60 | /run_analysis.R | 6e7c96cde3f87d792ccfccadb0c1776020fe3d6e | [] | no_license | rniggebrugge/Getting-and-Cleaning-Data-Course-Project | 0d60641caf1b3d19565368b614443b5e2ab81666 | 9ab48057fd57b96196512e12d6f1c74dde1aab88 | refs/heads/master | 2016-09-05T13:05:23.836641 | 2015-01-20T10:21:56 | 2015-01-20T10:21:56 | 29,252,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,542 | r | run_analysis.R | ## R script file for the Getting and Cleaning Data Course Project
library(dplyr) # for grouping and summarizing data.frames
library(tidyr) # for "gather" function
# Reading the tables to be merged.
# - subject : list with numbers of subjects for each observation
# - activity : list of activities perfor... |
38e9d85dfc6894ceca6a92fa1cf50d8053fb84dd | 3ec359b8fd8798f21c37d30c612e4b5bc0908de4 | /man/Q7.Rd | 3a83355ba68ffb30cfdd5a0d451d54abf7e329bf | [] | no_license | JWooll/WoolleyFirstTools | bb8c6e4b7efe0e64a05da2903b8e4196949debb0 | 6a5841e80bb5a0da513af26cc9dab11314897a3d | refs/heads/master | 2020-04-07T19:00:12.239274 | 2018-03-07T12:30:11 | 2018-03-07T12:30:11 | 124,227,371 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 860 | rd | Q7.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Q7.R
\name{Q7}
\alias{Q7}
\title{Three Methods of Probability Distribution}
\usage{
Q7(data, funct, interval)
}
\arguments{
\item{data}{used, type of distribution, interval}
\item{funct}{what function the user would like to use
w... |
ff3b3d6d7dee7a4740d8429240ce8f42132d9544 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/audiolyzR/examples/audioSplom.Rd.R | dffcd8ae13478828c7bb44ea39ead7621c723e66 | [] | 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 | 277 | r | audioSplom.Rd.R | library(audiolyzR)
### Name: audioSplom
### Title: audioSplom geneartes a scatterplot matrix-like series of tone
### matrices
### Aliases: audioSplom
### ** Examples
##Simple audioSplom example
## Not run:
##D data(NHANES)
##D audioSplom(data=NHANES)
## End(Not run)
|
548818cf784e02f3417fdf27ae5c5fef623750ac | 51a885d284859c96bfb46e1adb8b52005138cab9 | /teaching/teaching_files/CSP519_SP17/labs/Lab2/showmelm_WB.R | ba9b598a424bc932ca37afb806f5043af298e4e6 | [] | no_license | wbushong/wbushong.github.io | 8ab3411993ec8844a55cb3d0f58eda4b209300c2 | 640539969c63b3f1121d7c4c4b80f1e86a7d7e6d | refs/heads/master | 2022-07-19T12:53:14.737578 | 2022-06-21T16:16:01 | 2022-06-21T16:16:01 | 56,018,765 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,851 | r | showmelm_WB.R |
p.cor <- function(x) {
model.data <- as.data.frame(model.matrix(x)[,-1])
names(model.data) <- letters[1:length(names(model.data))]
model.data <- na.omit(model.data)
model.data$Y <- fitted(x) + resid(x)
predictors <- names(model.data)[-(which(names(model.data) =="Y"))]
if (length(predictors) < 2... |
9a798bba850d8ef38b27b581abe16d0a87fc77b8 | 2eec2110f34267baaf3d0c61cc5872c6aa34d910 | /src/05_PatternAnalysis.R | f0fc766db9993b9009e546020d24eb2189ae2bdf | [] | no_license | anu-bioinfo/EGFRFeedback | c9219e931ac84635c7d3a722bf21bded2a8f644f | 1b96801fca55d9b12206f33918a80a120ded5e76 | refs/heads/master | 2021-06-05T01:09:49.825329 | 2016-09-18T13:38:01 | 2016-09-18T13:38:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,689 | r | 05_PatternAnalysis.R | library('ProjectTemplate')
load.project()
pdf('graphs/DoseResponse_TotalArea.pdf')
par(mfrow=c(1,3))
drugs <- c('Cetuximab', 'Gefitinib', 'Afatinib')
names(drugs) <- c('CTX','GFT', 'AFT')
for (d in names(drugs)) {
drugMean <- get(paste('HaCaT',d,'TotalAreaMean',
sep='.'))
drugMin <- get(... |
f8167a17bb700c3bc7861e727d818a8100ddfe7d | 3cf764dabd9de4781791d1d6fb35ae2d3fce41ce | /RF_GLB_180815.R | 7a25587b10c2b20705c5fbd572cdc009cf5b9e5d | [] | no_license | wbsalls/GLB | 2abe2382f574b7e24e290bc075866088f23e52b3 | 22124d962e4d9b64c6b24e071b94fbc37d37b3a1 | refs/heads/master | 2021-07-24T11:27:33.236875 | 2021-07-16T13:35:27 | 2021-07-16T13:35:27 | 145,010,895 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,411 | r | RF_GLB_180815.R | # version on GitHub
library(randomForest)
#library(party) # cforest
#library(caret)
#library(h2o)
source("C:/Users/WSALLS/Git/GLB/RF_functions_180530.R")
setwd("O:\\PRIV\\NERL_ORD_CYAN\\Salls_working\\GLB\\Analysis")
#setwd("/Users/wilsonsalls/Desktop/EPA/GLB/")
output_path <- file.path(getwd(), "RF/out_check3/") ... |
437435c77b0a76dd9f1747ee1d44f9b18be0028d | 47b0af173c6c08a2e6b4432230e9e5796d6cc387 | /man/plotMeta.Rd | 7249419987afdfc011ff2161f9981b459fd83278 | [] | no_license | berndweiss/tuma | db84b5ab4e292d81b50920c33edd21118d3d1877 | dcc94460b6d957819f476b8c4fc5c8a63d92edcb | refs/heads/master | 2020-05-15T08:05:10.588948 | 2019-11-29T04:05:00 | 2019-11-29T04:05:00 | 3,453,711 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 518 | rd | plotMeta.Rd | \name{plotMeta}
\alias{plotMeta}
\title{Open new plot window and creates forest and density plot}
\usage{
plotMeta(T, se, k, studlab, myfontsize, mylinewidth)
}
\arguments{
\item{T}{numeric vector of effect sizes}
\item{se}{numeric vector of standard errors}
\item{k}{length of T}
\item{studlab}{character v... |
bf184a080c273de71e778e85b0201fe5e548e086 | fcdb816e104bc8e984aea3b50686a14241c4a92c | /hotspot_classification.R | 30112413efe34df33cdf314f313eaf7cb65aa975 | [] | no_license | Litaa/hotspot_classification | 1900723288a5803b936f3dff79f4c186096b1026 | ab60ff35211f6e0258e1521ef0d204b9bd6b8022 | refs/heads/master | 2020-12-07T15:10:27.699376 | 2020-01-09T16:20:15 | 2020-01-09T16:20:15 | 232,743,372 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,327 | r | hotspot_classification.R |
titikpanas <- read.csv("E:/firms3350314631282061_NRT.csv")
View(titikpanas)
data.hotspot <- titikpanas
data.hotspot$geom <- NULL
data.hotspot$longitude <- NULL
data.hotspot$latitude <- NULL
data.hotspot$scan <- NULL
data.hotspot$track <- NULL
data.hotspot$acq_date <- NULL
data.hotspot$acq_time <- NULL
dat... |
9a72041bce8078d61d930b582ec4e17bfc6ace25 | 863aa7e71911423a9096c82a03ef755d1cf34654 | /man/replace_data_value.Rd | b75b50f80e137673679e467d66dc1a03a98c72d0 | [] | 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 | replace_data_value.Rd | \name{replace_data_value}
\alias{replace_data_value}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Replace data value
}
\description{
Replace a data value for a new value on the dataset.
}
\usage{
replace_data_value(dataset, x.axis.val, sample, new.value,
by.index = FALSE)
}
%- maybe also ... |
3549cd67d24ab64b8cd50858a8adfc2fb4d20be4 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/1842_43/rinput.R | 3fb3626ed607be079db25a9d665c862d1802764d | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("1842_43.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="1842_43_unrooted.txt") |
1ae3425ccb046bdbeb5e496e3ed8602bbfb59b8c | c3d2fb0a02e5eabbd0234860186f246651c9fb39 | /R/Visualization/ggplot2-color-ribon-for-discrete-variable.R | e79c4824be3b4e99e57bdef1f59b06a5140d73be | [] | no_license | ppbppb001/Snippets | 09216417c52af40c947114bc106aee97776674f7 | 49e254eecd55f5e777d87c3f06c720cb881fb2dd | refs/heads/master | 2023-08-14T08:16:07.814866 | 2023-08-07T11:57:15 | 2023-08-07T11:57:15 | 93,360,154 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,969 | r | ggplot2-color-ribon-for-discrete-variable.R | # 2019-05-06
library(ggplot2)
x <- rep(seq(from=100,to=104),6) # Compand's id number
y <- rnorm(5*6)*5+15 # values
z <- c(rep(2001,5), rep(2002,5), rep(2003,5), rep(2004,5), rep(2005,5), rep(2006,5)) # years
z <- as.character(z) # convert 'years' from int to string
df <- data.frame... |
93616f0b0eb840203fcb010741cf30268192ea85 | aba5794905d20a12d0207026b7d843a5d81c31ad | /man/any_greater_than.Rd | 1a70857d9dea0a7fd0d471fb3ac069700adabc00 | [] | no_license | kgori/svfiltr | 9097a4eba8c0792766d3b81f9e515d71b0e79980 | 106a22110cf10310fba7da38e95a389ca28acb54 | refs/heads/master | 2021-01-12T14:55:10.535079 | 2016-11-04T21:15:51 | 2016-11-04T21:15:51 | 68,912,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 446 | rd | any_greater_than.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filters.R
\name{any_greater_than}
\alias{any_greater_than}
\title{Find rows of a dataframe where any of the values
is above a threshold}
\usage{
any_greater_than(df, threshold)
}
\arguments{
\item{df}{A (numeric) dataframe.}
\item{threshold}... |
7bad12c9418bebb1303e007e8a871028850b0590 | 56761570830ea13abd8282a6f0f8dafe665b97b2 | /plot3.R | dda888083bca98fd1ce991e56fa988ef9155246e | [] | no_license | jclopher/ExData_Plotting1 | 9bc7032750587a90a85ee09ea3e41012f48ccec2 | f9fe3961ef265dbca2f0cf4328c3b9a426050ccf | refs/heads/master | 2021-01-22T20:39:38.696940 | 2014-09-05T12:35:21 | 2014-09-05T12:35:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,598 | r | plot3.R | ## Read files and others...
## setwd("~/R/Course 4 Exploratory/household_power_consumption")
library(Defaults)
setDefaults('as.Date.character', format = '%d/%m/%Y')
## initial <- read.table("./household_power_consumption.txt",nrows=100)
## classes <- sapply(initial,class)
## taball <- read.table("./household_power_co... |
b248f11df207525f744da198ecb6014a45d82e7d | 493623e05e3ad8b3f9b874e718913221f6dd3dee | /MUV27_G4_Heatmap.R | 2f0708eb7b370fc267254b1cec4a0785a2d565ca | [] | no_license | mayagarg/MDASummer2020 | 0afe884cdbfcf373f870c69c4b2161123a1ab07e | c9179393006f9a7069e0d991000d83d0335c59f4 | refs/heads/master | 2022-12-10T11:36:26.199576 | 2020-08-28T22:14:52 | 2020-08-28T22:14:52 | 287,127,165 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,910 | r | MUV27_G4_Heatmap.R | library(Seurat)
library("devtools")
library(Matrix)
library(dplyr)
#load in the data
MUV27.data <- read.table("/Users/mayagarg/Downloads/GSE119926_RAW copy/GSM3905412_MUV27.txt", header=TRUE)
MUV27mg.data <- matrix()
MUV27mg.data <- rbind(MUV27.data["SPARC", ], MUV27.data["P2RY12", ], MUV27.data["TMEM119", ], MUV27.... |
2aee54e9238290f281d93b528926a3904afb3c05 | abbc6395e0f7d3987145818c961d1792157a17b3 | /man/as.numeric2.Rd | cc6acaa233caee2139153a3189ef3d0182f2c257 | [] | no_license | cma1/JGmisc | 04e0d2cdec68c2364cbd62a19da1aaf5ac4058cb | ca68d2c995bab52e4b6606c291cff4f3881a663f | refs/heads/master | 2020-03-14T22:40:57.834088 | 2018-05-02T09:13:15 | 2018-05-02T09:13:15 | 131,826,546 | 0 | 0 | null | 2018-05-02T09:12:24 | 2018-05-02T09:12:23 | null | UTF-8 | R | false | false | 776 | rd | as.numeric2.Rd | \name{as.numeric2}
\alias{as.numeric2}
\title{Numeric Vectors in Dataframe}
\usage{
as.numeric2(x, as.char = T)
}
\description{
Creates or coerces objects of type \code{"numeric"}.
}
\arguments{
\item{x}{ a vector, matrix, dataframe or other R object which is coercible to one by \code{as.vector(x, "numeric")}. }
\i... |
57fbc69c0ecdb7c4d74d59286c22b098b6131d33 | 600144623603ba5825d11e5ac01b00567cdb28a9 | /simple_mapbox_map.R | ba6efa0da420fef095702ea9d348d951bc174909 | [] | no_license | talonendm/Rmap | 751132ca1706695892534dbe1527c89a0bb61419 | 849af077d819755b4c416c0cfbb6ccb9556bad01 | refs/heads/master | 2022-12-23T17:30:23.200726 | 2020-09-25T03:10:25 | 2020-09-25T03:10:25 | 296,081,245 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,721 | r | simple_mapbox_map.R | # simple_mapbox_map.R
# apikey: ------------
# https://www.r-bloggers.com/2020/09/running-an-r-script-on-a-schedule-gh-actions/
# How do you add them to your local environment?
#
# Create a .Renviron file in your local project
# add a new line to your .gitignore file: .Renviron
# Now this file with secrets will b... |
958d9698ab3f55f5fc66fc84a0da22deeceb964a | faffd534f3f2b2fb47aaa958565091bf7c303fb7 | /Test/nuevo-test.R | e8763ca6268926b3dc6c560500dcbcff49f56f1c | [] | no_license | ruddyblip/Proyecto_0001 | d5915da186437649d5112b53c8eb62759a7d2087 | eb641d4443a0632ab03624a5e4344801137975d3 | refs/heads/main | 2023-02-16T20:04:02.684087 | 2021-01-11T23:04:12 | 2021-01-11T23:04:12 | 328,753,908 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33 | r | nuevo-test.R | ### R scrip
x <- c(1:6)
mean(x) |
d0a453cd321b23de78e38ccafef76d41411735ce | fb6e2ba2d21d370519997611531606bd8dfe282c | /man/generic_annual_report.Rd | 3ffdd2061e7a19028a31c471a8cae2aabb5c5a4d | [] | no_license | Arpae-it/arpautils | 321cc302d240fbfb6745965eaef8d87fb658c073 | 16dae958622f147ebe7d2a9c044437eac9caf1f3 | refs/heads/master | 2023-06-20T08:40:24.644973 | 2021-07-06T09:13:24 | 2021-07-06T09:13:24 | 385,835,918 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,343 | rd | generic_annual_report.Rd | \name{generic_annual_report}
\alias{prepare.annual_report}
\alias{calculate.annual_report}
\alias{write.annual_report}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
%% ~~function to do ... ~~
Funzioni per produrre statistiche annuali (una stazione)
}
\description{
%% ~~ A concise (1-5 lines) ... |
d43da0091bf7204aaa198aa3ab6753c850106b4b | 7d4613a3fcb34d032ae9227566132d8fcbf12682 | /Rscripts/PrepareBulkData.R | 244673817092f1038706d681a465e2d4fbadfd41 | [
"BSD-2-Clause"
] | permissive | junseonghwan/PhylExAnalysis | 15f2b9d6ec4e67911fbfac5d2bd6e96034f44680 | 5bafad3fb6dc60e4144b18e85bbdba47a9a04fe7 | refs/heads/main | 2023-04-11T17:29:30.812185 | 2023-03-29T14:49:13 | 2023-03-29T14:49:13 | 335,060,186 | 1 | 1 | null | 2021-02-06T05:22:54 | 2021-02-01T19:26:43 | R | UTF-8 | R | false | false | 4,416 | r | PrepareBulkData.R | args = commandArgs(trailingOnly=TRUE)
print(args)
VCF_PATH <- as.character(args[1])
CNV_PATH <- as.character(args[2])
OUTPUT_PATH <- as.character(args[3])
#VCF_PATH <- "~/data/TNBC/BCSA1/BCSA1_filtered_hg38.vcf"
#CNV_PATH <- "~/data/TNBC/BCSA1/"
#OUTPUT_PATH <- "~/PhylExAnalysis/_temp/"
# path to TitanCNA output fil... |
c055d24d8f8945f09d5ed14de4c5357fdb8ef43a | 19c693fe101a36e79233fbfd0011309172cc1a80 | /scripts/swedish_wild_reads.R | 94f4b1a368112fb464e858e1dcb98ace45838ad9 | [] | no_license | tkarasov/controlled_metagenomics | bfe8d36142c2af9d9f6d9161ca698fdd903f8897 | ef3846d1394cc95798db1fe1c7ecbc1ef7e1b148 | refs/heads/master | 2020-04-16T23:46:47.953377 | 2019-11-12T08:50:48 | 2019-11-12T08:50:48 | 166,025,291 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,478 | r | swedish_wild_reads.R | library(reshape2)
library('dplyr')
library('tidyr')
library(ggplot2)
library(RColorBrewer)
library(wesanderson)
require(gridExtra)
'%!in%' <- function(x,y)!('%in%'(x,y))
meta=read.table("~/work_main/abt6_projects9/metagenomic_controlled/data/processed_reads/swedish_samples/meta_family_corrected_per_plant.csv", sep=","... |
e5504bfc20c4ca35f6b9e9716300161412ddde7b | ac961f7c20e60c955720e0d93483b4d92ce01726 | /04_functionalAnnotation_vectORA.R | 3cfbddb00ac54d53e592dba562ae1abf0ef913fd | [] | no_license | mengchen18/RFunctionCollection | 01b2936ea794297a87cf277ef0f583d02a1bb4ac | 222d22fc8f12a622af01b91711a66c6e9da08be8 | refs/heads/master | 2022-05-24T17:49:05.385208 | 2022-05-17T12:58:42 | 2022-05-17T12:58:42 | 127,109,330 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,407 | r | 04_functionalAnnotation_vectORA.R | #' three columns in
#' @param pathways List of gene sets to check.
#' @param genelist A list of gene/proteins you want to annotate, often from differential expression analysis.
#' The ID needs to be the same as in pathways
#' @param background An integer to indicate the size of background; or a character vector
#' ... |
b37b3c2044fd94355a95c6f59301bca5b2f1cbf6 | 2d00505c7940f1bd1dcff122aa1e8bbd5d2edea2 | /R/overloaded.R | 677b3f5b8a64b4607f34b417d5ac855cfb4da791 | [] | no_license | kashenfelter/RGCCTranslationUnit | cb647e6c57e78656bb196e68834d60fd664e66cd | 1bd45f5589516334afa57a75e936d2a36ff943b6 | refs/heads/master | 2020-03-23T00:32:22.815755 | 2013-04-21T21:38:45 | 2013-04-21T21:38:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,264 | r | overloaded.R | getMaximalSignature =
function(x, supportDerivedClasses, outArgs = list(), verbose = FALSE) {
i = sapply(x, function(x) length(x$parameters))
if(all(i == 0))
return(character(0))
w = x[[ which.max(i) ]]$parameters
ans = names(w)
if(x[[1]]$name %in% outArgs)
ans ... |
f6fc6b1d0eaaafb55f429423784334384598c91c | a32b253ef7363d5fab6ea06069f68bd126d61553 | /analysis-code/part1.R | fc0588d143d4ccf89aa4d5ae606bc31c1f07caae | [] | no_license | jonahsmith/senior-thesis | f462561cff0c92523f2f1b871c89eb19090fd23d | 480b30352c04a70a937e42d19a625265b785c811 | refs/heads/master | 2016-09-06T09:21:56.545552 | 2014-05-09T01:50:14 | 2014-05-09T01:50:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,253 | r | part1.R | load('withScores.RData')
#Summary statistics
graduate=0
for (i in 1:length(withScores)){
data <- withScores[[i]]
graduate <- graduate + length(which(data$GraduateBin==1))
}
graduate/(40*length(data$GraduateBin))
#Noncognitive standardized regression
est <- c()
vars <- c()
intercept <- c()
for (i in 1:length(withSco... |
de609c8831bded016f0772f2dd88ff86e967ee37 | 8ec62ca2bcfe19064797618f27a1c29934526ec6 | /Fibonacci_Seq/R/Fibonacci_Seq.R | b6db815d13a87de77c258211967dcf12ccf6f032 | [] | no_license | slamatic/Assignment-for-R | 9a11c8f08971376d6cae20b5691cdd0c872e0bd5 | a87fea9209e5b189d24eed354b7f521d73e5c383 | refs/heads/master | 2021-03-12T20:19:08.171901 | 2014-12-07T10:20:32 | 2014-12-07T10:20:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 518 | r | Fibonacci_Seq.R | fibonacciSeq <- function ( input = 0 ) {
print("This is a Fibonacci Sequence Assignment for R")
#check,
if (input < 0) {
return("Input cannot less than 0.")
} else if (input > 50) {
return("exceeded maximum.")
}
#init,
len = ( input + 1 )
fibo <- array ( 0 , len )
#loop,
for ( n in ... |
4807413b460be74bddca078235b57867cf739a38 | 42c160cf51f06964a1224f5c077b5a80a99e2054 | /scheduler.tests.R | 61295a0bc6257ac556d03cf50da9e78f17a0bcf3 | [] | no_license | charlos123/bot | 92b96d5b02df65e97f5f26b7477099e25ea04b14 | 3b78ae179e3390fb5bfdd12c73fd4877946cd50f | refs/heads/master | 2021-01-17T07:55:52.713136 | 2017-03-11T09:33:49 | 2017-03-11T09:33:49 | 83,819,606 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,926 | r | scheduler.tests.R | source("scheduler.R")
#
# Sample Data
#
scheduler.getSampleSchedule <- function(){
schedule <- list()
dish <- list(name = "meat", weight = 150)
schedule[[1]] <- list(id = 1, date_time = as.POSIXct("2017-04-03 15:00 EEST"), dishes <- list(dish))
schedule[[2]] <- list(
id = 2,
date_time = as.POSIXct(... |
99595d61e5927452d6c5e27800d760e17dc0d1f6 | 5e80ccca0c6c6361bafe935fe7b0900c0973457e | /man/reverse_element.Rd | 114bdecbf5166809ab57b10a1f88954b78550918 | [
"MIT"
] | permissive | GuangchuangYu/ggreverse | 9dcb13203de82d41fa955e37b9d57843693c2053 | bd6dd3117a5d61c198f6e12e2baee336a6842c70 | refs/heads/master | 2020-05-25T09:57:34.164944 | 2019-05-21T02:54:05 | 2019-05-21T02:54:05 | 187,750,028 | 1 | 0 | null | 2019-05-21T02:49:49 | 2019-05-21T02:49:49 | null | UTF-8 | R | false | true | 404 | rd | reverse_element.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reverse-theme.R
\name{reverse_element}
\alias{reverse_element}
\title{Convert theme \code{element} into code to create it}
\usage{
reverse_element(element)
}
\arguments{
\item{element}{a ggplot2 theme element}
}
\value{
Character string "elem... |
c1e13ac0dbae7b623837fe8f73e5cb4e401a3505 | 55133b0dbbe76e203af3024d51861e017585ba95 | /fundamentos-de-analytics/lab004/resposta/gabriel-lab04-questao6.R | 5d0e0bb5c400064f5744e9b689e0f4d5b22b8400 | [] | no_license | fernandojunior/analytics-gabriel | 2244f27e49e130cbfaa6d46bc172296dfbcc93e6 | 364c725d79264335c2c50b5671139d65b683add7 | refs/heads/master | 2021-01-22T16:10:49.963023 | 2012-05-19T23:42:38 | 2012-05-19T23:42:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,338 | r | gabriel-lab04-questao6.R | library("ggplot2")
source("intervalos-de-confianca.R")
## 6. Encontre o estado A do Brasil onde os deputados federais gastam mais em
## média. Encontre também o estado B do Brasil onde os deputados federais
## gastam menos, em média. É possível afirmar com 95% de confiança que o
## deputado menos gastador de A gasta ... |
7a3c3c16ac96ecc24f6b85daa4f5ae266b86076c | 8e8008d28e9aecfd56d5ccfb435541494cf8b5c2 | /databricks-jump-start/1-Getting Started with Spark/Spark on Databricks/8 SparkR_Visualization.r | 9d0261743fe5b0934dbb267b0b92253549a59120 | [] | no_license | bhavink/databricks | b383ec666fc03dc376a653893d119c3ec44d60de | b67856f9fcdea6db2a3e3f5a8e4ac0ed0f852e98 | refs/heads/master | 2023-09-05T07:34:24.612942 | 2023-08-28T14:45:45 | 2023-08-28T14:45:45 | 202,873,726 | 45 | 29 | null | 2023-04-19T18:44:34 | 2019-08-17T11:40:59 | Jupyter Notebook | UTF-8 | R | false | false | 5,068 | r | 8 SparkR_Visualization.r | # Databricks notebook source
# MAGIC %md-sandbox
# MAGIC <div style="text-align: center; line-height: 0; padding-top: 9px;">
# MAGIC <img src="https://cdn2.hubspot.net/hubfs/438089/docs/training/dblearning-banner.png" alt="Databricks Learning" width="555" height="64">
# MAGIC </div>
# COMMAND ----------
# MAGIC %md... |
c8c376ce45ac203bbf613adbf5f90c24e06bfd02 | d39badbd710155fed93ba7676bb42e0378523907 | /titanicSVM.R | 4d9b1b0de0946446db1fa678a4c1da9a03c04586 | [] | no_license | snaketron/Titanic | f851a2537fb2c4049545965f0f76cfe3cd368921 | bbb4d94ed2d86c6ff55709f3ba51439d5cd44208 | refs/heads/master | 2021-01-19T08:22:05.368104 | 2015-12-24T20:25:01 | 2015-12-24T20:25:01 | 40,611,277 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,355 | r | titanicSVM.R | ##################### inputs and dependencies #################
train <- read.csv(file = "train.csv")
test <- read.csv(file = "test.csv")
require("e1071")
require("randomForest")
require("plyr")
train$Survived <- as.factor(train$Survived)
test$Survived <- NA
test$Survived <- as.factor(test$Survived)
p <- read.csv(f... |
e3a406208accf72c0b787d0826f77a220e1f13b7 | c53e367a5a155cfb1ee3a41e8b0351aeaa8d331d | /xts/unitTests/runit.plot.R | 40fd20fcac8177841cae95d96d84ffece1df3619 | [
"MIT"
] | permissive | solgenomics/R_libs | bcf34e00bf2edef54894f6295c4f38f1e480b3fc | e8cdf30fd5f32babf39c76a01df5f5544062224e | refs/heads/master | 2023-07-08T10:06:04.304775 | 2022-05-09T15:41:26 | 2022-05-09T15:41:26 | 186,859,606 | 0 | 2 | MIT | 2023-03-07T08:59:16 | 2019-05-15T15:57:13 | C++ | UTF-8 | R | false | false | 980 | r | runit.plot.R | # Tests for plotting functions
data(sample_matrix)
x <- as.xts(sample_matrix, dateFormat = "Date")
# axTicksByTime
test.format_xts_yearqtr <- function() {
xq <- to.quarterly(x)
xtbt <- axTicksByTime(xq)
checkIdentical(names(xtbt), c("2007-Q1", "2007-Q2"))
}
test.format_zoo_yearqtr <- function() {
xq <- to.qua... |
3d7900ebb1e3294b72d56ce0f191daab2c7d5a5c | b696f21b206f3cfa5bff79f3536c40880f76e7bf | /R/corr.R | a8bb07e04dee3ecbe4352f2123d92b0431ef3207 | [] | no_license | cran/lcmr | 03b5b31dcedab0e5fb8d2a896e6ab536e0cbb342 | 2f807b8be13b6b1390f246d0e67078374d267194 | refs/heads/master | 2020-06-02T17:02:15.628802 | 2011-02-13T00:00:00 | 2011-02-13T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,493 | r | corr.R | ### Fit a latent class model with random effects
###
### Copyright 2005-2011 Liangliang Wang <l.wang@stat.ubc.ca>,
### Nandini Dendukuri <nandini.dendukuri@mcgill.ca>.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General P... |
436d624a738922e99a7bb265425ea3ee2a78dded | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diffrprojects/inst/testfiles/dist_mat_absolute/libFuzzer_dist_mat_absolute/dist_mat_absolute_valgrind_files/1609962208-test.R | bdf7635b40505b85c918025e1866596d95697f19 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | 1609962208-test.R | testlist <- list(x = integer(0), y = c(1364283729L, 1364283729L, 1370640721L, 1364283729L, 1364283729L, 1364283729L, 1364283729L, 1364283729L, 1364283729L, 1364283729L, 1364283729L, 1364000588L, 690618188L, -16777216L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0... |
e78d2a73ed32e693fb90ca39ca522b946ca5d308 | ae5225814dde38b7a3e08e5aa984209cf47ff1ed | /man/copyXDFFiles.Rd | 8717410d70492826c040922165eb5100af4eb1be | [
"MIT"
] | permissive | KrishAK47/jeeves | ccbba2d94b55d8325368b9f7e6c93a12fb440042 | c0ddecad35cdfee1763cf54c8fc61dd477a41e46 | refs/heads/master | 2020-06-02T17:22:25.335004 | 2018-06-28T16:21:37 | 2018-06-28T16:21:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 402 | rd | copyXDFFiles.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/installAlteryx.R
\name{copyXDFFiles}
\alias{copyXDFFiles}
\title{Copy XDF files from SVN}
\usage{
copyXDFFiles(svnDir = getOption("alteryx.svndir"), rVersion = getRversion())
}
\arguments{
\item{svnDir}{svn directory to copy from.}
\item{rVe... |
d8f53f0f0a3ded6dfd42c432d5ead6b082ca92d5 | af82d640f48f0509d53feea49386785e3f912337 | /proj_05_tasa/ta.R | 40e12c306714adb541d568c31122013b4c14b0af | [] | no_license | yangfanjun/GitHub_Learning-Analysis | b9f87826f5e18e5456717806a91277255109cfb7 | 67127523132049efcacc521bdc121b3369ce1cd4 | refs/heads/master | 2020-08-30T14:51:46.718368 | 2019-10-30T01:10:53 | 2019-10-30T01:10:53 | 218,414,074 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,155 | r | ta.R | library(ggplot2)
df<-read.csv("df8.csv", header = TRUE, stringsAsFactors=FALSE)
#create alllevels for change shape (scale_shape_manual)
df$sortedid <- 1:nrow(df) #用于x轴表示时间序列先后次序
#The function factor is used to encode a vector as a factor (the terms ‘category’ and
# ‘enumerated type’ are also used for factors).
df$co... |
5b019be0d5fbb9812a4b9e310e075e3d051e1488 | bbf1ae079309eca11270422d3f0d259d1515d430 | /numerical-tours/r/nt_toolbox/toolbox_signal/plot_levelset.R | ffdea58f826487870b1c638c2e03e5b02f468f2a | [
"BSD-2-Clause"
] | permissive | ZichaoDi/Di_MATLABTool | 5e6a67b613c4bcf4d904ddc47c2744b4bcea4885 | c071291c63685c236f507b2cb893c0316ab6415c | refs/heads/master | 2021-08-11T07:28:34.286526 | 2021-08-04T18:26:46 | 2021-08-04T18:26:46 | 149,222,333 | 9 | 5 | null | null | null | null | UTF-8 | R | false | false | 396 | r | plot_levelset.R |
plot_levelset <- function(Z, f=c(), title="", lw=1.5, sbpt=c()){
####
# f is supposed to be of the same shape as Z
####
if (length(sbpt) >0){
if (sbpt[3]==1){
par(mfrow=sbpt[1:2])
}
}
if (length(f)==0){
f <- Z }
Z <- as.cimg(t(Z))
ct <- contours(Z, nlevels=1)
imageplot(f,... |
59cb70012355423059b38be6576e094a4ea23f84 | a07b28cb54fd41d3102058cefbfe90a4f1e51aaa | /k01/k01 sample size.R | 0f6746f6dd6f33cfad251131586eb3c303e12b39 | [] | no_license | amyrobyn/LaBeaud_Lab | ed1d05fa2dc1c1df412a106519b69dd79168d978 | fab5c867027a07409006a1f0ed9b80e39db8357c | refs/heads/master | 2021-06-05T20:31:30.379779 | 2021-04-30T18:56:59 | 2021-04-30T18:56:59 | 64,692,795 | 5 | 1 | null | 2017-05-03T05:19:28 | 2016-08-01T18:47:38 | Stata | UTF-8 | R | false | false | 3,530 | r | k01 sample size.R | library(pwr)
# aim 1 -------------------------------------------------------------------
#Hypothesis: clinicians with accurate and real-time diagnostic and reporting tools increase reporting compared to control.
#219 acute febrile patients will be enrolled for a single study visit over an enrollment period of two yea... |
881c8371bbe0d4ac25e9d5685b4b440ff21b13ea | 0618b568a1accbb864f4bb78d82230f7239128ec | /run_analysis.R | a44bd2e2c2be87e380d1b0e29647de7c24513cc6 | [] | no_license | richshaw/cleanDataCoursea | 78dc0188e1443fe6d6f1dae4471fd6057aefeda1 | 8c093da909e67d2ed1d98ec29b5a9050ec1da8cd | refs/heads/master | 2020-04-05T23:27:57.517371 | 2014-07-16T23:54:44 | 2014-07-16T23:54:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,099 | r | run_analysis.R | ##
# Script brief
#
# The purpose of this project is to demonstrate your ability to collect, work
# with, and clean a data set. The goal is to prepare tidy data that can be used
# for later analysis. You will be graded by your peers on a series of yes/no
# questions related to the project. You will be required to sub... |
d7634a44e4f5f305a3546cc3c394bc0dc1679c88 | d9598fcbf32fa2fd9eb6ad635308206113175a5e | /1-Basics-of-R-shiny/1-Hello-Shiny.R | 5ff6357ea2f742b28d8224b3cb82de74382a19e5 | [
"MIT"
] | permissive | Yuhao0428/r-shiny-tutorial | 0ea00cc1b08a39b820b659b7e6bc9e63aca6c96c | 88c8a23592f1dfe060316dce060f888497f360ee | refs/heads/main | 2023-07-09T02:06:28.630552 | 2021-08-06T02:47:48 | 2021-08-06T02:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 66 | r | 1-Hello-Shiny.R | library(shiny)
runExample("01_hello", port=9999, host="0.0.0.0")
|
e160e0684866f2bbef229c295a0a9b0ba10d570c | edc1b8bd5dfafd300baa1e47f7544cd4b69e1345 | /proteomics/DPP_Up_regulator_percentage_SM.R | 10b4b5aed59484876318cb94227674c47ee5aa79 | [] | no_license | mhptr/phd_code | fdbfb2fcd2b816a83f76854bb811cc582cfd3c41 | 8241737953a7b2293398068dd551991cfeb8d569 | refs/heads/master | 2022-10-10T10:18:10.905711 | 2020-03-09T09:18:01 | 2020-03-09T09:18:01 | 199,153,370 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,628 | r | DPP_Up_regulator_percentage_SM.R | #06/09/19
setwd("~/OneDrive - University of Warwick/WORK/Results/Proteomics/FINAL Result/Analysis - R-Script /")
# regulation = read.csv("./SubtiWiki Exports /regulations.csv", header = T)
# regulation_freq = table(regulation$regulator)
# write.csv(regulation_freq, "./SubtiWiki Exports /regulation_freq.csv", row.name... |
e268f457f351ecf51859df63ed6278d74af74cff | 4a90a8d09f1e4b8c79d3982e0f235c4d064e74c1 | /man/load_txt.Rd | b5e0e99ff5287defd6200360656a3ac1187529fb | [] | no_license | bsnouffer/atlantistools | 3696d68837ac61256305e68a5a2ce49ca9cf9e86 | 3bcdb27696f9b16ce76869371658e41ddce1d374 | refs/heads/master | 2021-01-15T11:14:33.996939 | 2016-08-31T21:13:51 | 2016-08-31T21:13:51 | 67,061,727 | 0 | 0 | null | 2016-08-31T18:09:12 | 2016-08-31T18:09:11 | null | UTF-8 | R | false | true | 1,332 | rd | load_txt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load-txt.R
\name{load_txt}
\alias{load_txt}
\title{Function to load various txt files from Atlantis simulations}
\usage{
load_txt(dir, file, id_col = "Time")
}
\arguments{
\item{dir}{Character string giving the path of the Atlantis model fold... |
800e02169ff18b10fd1f36c304a61d70c71a84ea | ee0760e97724685ca8d1ab4ce2dd19f5b37e05e6 | /bin/experiment_03_netherlands/comparison_agg.R | 9f8bbf28975380dcf6df82151acc845064bc3fa3 | [] | no_license | imarkonis/EarthCare | f7d94ab939b92d1679a68d1e00dea257a71aa6cc | 60fcfc0934a1c6c1c2ffed048088c19b421a2a79 | refs/heads/master | 2020-03-14T11:08:34.977062 | 2018-06-20T11:21:50 | 2018-06-20T11:21:50 | 131,584,029 | 0 | 1 | null | 2018-06-19T12:48:26 | 2018-04-30T10:43:19 | HTML | UTF-8 | R | false | false | 15,781 | r | comparison_agg.R | source("./source/graphics.R")
source("./source/spatial_tools.R")
load("./data/experiment_3_main.rdata") #Created in comparison prep
# The comparison between gpm_rdr_prcp & gpm_knmi_prcp showed very small differences and thus gpm_rdr_prcp is used
## Aggregation example for each day of 2016-09
my_date <- as.Date("2016... |
bad168de1dc4a7b0292349f88533d7b9dc56bbd1 | a92abde35302bdf856c9c81a89634116c4c5f115 | /count_elements.R | d5039489adde4189db3f9285fdf79e154bda95e7 | [] | no_license | dashukvita/R | 4afa08b8f3f783cedcd29323fe2902926e843500 | 172b0426c839d994b45d8585be42ee3644ced118 | refs/heads/master | 2022-12-18T07:38:28.256711 | 2020-09-29T14:44:37 | 2020-09-29T14:44:37 | 215,611,264 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 566 | r | count_elements.R | # Пусть x -- целочисленный вектор. Напишите функцию, которая вернёт матрицу из двух строк. В первой строке перечислите все различные элементы вектора, упорядоченные по возрастанию. Во второй строке укажите частоты (количество повторов) этих элементов.
count_elements <- function(x) {
answer <- t(as.matrix(data.frame(t... |
37dd1297fb2e403d626dedf4572db3d27f91c2dc | b45845ee528ed22b433c5e876c87d088ce5ac860 | /essai_R_API_NIRS.R | 054690c9aa126eb89bedbb24b85f0398d2237da0 | [] | no_license | martinEcarnot/vrac | 00445d290377b68c812173c20761094654d5878e | 47bdfc47fd15454e30fdcf777c6d461a95cb38dc | refs/heads/master | 2022-12-21T10:01:16.702031 | 2022-12-13T08:07:24 | 2022-12-13T08:07:24 | 232,131,113 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 561 | r | essai_R_API_NIRS.R |
library(httr)
library(jsonlite)
response <- POST(url = "http://moleans.cirad.fr:8080/nirs_api/login", query = list("user"="test", "password"="test"))
json = fromJSON(rawToChar(response$content))
token <- json$token
t <- paste("Bearer", token)
print(json)
response <- GET(url = "http://moleans.cirad.fr:8080/nirs_a... |
e057cbf73775a43afe343d19298c129b662b4ddc | b06eae406fead055517e9c1cd6beb919773ca2bc | /scripts/Dev_Scripts/nice_mapping.R | 2d41259d4f6fc279d220092ad406a5d6d1d81f2b | [] | no_license | HiDef-Aerial-Surveying/SNH_Moray_Firth | 8b242fb77cae0b56e111ede66f08b443ee26e82b | 22afa9016221f5146e1a54deb0f4454f0a0cf628 | refs/heads/master | 2022-11-15T19:27:18.641971 | 2020-07-07T11:48:51 | 2020-07-07T11:48:51 | 261,455,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,509 | r | nice_mapping.R | ##############################################
### Create survey area maps ###
### Project HC0049
### Grant Humphries & Raul Vilela
### May 2020
### HiDef Aerial Surveying, BioConsult SH
##############################################
# Libraries ---------------------------------------------------------------
source("l... |
ab753a08d95546a85a848bd79b51af2f7960a156 | b82009d15790e7a71dde583da6169f5ef478873e | /sqtl/optimal_covariate/calc_FDR.R | e9c2a0ae41314b86ad77e8a28f494a353c496a20 | [] | no_license | boxiangliu/rpe | 9233e5b0ac6b9761fbb34e44a462b9e6cae87889 | 2125bf34e029d16a484f8530381af25bb9619d2d | refs/heads/master | 2021-10-26T02:32:10.477848 | 2019-04-09T19:31:57 | 2019-04-09T19:31:57 | 51,119,068 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 808 | r | calc_FDR.R | library(data.table)
library(foreach)
library(dplyr)
library(dtplyr)
args=commandArgs(T)
in_fn=args[1]
out_fn=args[2]
geno_pc=as.integer(args[3])
splice_pc=as.integer(args[4])
message('INFO - reading p-values')
fastqtl=fread(sprintf('zcat %s',in_fn),select=c(1,2,4),col.names=c('cluster','snp','p'))
fastqtl=fastqtl%>%... |
6ab01d12b2beb11af85b18471681dd44e8f50bd1 | 062fe18dd13549672145247a24c2c0be90dc0a63 | /man/get_origin_h3_index_from_unidirectional_edge.Rd | ad216d51cde0435e7f30e35831515fa5d62d360d | [
"Apache-2.0"
] | permissive | crazycapivara/h3-r | 48d5b70689578992bab6995f54c326ffdb86fc30 | 6b658e832f6907581d9d5c5296d611c4e4cf372a | refs/heads/master | 2022-08-19T20:19:50.881920 | 2022-08-08T08:04:07 | 2022-08-08T08:04:07 | 165,286,703 | 61 | 10 | NOASSERTION | 2022-07-31T12:15:40 | 2019-01-11T17:58:47 | R | UTF-8 | R | false | true | 482 | rd | get_origin_h3_index_from_unidirectional_edge.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/h3_uniedge.R
\name{get_origin_h3_index_from_unidirectional_edge}
\alias{get_origin_h3_index_from_unidirectional_edge}
\title{Get the origin hexagon from the unidirectional H3 edge index.}
\usage{
get_origin_h3_index_from_unidirectional_edge(h... |
70666d670a873f03ab1d514b0eb66eff444e8607 | a5d8d28a41439d2d00a6d8e6ed8deef0bc8028e7 | /man/engineEdgeBayes.Rd | 3d4008691d3b91e53814702dcd71b4f74cdff0c8 | [] | no_license | SSDALab/dnr | eedee42774029f4d30b833f6069cd4e0555c2d4f | 4e9139421251be4e4e11c01f7c24fb0054eb0157 | refs/heads/master | 2021-03-27T19:32:15.492187 | 2020-12-27T00:47:22 | 2020-12-27T00:47:22 | 71,925,977 | 7 | 0 | null | 2020-12-27T00:48:31 | 2016-10-25T18:17:19 | R | UTF-8 | R | false | true | 2,765 | rd | engineEdgeBayes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/engine_bayes.R
\name{engineEdgeBayes}
\alias{engineEdgeBayes}
\title{Implementation of simulation engine for dynamic networks using smoothing estimates of change statistics.}
\usage{
engineEdgeBayes(
start_network,
inputcoeff,
ns,
mod... |
2413238d6d9334488af37d89edff994f3b44432e | 61180649c781ca23ee434754577acea001eb4bc0 | /R/faostat3.R | 866f8decac537f499341125e4a340b0408e575c5 | [] | no_license | malexan/fclhs | 87e0b4c9b86eb1c954644bbdb699699677d4163b | f93e69dd96bbd15bdbc68a5c52db5fe0dde3a0fa | refs/heads/master | 2020-05-31T15:48:22.614152 | 2015-08-09T07:59:08 | 2015-08-09T07:59:08 | 27,025,796 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,590 | r | faostat3.R | #' Function retrieves data from FAOSTAT3 FENIX API
#'
#' JS source: https://gist.github.com/Kalimaha/80da85e6d7cbdbf92557
#'
#'
#'
#'
getfenix <- function(list1Codes = NULL,
list2Codes = NULL,
list3Codes = NULL,
list4Codes = NULL,
... |
0e379103e590405e915a7c103b24b602f28b5875 | e11c2dce6c69111a959dec53548b4e9c594ad5dd | /homework_4.R | a6d80ac752033f192de7220447a4a59e6e432c87 | [] | no_license | samarprit/Useful-programs | ddbcfe5f87371c9672769031f0a02201d45244a4 | 47150a85d99877d0224530c2cfb77586376edf7a | refs/heads/master | 2021-01-19T23:56:56.511298 | 2018-09-01T19:51:13 | 2018-09-01T19:51:13 | 89,053,141 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,601 | r | homework_4.R | datapath<-"E:/business analytics/Uchicago/subjects/machine learning/machine_learning_04_data/"
data<-read.csv(paste0(datapath,'test_sample.csv'))
set.seed(2001)
nEval = 20 # last nEval values - evaluation set
N=120
n = N - nEval # n values in train set
xTrain = data # reshuffle train set, keep test set unchanged
nFol... |
1b06d0b43f5e06415f734ca20d126c7b367e80fe | 14d9d0ecb5ed703ec4644c7eb4cb8cf5ff5174d7 | /Plot3.R | 1e7dbcec01ba4c46f902d5be68d85d7e4db6cdb9 | [] | no_license | ogamonal/ExData_Plotting1 | 4daa612a0b8e3e918e2a17aa4567f27992c81bec | 2e34c733756621d82f90cee49be8b630dbc82ff3 | refs/heads/master | 2022-12-01T03:46:31.307117 | 2020-08-19T23:10:23 | 2020-08-19T23:10:23 | 288,854,295 | 0 | 0 | null | 2020-08-19T23:10:24 | 2020-08-19T22:54:11 | null | UTF-8 | R | false | false | 799 | r | Plot3.R |
FileName <- "household_power_consumption.txt"
Data <- read.table(FileName, sep = ";", header = TRUE, na.strings = "?",
nrows = -1)
Data <- Data[(Data$Date == "1/2/2007" | Data$Date == "2/2/2007"), ]
datetime <- paste(Data$Date, Data$Time)
datetime
Data$DateTime <- strptime(datetime, "%d/%... |
1f540f2f19fffd3dfb127304d58da283902395e3 | 72f306ba9228c4723f3326c1ad3b3bcd20318c25 | /R/connectivity.r | b592154541be01907cc2aab1623cb44bc06e2604 | [] | no_license | ashwini06/NEArender | a312a3cc13e0033fef983f2af053a465e09bd6e0 | 62df5386c203103245ca514c1d7b559238129dd7 | refs/heads/master | 2021-05-02T18:42:32.642427 | 2018-03-28T11:58:35 | 2018-03-28T11:58:35 | 64,827,884 | 2 | 1 | null | 2018-04-06T09:03:06 | 2016-08-03T08:09:19 | R | UTF-8 | R | false | false | 3,389 | r | connectivity.r | #' Connectivity
#'
#' Function for plotting node degree distribution in order to test if the network is scale-free
#' @param NET Input network file.
#' @param Lowercase If node IDs should be rendered lower-case (Default:1, i.e. 'yes').
#' @param col.1 Number of column where 1st node of each edge should be found (only ... |
772e1b506d0de3bb8dd6ff03317b4fad3b0aebca | 49502f7574419b1504b5cf697ba3ef6ccf592ded | /man/tlnise.Rd | 3c28fd2d9d79be68fc6690a53f21e6fdc905827e | [] | no_license | ktp-forked-repos/tlnise | 49ca083bc562815227f532fbfbae9fede9bc0dcd | 02437145a77f7c9303e93611a76aab1d377cd21a | refs/heads/master | 2020-05-01T07:45:24.172881 | 2018-10-23T17:09:24 | 2018-10-23T17:09:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,594 | rd | tlnise.Rd | \name{tlnise}
\alias{tlnise}
\alias{initTLNise}
\concept{Hierarchical Normal model}
\title{TLNise}
\description{
Two level Normal independent sampling estimation
}
\usage{
tlnise(Y, V, w = NA, V0 = NA, prior = NA, N = 1000, seed = NULL,
Tol = 1e-06, maxiter = 1000, intercept = TRUE, labelY = NA,
label... |
f57832ccf624998731d664b2ba293d7ef79bf210 | a7cc4fad4231cee4636d625df0bd0c6d10876b45 | /R/simpleNN.R | f1d0ed55d4272c79f06bf9facb156f9573947144 | [] | no_license | gumeo/mnistr | 7aa977e81c1935f57520f76942eb63d782c04038 | d05be259520c30205b6bb2e03842c871e70e4d71 | refs/heads/master | 2020-12-24T20:15:23.603520 | 2018-01-31T10:11:25 | 2018-01-31T10:11:25 | 59,769,535 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,406 | r | simpleNN.R | #' Convert factor to a dummy/indicator matrix
#'
#' \code{class.ind} take a factor vector of length $n$ with $k$ levels and
#' outputs an $n$ x $k$ indicator matrix.
#'
#' @param cl factor vector
#'
#' @return Appropriate indicator matrix.
#'
#' @examples
#' # Random factor data
#' dat <- factor(samp... |
98a44e245c7d186217afc34a13b6c4570647c48a | b0828ab1cd8d8271c66d6935416b32580fb93bb4 | /BasicQTL.R | 2fb029cf8ad5e042706c89a457152079c62150db | [] | no_license | KonradZych/GBIC2011 | ba0f145d4f51549d344a756abd578675f291cf0d | c84ea96728f260d030d661e66a0442e934cb58f3 | refs/heads/master | 2016-09-06T06:23:01.350627 | 2011-07-13T19:17:58 | 2011-07-13T19:17:58 | 1,341,280 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,871 | r | BasicQTL.R | # Basic QTL Mapping functions
#
#(c) 2011-2015 Konrad Zych
# Version: 0.0.1
#Sweave
#
# Contains:
#clean - Removing NA from data matrix by replacing it with 0
#qtlbyttest - Basic single marker mapping by using a t.test statistic (For RIL)
#heatmapqtl - Creates data file concerning all traits and also image of it
#path... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.