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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
085838df474ffeb7de221668ce269a5d71ed05a6 | 8cf8a38b34336822ac53776f8a95afb2eef74afe | /Plot1.R | b5bbdb388193a92b7e2ced0bea7a09a3896ad1ef | [] | no_license | DoanTrangNguyen/ExData_Plotting1 | 129a73123a3e789a981efb5e5a91cf34afd20fce | aa5fe2a586a5316dc07a96007b990d16e4eee7c0 | refs/heads/master | 2021-01-15T12:04:50.517188 | 2014-10-12T18:50:49 | 2014-10-12T18:50:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 273 | r | Plot1.R | ## Plot 1 : Histogram of the Global_reactive_power
hist(as.numeric(as.character(Energy_dates$Global_active_power)), xlab = "Global Active Power (kilowatts)", main = "Global Active Power", col= "Red")
dev.copy(png, file ="plot1.png", width = 480, height = 480)
dev.off()
|
289062e66d298e1268d4006d4c3311ec294aba7c | 7d8523b9d5474283200a9443dc9230c5beb73bf0 | /man/create_package.Rd | 42122fbfda82444c5b6ae63a24d290fb091d2075 | [
"MIT"
] | permissive | frictionlessdata/frictionless-r | 0bac64947354d65d55d8dd81a2f809c2b9e4a6b6 | 7dba18d98afe46480367ef2f878160efecb7e629 | refs/heads/main | 2023-09-05T04:36:33.046962 | 2023-06-20T14:10:45 | 2023-06-20T14:10:45 | 373,431,134 | 13 | 8 | NOASSERTION | 2023-09-14T07:07:02 | 2021-06-03T08:13:42 | R | UTF-8 | R | false | true | 857 | rd | create_package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_package.R
\name{create_package}
\alias{create_package}
\title{Create an empty Data Package}
\usage{
create_package()
}
\value{
List describing a Data Package.
}
\description{
Initiates a list describing a \href{https://specs.frictionle... |
7d987cbfe412c2751f115503913b52f8547fcbc1 | c401a32ff61704b1b04a28a1f3195144a1b5febd | /man/eq_create_label.Rd | b7f0bb3bd90f12cd8475ad3fe265e5a79f65ab98 | [] | no_license | MaxSunshine/Earthquake | dd43c38a881463743daa5a756791cc4bd06d4f51 | 757a828957d2c16ae856b02036b4dbd920ea1436 | refs/heads/master | 2021-07-11T21:55:28.092265 | 2017-10-17T11:53:42 | 2017-10-17T11:53:42 | 107,183,703 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,100 | rd | eq_create_label.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eq_map.R
\name{eq_create_label}
\alias{eq_create_label}
\title{Function eq_create_label}
\usage{
eq_create_label(df)
}
\arguments{
\item{df}{- A dataframe of containing 3 columns LABELS,EQ_PRIMARY and DEATHS.}
}
\description{
eq_create_label(... |
440eb5c66d50e4fb945fc4a8498668b32d15bfe0 | 23409c7f5b24e392437210bae4c1a82fc107168e | /lecture_13/fun_RCurl_gender.R | e6421d79ad9b00a24caea939bb22c7a6d9cc1992 | [
"Apache-2.0"
] | permissive | MagdaHa/MB2_R | bdbcdf68ecc505803b3d6201b2c2245ea3cfecb1 | 202f7273e8e6844151a49b0172ae11b809891d12 | refs/heads/master | 2020-04-02T11:05:49.858466 | 2019-02-16T15:48:59 | 2019-02-16T15:48:59 | 154,370,893 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,798 | r | fun_RCurl_gender.R | #############
####RCurl####
#############
library(RCurl)
library(bitops)
# get the data
x<- read.csv(textConnection(getURL("https://docs.google.com/spreadsheets/d/e/2PACX-1vTbXxJqjfY-voU-9UWgWsLW09z4dzWsv9c549qxvVYxYkwbZ9RhGE4wnEY89j4jzR_dZNeiWECW9LyW/pub?gid=0&single=true&output=csv")))
#inspect the data
x; summary... |
5ebff73a39db54d811c83ecd5776e8f6c2dea78a | 2b1add69981a1cc7d4c32fe08b3b30a43a0dafb3 | /stillborns_asexuals_170103.R | d66e7dc946bb47fc865c69751ebee6a532cb931e | [] | no_license | Redsiana/Hexatopia | f4830ede8f66c6c6aa11e38af099551389bb1f4d | 3c42140901d0d2d3525825aa6012d40350365b69 | refs/heads/master | 2021-01-11T14:23:09.072745 | 2017-02-08T17:02:51 | 2017-02-08T17:02:51 | 81,350,086 | 0 | 0 | null | 2017-02-08T17:02:52 | 2017-02-08T16:26:21 | R | UTF-8 | R | false | false | 1,678 | r | stillborns_asexuals_170103.R | ### where viability selection occurs depending on the levels of homozygosity
# INPUT: babygenome, babysex, babyR, babyB, G
# OUTPUT: newbabygenome, newbabysex, newbabyR, newbabyB
# the relationship between heterozygosity and survival is:
# curve(expr = Ka /( 1 + 1*exp( -B*(x-M) ) ), from=0, to=1)
stillborn ... |
1496f4db292ef002f519b926b03e3d81ad00849d | 09b01558d9439fea76b1b40f6931820484bf7731 | /practice_3pars.R | 956f7877bd6cf862a33b54beb9a476a1d896eabf | [] | no_license | dtsh2/LBV | 30c3d5c66537f31f6ba8341899e23dfa4bafb0c7 | 6a1e05211b90d2b32a279e0c5cc1efc9a153ac96 | refs/heads/master | 2021-01-01T19:38:18.497956 | 2017-11-13T03:52:39 | 2017-11-13T03:52:39 | 13,231,655 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 785 | r | practice_3pars.R | result1<-rep(1:3,3)
result2<-rep(1:3,3)
result3<-rep(1:3,3)
pars<-expand.grid(result1,result2,result3)
dim(pars)
res<-rnorm(length(pars[,1]))
results<-cbind(pars,res)
results$Var1[which(results[,4]==min(results[,4]))]
results$Var2[which(results[,4]==min(results[,4]))]
results$Var3[which(results[,4]==min(results[,4]))]... |
a8efcca8920dc6f10055b785f9885374b2e8648c | 0d688e663e82ca38de40a8adcf601194d241555a | /R-packages/evalcast/man-roxygen/predictions_cards-template.R | 9a196f2d9a46241ac6550e03cbcde3e9a78c993a | [] | no_license | maskegger/covidcast | 386ddc3b430c7aa26e739188c7c37c919a31a17d | 51754be1e859f1f46ae664e4326dacaabd86868e | refs/heads/main | 2023-09-05T23:34:18.994038 | 2021-10-23T01:33:57 | 2021-10-23T01:33:57 | 440,409,824 | 1 | 0 | null | 2021-12-21T06:10:56 | 2021-12-21T06:10:56 | null | UTF-8 | R | false | false | 453 | r | predictions_cards-template.R | #' @return Long data frame of forecasts with a class of `predictions_cards`.
#' The first 4 columns are the same as those returned by the forecaster. The
#' remainder specify the prediction task, 10 columns in total:
#' `ahead`, `geo_value`, `quantile`, `value`, `forecaster`, `forecast_date`,
#' `data_source`,... |
be0efeaaf2be54d0494c145be5cd1ddfa62b0f60 | 378d8fcfa2227494e8dad0d46e954d7de553c510 | /ipserver/ReportDaily.R | 03499ab5ed7d33cc32d2fe9b93bb5d461100882e | [] | no_license | lhfei/R-Programming | fbff7f1488a0beb696b5267c4293e81308c77fed | 63565ee9bbf029fcbac2f5425845e9d8438320a5 | refs/heads/master | 2021-08-15T00:41:51.474596 | 2017-11-17T02:06:27 | 2017-11-17T02:06:27 | 111,045,374 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,174 | r | ReportDaily.R | library(sqldf)
report_0621 <- read.delim("E:/R_Workspace/ipserver/data/2015-06-21/000000_0", header=FALSE)
report_0623 <- read.delim("E:/R_Workspace/ipserver/data/2015-06-23/000000_0", header=FALSE)
report_title <- c("Err", "Total", "CT", "ORIGIN")
names(report_0621) <- report_title
names(report_0623) <- report_tit... |
fa29fe9b6309777f7c120104832936bb1bc56ef5 | 9b4a5a10226c96670dcc9fcbb33cfeb06b561bf2 | /scripts/film_coordinates.R | 9c64166e80811467dba08508e9d9a0ef89e54a69 | [] | no_license | stephen-bird/ames_dem | f3f5ec95c9c1552d21c6c86ec95ed48a26931fad | faad7795a3431c3d312cf93febb9404299b93d3c | refs/heads/master | 2020-07-29T14:44:35.437343 | 2019-11-05T00:09:31 | 2019-11-05T00:09:31 | 209,848,016 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,124 | r | film_coordinates.R |
# This script calculates the film coordinates of the fiducial marks based on the calibration report.
# This is a Packrat project.
library(here)
library(dplyr)
source("scripts/pp_functions.R")
film_coord <-
data.frame(
fids = c("1", "2", "3", "4"),
x = c(-105.993, 106.001, -... |
59f4465c2df9a0bb911cfd738de759393adabf35 | 32f2c862c462c6dcb41fa83e0eb7a9ab8a054e44 | /scripts/03_runBigRR.R | c5d55f31fea92253795ff703ec6457ba98ed302e | [] | no_license | JosueVega/Hwaviness | 5e36bfb26ee524d2eb4bc6bf9f9c95d0a3b07a58 | 5074a768e90e414791c6f2a1df7861aa9866cb2b | refs/heads/master | 2021-09-07T19:47:10.122962 | 2018-02-28T03:49:38 | 2018-02-28T03:49:38 | 112,789,780 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,150 | r | 03_runBigRR.R | #Josue Vega
#from script by Jason A Corwin, Modified by Rachel Fordyce
#to run bigRR on Linux GPU for GWAS
#---------------------------------------------------------------
rm(list=ls())
setwd("~/Documents/GitRepos/Hwaviness/data/")
#NVIDIA nvcc
#########################
# This makes the bigRR_update run through the G... |
41434e6eddff83b72eba28a82fb56ad1c048f548 | d243b1765958531a7a5c7893f218f86c75d3cee0 | /код для графиков.r | f8fc9b42992c90075d505e5b91bab38d78dc18b3 | [] | no_license | EvgeniyaY/Project | 4bc134f45e4c5eada61558c90842bad4417b773a | bc70376ff38a554494700afbdfa2e89673080ca9 | refs/heads/main | 2023-01-30T10:09:59.003387 | 2020-12-11T07:26:14 | 2020-12-11T07:26:14 | 318,398,899 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,142 | r | код для графиков.r | library("corrplot", warn.conflicts = FALSE )
library("car", warn.conflicts = FALSE )
library("ggplot2", warn.conflicts = FALSE )
library("stargazer", warn.conflicts = FALSE )
library("magrittr", warn.conflicts = FALSE )
library("knitr", warn.conflicts = FALSE )
library("dplyr", warn.conflicts = FALSE )
library("... |
5d8083943346f293b11469583b38409f93b41eb3 | d1304a227d448491211daea45994152d8ebf1fbc | /05_DataTranformation.R | 45bdc8abc2966221fba235835d3910971a1ad7f9 | [] | no_license | jonleslie/R_for_Data_Science | 0a60cf015a9ac2b913fe0b437ec69e07b7c6b934 | ce0f3dcb8481cec017895bf3e624508f9a84772e | refs/heads/master | 2021-09-04T19:19:52.360656 | 2018-01-21T17:04:58 | 2018-01-21T17:04:58 | 82,564,396 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,971 | r | 05_DataTranformation.R | library(tidyverse)
library(nycflights13)
?flights
head(flights)
table(flights$carrier)
# 5.2 Filter
filter(flights, month == 1, day == 1)
df <- tibble(x = c(1, NA, 3))
df
# 5.2.4 Exercises
# 1
filter(flights, arr_delay >= 120)
filter(flights, dest == 'IAH' | dest == 'HOU')
filter(flights, carrier %in% c("UA", "AA", "... |
6f4b6f96793952ced087a81e1e2ca335e85b6444 | 2f32bfb9cffd8f5847995bf6800422db99984ab2 | /man/heteMLE.Rd | 9d403d397829279f6f8a2fc155553a0e17ffc751 | [] | no_license | adenosinew/AMS597 | 750b8a09cb2134f0aee17494661e15734deeacc9 | 398f024eafb5b1aa27977bb1cb6eee6e1265753b | refs/heads/master | 2021-06-16T18:19:05.898122 | 2017-05-02T04:30:08 | 2017-05-02T04:30:08 | 84,480,955 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 853 | rd | heteMLE.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hete MLE.R
\name{heteMLE}
\alias{heteMLE}
\title{MLE based test of Lin and Stivers under heteroscedasticity}
\usage{
heteMLE(x, y, alternative = "two.sided")
}
\arguments{
\item{x}{a (non-empty) numeric vector of data values. For tumor data.}... |
e2b9979dc0efd6f043adbc9f89e8a0ec0ea86a94 | e8d9d38e9f3a7b2d0a843d1a707479b4eeddf9e4 | /tests/testthat.R | 3bbd540e3dde24c0b5b38cd2064c50034eabfda5 | [
"MIT"
] | permissive | charliejhadley/gene.alignment.tables | db64294ee6ff80a6dc1d7c2ea43633c52a47db13 | 1542dc88f27ecb4acf4826267842fb21c2738275 | refs/heads/master | 2022-06-24T14:26:38.390903 | 2022-06-09T11:40:00 | 2022-06-09T11:40:00 | 110,682,612 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 86 | r | testthat.R | library(testthat)
library(gene.alignment.tables)
test_check("gene.alignment.tables")
|
e9d27cdedaf1f0874c76386ef80821cc51018f0c | d473a271deb529ed2199d2b7f1c4c07b8625a4aa | /TimeSeries/GARCH_Examples.R | 5ad208b1456297326f1ae8b2336699b48fdb814d | [] | no_license | yangboyubyron/DS_Recipes | e674820b9af45bc71852ac0acdeb5199b76c8533 | 5436e42597b26adc2ae2381e2180c9488627f94d | refs/heads/master | 2023-03-06T05:20:26.676369 | 2021-02-19T18:56:52 | 2021-02-19T18:56:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,465 | r | GARCH_Examples.R |
# http://shishirshakya.blogspot.com/2015/07/garch-model-estimation-backtesting-risk.html
# https://www.r-bloggers.com/a-practical-introduction-to-garch-modeling/
#----------------------------------------------------------
# BASIC EXAMPLE 1
gspec.ru <- ugarchspec(mean.model=list(
armaOrder=c(0,0)), distribution... |
47d9d82ca1ac2585b69aa2ef835b2c83633b0243 | 29585dff702209dd446c0ab52ceea046c58e384e | /PopGenKit/R/PICalc.R | 1d42f1ff3f45a55415161e89f24f5eadc84151b3 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,525 | r | PICalc.R | PICalc <-
function(datafile,ndigit=3)
{
input=read.table(file=datafile, sep='\t', colClasses='character')
noext= gsub("[.].*$","",datafile)
nloci=ncol(input)-2
#transformer pour trouver npops et popsizes
whereNbSamples=grep('NbSamples',input[,1])
npops=gsub( "[^0123456789]", "", input[whereNbSamples,1])
np... |
bcc4f1213ad79d8b087e6ef5d8e1e54a106f4097 | 8ff0c0346e79db661e29e763358c5ed799e5aad3 | /Data Mining Lab/FinalExam (deprecated, for now)/PartA/10/10.R | 792fd9296ee3c80872b4688de7481fd6ffe8165b | [] | no_license | vybhavjain/7thSemIse | c44e9ec92c24ce82c1338405f45d47510ea63c0f | 92d9bf39735fa01d10a994d69313f7d24a0c9874 | refs/heads/master | 2021-07-08T19:26:44.638136 | 2021-03-23T15:31:00 | 2021-03-23T15:31:00 | 229,064,968 | 1 | 1 | null | 2021-03-23T15:31:02 | 2019-12-19T13:54:38 | Java | UTF-8 | R | false | false | 405 | r | 10.R | #loading the data
data1 <- read.csv('climate.csv')
temp<- data1$avg_temp
temp_uncert <- data1$avg_temp_uncertain
#Y vs X
features <- temp_uncert~ temp # Y~X
#create the linear model
linearModel <- lm(features,data1)
#plot the linear model
plot(features)
abline(linearModel)
#predict value for some given data
te... |
588d70c514886d928b75edf19939d4cbedb23689 | bfa86ffcf1438f737895a716254df49a503589e2 | /INLA.Lab/Laboratory/BUC4.Laboratory.R | 9c2d8a4256b0df4452b1a0ca2ec4192be5e5ee3d | [
"MIT"
] | permissive | jrvc/food-price-warning-indicator | a48dfa7bfe96ba6e0d58162c1ec5d8c152aa3efe | 62bfced2ce9f85ff8a655ba034fe0e69fa8850fc | refs/heads/master | 2021-05-16T16:27:25.249393 | 2018-01-19T18:05:55 | 2018-01-19T18:05:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,545 | r | BUC4.Laboratory.R | #
#
# Date: 4 June 2016
#
# R version: 3.2.2
#
rm(list=ls())
# install.packages("INLA", repos="https://www.math.ntnu.no/inla/R/stable")
# install.packages('sp')
# install.packages('spatstat')
# install.packages('mvtnorm')
# install.packages('lattice')
# install.packages('mgcv')
# install.packages('pixmap')
# install.... |
115c4b1805c49c2a88a2d895d8b63d2b9aeddd2a | 5a76f3b4c6f46ecf335aa3685b2367852989ae3a | /cemitooldb/R/annot_functions.R | 74a49321457bbef353fd4c8be25fdede4c55ead5 | [] | no_license | pedrostrusso/cemitooldb | f1d0cd270c0356b65886f1d329d06f5ae7917c91 | 87328ce618e8aba98f8dd9ae2b8023c510d563da | refs/heads/master | 2021-01-25T12:36:56.617930 | 2018-08-30T16:23:07 | 2018-08-30T16:23:07 | 123,485,870 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,641 | r | annot_functions.R |
make_gds_annot <- function(gds){
eset <- GEOquery::GDS2eSet(gds)
annot <- pData(phenoData(eset))
annot$sample <- NULL
annot <- select_class(annot)
annot$SampleName <- rownames(annot)
return(annot)
}
select_class <- function(annot){
priority_list <- c("disease.state", "protocol", "agen... |
3a69e5f4409f2a4bdf9ff87af69d7390bb58c0a2 | 7773a08777ff4774311644e991528e8c7e7666d0 | /plot2.R | f7397444f292e1fe3dd92371ceed8897b0b80aeb | [] | no_license | ArBaDaCarBa/ExData_Plotting1 | f7f9b6c7f2b4fe460fd1727501a96657e075bafd | ea4d8324d3e801079b5115a48027fc3089ed2240 | refs/heads/master | 2021-01-15T16:04:51.677721 | 2015-03-06T22:48:26 | 2015-03-06T22:48:26 | 31,544,870 | 0 | 0 | null | 2015-03-02T14:44:51 | 2015-03-02T14:44:49 | null | UTF-8 | R | false | false | 957 | r | plot2.R | # Making sure the labels are in english and not localized
Sys.setlocale("LC_TIME", "C")
# Loads the project data, assuming it's in data/household_power_consumption.txt
library(sqldf) # To avoid loading the whole file in memory
# Loading data of interest from file
hpc.data <<- read.csv.sql(
file = 'data/household... |
d8582ae6697c83682f14eb9a5b45c84fb37475a1 | ef2942bd239ff7c4c676fe65867566cdafd5efdd | /Scripts/BR/baton_rouge_concentration.R | c8972e083f1e6d0f6f3684e2d28f9d8da89b2761 | [] | no_license | jldbc/criminology_of_place | 237224daf8ead99249cb864a9aad29191c255212 | 61a9d5f6f80539cdc98b52544d46d8146615b6b0 | refs/heads/master | 2021-06-16T18:38:32.171811 | 2017-05-11T04:17:38 | 2017-05-11T04:17:38 | 72,176,328 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,139 | r | baton_rouge_concentration.R | ## remaining:
# - sacramento_county_2007_present
# - pitt_crime (can get pct. relationship, but can't plot or regress)
# - Oakland (some lat/long parsing needed)
# - Cincinnati (no plotting, but the block level data is good)
# - Austin (lat/long unreliable, but block level data looks good) -- this seems too concent... |
d056066b0967b4e4afc4d728b899f603412b9c86 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /myTAI/inst/testfiles/cpp_geom_mean/AFL_cpp_geom_mean/cpp_geom_mean_valgrind_files/1615839347-test.R | 2017bdf9eb7badac887eb3a04990517b76c96a11 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 153 | r | 1615839347-test.R | testlist <- list(x = c(1.39098954479748e-309, 2.85846620057912e-319, 0, 0, 0, 0, 0, 0, 0))
result <- do.call(myTAI:::cpp_geom_mean,testlist)
str(result) |
e99dfff592169e5b999c87e31473e8f06f74e861 | 9c6359526c2c18bbbbeda7a8c1a1431f2e33cf09 | /R/functions.r | fbb83cca09f516b105b0964fa6c2d2f4bfe09dd6 | [
"MIT"
] | permissive | lsaravia/fireNL | 622855b76510e1edc39012df833fc12fedb4997e | 0e23b8e8a116e52db0427706c274ad4a01797755 | refs/heads/main | 2023-07-20T17:00:47.501844 | 2023-07-14T20:06:54 | 2023-07-14T20:06:54 | 301,216,269 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,610 | r | functions.r |
#' Extract images from DynamicFire NetLogo Model saved view
#'
#' The images were saved with the NetLogo extension CSV each 30 steps (ticks) after 7200 steps
#'
#' @param fname
#' @param plot
#'
#' @return
#' @export
#'
#' @examples
extract_patch_distr_nl <- function(fname,plot=FALSE){
#
# Extract parameters ... |
42272104302887c556041246f15648c1b095f9c1 | 95cd8aee9871f5114553ea1388ec6123490c6b3c | /plot3.R | fb92344767d37ddf70ec9b0282fa50aa8323a8bd | [] | no_license | binaspora/ExData_Plotting1 | f4b67b1658a4596e87cc253985b5569d057fc7a1 | c811fef80b9b7ce662675a59f070b9f5e2374914 | refs/heads/master | 2021-01-01T06:33:26.515110 | 2014-06-08T20:39:48 | 2014-06-08T20:39:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 620 | r | plot3.R | # Load data
data <- read.csv2("./data/small_data.txt", dec=".");
data$utz <- paste(data$Date, data$Time, sep="-")
png(file="plot3.png")
dates <- strptime(data$utz, "%d/%m/%Y-%H:%M:%S")
# Print the plot
plot(dates, data$Sub_metering_1,
type="n",
xlab="",
ylab="Energy submetering"
)
points(dates, d... |
01bf86857b63b75a2e29d553aa796526dc3a814e | 2724f6e874c9500b0df726c2d6903fe486b8cc84 | /R/to_overlay_data.R | 62fa1bbb180465bc8f714bf2b82dddb77343c6f7 | [
"MIT"
] | permissive | lagelab/Genoppi | 62006e9f123a1857580e5ebd88885c945483f6e3 | f78e7b3e523650e7ae211fc93b79dff3e28dd03f | refs/heads/master | 2023-08-31T09:51:59.007937 | 2022-10-12T14:17:17 | 2022-10-12T14:17:17 | 83,465,982 | 23 | 10 | null | null | null | null | UTF-8 | R | false | false | 1,628 | r | to_overlay_data.R | #' @title to overlay data
#' @description Adds columns to a data.frame (e.g. one used for overlay)
#' that are required for downstream functionality in genoppi/
#' @param df a data.frame
#' @param dataset optional string, if dataset is not provided in df.
#' @param rm.sig boolean. should signicicant items be removed?
#... |
f9a84c2e302090b2efddc355be90dbb070cc3cb5 | 5b6a014264b1aed12d6e5894ee49bf3db2fe7750 | /man/dc.MergeTransactionsOnSameDate.Rd | 98b8e4812e5b7cff53fca3df0e9510c3e474336d | [
"MIT"
] | permissive | cnasher/BTYD | 5f91fc8b217aeae19c1ef0e01e0fa438a0f49c81 | af96f294cedaa892d563e6bcde945267b63229d8 | refs/heads/master | 2021-01-14T10:30:53.864487 | 2014-01-07T06:03:14 | 2014-01-07T06:03:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 638 | rd | dc.MergeTransactionsOnSameDate.Rd | \name{dc.MergeTransactionsOnSameDate}
\alias{dc.MergeTransactionsOnSameDate}
\title{Merge Transactions on Same Day}
\usage{
dc.MergeTransactionsOnSameDate(elog)
}
\arguments{
\item{elog}{event log, which is a data frame with columns
for customer ID ("cust"), date ("date"), and optionally
other columns such as "... |
59b3c3b109c3020514d53cd31e1c4901fbd53d76 | 12b6e3ae125d1e684ca91576dc0e29f6577dc2cb | /inst/extdata/template.R | b426fcab7ca224286620b4db1a7b8f6684aece16 | [] | no_license | simschul/my.utils | dbe92e721fe414a57fe6e0356439bc0458344aaf | 6c353f9fb88ed60f451ed249f7b910f4b00e2504 | refs/heads/master | 2023-06-21T16:55:06.964546 | 2023-06-20T09:05:15 | 2023-06-20T09:05:15 | 168,372,744 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,045 | r | template.R | #'
#'
#'
#' @author {{author}}
#' Date: {{date}}
#'
#' Content:
#'
############################################################################## #
##### load packages ############################################################
############################################################################## # ... |
296964c13ff2ac872a90268621813cb2de7c1ecd | c1d5a107e2947b9d60c4fc6bc33426312dfded1b | /ui.R | 471c5bc1819174b9dc391c0df5c5d5195b449730 | [] | no_license | JorisVdBos/leningenvergelijker | f2756f07e2e6943cb4cf5d81cad7ac7223029511 | 096b5ab09ed937fb07f1d60a9690cb94e69b3819 | refs/heads/master | 2021-01-19T00:54:06.909925 | 2017-08-21T20:24:11 | 2017-08-21T20:24:11 | 87,216,330 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,824 | r | ui.R | # Header ----
dbHeader <- dashboardHeader(title = "Leningen vergelijker")
sidebar <- dashboardSidebar(
sidebarMenu(
menuItem(text = "Inleiding",
tabName = "inleiding",
icon = icon("home")),
menuItem(text = "Simuleer lening",
tabName = "simLen",
... |
3bf30b441972c93fff7e4b8931568fc579139b75 | 2e5bcb3c8028ea4bd4735c4856fef7d6e46b5a89 | /man/ProbeLevelTransform3.Rd | c4c864c1fc9a303f9e890798896a4b4e663f5b0f | [] | no_license | HenrikBengtsson/aroma.affymetrix | a185d1ef3fb2d9ee233845c0ae04736542bb277d | b6bf76f3bb49474428d0bf5b627f5a17101fd2ed | refs/heads/master | 2023-04-09T13:18:19.693935 | 2022-07-18T10:52:06 | 2022-07-18T10:52:06 | 20,847,056 | 9 | 4 | null | 2018-04-06T22:26:33 | 2014-06-15T03:10:59 | R | UTF-8 | R | false | false | 3,521 | rd | ProbeLevelTransform3.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% ProbeLevelTransform3.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{ProbeLevelTra... |
24478034553978b1ef42cf8da01dd7b9ac24f4b8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/popkin/examples/fst.Rd.R | 2398d0375939705acd19bafbeb392d02350e95e7 | [] | 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,035 | r | fst.Rd.R | library(popkin)
### Name: fst
### Title: Extract FST from a population-level kinship matrix or vector of
### inbreeding coefficients
### Aliases: fst
### ** Examples
## Get FST from a genotype matrix
## Construct toy data
X <- matrix(c(0,1,2,1,0,1,1,0,2), nrow=3, byrow=TRUE) # genotype matrix
subpops <- c(1,1,2)... |
efa30023e3509e0678c6745f591d099db7d471d7 | faad2c40617e265b5b0dd393e5d11a117e79afbc | /Regression/script.R | a26177e32860c8eb71a4c51c68d7192349b2b197 | [] | no_license | Ankur3107/Vortex17-machine-learning | 73b653aed34bd616de056cad10e6df52357e43cf | be339fb03a67563dbaf318c906562d54d216d96e | refs/heads/master | 2021-01-09T05:52:21.936429 | 2017-02-04T11:55:00 | 2017-02-04T11:55:00 | 80,853,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,115 | r | script.R |
train_data <- read.csv("Dataset-2/competition_second_train.csv",header = FALSE)
test_data <- read.csv("Dataset-2/competition_second_test.csv",header = FALSE)
sample_submission <- read.csv("Dataset-2/competition_second_sample.csv")
str(train_data)
str(test_data)
names(train_data)
names(test_data)
names(sample_submiss... |
998cb79e32cfadef44d31950c61a64e4997a73a6 | 32886d6690229de10c70952678bc085af1395ff6 | /Hackerrank/Viral_Advertising.R | d35ffe242f7465e0429caecfac867e1c047c01aa | [] | no_license | jimmyyih518/ChallengeR | 4334276a24713b49d3af1aad28d73b6842e7096a | 3b9e0ca0cf5a2e4432f279296a6212c6a136f6ca | refs/heads/master | 2022-12-07T22:58:13.744239 | 2020-08-19T03:26:44 | 2020-08-19T03:26:44 | 280,044,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 409 | r | Viral_Advertising.R | # Enter your code here. Read input from STDIN. Print output to STDOUT
f <- file("stdin")
open(f)
n = as.numeric(readLines(f, n = 1))
viralAdvertising = function(n){
Day = 1
Shared = 5
Liked = floor(5/2)
Cumulative = 2
for(i in 2:n){
Day = i
Shared = floor(Shared/2)*3
Liked = floor(Shared/2)
... |
f7f2bf7d217f3a3d2d66096a22c1d44fbbf47a0d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Ake/examples/kpmfe.fun.Rd.R | 706dc5fa412589fe714ad1f19dab840864cdeed6 | [] | 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 | 526 | r | kpmfe.fun.Rd.R | library(Ake)
### Name: kpmfe.fun
### Title: Function for associated kernel estimation of p.m.f.
### Aliases: kpmfe.fun kpmfe.fun.default
### ** Examples
## A sample data with n=60.
V<-c(10,0,1,0,4,0,6,0,0,0,1,1,1,2,4,4,5,6,6,6,6,7,1,7,0,7,7,
7,8,0,8,12,8,8,9,9,0,9,9,10,10,10,10,0,10,10,11,12,12,10,12,12,
13,14,15,1... |
81fe8ff4fefe33a8e42992e6694fbc9cccca1c53 | 39038eab7d051410289342195d84c79ca8afb692 | /man/wrt_data.Rd | 9d77f4cd3da179f7801400bf8873dbb63b80ab44 | [] | no_license | nathanvaughan1/DST | 4b57f41f1c6b9b05eabba9bdb0784e36cba88160 | 3bb6cd8c5466d301053391da577184e28b95a463 | refs/heads/master | 2021-06-19T18:34:43.163605 | 2021-01-14T18:45:46 | 2021-01-14T18:45:46 | 159,189,519 | 2 | 1 | null | 2020-02-04T00:26:17 | 2018-11-26T15:18:28 | R | UTF-8 | R | false | true | 870 | rd | wrt_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/write_ss_files.R
\name{wrt_data}
\alias{wrt_data}
\title{write data file}
\usage{
wrt_data(datlist, outfile, overwrite = TRUE, verbose = FALSE)
}
\arguments{
\item{datlist}{List object created by \code{\link{rd_data}}.}
\item{outfile}{Filena... |
ac85b6e4d04cc6a54fc9195ccb9b51ce8a882707 | eacaccac552e598e5e9b84a390458031888cf25d | /tests/testthat.R | 20bfd6d9ff980f2a77a8429d0b3bee4e1cd32830 | [
"MIT"
] | permissive | konradzdeb/ClasslessFun | 895444967cc12c6b6d898e74fad3692418fc4630 | 23fa79ad2c09b31a0be52c41fbd687f8b7481a80 | refs/heads/master | 2020-04-10T21:35:28.116770 | 2018-12-22T14:32:38 | 2018-12-22T14:32:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 68 | r | testthat.R | library(testthat)
library(ClasslessFun)
test_check("ClasslessFun")
|
ed5cff50fcbfc49df772ffe906e1d513f779842c | 29a2daaa4aadaa7e04987cf1aaed0501362028ae | /additional_functions/mcmc.spatial.time.energy.full.marginal.R | 3dfdbda23793fb2e4712e38f860bb3ba498d0d47 | [] | no_license | lfcampos/Space-and-time-with-fixed-K | e7a58d5efcb4b280fe355431a096679149b3c836 | 50b15dfdb8dcc63251362a825e6303d3e037dcf5 | refs/heads/master | 2022-10-28T08:24:54.517237 | 2020-06-08T07:47:28 | 2020-06-08T07:47:28 | 101,098,105 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,758 | r | mcmc.spatial.time.energy.full.marginal.R | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# input:
# w: source intensity (current) of length k_curr + 1
# allocate_curr: vector of allocations (current) of length obs_num
# mu_curr: matrix of source locations (current)
# eparas: energy parameters one per source
# ewt: ene... |
5bb98d9fada6219586158c95e56510c6f99a1bcd | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/lepton.R | aebf308d2489c46a07611ae8d90e73d740072c58 | [
"MIT"
] | permissive | andrewdefries/andrewdefries.github.io | 026aad7bd35d29d60d9746039dd7a516ad6c215f | d84f2c21f06c40b7ec49512a4fb13b4246f92209 | refs/heads/master | 2016-09-06T01:44:48.290950 | 2015-05-01T17:19:42 | 2015-05-01T17:19:42 | 17,783,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 192 | r | lepton.R | library("knitr")
library("rgl")
#knit("lepton.Rmd")
#markdownToHTML('lepton.md', 'lepton.html', options=c("use_xhml"))
#system("pandoc -s lepton.html -o lepton.pdf")
knit2html('lepton.Rmd')
|
55b0f61d6161029edc299fd8e296b024e7981b3d | baecfb4396b382c11bdb559caa514a96aef93cf3 | /plot4.R | 938787b76659dcea4f45f5a65a37dc6e4e485523 | [] | no_license | EllenB/Exploratory-Data-Analysis-Coursera- | fccf08fd2500fb00f0fa4ecca32e22b3332abe4e | 3f18cfdeaae754696cd1290add454f9b8a072055 | refs/heads/master | 2020-06-05T09:13:39.608952 | 2015-02-06T08:06:13 | 2015-02-06T08:06:13 | 30,400,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,106 | r | plot4.R | #######################################
## Project 1: Exploratory Data Analysis
## Ellen Brock
#######################################
## 1. Setting the working directory
setwd("E:/Ellen/coursera/ExpDatAn/project_1")
## 2. Reading in the data
data <- read.table("household_power_consumption.txt",header=T,sep=";",na.s... |
ca575e56959a4eece7c49e0a3d3b4bd97d930ca4 | 6464efbccd76256c3fb97fa4e50efb5d480b7c8c | /paws/R/networkmanager_interfaces.R | 88c7129885b36460525334bace167091ea77e932 | [
"Apache-2.0"
] | permissive | johnnytommy/paws | 019b410ad8d4218199eb7349eb1844864bd45119 | a371a5f2207b534cf60735e693c809bd33ce3ccf | refs/heads/master | 2020-09-14T23:09:23.848860 | 2020-04-06T21:49:17 | 2020-04-06T21:49:17 | 223,286,996 | 1 | 0 | NOASSERTION | 2019-11-22T00:29:10 | 2019-11-21T23:56:19 | null | UTF-8 | R | false | false | 43,584 | r | networkmanager_interfaces.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common populate
#' @include networkmanager_service.R
NULL
.networkmanager$associate_customer_gateway_input <- function(...) {
args <- c(as.list(environment()), list(...))
shape <- structure(list(CustomerGatewayArn = structure(logic... |
64120445c1039053c1728fec50438d8a6bfa769a | 9e1308ea7e52098691c6ecccf48a1d47ea8665b2 | /man/geoflow_right.Rd | 892aeb008fea9556d5ceac6f35ca7a5283aeea77 | [] | no_license | gitter-badger/geoflow | 634c0d07f9dd02191d8c3a0c8f1777310867ab4d | abc49ed61f0c52c52b1577215954ced31e53e097 | refs/heads/master | 2020-08-20T17:23:14.026344 | 2019-10-18T07:34:00 | 2019-10-18T07:34:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 313 | rd | geoflow_right.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geoflow_right.R
\docType{data}
\name{geoflow_right}
\alias{geoflow_right}
\title{geoflow_right}
\format{An object of class \code{R6ClassGenerator} of length 24.}
\usage{
geoflow_right
}
\description{
geoflow_right
}
\keyword{datasets}
|
b40195b3b7992760ab1062668aaaa8ee764db576 | e8e58947ae3193313e86f103b97d44c9ec862e39 | /man/plot.p_dependencies.Rd | c551f7c57478d42e15886179386510ecdfb3e4d8 | [] | no_license | trinker/pacmanDependencies | d9ae1837c66ef3592baf686fcf34efb9f1f89aa8 | b64479d295556bef903c33aacae82cbb585479d0 | refs/heads/master | 2021-01-01T17:16:14.897358 | 2014-10-21T04:04:10 | 2014-10-21T04:04:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,216 | rd | plot.p_dependencies.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{plot.p_dependencies}
\alias{plot.p_dependencies}
\title{Plots a p_dependencies Object}
\usage{
\method{plot}{p_dependencies}(x, legend = TRUE, legend.x = -1.5,
legend.y = -1.05, legend.cex = 0.8,
title = paste("Dependencies for the", attributes(x)[["package... |
9f1cf3166973e021b45c663d28516da5213e8c34 | 9969b02c26fa5388ac971b8212c761c6abf98efb | /inst/helperCode/compileConfLimits.r | 5b0189753f49cc5f67fd969ee8370e5d1b01c57f | [] | no_license | tmcd82070/CAMP_RST | 0cccd7d20c8c72d45fca31833c78cd2829afc169 | eca3e894c19936edb26575aca125e795ab21d99f | refs/heads/master | 2022-05-10T13:33:20.464702 | 2022-04-05T21:05:35 | 2022-04-05T21:05:35 | 10,950,738 | 0 | 0 | null | 2017-05-19T20:42:56 | 2013-06-25T21:24:52 | R | UTF-8 | R | false | false | 5,871 | r | compileConfLimits.r |
# we want to compile all of the confidence intervals in a sample with an exploding right endpoint.
# # 1. fill out this stuff.
# thePlatform <- 'CAMP_RST20160201'
# theRiver <- 'Sacramento River'
# #files <- list.files(paste0('//lar-file-srv/Data/PSMFC_CampRST/ThePlatform/',thePlatform,'/Outputs/',theRiver))
# ge... |
30c9ae7db0780515ca009e8b558fcb769713982f | 21ce426513bad64d46ee887e7aeccb606a96ccda | /Projeto_PAEII_Script.R | 0dae560ad3ba79e7f78ccdf5e0a6db488b02bc2b | [] | no_license | victormmp/EC02 | d19314ed3edc06ed3d6d5954cd3dba9e28bd1f02 | b3aa0bd6174c1fda9dcfc612c9ca41bec405dc5f | refs/heads/master | 2020-08-01T10:18:19.540563 | 2019-10-01T02:42:08 | 2019-10-01T02:42:08 | 210,963,471 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,151 | r | Projeto_PAEII_Script.R | data_2016<-read.csv("imc_20162.csv");
data_2017<-read.csv("CS01_20172.csv", sep=";");
PPGEE_dados=data_2016[data_2016[2]=='PPGEE',];
Dados_Masculino_2016=PPGEE_dados[PPGEE_dados[3]=='M',];
Dados_Feminino_2016=PPGEE_dados[PPGEE_dados[3]=='F',];
Heigh_Maculino_2016=Dados_Masculino_2016[,4];
Heigh_Feminino_2016=Dados_... |
5194699e09f298782e4f8761d97753aa9c1376ac | 5fd3ddd30766a4eae04069b44bfe4f85f9dfaa40 | /man/get.MayPrevent.Rd | 0ee87c72b96ce7bb4a767e869bd12e8eec71d2c9 | [] | no_license | Angelacheese/pharm | 1a18155194cbc6551f12e28083f2a01a347dd0fb | 9f7d600752641edb30353f4575d89a9db6cc67ab | refs/heads/master | 2022-10-06T03:13:18.425075 | 2019-07-18T08:09:56 | 2019-07-18T08:09:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 428 | rd | get.MayPrevent.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getMayPrevent.R
\name{get.MayPrevent}
\alias{get.MayPrevent}
\title{Get may prevent based on RxCui}
\usage{
get.MayPrevent(df, RxCuiColName = RxCui, cores = 16)
}
\arguments{
\item{df}{data.frame include RxCui}
\item{RxCuiColName}{A colum fo... |
25fc551dbc533ce50a9154405880df9f35cf75d4 | aa6b6bf70b316244ff92673456daac851f1c35ee | /ultraseq/man/merge_sheets.Rd | e19af32ed3447c5a408b883e5c1aab33330123c1 | [] | no_license | flow-r/ultraseq | 742035de86d55019d5c52b1b9a2c1795ec6ac5b9 | 58f72866c5b2504c18fd3e472ae187b5471826c8 | refs/heads/master | 2022-10-05T01:22:44.717599 | 2016-05-12T03:55:19 | 2016-05-12T03:55:19 | 42,262,784 | 0 | 1 | null | 2016-05-25T15:57:52 | 2015-09-10T18:28:31 | R | UTF-8 | R | false | true | 668 | rd | merge_sheets.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/merge_sheets.R
\name{merge_sheets}
\alias{merge_sheets}
\title{merge tables by row, and filter rows}
\usage{
merge_sheets(x, outfile, .filter = NA, ...)
}
\arguments{
\item{x}{a character vector of file to be merged}
\item{outfile}{path to t... |
cda9c1261d4778acd4856e1a6a83d2b9019d8dc3 | bc37ece62b92314aa42dca5d04eaed3409d49e41 | /R/plosauthor.R | b528bfbe7a4594c8058b5f21b73c549ff79a3157 | [] | no_license | bbolker/rplos | 9416af079729291b1816c7e61bcd18b0600fed78 | 325ec5de9577d6f00f2615a374a722792a702958 | refs/heads/master | 2021-01-15T17:55:48.968305 | 2013-09-16T14:12:26 | 2013-09-16T14:12:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 840 | r | plosauthor.R | #' Search PLoS Journals authors.
#'
#' @template plos
#' @return Author names, in addition to any other fields requested in a
#' data.frame.
#' @examples \dontrun{
#' plosfigtabcaps('ecology', 'id', 100)
#' plosfigtabcaps(terms='ecology', fields='figure_table_caption', limit=10)
#' }
#' @export
plosauthor <- func... |
1487c9aef755b4335d39bd69c0d7f8856dae3f39 | 2140b0f4a3556b5dc76a4e1749cbcb7ea1d0a61b | /scripts/packages.R | 2ee43c54b4e081e9730fad9c8ef59b2451b6e9e2 | [] | no_license | sashahafner/NH3MTC | aa53173461029f3c4446a69aa2bc1d1d50f48f60 | ae913b6036b9956205bda6fa3b93c0ed32b67e7a | refs/heads/master | 2023-04-08T10:20:44.339685 | 2021-04-08T11:40:24 | 2021-04-08T11:40:24 | 300,247,350 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 52 | r | packages.R |
library(reshape2)
library(ggplot2)
library(dplyr)
|
fcbb2098008bfbf47e5aa89d6455ece04ac632e7 | ed1392d548de962abd2dd64f698c22115031c046 | /test_database.R | 99e5e6de55fd0ebad0ba78c6b800cc8807b1ed94 | [] | no_license | marzuf/TAD_DE_pipeline_v2_TopDom | bc479b0a1b6ea105e0743b4075319b68d6f6cacf | 5cdfe398c7948b3d2b74ff1754fb152d5b3b44af | refs/heads/master | 2020-04-07T20:27:37.669622 | 2018-12-08T21:25:48 | 2018-12-08T21:25:48 | 158,689,069 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,297 | r | test_database.R | suppressPackageStartupMessages(library(GOSemSim, warn.conflicts = FALSE, quietly = TRUE, verbose = FALSE))
suppressPackageStartupMessages(library(org.Hs.eg.db, warn.conflicts = FALSE, quietly = TRUE, verbose = FALSE))
suppressPackageStartupMessages(library(foreach, warn.conflicts = FALSE, quietly = TRUE, verbose = FAL... |
af23e5072fdd08009d884c1d33ced320a3aef411 | ef8d66ebaeaf27fa1aed1cf01ebd70ce8224c5cd | /man/get_results_in_folder.Rd | 739d9bd6a6ebe01b9ec042bf1cc30491cac1e6fb | [] | no_license | Alice-MacQueen/CDBNgenomics | dd6c8026156d91be7f12a9857d0ebeb89c32c384 | 6b00f48eb1c6eec848f11416d7a5fd752cd778bd | refs/heads/master | 2021-07-08T06:15:56.774003 | 2020-08-12T19:28:32 | 2020-08-12T19:28:32 | 178,261,021 | 2 | 2 | null | null | null | null | UTF-8 | R | false | true | 776 | rd | get_results_in_folder.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cdbn_bigsnp2mashr.R
\name{get_results_in_folder}
\alias{get_results_in_folder}
\title{Identify phenotype names from bigsnpr results in a folder.}
\usage{
get_results_in_folder(path = ".", pattern = "*.rds")
}
\arguments{
\item{path}{File path... |
725191bd899f4f38eaedabc310579efe16f24eea | 932e32833a2969f146c05074be3d742b1cc8a566 | /code/preproc_aggregates.R | 24b601311f362baa54ec1f8b0339df8a8925e3e7 | [] | no_license | jibietr/expedia_case_study | 9548e0b61004ae912fafa0b64b9842fbbe6de94f | 59d1e7fb4a835f59a478814b0d7a678d23a970a2 | refs/heads/master | 2021-01-23T08:10:54.910312 | 2017-02-01T21:16:36 | 2017-02-01T21:16:36 | 80,533,744 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,629 | r | preproc_aggregates.R |
# Compute partner and market aggregates:
# num bookings, total booking, mean booking value
# market share, partner share, etc.
library(plyr)
library(reshape)
PATH <- "www/"
fname <- paste(PATH,'expedia_casestudy_20170127.csv',sep='')
bookings <- read.csv(fname,sep=",",header=TRUE,fill=TRUE)
colnames(bookings) <- c("p... |
7b5b6cf86fda30a3f1abf70fdc9ab0a715955c11 | d541ac8c98d952b3c7ef0593469a468645f904c2 | /R/maf_tab.R | e7d896db653eaaa2a56b4fdede8b6b117b4f7a45 | [] | no_license | pdiakumis/varpr | a65a5c29580a5a2902dd31eb9645914c72c10f93 | 2d84597a45765cf3a8a0a5754ab29d703ddfb350 | refs/heads/master | 2021-04-26T22:18:22.954030 | 2016-05-11T08:05:28 | 2016-05-11T08:05:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,172 | r | maf_tab.R | #' Returns a summary of a MAF variable (i.e. 1KG or ESP6500)
#'
#' \code{maf_tab} reads in a MAF vector (i.e. 1KG or ESP6500) and outputs the
#' number of variants satisfying certain conditions.
#'
#' @param maf_vec The vector containing the MAF values.
#' @return An integer vector with the counts of each condition
#' ... |
3d59bf788857ee895fa9dc1ea6e905df340abade | fbf2073978337d333e6b88b35812ac12e1401020 | /tmp_tests/measles2.R | 1caf5521faad553358a3d61c3253648aa3a39c68 | [] | no_license | allistho/spatPomp | 615918f643afcd1cdd91d6f0dc1b453cdcd4923f | 3041a01f56ab0ae73b1742030a54a57ff1a793d6 | refs/heads/master | 2021-05-21T18:18:10.889759 | 2020-09-27T01:05:42 | 2020-09-27T01:05:42 | 252,750,084 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,254 | r | measles2.R | png(filename="measles2-%02d.png",res=100)
library(magrittr)
library(plyr)
library(reshape2)
library(ggplot2)
library(spatPomp3)
options(
stringsAsFactors=FALSE,
encoding="UTF-8"
)
## ----read_data-----------------------------------------------------------
read.csv("measlesUKUS.csv",stringsAsFactors=FALSE) %>% sub... |
67d3d21b54c5731b862bf4fe26743d0e7b49c1e1 | e66f339cd2b6277f104c228470c97987148b1915 | /CASHW/include.R | 1a5b0d313ec83f0ac07df01e0e223fd6eeb7b7dc | [
"MIT"
] | permissive | scoyote/ViyaRace | cec12d6c87046138bed31305a0ae92cc349cd871 | 503c76e9904780c99961e0051a74c679047468c2 | refs/heads/master | 2021-01-18T17:32:54.044049 | 2017-06-09T21:43:51 | 2017-06-09T21:43:51 | 70,178,492 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 801 | r | include.R | library(swat)
library(tidyr)
s <- CAS('localhost', 5570, authfile='~./authinfo')
#files <- reactiveValues()
#list_files <- function(sessionID,caslibID){
# files <- tryCatch({
# return(unnest(data.frame(cas.table.fileInfo(sessionID,caslib=caslibID))))
# },
# error = function(err){return(NULL)}
# )
# return(fil... |
d169eaf953627e2de55464fdc31b154c987042ba | 888eb6041144ac34c7ed0d17684f856a4e3b95fd | /tests/testthat/test-compare-designs.R | 57a250357cc2e77cc0919a6962bcb3be12302979 | [] | no_license | reuning/DeclareDesign | c5ae645ae7e661469ff4c9a54f252c69619b2e51 | b089b97397c6d95f334c129fdc0fb8fccb00d4d6 | refs/heads/master | 2023-08-19T19:30:45.244887 | 2021-10-17T13:11:15 | 2021-10-17T13:11:15 | 417,950,314 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,652 | r | test-compare-designs.R | context("Compare Designs")
my_population <- declare_population(N = 50, noise = rnorm(N))
my_potential_outcomes <-
declare_potential_outcomes(Y_Z_0 = noise, Y_Z_1 = noise + rnorm(N, mean = 2, sd = 2))
my_assignment <- declare_assignment(Z = complete_ra(N, m = 25))
pate <- declare_inquiry(pate = mean(Y_Z_1 - Y_Z_0)... |
2140fdc7f14737eb6c27e73e36cccb9e8bfbaeb8 | 558246c24bf0a611246c7343af3f391ff2485d9c | /man/proffer-package.Rd | 3ba8b1aea2ac951f41f6d407bb69dd3ec0be3aa3 | [
"MIT"
] | permissive | krlmlr/proffer | ae7eecbd53d8e3d7b586e4bfd88a199b533e7002 | 97bb0c81a45a498f4b7ab42f616ccc8c9863d1ba | refs/heads/master | 2020-12-01T16:28:26.788070 | 2019-12-27T02:30:46 | 2019-12-27T02:30:46 | 230,698,058 | 0 | 0 | NOASSERTION | 2019-12-29T03:33:47 | 2019-12-29T03:33:46 | null | UTF-8 | R | false | true | 1,034 | rd | proffer-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\docType{package}
\name{proffer-package}
\alias{proffer-package}
\alias{proffer}
\title{proffer: profile R code with pprof}
\description{
It can be challenging to find sources of
slowness in large workflows, and the proffer package ... |
12266fd996c9523cca4778ee9057d0fcd1a722a1 | f92da6d51a6630f87c980b081fedf85910029c18 | /testdata/list.v2.rd | b1778692a76138eab88ce254b4e96c6a21d337ab | [] | no_license | hydrocul/roonda | 9d643edf89bbc3ab29dbbbf70ced484d18757882 | 44ae7e9179ffbd92993a1e26735b2032a26b6140 | refs/heads/master | 2021-01-13T02:06:11.249588 | 2014-03-05T16:04:45 | 2014-03-05T16:04:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 367 | rd | list.v2.rd | sh v2
(println "perl")
(perl
(assign lst (list 1 2 3 "abc"))
(dump lst))
(println "ruby")
(ruby
(assign lst (list 1 2 3 "abc"))
(dump lst))
(println "python2")
(python2
(assign lst (list 1 2 3 "abc"))
(dump lst))
(println "python3")
(python3
(assign lst (list 1 2 3 "abc"))
(dump lst))
(println "php")
(php
... |
c17973aef54fa39edd53815b409f2ee9001299c7 | 3c8428519e5fe135d3fb9a4da1db37c4557e2251 | /WetlandModel/modelManyRuns.R | a7d5982638458a16d7d838ed1c072f8967863e7b | [] | no_license | ecospatial/NAS_2016 | 5e8c4e7c6d6fe0b107f4078d0f9922257a256398 | f0982d3af944c2da9f165687e9539f86dd0255ae | refs/heads/master | 2022-11-23T16:42:43.966845 | 2020-07-30T21:54:37 | 2020-07-30T21:54:37 | 109,192,347 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,812 | r | modelManyRuns.R | setwd("WetlandModel/")
library(rjags)
library(sp)
library(magrittr)
library(raster)
library(rgdal)
library(rgeos)
library(RPostgreSQL)
library(postGIStools)
source("../RUtilityFunctions/createModels.R")
source("../RUtilityFunctions/codaSamplesDIC.R")
source("loadTHK99.R")
loadTHK99data(local=T, regions="ALL")
runMod... |
c40bfb55a132a1d96ecb12e83cb38864d4bb8141 | ef1d6fa0df37fa552c4c4625e6e9cb974e8482f0 | /man/stab.fs.Rd | a0859e52286f900022b91bc136a84ba9e2bdf85f | [] | no_license | bhklab/genefu | 301dd37ef91867de8a759982eb9046d3057723af | 08aec9994d5ccb46383bedff0cbfde04267d9c9a | refs/heads/master | 2022-11-28T09:22:02.713737 | 2022-05-30T15:35:53 | 2022-05-30T15:35:53 | 1,321,876 | 17 | 15 | null | 2022-11-07T11:52:05 | 2011-02-02T21:06:25 | R | UTF-8 | R | false | true | 2,658 | rd | stab.fs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stab.fs.R
\name{stab.fs}
\alias{stab.fs}
\title{Function to quantify stability of feature selection}
\usage{
stab.fs(fsets, N, method = c("kuncheva", "davis"), ...)
}
\arguments{
\item{fsets}{list of sets of selected features, each set of sel... |
9c235c0d7f4fd33a0f7231d788d410cbbc75a950 | bced527f03bc21c12e98633b75554aecb592191c | /Reduce_AcousticStationsData.R | 67d8ebb86641887cefc8c3f9fd51532ddd007acc | [] | no_license | mezo-research/tagga | ea5af2914397f2c8fc15f64fc10de9ed54855615 | b4d661f13024df0f2dfe5bdf73ef620fdb26469c | refs/heads/master | 2021-01-16T23:05:42.150126 | 2016-10-12T05:23:10 | 2016-10-12T05:23:10 | 69,429,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,028 | r | Reduce_AcousticStationsData.R | ## Date: 4 October 2016
## Creator: Christina Smith
## Purpose: Reduce data in AcousticStations_reduced_2hr.csv to contain the min
## data required for the mapping and time series plots and save in
## AcousticStations_maptime.csv
##
## NOTES: Date is not read in as an R date
library(dplyr)
## Read in reduc... |
5e4bb23eb8a030bb63c67ff7da7a04bd4015651c | 85a3a70cdf78f11d180282ec540b5d6572db1f21 | /Analysis/6b_modelling.R | aa40d4d1faf4fa01ffa1cb2b4c421d42d4a8cae6 | [] | no_license | warren-james/Motivation_and_Decisions | 8d5fa8c8890da885fbd36e90a20a6e7e4ffdd010 | aedba9ed7bd1cbc3ca25de0e27ac71b9864af1e8 | refs/heads/master | 2020-05-17T09:45:49.261037 | 2020-02-26T16:49:31 | 2020-02-26T16:49:31 | 183,638,354 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,340 | r | 6b_modelling.R | #### modelling penguin ####
# This script is to work on modelling the data
# from the penguin version of the task with other
# control versions (using instructed and practice from
# the transfer paper)
#### Library ####
library(brms)
library(rethinking)
library(rstan)
library(tidybayes)
library(tidyverse)
#### con... |
e29ad72b1ef122d021e4f3a11818019bc3ed3c94 | 2e3d6b8b717ed1bd34bf97f96eb2784e2ab8e8be | /src/preprocessing_gls2000_yt.R | 575f455bb4b7734e189ea6a3a2fb9f02dea198c4 | [
"MIT"
] | permissive | environmentalinformatics-marburg/orthoptera_prediction | 54f9553ce359c9d5e0f6d14f197fb91f7327a509 | 856553c048b07c21761ef3ad84ab451b74de5b5e | refs/heads/master | 2020-12-24T07:06:14.958051 | 2018-06-14T11:54:38 | 2018-06-14T11:54:38 | 37,680,583 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,476 | r | preprocessing_gls2000_yt.R | # Preprocess dataset by combining field and satellite observations
if(Sys.info()["sysname"] == "Windows"){
source("D:/orthoptera/orthoptera_prediction/src/00_set_environment.R")
} else {
source("/media/tnauss/myWork/analysis/orthoptera/orthoptera_prediction/src/00_set_environment.R")
}
# Prepare GLS2000 dataset -... |
e8e6e815beab1b240b6a09cc06c3a7609e3026e0 | b9577e6d62bcdfba4c142a2d4b7bd3c207face6d | /plot4.R | f307e818b937e8febe196634269d4757caffacfc | [] | no_license | simon-zhang36/ExData_Plotting1 | 36ad8eb3634dde1a1c20759c3f592dea7bb9b085 | 20794c4ed4cfba3c509c57ec366a35a74930df8e | refs/heads/master | 2021-01-16T20:29:43.808058 | 2015-03-05T11:23:19 | 2015-03-05T11:23:19 | 22,815,058 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,050 | r | plot4.R | unzip("./data/exdata-data-household_power_consumption.zip",files='./data',unzip = 'internal')
data <- read.delim('./household_power_consumption.txt',sep=";",na.strings='?')
data1 <- rbind(subset(data,data$Date == '1/2/2007'),subset(data,data$Date == '2/2/2007'))
data1 <- data.frame(data1,stringsAsFactors=FALSE)
data1$"... |
4de34263586f3a0421208a86036512b828dad65e | 9d764bdee702291a1d522dd9426cb3dccdfa4023 | /R/deprecated.R | 5b82e895f6add7e043abd50a684021dd0216cfed | [] | no_license | cran/osmose | 8290c74decb5d8501af64c1683345e7c9bc27b85 | a31c8bafe5afe93a7d231c76b9f77b01f0e395ea | refs/heads/master | 2022-04-25T22:47:05.623763 | 2020-04-28T12:00:03 | 2020-04-28T12:00:03 | 113,894,240 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,088 | r | deprecated.R |
# to keep back compatibility for a while
#' @rdname read_osmose
#' @export
osmose2R = function(path = NULL, version = "v3r2", species.names = NULL, ...) {
.Deprecated("read_osmose")
read_osmose(path=path, version=version, species.names=species.names, ...)
}
#' @rdname get_var
#' @export
getVar = function(ob... |
c8957710979c2e0ad7556581c21a985dee8c56c2 | 2d5496f7d71050c42555df50f6ee002104544e70 | /cachematrix.R | df0618ab64b373474e98c7bb41178e86fd1f1fcb | [] | no_license | joseroshan/ProgrammingAssignment2 | d9b6baa6e40f0d35491bcf5f56655ba0c832e6f6 | b0b36babb0c5bd354418c5e9281fd474c17d9c0b | refs/heads/master | 2021-01-15T09:56:42.374307 | 2014-11-22T03:06:06 | 2014-11-22T03:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 813 | r | cachematrix.R | # Description for makeCacheMatrix
#First we set the value of the matrix, then get the value of the matrix
#Then then we set the inverse and then get the value of the inverse
#inv variable contains the cache inverse matrix
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL
set <- function(y) {
x <<- y
inv <<- NUL... |
96e9412569d4454a550cecbe42fa7df185d549d6 | 0a3c8bb331b01471ea0d581741d7049a6f6bc380 | /plot3.R | 7acb45004cf22059729e54bb0696010493090e0e | [] | no_license | bbrewington/Coursera-EDA-Plotting1 | f85cdcf67ff1e7877c9bee9aac6469df5e5cdd56 | 858388e3dd11025d27f10cc82c74b5a5161d4248 | refs/heads/master | 2021-01-12T22:12:13.470089 | 2015-08-03T15:09:59 | 2015-08-03T15:09:59 | 33,826,903 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,633 | r | plot3.R | ## Coursera - Exploratory Data Analysis
## Course Project # 1
## Author: Brent Brewington, (github: bbrewington)
## Plot3.R
# Get data from file "household_power_consumption", and save to data frame "DF"
if(!("household_power_consumption.txt" %in% list.files())){
temp <- tempfile()
download.file("https://d396qusz... |
0ca29104f475f9a6acf6ef3e57939a01d6295df1 | f5f142e469ba0526a2768a509630c8b5156b1fcb | /man/assign_values_to_leaves_nodePar.Rd | e2b84e9d4e144ce6c83416f4512de4fec2b59211 | [] | no_license | JohnMCMa/dendextend | 350ca633b439b8964eec739ba9247c9527ae37f4 | 1e25e5bf786d943b3aa651f4257336462187d43c | refs/heads/master | 2021-01-18T16:05:01.686085 | 2017-03-30T14:15:29 | 2017-03-30T14:15:29 | 86,709,713 | 0 | 0 | null | 2017-03-30T14:06:03 | 2017-03-30T14:06:03 | null | UTF-8 | R | false | true | 1,837 | rd | assign_values_to_leaves_nodePar.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/attr_access.R
\name{assign_values_to_leaves_nodePar}
\alias{assign_values_to_leaves_nodePar}
\title{Assign values to nodePar of dendrogram's leaves}
\usage{
assign_values_to_leaves_nodePar(dend, value, nodePar,
warn = dendextend_options("wa... |
f0785e6a020a35fc8eaceb2297a31466ffb5363f | af72407b36c1ee3182f3a86c3e73071b31456702 | /R/one_hot.R | 91f5f037367ddea560dfbd45cde03f5bba83a741 | [
"MIT"
] | permissive | bcjaeger/ipa | f89746d499500e0c632b8ca2a03904054dc12065 | 2e4b80f28931b8ae6334d925ee8bf626b45afe89 | refs/heads/master | 2021-07-12T20:52:23.778632 | 2020-04-26T16:44:01 | 2020-04-26T16:44:01 | 207,016,384 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,808 | r | one_hot.R |
#' One hot encoding
#'
#' A faster implementation of [mltools::one_hot] with less options.
#'
#' @param data a data frame
#'
#' @return a `data.table` with one-hot encoded factors.
#'
#' @note One-hot-encoding converts an unordered categorical vector
#' (i.e. a factor) to multiple binarized vectors where each bina... |
9d89c19f85842b24c5e3a1b61ee4110e404bfd66 | 5cfcd8980a97d63c97eb2bba6b662e8278c901e9 | /test_simon/aktuelle_version/aktuelle_version/R_test/tabs_select_lag.R | 95b09d29183f8f21cd5667e4a4c7831a52dbd2f9 | [] | no_license | lubrunn/DSP_App | e040de46407515c4cdfad50c9706d405b111a0d6 | e477454e59d90749d3af203ba4b1a3ddb7e7946e | refs/heads/main | 2023-03-21T13:02:01.383511 | 2021-03-17T23:50:35 | 2021-03-17T23:50:35 | 348,858,603 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,000 | r | tabs_select_lag.R |
numeric_features <- tabsetPanel(
id = "tabs_for_var",
type = "hidden",
tabPanel("1",
selectInput("var_1", "Select varaible", choices = ""),
numericInput("num_1","Chose length of moving average",min=1,value = 1),
numericInput("num_2","Chose Autoregressive lags for",min=1,value = 1... |
d767e8379ee3467ed656e9356b205dcefda80621 | d329dc15440c05c56e7858724261548d748da89e | /readData.R | 088d56f714c5b6175de34dd038726b49613dd926 | [] | no_license | tuangd/ExData_Plotting1 | 67de40e301881c5e3b49c9c7ed63c69034ed09d9 | 2b05ec1778f915f8712a22e1dd55ea936a226301 | refs/heads/master | 2021-01-18T11:28:52.325350 | 2014-11-08T09:05:49 | 2014-11-08T09:05:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,500 | r | readData.R | ##Name: readDate.R
##Author: Tuang Dheandhanoo
##For coursera Exporatory Data Analysis : Project One
##Loading data from the UC Irvine Machine Learning Repository
## “Individual household electric power consumption Data Set”
## Read in the data files only the 2 days that we want to make the plot
## that dates are 2007... |
dafedbd8e2001626b9aa621acdd1fcf2ae5e084d | aa9375b62a31700c22b989d8163ba674389151a3 | /real_data_analysis[1].R | 09303ff7f5fac3da035e37a9368e2a742880eecc | [] | no_license | uthjz/none | 929628391e727d5d1d7dcbac674130ab18321540 | 249cfdbac2b20fe61336e45d9c726d617a78ee0f | refs/heads/master | 2021-06-05T09:00:29.739766 | 2018-06-13T20:21:44 | 2018-06-13T20:21:44 | 34,471,390 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,776 | r | real_data_analysis[1].R | # prepare data and run missing data model
rm(list=ls())
wkdir="C:/Users/JZhang/Dropbox/Missing_Data" # home
wkdir="C:/Users/jz250/Dropbox/Missing_Data" # duke
setwd(wkdir)
load("../PPMI/Clean_Data/data0118.RData")
#####################################
# four file name MDS_UPDRS_surv, event_table, ... |
18d8b24141c1e33369ed54d8d673ca368c30d891 | a17cf22be2304c96d267fc1b68db7b7279c4a293 | /man/addMapSet.Rd | 977d55bdb6584c3b1f852f41f15fe64c16dbce51 | [] | no_license | robertdouglasmorrison/DuffyTools | 25fea20c17b4025e204f6adf56c29b5c0bcdf58f | 35a16dfc3894f6bc69525f60647594c3028eaf93 | refs/heads/master | 2023-06-23T10:09:25.713117 | 2023-06-15T18:09:21 | 2023-06-15T18:09:21 | 156,292,164 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 910 | rd | addMapSet.Rd | \name{addMapSet}
\alias{addMapSet}
\title{
Add Organism Annotation MapSet to DuffyTools environment
}
\description{
Loads an additional organism annotation to the set of knowm organisms.
}
\usage{
addMapSet(mapset)
}
\arguments{
\item{mapset}{
a MapSet object, as created by 'importMapSet'
}
}
\details... |
605940107082662742f2fb955a617227abe8c0de | 707c1a8e277d5ea19b9957eef5bc358da7033400 | /R/header.R | 1c3a9f8dae566f669b9f0154bbaa5c2d5f311b32 | [] | no_license | cran/oro.dicom | 19ff8090388460f8dc70f0af1b0df8a43f2db625 | e97981f364d9cd684cf07d8b11473cd495b51712 | refs/heads/master | 2020-04-15T22:47:46.810824 | 2019-10-28T18:40:05 | 2019-10-28T18:40:05 | 17,698,129 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 12,340 | r | header.R | ##
## Copyright (c) 2010-2011 Brandon Whitcher
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions are
## met:
##
## * Redistributions of source code must retain the above copyright
## notice, ... |
b80cd28956f0ee674499e9d7184dc5ea4710a2b3 | 0380fa1fb6d21960d2b08cfa81aec2a84a7cbbed | /R/Scale.R | 7cf9781ee8f59f165843418bc77aedcb525a8377 | [] | no_license | AdamRahman/scagnostics2 | 4a6d4e28e460445a8c0d21abcc3705f1bb172f5e | 2e5a29fe9b5c42c32fd6c3957aacbad44e798820 | refs/heads/master | 2022-11-25T09:17:53.374906 | 2020-08-02T17:34:07 | 2020-08-02T17:34:07 | 284,509,664 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 366 | r | Scale.R | Scale <- function(Data){
#Find the Max of Each column
MaxVec <- sapply(seq_len(ncol(Data)), function(x,Data)max(Data[,x]), Data=Data)
#Find the Min of each Column
MinVec <- sapply(seq_len(ncol(Data)), function(x,Data)min(Data[,x]), Data=Data)
#Do Max-Min Scaling
ScaledData <- (t(Data) - MinVec)/... |
0c86849aa403d02e3094fb887a24d628c01a23d9 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /gRbase/R/xxx_gmwr-depends.R | 564f7744215edd0a58696723f8178e1009a3e161 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 581 | r | xxx_gmwr-depends.R | ######################################################################
##
#' @title Functions from Graphical Modelling with R book
#'
#' @description Functions that must be retained to make code from
#' gmwr-book work
#'
#' @name gmwr_book
##
######################################################################
#... |
b022e0ece92f4e99f74ff93f435614c5295cc8c8 | c75c35563e781a037c88e6c1cf1a7e6161890aee | /plumber-job/api-check.R | 5c8592c256f2556ac9786219b6205551ddee30e1 | [
"Apache-2.0"
] | permissive | chsafouane/background-jobs | 40d18692082bb446707bf7ad304755d483110b1d | 75c87a6543c7e2949715d02864c0858051476861 | refs/heads/master | 2020-07-29T15:35:47.074690 | 2019-08-15T17:19:00 | 2019-08-15T17:19:00 | 209,862,530 | 0 | 0 | Apache-2.0 | 2019-09-20T19:06:54 | 2019-09-20T19:05:06 | null | UTF-8 | R | false | false | 840 | r | api-check.R | # A script to check Plumber endpoints
library(httr)
# Check echo endpoint
test_that("/echo endpoint", {
echo_resp <- GET("http://127.0.0.1:5762/echo?msg=heyo")
expect_equal(status_code(echo_resp), 200)
expect_equal(headers(echo_resp)[["content-type"]], "application/json")
expect_equal(content(echo_resp)[["msg"... |
3a15cca66035a05222a9d9fa43bbce19e2d61f69 | b0968118cc2f1ddcdc5e355c1f74acde64345f67 | /validationPacBio.R | 2a4a377b1c3145290207c2ed0f7a3f8a0bf456a8 | [] | no_license | SebGuelfi/annotationAgnosticeQTL | 98cb132cbfc7d50d3ec0d553cffbcb651c120627 | ef6d9e8e24130952eb2d05345360469c7ba8a179 | refs/heads/master | 2021-05-04T00:47:51.470075 | 2018-06-18T16:43:12 | 2018-06-18T16:43:12 | 120,352,965 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,446 | r | validationPacBio.R | ## annotation.
library(rtracklayer)
brain.pacBio <- import.gff("/home/sguelfi/pacBio/brain.all_size.5merge.collapsed.gff")
load("/home/sguelfi/projects/R/hipp/data/results/final_derfinder.rda")
brain.pacBio <- brain.pacBio[as.character(brain.pacBio$type)=="exon",]
ann.reg <- cbind(ann.reg,regNames=rownames(ann.reg... |
f7f21497ed76857b770a476a53ea810d996738be | 7a479824d7397ad9e02578e942ea9b0a714edb3e | /man/grpregOverlap.Rd | 0b5bbaaf608a096875964b88eafe372de2077f5a | [] | no_license | YaohuiZeng/grpregOverlap | cb30341875b3a792acd638c840a7002b904580b2 | d82b001b2c9c3e535137435d686925b4ee7c7f0f | refs/heads/master | 2023-03-05T18:44:07.002528 | 2020-08-09T17:30:03 | 2020-08-09T17:30:03 | 36,340,861 | 18 | 7 | null | 2023-02-17T15:10:03 | 2015-05-27T03:40:48 | R | UTF-8 | R | false | false | 10,241 | rd | grpregOverlap.Rd | \name{grpregOverlap}
\alias{grpregOverlap}
\title{
Fit penalized regression models with overlapping grouped variables
}
\description{
Fit the regularization paths of linear, logistic, Poisson or Cox models with
overlapping grouped covariates based on the latent group lasso approach
(Jacob et al., 2009; Obozinski et ... |
baa142026f0ec3b7bbbf15735e4e7ff522fb7eb3 | 1bcf2b2e09ed1912c316670a1e63d1ac6b150454 | /automatisation .R | ccc125a743c48dbd8efa1c2d66f21c3e2f797fe6 | [] | no_license | Jpaete/automatisation-traitement-base-de-donn-es | c87e356b5c96185c94a146defe0cdb8a13177878 | 3387934d1ef772737218813718afb2e546155af1 | refs/heads/main | 2023-05-05T14:21:09.618422 | 2021-05-26T11:18:54 | 2021-05-26T11:18:54 | 370,638,538 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 55,366 | r | automatisation .R | #packages ----
library(readxl)
#imports ----
base_dep =
base_a_dep = attach(base_dep)
base_conditions_com_dep =
base_conditions_proj_dep = )
#selection etablissements publics ----
#condition
coeff_etablissements_publics_dep = ifelse(base_conditions_com_dep=="public"|
... |
2f819e2f5a5beda15255bb80c820d36b927cfb0e | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /immer/R/immer_ccml.R | cef03851934ff6c0a31cd595da2653ca3e0c6884 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,998 | r | immer_ccml.R | ## File Name: immer_ccml.R
## File Version: 0.17
immer_ccml <- function( dat, weights=NULL, irtmodel="PCM", A=NULL, b_fixed=NULL, control=NULL )
{
time <- list( start=Sys.time() )
CALL <- match.call()
#-- data processing
dat0 <- dat
I <- ncol(dat)
dat <- as.matrix(dat)
dat_resp... |
3370ef96039acfdb342a9b6422290ef66713d6fa | 2df6af2843c19136e94f126045d47b4f0bbc4749 | /log_sad.R | c93221b80efe5ca0d9a4f0f71d55c7b66102941c | [] | no_license | Bio3SS/Exponential_figures | 1e79041ffb0d1037250dd1a6172f2074c4958f09 | 42ae3a0134d6f275ff78dafc25a540abfde1fd9e | refs/heads/master | 2023-04-07T12:20:35.608485 | 2023-03-22T09:52:52 | 2023-03-22T09:52:52 | 48,778,134 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 53 | r | log_sad.R | geometricPlot(lam=0.75, ylab="Moths", logscale=TRUE)
|
02281ff56c6311aee9c2659850d567843f261f13 | d330864571f3214030efda9e061e075788da7e61 | /Clase 04-20/Ejercicios.R | a237946468d8266702140a32a53c60cd53175071 | [] | no_license | daniel-mahmoodi/EstadisticaII | b8cbe4ed2412e404a8a3b72ec7909c9d57064679 | 9ee4fbfa208675db8ca1821e8e9b62f9c4186a2f | refs/heads/main | 2023-06-09T03:31:57.291223 | 2021-06-24T20:43:53 | 2021-06-24T20:43:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,741 | r | Ejercicios.R | # 1- Remítase al conjunto de datos 04 – Births (disponible en el aula virtual
# , en la carpeta base de datos) y realice las pruebas necesarias para
# responder a las preguntas:
# a) ¿Los pesos de los recién nacidos se distribuye normalmente?
library(readxl)
library(nortest)
Births <- read_excel("Documents/2021-1/Est... |
809540d0e8748ca454081110581d4b45ce42ffef | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/RobustGaSP/man/pred_rgasp.Rd | 96b136ed4f651f37535795516485850fe6d3c14a | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,302 | rd | pred_rgasp.Rd | \name{pred_rgasp}
\alias{pred_rgasp}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
%% ~~function to do ... ~~
Prediction for robust GaSP model
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
A function to make prediction on robust GaSP models after the ro... |
00ff3b0162b0e6d0bca6db04fde8a9e90c3b076f | 866156074cc04714bd1063dfb057e07b9643cb14 | /R/add_batchim.R | 774bb8d05f65db85b25b04c59dfaa2a236c68856 | [
"MIT"
] | permissive | mrchypark/glueko | 2d0525f5eac43c0a41fef8d6d17b101605ddb23e | 87ecb606bf246dac888f7e2d744b5f7ecce0a189 | refs/heads/master | 2020-04-04T05:14:04.793602 | 2018-11-05T20:40:53 | 2018-11-05T20:40:53 | 155,738,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 154 | r | add_batchim.R | #' add liul batchim
#'
#' @param textko text in korean utf8
#' @export
add_liul_done <- function(textko){
res <- bathim_done(textko, 8)
return(res)
}
|
80deb6b7419d4fd5cb4a34ac8e8ea2c55905885b | 63e94f95af05f1ba975f04a18d87f87369f6f577 | /02 Data Wrangling/DataWrangling6 - chart.R | a845f8b05e6a83c494f3098b08684af1c4cc8597 | [] | no_license | ryudkin0/DV_FinalProject | ac98b1d010c837ea63f940b3ece81ace39e14152 | 703031b63cbbdb8d064df847871b3d4eeda857c0 | refs/heads/master | 2021-01-02T22:32:00.264918 | 2015-05-13T20:52:42 | 2015-05-13T20:52:42 | 35,530,648 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 363 | r | DataWrangling6 - chart.R | DATA3 <- MBSALL %>% mutate(RATE_DIST = cume_dist(ORIG_RATE)) %>% filter(RATE_DIST >= .5) %>%
arrange(RATE_DIST) %>% left_join(UNEMPLOYMENT,by = 'STATE') %>%
select(STATE,INTEREST_RATE = ORIG_RATE,UNEMPLOYMENT_RATE) %>% tbl_df %>%
group_by(STATE) %>% summarise(INTEREST_RATE_AVG = mean(INTEREST_RATE),UNEMPLOYMENT... |
5edbe8c7e04d7119ac1f3382ee638be4d799d8d4 | f25da8bde5fbb1b47a44038a17df25ae755f57f3 | /R/lcmw.R | e089bfebd4111e48a2e81de58983a37d0a156281 | [] | no_license | jjvanderwal/SDMTools | 1141fbe616dc2aa5e99825f24c9f2a1c803b926b | 2eee12d07557e2b22cd31a302c92ddb820eb4859 | refs/heads/master | 2021-05-15T01:28:49.306927 | 2014-08-05T09:30:34 | 2014-08-05T09:30:34 | 15,891,285 | 6 | 5 | null | 2018-10-10T13:11:53 | 2014-01-14T03:57:10 | R | UTF-8 | R | false | false | 4,120 | r | lcmw.R | #' Least Cost Moving Windows Calculation
#'
#' This is a moving window that for each cell returns the minimum 'cost' based
#' on surrounding data cells and some dispersal distance cost.
#'
#' This method moves over the matrix of values, summing the moving window cost
#' \code{mw} and the matrix \code{mat}, returning ... |
857f7d571d964516c2135ebb6fbef9e624a63202 | fd2a324a9505ed29e6136a06216edce999fa97a1 | /R/GLMM_MCMCwrapper.R | 7ebf93dd0fb954a57d1e1756448740819e206f5c | [] | no_license | cran/mixAK | 995c88ac9b1f70ab2dac51b4fc1347b9b1356eed | adc4c2229d8ad3573e560fd598158e53e5d1da76 | refs/heads/master | 2022-09-27T10:45:02.953514 | 2022-09-19T13:46:13 | 2022-09-19T13:46:13 | 17,697,529 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,228 | r | GLMM_MCMCwrapper.R | ##
## PURPOSE: Generalized linear mixed model with possibly several response variables
## and normal mixtures in the distribution of random effects
## - wrapper to main simulation to allow vectorized call and parallel computation
##
## AUTHOR: Arnost Komarek (LaTeX: Arno\v{s}t Kom\'arek)
... |
99391e1d65087672a2c85aa203d9822da9bcfede | 23617caf7005786cd089b7f73f7da604b5ae3d6f | /man/spawning_no.Rd | afc529f06120aa70598e8d2460b2be05ac82771b | [] | no_license | poissonconsulting/lexr | bedc665d09be4856a92a982d3cd912af5975a025 | 8d6cdd07af61a2ef7b8bf635500ecccb52700e92 | refs/heads/master | 2021-07-19T13:11:13.160924 | 2021-02-16T20:37:35 | 2021-02-16T20:37:35 | 48,457,451 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 902 | rd | spawning_no.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spawning.R
\name{spawning_no}
\alias{spawning_no}
\title{No Spawning}
\usage{
spawning_no(detection, period)
}
\arguments{
\item{detection}{A data.frame of the detection data for the capture.}
\item{period}{A data.frame of the periods.}
}
\d... |
5d6b500d321387bdc5c8b365fadba625c9ab551f | 3c2715e0dfade25fbedb65aaa21b99a677c2e1d2 | /Implementation_data.R | 0c170077e33cbf53036af862d286caddf2abeef5 | [] | no_license | AakashAhuja30/Topic-Modelling-using-Latent-Dirichlet-Allocation-Algorithm | 02be9586f013cfcf332e3249e1e5cbc532643e7c | f75cc4b7687287dc2cfbb7f536e091e1b549d26b | refs/heads/main | 2023-01-14T05:54:25.086423 | 2020-11-10T15:24:08 | 2020-11-10T15:24:08 | 311,695,379 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,457 | r | Implementation_data.R | #Setting the working directory
setwd(dirname(rstudioapi::callFun("getActiveDocumentContext")$path))
#Load files into corpus
setwd('pp4data/artificial/')
filenames<-list.files(path = getwd(), pattern = "")
temp1<-list.files(path = getwd(), pattern = "*.csv")
filenames<-setdiff(filenames, temp1)
myFiles.sorted <- sort(f... |
a3593ba98b288c328b3c2a8cdf86af824b0f5d1e | e528e7eff68ef09776510840c154ccbc581b67c4 | /plot3.R | 70cd8a7bad041f43ed54b1cbee71639082d5eaf7 | [] | no_license | thehighepopt/ExData_Plotting1 | 2609758d6fb0d1a5c1a27d7f50b31b4a5eca39b6 | 5eb0f39f6dda439374f2cb7358f6115319447ead | refs/heads/master | 2020-05-29T11:08:01.484443 | 2015-01-11T22:37:44 | 2015-01-11T22:37:44 | 29,101,906 | 0 | 0 | null | 2015-01-11T18:50:12 | 2015-01-11T18:50:12 | null | UTF-8 | R | false | false | 1,130 | r | plot3.R | ## directory is a character string representing the directory where
## you unpacked the power consumption data set, assuming you didn't
## rename the folders.
plotting <- function(directory) {
setwd(directory)
electric <- read.table("./exdata-data-household_power_consumption/household_power_consumption.txt", hea... |
d37eb47ca728ed381a63afabad1feaa9720794ec | f6eec6a9ef806648387faa1f3cdb45ff5e2aad9b | /DataAnalysis/scripts/R/automotive02/eval_automotive02.r | fef0d8dd61e45a3208946c9410d765313c615c08 | [] | no_license | PettTo/Measuring-Stability-of-Configuration-Sampling | 60bddf9ce7dd0a202729b1402cee0ef5db9080d2 | 38605256ee857c07a6e765a936fd007788ee9d18 | refs/heads/master | 2021-07-02T20:14:17.203544 | 2021-01-15T07:31:38 | 2021-01-15T07:31:38 | 213,128,169 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,577 | r | eval_automotive02.r | ########## Color Def ############
# tubs blue light
tubsBlueLight <- rgb(102,180,211,255, maxColorValue = 255)
# tubs green light
tubsGreenLight <- rgb(172,193,58,255, maxColorValue = 255)
# tubs orange
tubsOrange <- rgb(255,109,0,255, maxColorValue = 255)
# tubs purple
tubsPurple <- rgb(138,48,127,255, maxColorValue =... |
573ab16743c234e0f12e8bd4c7b2e1012bc2f1db | c21a2001e5e9618ef9432c92883a9fe21be05009 | /RShiny/global.R | cb3d64181150465407b3875572f55e6f2607f880 | [] | no_license | yannick-yf/ipfy-dashboard | 69ec26589d2aaa0db387e52a3e460a0e3af50903 | ebf40e1d8bd1cf5ba73871d84106a75d02f2130c | refs/heads/main | 2023-03-28T00:01:48.889091 | 2021-03-04T20:39:27 | 2021-03-04T20:39:27 | 309,138,835 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 238 | r | global.R | # global.R
library(shiny)
library(dplyr)
library(tidyr)
library(grid)
library(ggplot2)
library(scales)
library(shiny.i18n)
i18n <- Translator$new(translation_json_path='translations/translation.json')
i18n$set_translation_language('en') |
b08359852ec125f889be6f3e0ad68219816e7769 | 0ffa59c5cc992c00d0ffd6cc7e21f47d1fb5c5b9 | /filtering.R | a276c7291e611347e498fe91fea0746eaf2261c4 | [] | no_license | mariabuechner/GI_Optimization | eaf2cfc59431d82d7936161b116de0f8e161213c | 34f41e3a2e2140d2963517381098672b9c882ef6 | refs/heads/master | 2021-01-18T23:44:42.537669 | 2015-12-11T15:06:25 | 2015-12-11T15:06:25 | 47,817,098 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,003 | r | filtering.R | filters = list.files(path="filters", pattern="*.csv")
filtering.readFilter <- function(inputFile) {
filePath = sprintf("filters/%s", inputFile)
inputFilter = read.csv(filePath) # 3 columns labeled 'energy' [keV] and 'mu' [cm2/g] and 'density' [g/cm3]
return(inputFilter)
}
filtering.interpolateFilter <- function... |
5c83c069b6f4578b305c0f2d1606df5845fa957e | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /FENmlm/man/FENmlm-package.Rd | fce67db45130ccb18bf4336344435b6d4f8d22e1 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,541 | rd | FENmlm-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FENmlm.R
\docType{package}
\name{FENmlm-package}
\alias{FENmlm}
\alias{FENmlm-package}
\title{Fixed Effects Nonlinear Maximum Likelihood Models}
\description{
Efficient estimation of multiple fixed-effects maximum likelihood models wi... |
eb29919ff76113b6c1781a448081412ba8db4e07 | 688a5d9f3f4f076df650fb8bd1f4454840316ff9 | /R/functions_master_thesis.R | 0263ae3779496428f8e3f6f8306e7a062d2b10d3 | [] | no_license | nikosbosse/epipredictr | 8edbec2b28cea705c26a3af021cb3235c3ec3ee5 | 4ca20704632d1b4c97679415b4c552490379b679 | refs/heads/master | 2021-01-03T02:31:41.101027 | 2020-04-01T15:03:25 | 2020-04-01T15:03:25 | 239,878,247 | 1 | 1 | null | 2020-04-01T15:03:26 | 2020-02-11T22:31:41 | C++ | UTF-8 | R | false | false | 13,696 | r | functions_master_thesis.R | #' setup work environment
#'
#' not needed later on.
#'
#' @return nothing
#' @examples
#' \notrun{
#' inc <- my_load_data()
#' }
#'
#'
my_setup <- function(){
options(max.print = 2000)
par(family = "Serif")
options(width=as.integer(160))
options(max.print = 36000)
#library(tidyverse)
library(ggplot2)
them... |
142226bd5a175177802852914c508dff835274a6 | 3d06553cd3588cfe2b1c862a2c2331c6cd8ec5d6 | /code/misc_plots/twodim_regression.r | ab91425c531ab97b6729ad5d89e97b07f5325127 | [] | no_license | wfithian/optimal-inference | 696eb914bb89c75135996cdc6eb31a169510b06a | 7c249c4fa0082b92f14de7b59a27484e315461df | refs/heads/master | 2020-05-30T15:49:12.143712 | 2017-04-15T08:24:37 | 2017-04-15T08:24:37 | 34,808,308 | 11 | 7 | null | null | null | null | UTF-8 | R | false | false | 2,538 | r | twodim_regression.r |
# Fig 5a
pdf("fullvred.pdf",height=4.3,width=4)
par(mar=c(4.1,4.1,3.1,0.1))
y <- t(c(2.9,2.5))
plot(y,xlim=c(-5,5),ylim=c(-5,5),xlab=expression(Y[1]),ylab=expression(Y[2]),
main="Conditioning Sets")#"Full vs. Reduced Model: First Step",asp=1)
polygon(c(0,10,10),c(0,10,-10),lty=2,col="#F4E918")
polygon(c(0,-10,-10... |
76ef02df83ed15876232315cf9a2c0bdb7e2c12d | ed2601d98727354cd8f5bdd7dcac7bc06197dfbe | /linear-classification/labo/Labo3-Sol.R | c7007ce0a4703fb644c500c6b1e4e5e3f79f0d78 | [] | no_license | agserrano/bdma-2017 | f9c8805ee7ffae08c4cfa5fb4c3d9ba2027e56ab | 9dbdbbf54e3a605329c5c0b8f61f1e7bf85a5bbd | refs/heads/master | 2021-01-19T12:23:26.817000 | 2017-04-04T19:11:03 | 2017-04-04T19:11:03 | 82,307,188 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 76 | r | Labo3-Sol.R | # Labo3
setwd("/Users/tonet/Documents/posgrado/linear-classification/labo")
|
216f804247fa0af10db885e723ee88d6e18ae98a | d0def2fa0dc0d9de733965604256d7659932269d | /巨人前车/ggplot2/chapter5——ColorBrewer.r | 76814a810a2462b8dee31cc5249dcf4c643cf6a6 | [] | no_license | wangpanqiao/NoteBook-1 | a26f9ebad43a29ff2143c457c383795f879259f9 | 3beceebaa9a982c57537fe2cb4415f6bb5a904ce | refs/heads/master | 2020-12-09T05:08:08.428661 | 2019-07-10T08:20:57 | 2019-07-10T08:20:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,265 | r | chapter5——ColorBrewer.r | ##《R语言商务图表与数据可视化》
##课程讲师——杜雨
##课程机构——天善智能
########第五章——R语言与数据可视化用色规范与标准########
##5.1 R语言基础预设配色系统
#1、R语言基础预定义颜色
library("scales")
library("ggplot2")
colors()
show_col(colors(),labels = FALSE)
show_col(sample(colors(),100),labels = FALSE)
colors()[1:10]
sample(colors(),100)
ggplot(mpg,aes(class,displ))+
geom_b... |
8c045ebfaa842f527db247eeca32c098f0352995 | 813c0351a359a10f376b81b1f4ef22c2b047d660 | /man/nmfgpu4R.Rd | ac6b764d82b1f9889cba3a27b58b2d0b9b999028 | [] | no_license | cran/nmfgpu4R | d8db65b9abdaaa82c73cbbbfea663235ddb9c380 | b1bf243def94ab8c03fe8f5ace8c54fe25a4baf6 | refs/heads/master | 2021-01-21T14:44:03.878761 | 2016-10-17T12:41:21 | 2016-10-17T12:41:21 | 57,228,913 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 636 | rd | nmfgpu4R.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nmfgpu4R.R
\docType{package}
\name{nmfgpu4R}
\alias{nmfgpu4R}
\alias{nmfgpu4R-package}
\title{R binding for computing non-negative matrix factorizations using CUDA}
\description{
R binding for the libary \emph{nmfgpu} which can be use... |
7042b998de69184ff9e41cd6bf99857982af067a | e04c0d423fde5be2567111b6983cc91e63c93232 | /R/create_job.R | 53aea25608de2275dd00ce5a50439f69f49ed609 | [] | no_license | RafiKurlansik/bricksteR | b42b3b3556ef3394b7e7801568a8e228083ad336 | 9199ab34dda462601186c25cf8655483f0bbe408 | refs/heads/master | 2022-10-28T14:35:21.875280 | 2022-10-06T15:36:30 | 2022-10-06T15:36:30 | 227,508,502 | 25 | 6 | null | 2021-07-15T11:59:22 | 2019-12-12T03:04:36 | R | UTF-8 | R | false | false | 6,021 | r | create_job.R | #' Create a new Job on Databricks
#'
#' This function will create a new job on Databricks, but will not run it. To
#' run a job, see \code{\link{run_job}} or \code{\link{runs_submit}}.
#'
#' The API endpoint for creating a job is '2.0/jobs/create'. For all details
#' on API calls please see the official documentatio... |
99e0a670e0207251a4b0ed0ed568b527b034bf34 | dfd5e44293393f83019bb905bb96cb1d6353903a | /R/02_combined-driver-effect-plot.R | 1b5c18c1ffb524b32c62e8e56ddd477bbbad00c2 | [] | no_license | jdunic/local-marine-meta | efe61516e0492d0bfa9532e76b256b639aa92689 | b5ba23d901f8d3e785a35b60dbe93f40966d1434 | refs/heads/master | 2021-03-19T09:33:43.926716 | 2019-02-20T22:00:56 | 2019-02-20T22:00:56 | 43,651,540 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,509 | r | 02_combined-driver-effect-plot.R | #Libraries
library(tidyverse)
library(ggplot2)
library(metafor)
#the data
source('00_functions.R')
fl_combined <- readr::read_csv("../Data_outputs/fl_combined.csv") %>%
mutate(Study.ID = factor(Study.ID)) %>%
# This study was a duplicate
filter(Study.ID != 'Shimanaga') %>%
# Keller study
filter(Study.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.