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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a0df08520db88c40d155ca73929bce7d191db2b3 | f1f38d1f92133aaa0ee5c3df6b0048aaf0dd9054 | /man/ldfast.Rd | 9bd282f29c21bbe4f319cca2fefda235f5262bc0 | [
"CC0-1.0"
] | permissive | imclab/rgbif | acda8ae9828d4cb281deab6016e1741192e8756b | c62edb8ecd0f89796dd18a38cfb8cd327e25584e | refs/heads/master | 2021-01-11T05:02:47.481188 | 2013-11-29T05:40:54 | 2013-11-29T05:40:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 340 | rd | ldfast.Rd | \name{ldfast}
\alias{ldfast}
\title{Replacement function for ldply that should be faster.}
\usage{
ldfast(x, convertvec = FALSE)
}
\arguments{
\item{x}{A list.}
\item{convertvec}{Convert a vector to a data.frame before
rbind is called.}
}
\description{
Replacement function for ldply that should be faster.
}
... |
dfa82311fd90cae2ed20b3b8bd2f01a1c9c3d8f0 | b29b91f1c84be419c2135cb8283d34890437ef48 | /tests/testthat.R | 111a3273ef694efc5a08f8b467d72e21e7a81a2f | [] | no_license | Susarro/arqastwb | 8ededc0e8c5f8d74e0dd8df5cd196b3082d377db | 0dd802ec946d25f306d6018c0f0f3d52f6bddfc8 | refs/heads/master | 2020-05-04T12:45:17.341662 | 2019-04-03T20:57:14 | 2019-04-03T20:57:14 | 179,133,627 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 60 | r | testthat.R | library(testthat)
library(arqastwb)
test_check("arqastwb")
|
e4abc7118a168d81cec059b152437c4f37b4cbba | 9358a0edf2d9a3128b4fcff5f6aa4d65b81489b5 | /tests/testthat/test-linelist-class.R | b3b806ab67818acf8d5030287ce17e1c6a0a144a | [] | no_license | scottyaz/linelist | d7a3b5578ad8463d6df16b3dfa12f1255a161aa5 | 8636b2ccf55a0e7182439d7d07913170648ccd5a | refs/heads/master | 2020-05-23T01:24:48.301592 | 2019-04-11T11:49:21 | 2019-04-11T11:49:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,670 | r | test-linelist-class.R | context("linelist class tests")
oev <- get_dictionary()
ll <- as_linelist(clean_data(messy_data(), first_date = as.Date("1969-4-20")),
id = "id",
date_onset = "date_of_onset",
case_definition = "epi_case_definition",
gender = "gender",
... |
1c5f1c0e220598298e52dc014f67669c0bb49a5d | 34131c61655635da412ea7474ba22a172f17f6ff | /man/ov_set_video_meta.Rd | 066622207db648ce4e17fc5ff2b41dbf831f78fa | [
"MIT"
] | permissive | openvolley/ovideo | 8cfbe226050de88dbec2c3e7016e419708f37ea6 | c9380b9dcc4be3669dda086949aab421164d14ff | refs/heads/master | 2023-05-11T23:44:39.775596 | 2023-05-02T22:17:54 | 2023-05-02T22:17:54 | 244,466,765 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,747 | rd | ov_set_video_meta.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tags.R
\name{ov_set_video_meta}
\alias{ov_set_video_meta}
\title{Set metadata tags in a video file}
\usage{
ov_set_video_meta(
video_file,
...,
movflags = FALSE,
overwrite = FALSE,
debug = FALSE
)
}
\arguments{
\item{video_file}{str... |
c5f23ee8af26c3b6f9a6a3fd8c19585a5ed60969 | a307f2c65811683e3fc453950c8e3f2c7ad588aa | /session_4_ex_2/app.R | c8d60a408f36dda55a8b8e78159f5deac1259baa | [] | no_license | clairegmadden/esm-244-week-4-materials | 7d08cfcdbfd7433551489635b7b3db3e49a518ce | 9b64b132c844fa0852dbc71e317dc6ba45ccfd89 | refs/heads/master | 2020-12-23T11:00:54.027741 | 2020-01-30T19:46:09 | 2020-01-30T19:46:09 | 237,130,044 | 0 | 0 | null | 2020-01-30T03:15:20 | 2020-01-30T03:15:19 | null | UTF-8 | R | false | false | 2,105 | r | app.R |
# second app example!
# attach packages
library(shiny)
library(tidyverse)
library(here)
library(shinythemes)
# using existing dataset in dplyr called "diamonds"
ui <- navbarPage("Navigation Bar!",
# update the theme of your app!
theme = shinytheme("cyborg"),
# add... |
6348899519aa6e3c8ebd856011453472c4750cf4 | 32da40937286fae9019bc23fdb306b864b7c9194 | /tests.R | 04473c748701b5ef6e0376bacf37a001f99a9065 | [] | no_license | yangxhcaf/conus_herbaceous_npp_processing | f9fcd082e2f21a0c6a0e6f9ed344fa12da6c48f6 | 99e97e3942b549cbbe31d2bfcc8b8c92ae0bdaa1 | refs/heads/master | 2022-04-07T20:48:49.109333 | 2020-01-31T21:59:52 | 2020-01-31T21:59:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,164 | r | tests.R | #Import of historcial climate covariates
library(tidyr)
#G:\My Drive\range-resilience\Sensitivity\Preliminary_work\SoilMoisture_Data\SOILWAT_Output_Fall2019
soil_moisture_dir_dir <- dir("G:/My Drive/range-resilience/Sensitivity/Preliminary_work/SoilMoisture_Data/SOILWAT_Output_Fall2019")
covariates<-soil_moisture_d... |
8381e400cc4e542f17c20e57596d867a94c23533 | 8bb73d638a503c1e005dcb15843e52cea068ef3d | /R/genemodel.R | b29a8cf7b5b8d6ffdb634411ddc8b2ecf0c659f5 | [] | no_license | vjcitn/erma | 4f869b399374c9919d60b369bafd6ed1394b34df | f8384452c185284bc894d8cfb5656215b12bd753 | refs/heads/master | 2020-04-30T00:05:40.799973 | 2019-03-19T11:38:53 | 2019-03-19T11:38:53 | 176,494,759 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,992 | r | genemodel.R |
genemodelOLD = function (sym, genome = "hg19", annoResource = Homo.sapiens,
getter = exonsBy, byattr = "gene")
{
stopifnot(is.atomic(sym) && (length(sym) == 1))
if (!exists(dsa <- deparse(substitute(annoResource))))
require(dsa, character.only = TRUE)
num = AnnotationDbi::select(annoResource... |
8249c546362dd07047700343922d848107aa9efb | 8e268cfd1fcfc7bc6c8cd611c691340492ba450c | /pca_small.R | 539d5a4970d642a1ca1dcdd8939da9185cd4ee73 | [] | no_license | jason-guanqun/StatsLearning | 289c5226cc8c73f588989d4b39cb2714c9e72c7d | 4ae0bbf3df00aa0ac1506cf874ca3e785e6586cb | refs/heads/master | 2020-03-16T17:16:36.952009 | 2018-05-21T14:11:14 | 2018-05-21T14:11:14 | 132,824,821 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,722 | r | pca_small.R | ##################################################
## Script for pca experiments on original dataset
##################################################
library(mlbench)
library(neuralnet)
library(plyr)
#load data
BC<-data("BreastCancer")
BC<-BreastCancer
#preprocessing: clean -- select column, remove missing data, ch... |
f527c2360e4f9466cc3f457c4e4598d7ec50d9c2 | d09f16e2b8ed72942444402c047c6eefff0261fc | /cy-uptake/code/lengthPathLA.R | 833bebf4deacb360d540ecdfed94f07c405e9d13 | [] | no_license | Robinlovelace/osm-cycle | 55243d057c91c2217beba8d9149e8b8e3ec90c63 | 3fcd8cebce88a64c440347818b032dab2f0b4088 | refs/heads/master | 2020-05-17T20:50:43.862142 | 2015-07-08T11:38:25 | 2015-07-08T11:38:25 | 17,245,158 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,124 | r | lengthPathLA.R | # script to measure the length of cycle path by local authority
x <- c("rgdal", "rgeos")
lapply(x, require, character.only = T)
on <- readOGR("../bigdata/cc-subsets/", "onroad")
proj4string(on) <- CRS("+init=epsg:4326")
on <- spTransform(on, CRS(proj4string(la11)))
cp <- readOGR("../bigdata/cc-subsets/", "dedicated")... |
a1e952c3dac40d95a8f1891fde24d752d782d0e7 | f17524c4609ca21b3bf05b17e2670031ebe2f136 | /Species Distribution Models/Final_GLV_SDM.R | 67abe2e02a00a84a2f8a9c14b6f736ae85c18cf5 | [] | no_license | cliffbueno/Manuscripts | 98edb62d9ccd70b98c8d31f4c9d6c0d4f8c8b348 | 27a11135599bab6c630132a6af87b134d01f1a7c | refs/heads/master | 2023-04-11T05:14:39.090989 | 2023-03-22T00:46:59 | 2023-03-22T00:46:59 | 153,540,391 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,602 | r | Final_GLV_SDM.R | ### Alpine plant species distribution models with abiotic, plant and microbe predictor variables
# By Cliff Bueno de Mesquita, Fall 2014, Spring 2015
# Paper published in Ecography, 2015
### Setup
library(AICcmodavg)
library(modEvA)
library(car)
library(MASS)
library(minpack.lm)
library(rgl)
library(robustbase)
librar... |
2816d8e7559b3e18714569bd70c698cf73d3897c | a047f577562585eb32b386d247b5637c1613cb3e | /code/rpart.R | 2987f81ca0a73cf69d21b0d3e55a3116683baf02 | [] | no_license | jshen226/STAT-628-2 | 636293fa00ee548aedcff9032a1676ba8ed30d3f | deabe20d2ca94283b725363b0deebac9115dfe4c | refs/heads/master | 2021-10-25T06:11:54.085872 | 2019-04-02T02:04:12 | 2019-04-02T02:04:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 537 | r | rpart.R | require(rpart)
require(rpart.plot)
df <- read.csv('clean_attributes.csv', header = T, na.strings=c())
df <- df[, -1]
#The missing rate of all the attributes is around 0.5
sum(is.na(df)) / (5693*68)
df1 <- df[, -which(apply(df, 2, function(x){
sum(is.na(x)) / 5693
}) > 0.5)]
#After deleting columns with missing rate >... |
f45c23b6470d7c1e72a5c46e5cf40c4f7c0a06ca | 17f2a5bda68e2df016bfc0833e29b4ff7841d517 | /man/fnDetermineScoreColumns.Rd | b47ffb4ca510ee78abc2d7a90b4d9252afc6f99a | [] | no_license | PSMD-Psychometrics/-old-psychometricsPSMD-old- | 3a5b6b51896c41154f547b7251a9d0edef1b28fc | 3a5c817fd6e0ddc357590e94c5ca2b7f803ad3c4 | refs/heads/master | 2021-07-03T09:22:30.848231 | 2017-09-22T09:03:09 | 2017-09-22T09:03:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,987 | rd | fnDetermineScoreColumns.Rd | \name{fnDetermineScoreColumns.}
\alias{fnDetermineScoreColumns.}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{A function to determine which column or columns in a data frame contain (numeric) scores.
%% ~~function to do ... ~~
}
\description{
fnDetermineScoreColumns is designed to determine whi... |
4465865b5c32d5e4e07e784e4a98615ce7cf33d3 | e517b80116242ca6a62db130fb8bb8293a0db403 | /man/h_ttp.Rd | 849fce314a9cb1c4122516c6dc5636d91ff011c6 | [] | no_license | cran/RWsearch | f4f609181ad7b22e47af29753875e19fd8a1ef15 | b1a27cc2815019cee453379fd29c54039977f613 | refs/heads/master | 2023-03-15T17:47:14.146695 | 2022-02-22T13:00:06 | 2022-02-22T13:00:06 | 236,888,181 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 713 | rd | h_ttp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/h_ttp.R
\name{h_ttp}
\alias{h_ttp}
\title{Open a Web Page in the Browser}
\usage{
h_ttp(..., char = NULL, https = TRUE, www = FALSE)
}
\arguments{
\item{...}{any format recognized by \code{\link{cnsc}}, except list.
A regular web address.}
\... |
51f7cd07393357ff416de9c7b35a3b618b4edde0 | 93adca55b253a7fb6ef72b7d451b4a39fea76be1 | /Web_app/Source/LSA.R | c2e218f97209273e4f0b30679fd0abfb03d09a54 | [] | no_license | Option10/Text-Mining-with-R | 4879447599fbe94ddfc7bb16cbad8e81f04edd5b | 0b1d0a5d6b6d2b91e8fccc2427b319e5f1d86dce | refs/heads/master | 2020-04-04T23:20:47.718750 | 2018-12-19T14:42:28 | 2018-12-19T14:42:28 | 156,355,390 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,368 | r | LSA.R | LSA <- function(df,nv){
library(irlba)
## analyzing Tokens:
#-------------------
# Our function for calculating relative term frequency (TF)
term.frequency <- function(row) {
row / rowSums(row)
}
# Our function for calculating inverse document frequency (IDF)
inverse.doc.freq <- function(... |
3f06225f2c6101ae90a3df51ee80745bdeec034f | 0ba8eb05e0f759d20f1a4fa7f1eff12ab69aa576 | /R/exampledataprep.R | deb3f6b7b44c50abecfa22f8c2628e9807362868 | [
"MIT"
] | permissive | tdbennett/robvis | 8cd273f4d5b88dda98405a04fe26a22e272386a7 | 1a19550f5b9d218efede7434b1a68a0f9f9d1df6 | refs/heads/master | 2022-07-29T13:00:26.908727 | 2020-05-15T22:18:24 | 2020-05-15T22:18:24 | 261,832,081 | 1 | 0 | NOASSERTION | 2020-05-06T17:30:01 | 2020-05-06T17:30:00 | null | UTF-8 | R | false | false | 609 | r | exampledataprep.R | # Load datasets
# data_rob1 <- read.csv("data_raw/data_rob1.csv", header = TRUE,
# fileEncoding = "latin1")
# data_rob2 <- read.csv("data_raw/data_rob2.csv", header = TRUE,
# fileEncoding = "latin1")
# data_robins <- read.csv("data_raw/data_robins.csv", header = TRUE,
# fileEncoding = "latin1")
# data_quada... |
79391dc1acaf8f9946f8a75d9e9a3dd37987020d | 5fe207e5b903cae727b8b006b9063599d70bc9cd | /man/BIOdry-package.Rd | eed69e50c3bdba9dde45bc35227a1de01deed9de | [] | no_license | cran/BIOdry | dc36fa1158684e5fc79c19ec83f82252ad5690b5 | a8c849bb7b577debcabe177afde5d9ed9232f8a4 | refs/heads/master | 2022-05-11T09:58:57.665427 | 2022-05-02T18:52:02 | 2022-05-02T18:52:02 | 48,850,280 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 951 | rd | BIOdry-package.Rd | \name{BIOdry-package}
\alias{BIOdry-package}
\alias{BIOdry}
\docType{package}
\title{Multilevel Modeling of Dendroclimatical Fluctuations}
\description{Multilevel ecological data series (MEDS) are sequences of observations ordered according to temporal/spatial hierarchies that are defined by sample designs, with... |
4e5cfb1dcfcba7b3dab6f581cf33fef61934a51e | 1514af7a019aefbfb3bb73c34293c29b80eae65d | /compound.R | 50cc55f4b6ab29363dada45fd1e0362f4f05ed8e | [] | no_license | jhurtado13/chem160module13 | 52b6579a16207757c7f68c94607b9dc32123e836 | 2b7cb131b38db997581bb5a1cce7c436ac8308fb | refs/heads/main | 2023-01-07T16:16:16.056441 | 2020-11-02T07:08:03 | 2020-11-02T07:08:03 | 309,285,618 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 167 | r | compound.R | for (n in 1:30) {
if (n>20 && n%%2==0) {
cat(n,' is an even amd greater than 20\n')}
if (n%%10==0 || n<10) {
cat(n," is a multiple of 10 or less than 10\n")
}
} |
612c7bc50d3df2434d70249993fda152977c9c3a | b98c4a73461821e550e4e6bb932dd7f382156225 | /aula6/exercicio.r | 08c1f8fe78f62e71f5ccddbd5c112553cc48d560 | [] | no_license | kinderferraz/pfuel | d00542ebf49ca9e606cc3b404180ceb294de23a6 | 2fdc35c34f04dac3a13286eee1e81d43f07de780 | refs/heads/master | 2023-03-10T16:33:14.824766 | 2021-02-23T12:52:05 | 2021-02-23T12:52:05 | 341,554,196 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,348 | r | exercicio.r | ## Alkindar Rodrigues -- SP3029956
## Aula 6
## exercicio 1 A função Filtro atua aplicando um predicado (uma função
## que retorna verdadeiro ou falso) a cada elemento de vetor e
## selecionando aqueles que tem resultado Verdadeiro para uma cópia do
## vetor. Assim, apenas os valores que satisfazem o predicado são re... |
b74ee8dc6abebb2c7df8ef243f17c3d070c98e69 | 76773e57ec1081a29afb1c06baee47628a147c03 | /MGSC_410_Paralellization.R | f972d17163599aabb0d9da8e18e0e8882c23fa29 | [] | no_license | jonhersh/MGSC_410 | 793eb2df2cd657b999ff59015d5092510995987f | a19f1e15e392fe64ab1cb70db8857ddfdcdfffff | refs/heads/master | 2021-02-05T18:33:49.731687 | 2020-02-28T17:15:36 | 2020-02-28T17:15:36 | 243,815,901 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,412 | r | MGSC_410_Paralellization.R | # install.packages("doParallel")
## doParallel package
library(doParallel)
library('microbenchmark')
numCores <- detectCores()
numCores
# register your cores to doParallel
# note on windows machines can only set = 1 :(
registerDoParallel(cores = numCores)
# regular for loop
for(i in 1:3){
print(sqrt(i))
}
# par... |
5b52e9b394eec84e1b03a5531020db72350c42cc | b249e9e065611db14c3f7c60998c887ddfdfbec2 | /Validity analysis_CFA.R | b93cb6e5f53801ef5891158a4b0507eaf4c74f7b | [] | no_license | maelliott1010/CFA-ADHD-Park_et_al. | df227c4387aca3f066c2a5eba849799b609c336a | 46f201570348d1726d7df7c50779b763accfb035 | refs/heads/master | 2020-03-10T05:08:12.071897 | 2018-05-15T13:01:51 | 2018-05-15T13:01:51 | 129,210,230 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,191 | r | Validity analysis_CFA.R | Modsa3V<-
'INATT=~ NA*CuSS_S1 + CuSS_S3 + CuSS_S5 + CuSS_S7 + CuSS_S9 + CuSS_S11 + CuSS_S13 + CuSS_S15 + CuSS_S17
IMP=~ NA*CuSS_S14 + CuSS_S16 + CuSS_S18
HYP=~ NA*CuSS_S2 + CuSS_S4 + CuSS_S6 + CuSS_S8 + CuSS_S10 + CuSS_S12
INATT~~1*INATT
IMP~~1*IMP
HYP~~1*HYP
INATT~~HYP
IMP~~INATT
HYP~~IMP
Education ~ ... |
3df25eed515f3cb37aaad645a7091fe64a0d1e75 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610052239-test.R | 93ebb0fc574adc2c4af5bb6207074773f42991e4 | [] | 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 | 2,533 | r | 1610052239-test.R | testlist <- list(rates = 3.60253365100228e-306, thresholds = c(3.90913259233617e+304, 3.65784678046935e-306, 1.01955734498014e-314, 2.12199579096527e-314, -5.48612406879369e+303, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, -1.26836459351501e-30, 4.00930495879766e-306, -1.26826378018642e-30, 3.941087... |
cb8900b35b9e0861c04b1d519fda085d97b09a33 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/hydroApps/examples/ARPIEM2012.sim.Lmoments.Rd.R | ab583c57a02fd522b3bd1ced3ab108de3383165f | [] | 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 | 367 | r | ARPIEM2012.sim.Lmoments.Rd.R | library(hydroApps)
### Name: ARPIEM2012.sim.Lmoments
### Title: Generazione MonteCarlo degli L-momenti
### Aliases: ARPIEM2012.sim.Lmoments
### ** Examples
## Not run:
##D require(nsRFA)
##D
##D ARPIEM2012.sim.Lmoments(Qind.type="C", LCV_LCA.type="C_C", Qind=10, sdQind=2,
##D LCV=0.25, sdLCV=0.08, LCA=0.4... |
206f8456c1cb70410d58b6ac8e7bd363e7939dad | a9c2a33f984e7972692be4b44929d10c610077ac | /man/integrand_mtot.Rd | 70a625498643b4230fff7584b013606f82189bc9 | [] | no_license | dalerxli/planar | 8d7d2260e3b4cba09477ddea5de3ee9ba741332a | 7fd09b664a2aa53f3665be9b0f63acd73f0d747e | refs/heads/master | 2021-05-31T03:05:24.953902 | 2016-02-29T01:29:53 | 2016-02-29T01:29:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 821 | rd | integrand_mtot.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/dipole_integrand.r
\name{integrand_mtot}
\alias{integrand_mtot}
\title{integrand_mtot}
\usage{
integrand_mtot(d = 10, q, wavelength, epsilon = list(incident = 1.5^2, 1^2),
thickness = c(0, 0))
}
\arguments{
\item{d}{distance in nm}
... |
cda98743411e20573818b6fab8488b749f2ff415 | c88e833de8a3fb8a5b3665d3390dc83a0f14aad2 | /abra_lin_regiok.R | 0653aa85bbd14a2e3314e53703102b7107466c31 | [] | no_license | mengjiacsam/szakdolgozat-eltecon | 89b460c5a76c59cfc6ff5d147ef99621d9a163df | 4074b9fbabf85c6bcc490f1fa464536350ab9005 | refs/heads/master | 2023-03-28T22:01:17.549326 | 2021-04-11T12:53:56 | 2021-04-11T12:53:56 | 356,861,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,675 | r | abra_lin_regiok.R | # első lépések
library(data.table)
library(ggplot2)
library(RColorBrewer)
library(interplot)
require(ggthemes)
data <- fread("C:/Users/Csaa/Documents/szakdoga_új/R-hez táblázít/mindennel.csv")
# Lineáris regressziós ábrák
# Megtakarítás és türelem
ggplot(data, aes(patience,Saving, colour= Region))+
geom_point()+ ... |
9615bedcb947f8685bf0c5a47abc240986a5fbf7 | a069ac633de89874a17f89a5059dedaba91724b5 | /plot2.R | 4bfe7b693573b18f82daf160c2f534eb0ee1b927 | [] | no_license | Anticlue/ExData_Plotting1 | 262bb3f3d561fd3e5496880dc0f0b24bf70625bb | 2ceaad662fc40ea6c5d9162e72bf2c10286f8076 | refs/heads/master | 2021-08-08T06:09:56.972265 | 2017-11-09T18:16:45 | 2017-11-09T18:16:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,064 | r | plot2.R | ## plot2.R
## The purpose of this code is to created the second plot for the
## Coursera Exploratory Data Analysis first project assignment.
## Initial Setup
setwd("C:/Users/antic/ExData_Plotting1")
## Downloading and unzipping the dataset
fileURL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2... |
aebf2ad6ae514a636c13fe579560ef9a30d1897f | 5832cb002cb8771d94c4d40a405dfa22c054698d | /cachematrix.R | 3d38d3b9d00e84da39a0e2e1002a25642fcafd99 | [] | no_license | pmcray/ProgrammingAssignment2 | 7b519208b2ff02b9b84a7d7825789931aee6610b | 2187145e289482d2a0efe57f9790c1f6e6d91852 | refs/heads/master | 2020-12-11T04:14:02.799188 | 2015-01-26T00:19:41 | 2015-01-26T00:19:41 | 29,628,265 | 0 | 0 | null | 2015-01-21T23:35:03 | 2015-01-21T23:35:03 | null | UTF-8 | R | false | false | 4,302 | r | cachematrix.R | ## makeCacheMatrix and cachesolve are a pair of functions that have the support the
## creation of and access to the cache of the inverse of a matrix. Inverting a matrix is
## a common computational task. Matrices can be very large and calculating the inverse
## is a potentially computationally intensive process. It ... |
7d2160127b6540074ce0f8eb9d58c52b59e2aeb6 | 551d790fecd6637414f472af389827e00f75bc22 | /man/xmuOldPlotIP.Rd | d2b3b5274b424a65c920466593814602a0bf1e93 | [] | no_license | MATA62N/umx | 667a3f227b7153e0664da6a7cb6a15cb3a7d66e5 | 5bcdffb28c699390efa344519cedfdda3d7f9e58 | refs/heads/master | 2023-07-27T00:36:00.321493 | 2021-09-08T14:58:49 | 2021-09-08T14:58:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,901 | rd | xmuOldPlotIP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xmuOldPlotIP.r
\name{xmuOldPlotIP}
\alias{xmuOldPlotIP}
\title{Draw a graphical figure for a Independent Pathway model}
\usage{
xmuOldPlotIP(
x = NA,
file = "name",
digits = 2,
means = FALSE,
std = TRUE,
format = c("current", "gra... |
10ed6293f29720cbd0eee1b62d108b41068d9aca | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dave/examples/vrsit.Rd.R | 470f9176a79ecbeed4740770ed58808b415ae7e7 | [] | 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 | 180 | r | vrsit.Rd.R | library(dave)
### Name: vrsit
### Title: Vraconnaz time series data, site factors and dates
### Aliases: vrsit
### Keywords: datasets
### ** Examples
data(vrsit)
str(vrsit)
|
80ff5b92c8fddbde7d7775868a8e2647c1ba1317 | 591200b038b46e9639196f06eeeea4d34439a826 | /arima.R | 20a5525e255abc0cb51911432467c07c5514f5ee | [] | no_license | riship2009/Machine_Learning_models_R.programming | b8cbc9c615afd057565e8ce86995f6a9cbc41f51 | 62db5344755cfd059ca8b8f8c31d225301a1a3cc | refs/heads/main | 2023-02-05T16:05:36.375246 | 2020-12-19T13:31:01 | 2020-12-19T13:31:01 | 322,853,997 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 991 | r | arima.R | temperature = nottem
head(temperature,12)
tail(temperature,12)
str(temperature)
class(temperature)
# generating time-series with 12 observations per unit of time
time_series <- ts(temperature, start=c(1920,1), end=c(1939,12), frequency = 12)
time_series
plot(time_series)
# decomposition of time-series i... |
d0fb96ff31eac4d7856e89e16761c2d463509977 | e56da52eb0eaccad038b8027c0a753d9eb2ff19e | /man/KeptPaths.Rd | 940009a1da41aa1c8ec26ab7f371bc1dbd0ade5c | [] | no_license | ms609/TreeTools | fb1b656968aba57ab975ba1b88a3ddf465155235 | 3a2dfdef2e01d98bf1b58c8ee057350238a02b06 | refs/heads/master | 2023-08-31T10:02:01.031912 | 2023-08-18T12:21:10 | 2023-08-18T12:21:10 | 215,972,277 | 16 | 5 | null | 2023-08-16T16:04:19 | 2019-10-18T08:02:40 | R | UTF-8 | R | false | true | 2,087 | rd | KeptPaths.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/KeptPaths.R
\name{KeptPaths}
\alias{KeptPaths}
\alias{KeptPaths.data.frame}
\alias{KeptPaths.matrix}
\title{Paths present in reduced tree}
\usage{
KeptPaths(paths, keptVerts, all = TRUE)
\method{KeptPaths}{data.frame}(paths, keptVerts, all =... |
452c9f100638bdf45716a7ac76b667c85ab916ca | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ProjectTemplate/examples/arff.reader.Rd.R | dc9d1df4e7e8aa0c5e8580657ab396581e8c8423 | [] | 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 | 205 | r | arff.reader.Rd.R | library(ProjectTemplate)
### Name: arff.reader
### Title: Read the Weka file format.
### Aliases: arff.reader
### ** Examples
## Not run: arff.reader('example.arff', 'data/example.arff', 'example')
|
008d00a2df90e8db70dd61dfeb386be8d1738d11 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /ProFound/man/profoundSkyEst.Rd | 683c784644afda0f78a95532ab7f52b2fefc2d1d | [] | 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 | 5,450 | rd | profoundSkyEst.Rd | \name{profoundSkyEst}
\alias{profoundSkyEst}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Old Sky Estimator (Somewhat Defunct)
}
\description{
A high level utility to estimate the sky properties of a supplied \option{image}. This is closely related to the equivalent routines available in the L... |
a3aa7b2908bdabdab81d36ad0249b983f0fe4d24 | 24bd76f6ee58fb77f822db0c904e8b75fae6a670 | /CA-3.R | b400cd50a4ac61ba86d37b731cbfe495da5517b3 | [] | no_license | amul-upadhyay/CA-3 | 8d159f9c534750b786df69cae4f74f97a566b58c | f955af8c0941fbe163186efff627b939fd56649c | refs/heads/master | 2020-05-24T23:19:47.408852 | 2019-05-19T18:24:13 | 2019-05-19T18:24:13 | 187,218,214 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,525 | r | CA-3.R |
# Locading The needed Librabries
library(MASS)
library(plyr)
library(ggplot2)
library(qplot)
#Reading Propert price.csv file and unemployment.csv file
ppr_df <- read.csv("Property Prices.csv", header = TRUE)
unemployment_df <- read.csv("data.csv", header = , skip = 4)
# Printing the top 5 entries of both datafra... |
4804edf954c6926365a639e248c86c3606ec7b5d | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/chillR/R/make_hourly_temps.R | 3e2bb47f84a563022988f056d43c252a0227bd41 | [] | 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 | 7,598 | r | make_hourly_temps.R | #' Make hourly temperature record from daily data
#'
#' This function generates hourly temperature records for a particular location
#' from daily minimum and maximum temperatures and latitude.
#'
#' Temperature estimates are based on an idealized daily temperature curve that
#' uses a sine curve for daytime wa... |
f4a99241a430f1c3b7bfadef6882147cc10ba00e | cfd3f502feb926f7754d9913a543c7c4378decd9 | /Portfolio.R | d03bf676f87682a3b88305ccc61dec61c6c562f0 | [] | no_license | maxclchen/Pairs_Trading-1 | 0a0f26215116104461dcdea07b615c7562d99f66 | 028c6214216151e622ba5f088d3683b55871699e | refs/heads/master | 2022-04-17T13:05:26.205310 | 2018-03-08T23:24:19 | 2018-03-08T23:24:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,194 | r | Portfolio.R | # Portfolio class
# A Portfolio object consists of a list of CurrencyPair objects and some generic methods that can be invoked on a Portfolio
Portfolio <- setClass(
# Set the name for the class
"Portfolio",
# Define the slots
slots=c(currencyPairList = "list"),
# Define prototype
prototype=li... |
1e452c77523b7c5fff2abf7390a06308402ef53e | c5548b79560cec8ebf6b300074140cb22f2a88a3 | /Archive/Functions (Kopie)/Plotting/var_map_plot.R | 79014c92c2321b73e8208dc86d1881da3020a496 | [] | no_license | ginnyweasleyIUP/202002_PaperDraft | 6bb191087ac25044b55b1d7b3036e8b4257b3cab | e0e44e6adc14ae661f4fe144c8271bd06b15351c | refs/heads/master | 2020-12-29T20:02:42.360975 | 2020-05-13T23:29:06 | 2020-05-13T23:29:06 | 238,714,663 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,336 | r | var_map_plot.R | library(plyr)
library(dplyr)
library(rgdal)
library(latex2exp)
source("Functions/STACYmap_5.R")
source("Functions/projection_ptlyr.R")
var_map_plot <- function(Point_Lyr,
projection = as.character('+proj=robin +datum=WGS84'),
pt_size,
txt_si... |
6a943c98c0c525a23ecbccac321e30c9c823f8d5 | 10c9ef05b910c971359b8e91adbf7d6bf6fc4dc2 | /Extract/plotSignal.r | 8801c45b82bdd6fc48377c079fb627e3299f352f | [] | no_license | MaxwellSam/Modelisation_Cpp_Projet | 0e7e196cddfca7252ea403ae51239a1c46c0dc7d | 2303775aa66791e6f9a72758e2cba74af94576c2 | refs/heads/master | 2023-04-02T00:47:16.783227 | 2021-04-15T18:59:50 | 2021-04-15T18:59:50 | 353,645,147 | 0 | 0 | null | 2021-04-13T19:54:48 | 2021-04-01T09:26:57 | C++ | UTF-8 | R | false | false | 341 | r | plotSignal.r | # CPP Projet Modelisation
# file name : plotSignal.r
# authors : Belmahi Asmae, Maxwell Sam
# date : 14/04/2021
dev.new(width=7, height=4)
df=read.table("channel_2.txt",header=T)
plot(df[,1], df[,2], main = "Evolution of action potential on the first 8 seconds",
type="l",
col="#3182bd",
xlab = "time [ms]",
ylab... |
22ba8463eaee67197aa69cfe20479b149b591d4f | 400b384715f5f02ef43118f792d9eb73de314b2b | /tests/testthat/test-plot_nei.R | 9160c725edc8eae6977c2173477c789550da3516 | [] | no_license | yassato/rNeighborQTL | 8d250721fee767f96dd115324321a1c18ba67e1c | f3c54151f794fa0c9c213c9f0834b8e51aa4d6a4 | refs/heads/master | 2023-04-28T02:43:01.742030 | 2021-05-11T08:06:03 | 2021-05-11T08:06:03 | 253,141,548 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,089 | r | test-plot_nei.R | context("plot_nei")
#F2
set.seed(1234)
data("fake.f2",package="qtl")
fake_f2 <- fake.f2[1:2,1:50]
smap_f2 <- cbind(runif(qtl::nind(fake_f2),1,100),runif(qtl::nind(fake_f2),1,100))
genoprobs_f2 <- qtl::calc.genoprob(fake_f2,step=4)
test_that(
desc = "plot_error_catch",
code = {
f2_scan <- scan_ne... |
72197323e985f9d50b515c7050765f3b26e115ca | 098841409c03478ddae35c4cdf6367cfd65fa3bf | /simu/code/procimpute/scVI_latent.R | 201cdda18a7d5e37122ad0b35e9b74ace739cd46 | [] | no_license | wangdi2016/imputationBenchmark | 0281746b482788c347faf9d96e8288639ba388a6 | 0881121444975cd0a3ee2ce69aaec46c3acd7791 | refs/heads/master | 2023-07-29T10:16:14.004610 | 2021-09-09T20:00:43 | 2021-09-09T20:00:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 648 | r | scVI_latent.R | library(data.table)
allf <- sub('.csv','',list.files('/home-4/whou10@jhu.edu/scratch/Wenpin/rna_imputation/simu/result/impute/scVI_latent'))
#getf <- sub('.rds','',list.files('/home-4/whou10@jhu.edu/scratch/Wenpin/rna_imputation/simu/result/procimpute/scVI_latent'))
#runf <- setdiff(allf, getf)
runf <- allf
res <- sapp... |
d84faab2a215010925cc682f4d1f6c6023b1cb69 | f6feae21f96d836ef878bf75206d62dffa60b93a | /src/R/hydra/dspNgs/R/read_dataset.R | e2f8dbf000a5e3dcf4e39a68337d2bb2695e4d62 | [] | no_license | whwanglab/PDAC | 77060a38d11f427246aa5754dcf542057cccdc2a | 661dbc0f92986729d43eb6ba1e4b4aeb91dc52e6 | refs/heads/main | 2023-04-12T23:31:22.222531 | 2022-04-27T04:14:12 | 2022-04-27T04:14:12 | 401,784,565 | 10 | 6 | null | null | null | null | UTF-8 | R | false | false | 23,588 | r | read_dataset.R | #' Reads in DSP dataset
#'
#' @export parallel_read
#' @export read_dataset
#' @export reformat_dataset
#' @export remove_gene_outliers
#' @export remove_LOQ
#' @export remove_blacklist_genes
#' @export change_LOQ
#' @export drop_expected_negs
#' @export drop_samples
#' @title Function that parallelizes sp... |
c7616ceb2f23c1f0669e0f01b8189ae91597b14d | f75bc7cffc0d0d85fb05525462ebba5e4f4d7328 | /CIND820 Preliminary.R | cdc285944cd6d5191a850a8548ab598b9bbd8a14 | [] | no_license | bsun0202/CIND820 | d0d900d7a477b00398b80c0e65fc9a93cc0dd64d | 166847b29cba4d43b3d6e0dfe6700c572af49eec | refs/heads/master | 2023-01-14T09:44:59.763172 | 2020-11-17T00:43:42 | 2020-11-17T00:43:42 | 312,957,835 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,401 | r | CIND820 Preliminary.R | Clean_data <- read.csv('C:/Users/Bowen/Desktop/School/CIND820/Data/CleanedAggregatedData.csv',header = TRUE )
str(Clean_data)
summary(Clean_data)
head(Clean_data)
library(lubridate)
Clean_data$LocalDate <-ymd(Clean_data$LocalDate)
library(GGally)
ggpairs(Clean_data[,c(3:7)], size = 0.01)
#No Multi Collinearity... |
26e84621c192a4ceaf312ee964d8e372d3776286 | a6fc5a4ed790147ef1e2bb2b771a48aad815286e | /man/fast_preprocess.Rd | 0883e2bb14edb4f02ad7f2acf39d7164e72a18a0 | [
"BSD-3-Clause"
] | permissive | tvpham/iq | 04b9965676077161ac15fb0fca310410c46684d8 | 263c8ed978a2d54bd4b84f223bc066c7ecb2d413 | refs/heads/master | 2023-05-10T20:02:19.799534 | 2023-04-30T15:59:06 | 2023-04-30T15:59:06 | 221,994,455 | 15 | 6 | NOASSERTION | 2022-07-26T08:18:02 | 2019-11-15T20:02:21 | C++ | UTF-8 | R | false | false | 1,599 | rd | fast_preprocess.Rd | \name{fast_preprocess}
\alias{fast_preprocess}
\title{
Data filtering and normalization
}
\description{
Filters out low intensities and performs median normalization.
}
\usage{
fast_preprocess(quant_table,
median_normalization = TRUE,
log2_intensity_cutoff = 0,
pdf_out = ... |
5dd4085bbcc011043d536c7d680f5ebcc411bd1b | 35caaa9c780137bcecd03097b54c1c0790a47ed4 | /rf.R | 22748a1da50e0159f60d6c1d1bc48fc1155a9035 | [] | no_license | niepeiyun/rrrf | 851c3589506cbbec555a34c8ed643ac69a1d67e4 | 15134a8c82013411df0c12caa0da4f49e9846dea | refs/heads/master | 2021-04-26T03:30:12.936978 | 2017-12-22T05:36:56 | 2017-12-22T05:36:56 | 107,871,880 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,331 | r | rf.R | rf=function(data.train,data.test,M){
a=Sys.time()
CLASS_NAME <- "y"
CLASSES <- unique(data.train[[CLASS_NAME]])
feature_num <- ncol(data.train)-1 #解释变量的数量
use_feature_num <- as.integer(feature_num/2) #用于学习的解释变量的数量
# 决策树声明一个具有模型,学习数据和用作成员变量的说明变量的类
setClass("decisionTree", representation( model = "list", data.train =... |
4d3a4a382015cfa124ae0a5ae2b218e3acb3cc55 | 6c37b3af3e8379222b238cb67b877a563a6f3dd4 | /R/plot.feature_value_per_cluster.r | 1c7918b98bd6452980b9d8646e702d10d3c0e07a | [] | no_license | ChristopherBarrington/seuratvis | e809fefabb9f6125d649558b2b860a0c6fe55772 | 413ddca360790eb4c277d0cdc2b14ec2791f1c04 | refs/heads/master | 2021-09-08T09:44:05.645790 | 2021-09-01T07:10:17 | 2021-09-01T07:10:17 | 242,530,342 | 0 | 0 | null | 2020-06-19T06:40:05 | 2020-02-23T14:21:23 | R | UTF-8 | R | false | false | 2,251 | r | plot.feature_value_per_cluster.r | #'
#'
feature_value_per_cluster.plot <- function(id)
plotOutput(outputId=NS(id,'boxplot')) %>% withSpinner()
#'
#'
feature_value_per_cluster.server <- function(input, output, session, picked_feature, cluster_resolution, picked_colours) {
renderPlot(bg='transparent', expr={
req(cluster_resolution$idents)
... |
fab9c683519fdcc0a32ac491c5518b06020f4079 | a9ba290ca051038e90a885fbfebc3813816b0bd0 | /man/mstv.Rd | 94e38aa76aad0bebc5c367046cd78f81ad9f3fb5 | [
"MIT"
] | permissive | balachia/pcSoftmaxPack | 42165ad440263558fc3bb659aa0211c365b97967 | 760f42668dfbae21866328c4f27141c6375754da | refs/heads/main | 2023-06-17T11:31:22.199299 | 2021-07-21T02:47:26 | 2021-07-21T02:47:26 | 385,530,998 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 383 | rd | mstv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ms_terminal.R
\name{mstv}
\alias{mstv}
\title{Market Share, Terminal, v (value) formula}
\usage{
mstv(v0s, vs)
}
\arguments{
\item{v0s}{value of focal producer at terminal pole (vectorized)}
\item{vs}{value of other producers at terminal pol... |
6fd85c884f5b4cf5bc0d0cc82f29a9f07165cd43 | 618fb0a3bb4520996baa2fb841342bbbf6d4e57a | /man/analyze_AssetCorr.Rd | 598a6975177ad32b2ff625a9e7124e80cd636532 | [] | no_license | cran/AssetCorr | ac654a865db222476bf1648d65f65b663dbf1bb9 | fb249d30060a8722786315638780d8922c05c003 | refs/heads/master | 2021-06-03T23:25:10.299461 | 2021-05-05T14:30:02 | 2021-05-05T14:30:02 | 136,313,140 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,038 | rd | analyze_AssetCorr.Rd | \name{analyze_AssetCorr}
\alias{analyze_AssetCorr}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Function to evaluate several default time series simultaneously
}
\description{
To give a first insight of several default time series, this function combines multiple estimator functions (in... |
a99a0a5336a37e97f7c17ae39df1a89ea601109b | eac759ea418d8522b239cd420039c5047f34b546 | /man/size_bc.three_way.Rd | 12325469815521697852ac64444fe22773ff7ae7 | [] | no_license | cran/OPDOE | 1dac02018283dcbe1ad0cd8b85736baf930718f4 | cc4f73c76e7a3655ddbc7fc8be069d150182f15d | refs/heads/master | 2021-05-15T01:55:50.474710 | 2018-03-17T21:49:18 | 2018-03-17T21:49:18 | 17,681,194 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,548 | rd | size_bc.three_way.Rd | \name{size_bc.three_way}
\alias{size_bc.three_way_cross.model_4_a_case1}
\alias{size_bc.three_way_cross.model_4_a_case2}
\alias{size_bc.three_way_mixed_cxbina.model_6_a_case1}
\alias{size_bc.three_way_mixed_cxbina.model_6_a_case2}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Three-way analysi... |
76402e703220b12701b72ea715dd38c6d17f0fd2 | f1b6fe3a3b3d08c5ea069ec4b548cc0ff2a9b79b | /sa_GenSA_BRCA.R | bb2c933118b03e36484697d408cd394f5c396ee3 | [] | no_license | damiwoj/simulated_annealing | 8b4552e82c9db589c413cad021c9f2fad7c70c1a | 9247c3884e367925ee8203ae1ecd5bdfa3870d68 | refs/heads/master | 2021-01-11T21:07:12.687119 | 2017-01-19T18:42:02 | 2017-01-19T18:42:02 | 79,250,278 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,684 | r | sa_GenSA_BRCA.R | options(stringsAsFactors=FALSE)
library(GenSA)
library(deconstructSigs)
library(quadprog)
ReadMutationalProfile <- function(file) {
#Read data as a matrix
return(data.matrix(read.table(file, sep='\t', header=T, row.names=1, check.names=F)))
}
QPsig <- function(tumour.ref, signatures.ref) {
# This code was adda... |
d01139a0b0d6b1783c4f2f5c569f14e3eda6600e | c1882af529b91cfe1076d7322a4b64e4316bdb4f | /03-basic_aggregates.r | ecd382fadf72662c294295aef2145802850ff462 | [] | no_license | nings-archive/NUS-Kent-Ridge-Bird-Count | 3601170b9cf1a54d26b7668db395786057324f28 | cde95022bad7310032b97390d0bb384dbd4537ec | refs/heads/master | 2021-03-27T17:32:36.319090 | 2018-03-13T12:39:02 | 2018-03-13T12:39:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,079 | r | 03-basic_aggregates.r | #! /usr/bin/env Rscript
# Calculates, basic aggregates values
# 1. Total observations
# 2. Total selected 5 species observations
# 3. Observations for each of the 5 species
# 4. Histogram for (3)
library(ggplot2)
library(plyr)
df <- read.csv('data.csv')
filter_species <- function(df, species) {
# @returns obser... |
7a67fa88c2fae173f6305a9b55731a76bc3803cc | 451b472c863d646ad87d20891750b3c52efddf35 | /logisticReg/man/dot-orthogonal_basis.Rd | 218a0539bbbe5fdc9ed48d07cba1ca546e28c35e | [
"MIT"
] | permissive | linnykos/logisticReg | 4969b03ad39dbdd81ed47f983f3a2746ae040b40 | 0da93fa879d334e23ef1e991e8cda41c0edd3ce9 | refs/heads/master | 2022-03-17T03:20:25.568275 | 2019-09-17T15:45:59 | 2019-09-17T15:45:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 532 | rd | dot-orthogonal_basis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/linear_algebra.R
\name{.orthogonal_basis}
\alias{.orthogonal_basis}
\title{Construct the orthogonal basis}
\usage{
.orthogonal_basis(mat)
}
\arguments{
\item{mat}{matrix}
}
\value{
matrix
}
\description{
Given a matrix, construct a orthonorma... |
bed1513c4b59cddff65eac56095585fabfde2ebe | 4d3c3ade00c2543400c76f811879c5beb9c92719 | /Application/03_spatial_xwalk.R | 7757b9727394f5dedcd03e389591891896a87226 | [] | no_license | tilluz/geomatching_open | 68a0e5923fa922bf8054b005539a858c197da329 | 7f34851e3abbbe9e8c789f4bab3e38c8dd8f5296 | refs/heads/master | 2021-01-04T10:20:37.688409 | 2020-08-18T14:26:48 | 2020-08-18T14:26:48 | 240,503,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,333 | r | 03_spatial_xwalk.R | #######################################################################################
### This file is designed to
### 1) create a crosswalk that allows an allocation across different spatial levels ###
#######################################################################################
### Load required packages... |
4eb4bf57b79f78471e0e2beb7b2677539ce2fc11 | 67de61805dd839979d8226e17d1316c821f9b1b4 | /inst/models/enormous/lib/stderrlib.R | 6360213c3b83a6dbbb64b3c63d089b8feb232fc0 | [
"Apache-2.0"
] | permissive | falkcarl/OpenMx | f22ac3e387f6e024eae77b73341e222d532d0794 | ee2940012403fd94258de3ec8bfc8718d3312c20 | refs/heads/master | 2021-01-14T13:39:31.630260 | 2016-01-17T03:08:46 | 2016-01-17T03:08:46 | 49,652,924 | 1 | 0 | null | 2016-01-14T14:41:06 | 2016-01-14T14:41:05 | null | UTF-8 | R | false | false | 17,422 | r | stderrlib.R | # tools for running standard error simulation studies
condNumLimit <- 1e7
calcCondNum <- function(hess) {
d <- try(svd(hess, nu=0, nv=0)$d)
if (is(d, "try-error")) return(1e16)
if (all(d > 0)) {
max(d)/min(d)
} else {
1e16
}
}
MCphase <- function(modelGen, reps=500, verbose=TRUE, maxCondNum) {
em... |
5d66078a3a88174b4a0540b93b929abb02db0601 | 33270f2836f639b1e40164f01330158fee726314 | /man/predict.MoE_expert.Rd | 50d4fbf20fd1bd7341e863d281d3d79a00b9dfd0 | [] | no_license | Keefe-Murphy/MoEClust | eca02f4c830d38acacc338a6a3b7e571f375c4ce | 510699cff737a3ada9816d3b1dc2be58adc8e6e4 | refs/heads/master | 2022-12-22T02:33:33.138887 | 2022-11-26T19:27:21 | 2022-12-20T12:16:40 | 99,841,011 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,970 | rd | predict.MoE_expert.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Functions.R
\name{predict.MoE_expert}
\alias{predict.MoE_expert}
\alias{fitted.MoE_expert}
\alias{residuals.MoE_expert}
\title{Predictions from MoEClust expert networks}
\usage{
\method{predict}{MoE_expert}(object,
newdata = NULL,
... |
2a20a6b6babdec61a6e902b50e7c12870f3e1deb | cf901d7f62bca1699b40d00d0cafee39aeace99f | /4_plot.R | 98c511690df5f60e342e4c59f3b3669d0269a9b5 | [] | no_license | vojtak/Earthquakes | d4d989231605cab482998c7a4e6ddaa8f7b4cf58 | 5d91dd938263c06c00a0fe2ffe7e322cfbe7eb32 | refs/heads/master | 2021-01-21T10:12:49.246178 | 2014-06-11T13:57:32 | 2014-06-11T13:57:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,113 | r | 4_plot.R | # coastline
points<-vector("logical",20)
points[1]<-TRUE
coast<-read.table(coastline_file_path)[points,]
# density plot
source("Z_image_scale.R")
# taking care of outliers (somethig strange happen at IZU in 2000 :) )
count<-0
dif<-1
while(dif>0){
maximum<-max(mapa)
i... |
e973a84d8ca687991cf4d43c09e9709562f09b72 | e56c98512229172467f1f4f99870ed2aac5324cd | /man/varImportance.Rd | 7c0c20d25cdacd61a0bffde3c8bba28b1ddc14be | [] | no_license | babaknaimi/sdm | 6de65e769562adedca326adaaf66518870830e62 | 63ec623526e3867158a4847e3eff1c5d3350552b | refs/heads/master | 2021-11-25T10:59:02.624170 | 2021-11-11T05:35:37 | 2021-11-11T07:19:16 | 39,352,874 | 18 | 7 | null | null | null | null | UTF-8 | R | false | false | 2,036 | rd | varImportance.Rd | \name{getVarImp}
\alias{getVarImp}
\alias{getVarImp,sdmModels-method}
\title{variable importance}
\description{
Calculates relative importance of different variables in the models using several approaches.
}
\usage{
getVarImp(x,id,wtest,...)
}
\arguments{
\item{x}{sdmModels object}
\item{id}{numeric, speci... |
6fcbf633541895a06dfe3a9ce14223cd143fb104 | ba2dbc7f0d12f98f09e6cc79a2d5f64bc605eb63 | /DataViz/server.R | a370bcd6c68f7b627e957d50b4a0b699b55c2445 | [
"MIT"
] | permissive | eledero/RDatelligence | 830e48203ad2d800fc91b07017a367187bd4ff53 | dc5994bcbc7c7a4635eb0eadb5ac6e03f745c8ee | refs/heads/master | 2020-05-21T23:53:40.254878 | 2018-09-18T16:04:06 | 2018-09-18T16:04:06 | 62,474,318 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,141 | r | server.R | library(ggplot2)
library(dplyr)
library(gtable)
library(grid)
library(ggthemes)
options(shiny.maxRequestSize = 11*1024^2)
shinyServer(function(input, output, session) {
source("dataLoad.R", local = TRUE) #Cargue de archivos CSV de base y nombres
source("dataGen.R", local = TRUE) #Generación de dataframe base
... |
27652062de46c373c5ca21edc7fd43dd9ddc5618 | e1c85152190571d098cb195b331556e4ca9c1c06 | /Rpackages/gemtcPlus/man/nma_pre_proc.Rd | 13a346053b34478b91a088f19bff3b5d81bbf92d | [
"Apache-2.0"
] | permissive | Diarmuid78/Global-HTA-Evidence-Open | 4227ad9be6012a4083aba741827abe4e648fac37 | 050767457dc82da1d5a7f14967c72d626615effb | refs/heads/master | 2023-06-03T23:10:56.353787 | 2021-06-29T11:54:50 | 2021-06-29T11:54:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 531 | rd | nma_pre_proc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nma_pre_proc.R
\name{nma_pre_proc}
\alias{nma_pre_proc}
\title{NMA data pre-processing}
\usage{
nma_pre_proc(data, plan)
}
\arguments{
\item{data}{input \code{data.frame}}
\item{plan}{A \code{list} containing the model plan}
}
\value{
A netw... |
16634a4e5485d0ae3de498ec738562527689ee92 | 4179c1525e5fbe925044cb01ffb40e6f0c07f71c | /man/predict.gaterSVM.Rd | 55602cd572a7a01b6cee6bf979d5a7c6e9bd9948 | [] | no_license | hetong007/SwarmSVM | 20e58c0887da3eb90483759119af3a343e9862bd | a82b7eb37d3adb51decfc98f637d9bc32ba5b652 | refs/heads/master | 2022-12-27T04:53:10.674589 | 2022-12-15T08:38:34 | 2022-12-15T08:38:34 | 36,259,233 | 15 | 8 | null | null | null | null | UTF-8 | R | false | true | 607 | rd | predict.gaterSVM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gaterSVM.R
\name{predict.gaterSVM}
\alias{predict.gaterSVM}
\title{Prediction for Gater SVM}
\usage{
\method{predict}{gaterSVM}(object, newdata, ...)
}
\arguments{
\item{object}{An object of class \code{gaterSVM}}
\item{newdata}{newdata An n... |
fe888587cdba1838ae62ca20769821aafee20f70 | 94c0d1574ad8ba81a1ef0d48020b92ba681a5c6a | /snakePipes/shared/rscripts/scRNAseq_eisaR.R | 3b879bb6b12d6680ad5a3c6780553c7a99839ea9 | [
"MIT"
] | permissive | maxplanck-ie/snakepipes | 650de654c8bb6b197743d5bb59628df2d91d3a79 | 6144e3fdc1bdaa26e05b1cb234df7414c61e283a | refs/heads/master | 2023-09-05T09:25:33.130890 | 2023-06-05T13:38:57 | 2023-06-05T13:38:57 | 54,579,435 | 318 | 91 | MIT | 2023-08-22T12:07:49 | 2016-03-23T17:23:31 | Python | UTF-8 | R | false | false | 3,335 | r | scRNAseq_eisaR.R | #this is a modification of https://github.com/csoneson/rna_velocity_quant/blob/master/scripts/generate_cdna_intron_fa_prepref.R , authored by C.Soneson
sink(snakemake@log[["out"]])
.libPaths(R.home("library"))
wdir<-snakemake@params[["wdir"]]
if (!dir.exists(wdir)) dir.create(wdir)
setwd(wdir)
message(sprintf("working... |
0303585faecd5def0f85fa42877b07a0cc49bb32 | ba5e8bafef9c419a5f2c458b0fb3b9ea29fdbcb1 | /R/graphfunctions.R | e2a256e89220ba2806db7d42834e2dfc29825282 | [] | no_license | Bioconductor/graph | eb5e26d0a287eafed39f99694f9cd04ee952cd83 | 91706d22ecc17cb42de0395803272740a99d5942 | refs/heads/devel | 2023-08-29T12:39:45.270517 | 2023-04-25T13:38:48 | 2023-04-25T13:38:48 | 102,150,187 | 3 | 15 | null | 2023-03-27T20:24:28 | 2017-09-01T20:22:29 | R | UTF-8 | R | false | false | 9,137 | r | graphfunctions.R | ################################################################
# function:
# boundary takes two parameters:
# graph is the original graph from which the subgraph will be created
# subgraph either the subgraph or the nodes of the subgraph
# boundary returns a list of length equal to the number of nodes in the
# ... |
841f67cba9cfe96ea460c440e431cbf5377af903 | ad85c921d614df2354c6aaea199084be7e935f04 | /R/pseudoexpo.R | 0a5872574b94ef4bc136badb47bf9b7e69c5b988 | [] | no_license | rcqls/EBSpatCGAL | 3cf7fc1213aaae69424e7c18eb40a9210e10e0df | f20ba631e6b395e3fa8855e9f1981dbd0de143d0 | refs/heads/master | 2023-07-21T01:11:10.937736 | 2023-07-18T13:29:22 | 2023-07-18T13:29:22 | 12,945,905 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,284 | r | pseudoexpo.R | # #require(getattr)
# ## TODO:
# ## 1) run(pseudo,...,gridSize=?,...)
# ## C part: set nbPtsGrille and a reallocation of the statex
# ## 2) run(pseudo,...,domainSize=?,...)
# ## C part: set tailleDomaine
# ## 3) statex à changer pour calculer la matrice de covariance des estimateurs!
# ## How this works?
# ## 1... |
db3c60eedbdd072eb2e5d459cab212b36b28d8f2 | 2f15b2dc16de0471e7bee43f6739b6ad8522c81d | /R/record_update_set_is_dimension_in_updates.R | 35a359863259b10ab4ac8f7e55b0cac9cfa557a5 | [
"MIT"
] | permissive | billster45/starschemar | 45566be916c95778727a3add3239143d52796aa9 | 5f7e0201494a36f4833f320e4b9535ad02b9bdc1 | refs/heads/master | 2022-12-20T13:45:06.773852 | 2020-09-26T03:44:12 | 2020-09-26T03:44:12 | 298,796,838 | 1 | 0 | NOASSERTION | 2020-09-26T11:10:30 | 2020-09-26T11:10:30 | null | UTF-8 | R | false | false | 843 | r | record_update_set_is_dimension_in_updates.R |
#' Is dimension in set of updates?
#'
#' Given a set of dimension record update operations and the name of a
#' dimension, it checks if there is any update operation to perform on the
#' dimension.
#'
#' @param updates A `record_update_set` object, list of dimension record update
#' operations.
#' @param name A stri... |
66e8c0f237af38714b41088888334ca3282202d2 | 1d7b8d97be6d3b3aed26bc19ea6855bbdb2d21bc | /R/helpingFunctions.R | 0bd92e5946c0acd4d9389e970fc7d520cd62ac41 | [] | no_license | cran/BaPreStoPro | 18633df8e18b518225e7c01147473684d9369a46 | f3e8f06b07ec4b4ca0be9de3d481734d5e154c31 | refs/heads/master | 2021-01-19T01:11:31.691784 | 2016-06-07T14:28:11 | 2016-06-07T14:28:11 | 60,611,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,275 | r | helpingFunctions.R | #'
#'
#' Transformation of event times to NHPP
#'
#' @description Transformation of vector of event times to the corresponding counting process variables.
#' @param times vector of event times
#' @param t times of counting process
#'
#' @export
TimestoN <- function(times, t){
lt <- length(t)
dN <- numeric(lt)
ind... |
9aa9c64cc75f06edc37432f3487a7102e4329280 | c0615b58a071f01bb0886b4525868f1dc0d13e02 | /man/getSymbols.Rd | 685d0737fdcd57a55ec85008fd175509bd075604 | [] | no_license | phamdinhkhanh/VNDS | 86e1ef74b8616864bfd9d7b2918be1ec812fbd6b | 04dee56f60727f715c40ce4a060807b6a227faa6 | refs/heads/master | 2022-01-13T11:11:03.448528 | 2019-05-12T05:26:07 | 2019-05-12T05:26:07 | 115,730,979 | 14 | 5 | null | 2017-12-30T04:59:53 | 2017-12-29T14:59:22 | R | UTF-8 | R | false | true | 501 | rd | getSymbols.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getSymbols.R
\name{getSymbols}
\alias{getSymbols}
\title{Lay gia chung khoan vietNam}
\usage{
getSymbols(symbol, from, to)
}
\arguments{
\item{symbol}{Ma chung khoan, gom 3 ki tu}
\item{from}{ngay bat dau dinh dang yyyy-mm-dd}
\item{to}{nga... |
d48fa0b8b79b3d6bec6efeac846835435bfb3261 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/WordR/examples/renderInlineCode.Rd.R | 305e90632befd0ec9fbb2a9f1235da4efe379baa | [] | 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 | 339 | r | renderInlineCode.Rd.R | library(WordR)
### Name: renderInlineCode
### Title: Read Word document with R code blocks, evaluate them and writes
### the result into another Word document.
### Aliases: renderInlineCode
### ** Examples
renderInlineCode(
paste(examplePath(),'templates/template1.docx',sep = ''),
paste(tempdir(),'/result1.do... |
022f7c264eb4062a2478c42d928e56bf3d21ee08 | 0a4c7468bee7c14a31282f0dc3b4e005506ffc99 | /R/best_worst_month.R | f9750604ed90f06a562be8516839b2f5abdc6d70 | [
"Apache-2.0"
] | permissive | cestob/backtestGraphics | 0bb6fd1208be4ea0d79504a5465aec93a6de43df | 27eda364121a69b74e68798a9fc48f97e6f5f4f8 | refs/heads/master | 2020-03-18T06:17:47.197107 | 2018-03-20T02:23:57 | 2018-03-20T02:23:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,193 | r | best_worst_month.R | #' Find the best-performing and the worst-performing months
#'
#' This function takes in a data set and returns a list with the best and the
#' worst month and their respective pnl's.
#'
#' @param x A data frame that contains data for individual instruments.
#'
#' @return A list with the best month and the worst ... |
891a411628ec0dfb12f8ad53f8b33c2650859633 | 15f909366627aed4f3867dc1eb453bc8f147eea8 | /scripts/test_statistics/likelihood_function_JSDM.R | 0998de7761cf6b04f028395c8fd72c45e24e76cd | [] | no_license | Doi90/JSDM_Prediction | 5da4655136ef706a9bace390e7eef875bda77af8 | 79d675a69ca410e25807e90d28cd53949f6a36db | refs/heads/master | 2020-03-11T18:18:33.990574 | 2019-10-23T01:45:05 | 2019-10-23T01:45:05 | 130,173,871 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,806 | r | likelihood_function_JSDM.R | #############################################################
#############################################################
### ###
### DEFINE LIKELIHOOD CODE ###
### ###
### This ... |
1b41dd620af205c1b943f9d4a7970b08c906e7d8 | bd38bc1e992871eecbceb352eec368a4b9e916ac | /man/makeEMAP.Rd | e0d96ceae5f4f56cfd5f13a8a9a0a271b20d55f0 | [
"MIT"
] | permissive | NElnour/BCB420.2019.ESA | 75e5822b3cf856abd549af5f3a308f76407b716e | efbce77d798e07db3923d35191dc48f97959502f | refs/heads/master | 2020-05-01T07:53:42.559953 | 2019-04-03T05:06:21 | 2019-04-03T05:06:21 | 177,363,127 | 1 | 0 | MIT | 2019-03-24T02:43:56 | 2019-03-24T02:43:56 | null | UTF-8 | R | false | true | 750 | rd | makeEMAP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/makeMaps.R
\name{makeEMAP}
\alias{makeEMAP}
\title{Generate the genetic interpretation map of BioGrid GGI tags of system's
physical interactions.}
\usage{
makeEMAP()
}
\value{
(dataframe) An 11-by-3 dataframe mapping BioGrid GGI tag to its
... |
3dbf1e0b21cdde32fb7900d35c93d915c22eae65 | 34f4a64a16fd1774db92a7505ece4524ac1b9383 | /Scripts/Week2Lecture.R | 54cb996c3f2381595bd62318df559fb2087929f1 | [] | no_license | BJKill/RProgWeek2 | 843f65a294655d569799da5fa1af32aa434fcc56 | 8fe0a27372afdaa36cfb6f49bb0c1d91499a9019 | refs/heads/master | 2022-10-06T08:36:26.051936 | 2020-06-07T01:26:57 | 2020-06-07T01:26:57 | 268,373,250 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,623 | r | Week2Lecture.R | ##Week 2 Lectures
#if/else statements
if(x >3) {
y <- 10
} else {
y <- 0
}
y <- if(x > 3) {
10
} else {
0
}
for(i in 1:10) {
print(i)
}
x <- c("a", "b", "c", "d")
##all will print each character in x
for(i in 1:4) {
print(x[i])
}
for(i in seq_along(x)) {
print(x[i])
}
for(letter in x) {
print(l... |
7bba7d1f6c3462b04b064c64ef8a5c024ba57ada | 3bfd75b66797d12f15ce05a3f2194067e4450dc9 | /Legacy/master_source.R | b9d3d480aab8cdae639d6286ff03da1351a349c3 | [] | no_license | lukeasteer/NHL-injury-value | c7e230515f6be4fa3d9ec0e8e3f0791184b4e861 | e5fe171e88cb8a7857725a1389b0761de7929992 | refs/heads/master | 2020-03-22T07:59:49.727430 | 2019-08-12T20:55:12 | 2019-08-12T20:55:12 | 139,737,950 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,411 | r | master_source.R | # Install and load packages
install.packages("tidyverse")
library(tidyverse)
# Load WAR data, injury data
war_db <- read_csv("war_ratings_2018-04-05.csv")
injury_db <- read_csv("NHL_Injury_Database_data.csv")
# Create a new WAR df with the required data
war82_db <- war_db %>%
select(player = Player, season = Seas... |
37068ce8f9cbbaf34db8cca05df3e2bd67e3c9c6 | 41c9353fb07b34eec71b663554a207cfd59f4548 | /tpR_note_ex6.R | 933c84ec8b134bdf9e8886fd45c51a66459ee6c9 | [] | no_license | Acathignol/R_note | f02d6b61404cd274d913d19d2a3b34d67b714c15 | 8339e48649284e0f2253828aa9e95dabd17146e7 | refs/heads/master | 2021-01-11T11:07:50.483568 | 2016-01-29T15:41:56 | 2016-01-29T15:41:56 | 50,662,788 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,928 | r | tpR_note_ex6.R | rm(list=ls())
notes.m=matrix(nr=30,nc=20)
for (i in 1:20){notes.m[,i]=round(rnorm(30,10,abs(rnorm(1,mean=1,sd=0.3))), digit=2)}
colnames(notes.m)= c("E1","E2", "E3", "E4", "E5","E6","E7","E8","E9","E10","E11",
"E12","E13","E14","E15","E16","E17","E18","E19","E20")
notes=as.vector(t(notes.m))
etu=... |
179f81a322fab74a9b9db00b5ffa07bfb82f28bb | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/gdpc/man/plot.gdpc.Rd | 1ea60dbeb8f9ce204137b549885ba5e7bce68a72 | [] | 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 | 1,264 | rd | plot.gdpc.Rd | \name{plot.gdpc}
\alias{plot.gdpc}
\title{Plot Generalized Dynamic Principal Components}
\description{
Plots a \code{gdpc} object.
}
\usage{
\method{plot}{gdpc}(x, which = 'Component', which_load = 0, \dots)
}
\arguments{
\item{x}{An object of class \code{gdpc}, usually the result of \link{gdpc} or one of the entri... |
42fb32c26704f2963333e4f70e4a7e8614af75a7 | f2743ecb30a75bd0cf3e46082b3198640b4f043d | /man/transCoord.Rd | d63b121410db09308c7cd34fae9175d5553c6b89 | [
"MIT"
] | permissive | daewoooo/primatR | 561fa3eb0a988cdae85c2e51efd9777a2f603023 | 71d23a8d1056d936470a568036fc41ffe3db0018 | refs/heads/master | 2022-04-29T06:48:35.738394 | 2022-04-21T17:04:37 | 2022-04-21T17:04:37 | 153,538,061 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 523 | rd | transCoord.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{transCoord}
\alias{transCoord}
\title{Transform genomic coordinates}
\usage{
transCoord(gr)
}
\arguments{
\item{gr}{A \code{\link{GRanges-class}} object.}
}
\value{
The input \code{\link{GRanges-class}} with two additional metad... |
a9cc745beecc050816e31832be2df579a02bc7e2 | 4f9b8fae103c72ae0c7b0796ec1562f02f69851d | /ps1/2B.R | 7300e7bcef20a21087fdb69ffbf8abd350781926 | [] | no_license | cjpatton/256 | 3b14a0e0453a33563506256f3774a92101a39c7a | 6f88419b8dbe93d3959247d37d0ecbb8f57beb30 | refs/heads/master | 2020-02-26T15:18:13.075363 | 2014-03-12T21:04:57 | 2014-03-12T21:04:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,896 | r | 2B.R |
# DES.R: R routines for discrete-event simulation (DES), with an example
# matrix version; data frame allows character event types, but much too slow
# all data is stored in an R environment variable that will be referrred
# to as simlist below
# the simlist will consist of the following components:
#
# curr... |
902225d778e86101723114a89c46a918e592e251 | 814850b76f30647f6b85c191369a6e33a91bc7eb | /man/visualize_network.Rd | 245ff9469cbb2dac4d9e92e672b3ca770a3448fe | [] | no_license | tanelp/riigikogu | 97186cd5dfa8a61ee1b15991feccf2704fe324b3 | 70dfb7d821b9339a2149a6d71fc6f810ed5e13ab | refs/heads/master | 2020-06-06T15:45:19.542867 | 2019-06-19T18:42:03 | 2019-06-19T18:42:03 | 192,782,306 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,369 | rd | visualize_network.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/votings.R
\name{visualize_network}
\alias{visualize_network}
\title{Plots a political polarization graph.}
\usage{
visualize_network(nodes, edges, prob = 0.7, min_count = 15,
align = FALSE, seed = 42)
}
\arguments{
\item{nodes}{a dataframe ... |
35eebf9df0f6ef8e49accc47816ce508b4f6b482 | 13ff4289823f5aaab445bb629bd7f5d9041e99a3 | /man/flr.summary.old.Rd | e6f4f463976ee772a2af4661f8062d8fe241cb94 | [] | no_license | G-Thomson/gthor | 341d10c5fa5f4abe8f21d1243a725a332bf7783a | 3c6bf244bfde3afe6e95381a1f5651d5797a0fe0 | refs/heads/master | 2021-01-17T15:43:33.911368 | 2018-01-25T21:33:00 | 2018-01-25T21:33:00 | 75,253,525 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 875 | rd | flr.summary.old.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/flowering_time.R
\name{flr.summary.old}
\alias{flr.summary.old}
\title{flr.summary.old}
\usage{
flr.summary.old(data, LoI)
}
\arguments{
\item{data}{This is a dataframe of flowering time fata with the following columns; Sowing.Number,
Conditi... |
bf44d40f1fa3f87ad7f84d0a1c1b9b612bb6f49c | 7fa6fb23897c9ad195bdc22882c81c8ca046c851 | /man/ASCN.ASCAT.Rd | 072387de78fe01820b60e700a94c9db81708b64d | [
"MIT"
] | permissive | gustaveroussy/EaCoN | 65b319ad9ceb49ea57fb597df891f985b8d1f118 | d65eba1546805a538b3d861eacde14a96d9af841 | refs/heads/master | 2021-11-16T15:24:40.089746 | 2021-10-18T15:34:19 | 2021-10-18T15:34:19 | 117,849,090 | 22 | 16 | MIT | 2020-10-07T08:23:32 | 2018-01-17T14:42:50 | R | UTF-8 | R | false | false | 1,450 | rd | ASCN.ASCAT.Rd | \name{ASCN.ASCAT}
\alias{ASCN.ASCAT}
\title{Allele-Specific Copy Number estimation using ASCAT}
\usage{
ASCN.ASCAT(data = NULL, gammaRange = c(.35,.95), nsubthread = 1,
cluster.type = "PSOCK", out.dir = getwd(), force = FALSE, ...)
}
\arguments{
\item{data}{Data object contained in a RDS file generated with \code... |
26baee728885ceafd92bd942b65dd26bc2b89b2d | 52338354bc84c147cde8caf40aa71f1f77462973 | /man/import_table.Rd | 9bd002645753819e7fa1f21f0529996d9e463c04 | [] | no_license | intiluna/flyio | b420d43724ca5a18011f0f2b1de49c75caf904d6 | a226fedcdb59818b50445383ffc15378d9cb6205 | refs/heads/master | 2023-05-25T00:46:06.349036 | 2020-02-11T10:55:21 | 2020-02-11T10:55:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,357 | rd | import_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/import_table.R
\name{import_table}
\alias{import_table}
\title{Read csv, Excel files, txt}
\usage{
import_table(file, FUN = data.table::fread,
data_source = flyio_get_datasource(),
bucket = flyio_get_bucket(data_source), dir = flyio_get_d... |
aa053841d39453cd4665c5c042ebc4940e631af9 | fd0622e97276bba2c04d3c2fcba902cdfb65e214 | /packages/nimble/tests/testthat/test-mcmcrj.R | 6889d85d75ab5680cf17106bff71f05fc577cff8 | [
"BSD-3-Clause",
"CC-BY-4.0",
"GPL-2.0-only",
"GPL-1.0-or-later",
"MPL-2.0",
"GPL-2.0-or-later"
] | permissive | nimble-dev/nimble | 7942cccd73815611e348d4c674a73b2bc113967d | 29f46eb3e7c7091f49b104277502d5c40ce98bf1 | refs/heads/devel | 2023-09-01T06:54:39.252714 | 2023-08-21T00:51:40 | 2023-08-21T00:51:40 | 20,771,527 | 147 | 31 | BSD-3-Clause | 2023-08-12T13:04:54 | 2014-06-12T14:58:42 | C++ | UTF-8 | R | false | false | 17,441 | r | test-mcmcrj.R | source(system.file(file.path('tests', 'testthat', 'test_utils.R'), package = 'nimble'))
RwarnLevel <- options('warn')$warn
options(warn = 1)
nimbleVerboseSetting <- nimbleOptions('verbose')
nimbleOptions(verbose = FALSE)
nimbleProgressBarSetting <- nimbleOptions('MCMCprogressBar')
nimbleOptions(MCMCprogressBar = FALS... |
9ec8f76375558b41f8ccaa5b48dfe202720b84bf | 59ff127da27e4cad25c6c4a0e22eb936770105ec | /man/psvd.init.Rd | 6675074cb163436cd5c0e4e7d014d1eebd479348 | [] | no_license | lgl15/cnmtf | ca3445367057b782428104660a2de406914239a7 | 8e7cb76e2a2f08bd652fd59ba25354e7d3e6753d | refs/heads/master | 2020-03-10T13:43:45.447310 | 2019-03-21T18:54:36 | 2019-03-21T18:54:36 | 129,406,824 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,063 | rd | psvd.init.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fact_init.R
\name{psvd.init}
\alias{psvd.init}
\title{SVD Initialisation for NMF}
\usage{
psvd.init(A, k)
}
\arguments{
\item{A}{Nonnegative matrix A, \emph{n x n}}
\item{k}{Rank of the computed factors (number of clusters)}
}
\value{
\code{... |
e41c585d33c2ff191c1781c0f23fde714464ebb6 | eadd73637926595f1466eb9e9310ab4a9a835f93 | /R/calcul.mat.r | 17ac68b579412777520db8d5f55bf1f8559c15d0 | [] | no_license | ThChauvin/MicrodensiteR | 87b81506e0ed335b64abcfa6dbb9d056c029bb14 | 2f4f12699e50833961bcf3fbb52bcb84bfcc366d | refs/heads/master | 2021-09-05T05:00:11.998327 | 2018-01-24T08:11:23 | 2018-01-24T08:11:23 | 118,461,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,220 | r | calcul.mat.r | #' Calcul.mat
#'
#' @return
#' @export
#' @param ww the pattern you want to recognize in the name of the files you want to used to calculate variables.
#' @param papa indicate the value of the interval of resolution in Windendro.
#' @param subst1 where to start in the substring of the file name to determined the identi... |
98514ed64ba1b83b528626a408c33be9104810a9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/lmSupport/examples/varReverse.Rd.R | 86a39629572359284b527b1a47b2e40f1b0d67b3 | [] | 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 | 214 | r | varReverse.Rd.R | library(lmSupport)
### Name: varReverse
### Title: Reverse score an ordinal or boolean scored item/variable
### Aliases: varReverse
### Keywords: manip
### ** Examples
##d$Item5r = varReverse(d$Item5, 1, 5)
|
5358f2f3df461ac0b7ba583f522535443b99658b | d74208b48e1595366435acfe90584036e89dd88e | /man/existsNlGasFlaresRds.Rd | 7b79efa60133d1f5fdcbb3a6061ed639a71d5700 | [] | no_license | mjdhasan/Rnightlights | 85feaac20d8ed20429d95a41b59fef59e23a4cfa | f34fd986a405b1ca51d9a807849d2274f8e22d22 | refs/heads/master | 2022-11-06T18:50:41.533156 | 2020-06-26T12:11:28 | 2020-06-26T12:11:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 405 | rd | existsNlGasFlaresRds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gasflares.R
\name{existsNlGasFlaresRds}
\alias{existsNlGasFlaresRds}
\title{Check if the world gasflare RDS exists}
\usage{
existsNlGasFlaresRds()
}
\value{
\code{logical} if the gasflare rds exists
}
\description{
Check if the world gasflare... |
8e13b1c508ee6a07502ea6ce2ea69370ad22e1de | 3351f5dbee74cca16ba99519e5871096cdf8f032 | /single_cell/models_list.R | 68bc13e456da2d3eded058ffe224ec3043d84056 | [] | no_license | BeyremKh/Droplasso-experiments | 8723298833a50c1d0cf4aceb72b84b5926390ad3 | e298e83776471fe9e60d6360dc479c411105b1d3 | refs/heads/master | 2020-03-27T09:05:23.619394 | 2020-01-14T07:20:37 | 2020-01-14T07:20:37 | 146,312,916 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,844 | r | models_list.R | #load models
load("~/models_conquer.Rdata")
for (k in (1:length(models))){
a=list(sapply(1:length(models[[k]]$list_lasso) , function(i) strsplit(models[[k]]$list_lasso,"[.]")[[i]][1]))
file.create(paste(paste(models[[k]]$dataset$displayname,"lasso",sep="_"),"txt",sep="."))
fileConn<-file(paste(paste(models[[k]]... |
a2c8a457979802367eeb1a7f6f7418ed8d0029f1 | 4f3f9dd1be4a18218c04771b7d00ef6c3ffd91e0 | /R/authorise.R | a79b2602399105d192c30611b1f265d81be49ef9 | [] | no_license | SmarshMELLOW/ubeR | e605f5cc62dcae8166c322d93707dc147d21a581 | 63749d52ef883584b336995182ffd84c5b364f5e | refs/heads/master | 2021-06-17T09:48:34.660163 | 2017-05-10T07:00:27 | 2017-05-10T07:00:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,351 | r | authorise.R | # SERVERID ------------------------------------------------------------------------------------------------------------
uber_set_serverid <- function(serverid) {
if (nchar(serverid) != 40) stop("Server ID should be 40 characters long.")
assign("serverid", serverid, envir = auth_cache)
}
uber_get_serverid <- funct... |
4c6878fec5d711c15561b17fa311a1000bd076fb | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/octalene.R | 160217c6d1f33ea33e908768339cf3d0e5f14b67 | [
"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 | 204 | r | octalene.R | library("knitr")
library("rgl")
#knit("octalene.Rmd")
#markdownToHTML('octalene.md', 'octalene.html', options=c("use_xhml"))
#system("pandoc -s octalene.html -o octalene.pdf")
knit2html('octalene.Rmd')
|
920eff6f808e4862826ad2f3e174a0cb32362c38 | f2af3cfc5c0e85158690b5d677d1f2d67c0a6ad3 | /ribor/tests/testthat/test_coverage.R | 9b55b6c128597fda6d0a9cbbf46f592e97d7982f | [
"MIT"
] | permissive | ijhoskins/riboR_alpha | e6085cb1624f2a5755206ed262f7be171b48a1ed | 7ed91be7c56f4b2c5d065ea825ddfed197e110ca | refs/heads/master | 2020-06-12T14:39:42.852046 | 2019-06-28T18:24:47 | 2019-06-28T18:24:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,705 | r | test_coverage.R | context("coverage functions")
library(ribor)
ribo.object <- ribo("sample.ribo")
cov_1 <- get_coverage(ribo.object,
name = "MYC",
range.lower = 2,
range.upper = 5,
experiments = "Hela_1")
cov_2 <- get_covera... |
f1c7b50ef7e0d3a376147018f12a42836f8c9442 | 29585dff702209dd446c0ab52ceea046c58e384e | /fbRanks/R/scrape_clubsoccer.R | 2536806d8274fac6d5dd64ca16c869fb0be28790 | [] | 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 | 2,273 | r | scrape_clubsoccer.R | ###############################################
# scrape scores from US Club Soccer
# url="http://clubsoccer.us/TTSchedules.aspx?tid=USCLUBG&year=2013&stid=USCLUBG&syear=2012&div=U12M01"
###############################################
scrape.usclub = function(url, file="USClub", url.date.format="%A%m/%d/%Y", date.... |
f916a13697e06b89f17b1f5817cefc636857a1a2 | a895062711c7cd7d9672fca3ae348cb8a247b04c | /plot4.R | 7c958aee1c0d8443376394a3277bedd351f3c03b | [] | no_license | fimassuda/ExData_Plotting1 | 38ea6ea4a215edb6a6216ee1c3af0a9f029ff78f | a8b557b2e9834c44be875538918f290d0f04ab38 | refs/heads/master | 2020-12-28T22:54:09.039136 | 2015-06-07T08:29:30 | 2015-06-07T08:29:30 | 37,001,848 | 0 | 0 | null | 2015-06-07T02:28:03 | 2015-06-07T02:28:01 | null | UTF-8 | R | false | false | 1,233 | r | plot4.R | plot4 <- function(){
hp <- read.table("household_power_consumption.txt", header = TRUE, na.strings = "?", sep = ";")
hp <- hp[hp["Date"] == "1/2/2007" | hp["Date"] == "2/2/2007", ]
hp$date.time <- strptime(paste(hp$Date, hp$Time, sep = " "), format = "%d/%m/%Y %H:%M:%S")
png(filename = "plot4.png"... |
0a0226d86eeee697c0b1e350dcc21c87612a9d42 | ece76676ce0e36438b626e0a9394766e9d658ad2 | /data-raw/fontawesome-update.R | f4203da82cee04850147e74c8c0adce0367646d0 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-4.0",
"MIT"
] | permissive | rstudio/fontawesome | 8a1b65937626b5228ff6c978a65ae502faca59f9 | b056ecaa9169b98e9d01eacbb66dd43e8b4e7cd7 | refs/heads/main | 2023-09-01T02:24:26.547607 | 2023-08-24T00:32:47 | 2023-08-24T00:32:47 | 135,504,089 | 277 | 45 | NOASSERTION | 2023-08-23T21:58:29 | 2018-05-30T22:31:54 | R | UTF-8 | R | false | false | 8,270 | r | fontawesome-update.R | # This script is used for extracting the raw SVG from the `icons.json`
# file that exists in the `Font-Awesome` repo (address below) and that
# also ships with the official releases.
#
# We assume that `icons.json` is relatively self-contained and stable.
# We cannot assume that any of SVG extracted from this file in t... |
a49770f843dc6a33e84fec89b5f5dd0404d0e3bb | de9e9f3f810c27afb632a9e0292d9ea9baa06f39 | /R/mna_tick.R | 46b77cf16ea421a7d014a52cc2d8100e36614529 | [] | no_license | JohnRFoster/fosteR | ad19ce2cedecacfaa00013b9dc3d3354ebf2c661 | 849e9f10a8a1920e47c23ce2d41fbf982d01ec0f | refs/heads/master | 2020-03-28T22:01:39.690248 | 2019-02-22T19:31:42 | 2019-02-22T19:31:42 | 149,199,956 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,487 | r | mna_tick.R | ##---------------------------------------------------------------------------------##
## Mouse MNA closest to tick sampling ##
##---------------------------------------------------------------------------------##
#' Mouse MNA closest to tick sampling
#'
#' Function that fin... |
0730b613bf0aa066ce8b16fb99111fe0cae9e055 | a0daa41f8222203a1795c0d847b4743de0650db3 | /base.r | cdfb1b9338155517175530fb269bb7f48c887c10 | [] | no_license | headisbagent/WIRED | f0162fba11aafaa33cd21d6113224e6e140feae6 | 26abc0ff56de2dfbe2c5cce1095f2ed20574c6a0 | refs/heads/master | 2022-12-13T17:56:07.497247 | 2020-09-16T17:33:35 | 2020-09-16T17:33:35 | 296,101,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 535 | r | base.r | library(data.table)
library(reshape2)
library(gdxtools)
library(ggplot2)
library(rgdal)
library(ggmap)
library(placement)
library(sf)
library(lubridate)
library(ggnewscale)
library(RColorBrewer)
library(gganimate)
library(transformr)
library(e1071)
library(dplyr)
library(bit64)
library(cowplot)
library(patchwork)
igdx... |
07f3fff78fea7ab5ea3f438ae51d735ef8103d25 | 17273704bee98aa89397673a900a91bf6819e8ac | /R/MGPS_uni_opt.R | 68e87793118e12640d5e4ac199116cf836f72b61 | [] | no_license | sidiwang/hgzips | cbc8246c3dea76d61036755a4aae1bacebe7240a | dd1a43b5efb2a3d3b4b7ba8b5b436d5793c29cbb | refs/heads/master | 2023-02-15T07:55:43.956668 | 2021-01-13T08:30:07 | 2021-01-13T08:30:07 | 287,367,518 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,513 | r | MGPS_uni_opt.R | #' HGZIPS - MGPS (uniroot-optimization)
#'
#' This MGPS function.........
#' @name MGPS_uni_opt
#' @aliases MGPS_uni_opt
#' @import stats
#'
#' @param alpha.par initial shape parameter vector of the two gamma distributions for implementing the EM algprithm
#' @param beta.par initial rate parameter vector of the two gam... |
f663e9510ac34e9acc019632bd8001905fc60094 | 8e709b564da4e64ea5ad4adf58de1046a09f7289 | /figure/plot2.R | c5fdfbd374fa092adfc3faa68b12626786dc497a | [] | no_license | VS94/ExData_Plotting1 | b96a5ed7c36e14ee41bc82ac316a8b65fe7129ca | ad9120f9c2852c035967daa95b7f75f69bee2839 | refs/heads/master | 2021-01-17T21:38:11.972076 | 2014-06-07T21:08:41 | 2014-06-07T21:08:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 487 | r | plot2.R | #loading data
d<-read.table("../household_power_consumption.txt", header=T, na.strings="?", sep=";" )
d$Time<- paste(d$Date, d$Time, sep=" ")
d$Date<-as.Date(strptime(d$Date, format="%d/%m/%Y"))
d$Time<-strptime(d$Time, format="%d/%m/%Y %H:%M:%S")
d.sub<-d[which(d$Date=="2007-02-01" | d$Date=="2007-02-02"),]
#Plot n... |
3fdc1a1c8c2eaaf3c80d808f4db4af4f358bfd3a | caaac3151e690edc027f715e6eabf67fc4952d14 | /R/usair_combine.R | df6a3c386b7e271028a516c9976d350f747074bb | [
"CC0-1.0"
] | permissive | nemochina2008/USAir | 7dd5383a03895b832d1c65059e7b1bf6a6052fe4 | 379ab6c4c33cff77e5fcc9ccf670b2e95c3ce226 | refs/heads/master | 2021-06-01T07:09:40.132974 | 2016-06-12T19:13:51 | 2016-06-12T19:13:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,656 | r | usair_combine.R | #' Traverse from one or more selected edges toward
#' adjacent outward nodes
#' @description From a graph object of class
#' \code{dgr_graph} move to adjacent nodes from a
#' selection of one or more selected edges where the
#' edges are outward edges to those nodes. This creates
#' a selection of nodes. An optional fi... |
5a5e2ac9f549fd14477179ba96164cc8508b9212 | 6ad95fc7067d6ab32bee6f1a6ad730b984d12579 | /ashiq/R codes/chapter 1/example1_sec1_3.R | fd981d852a3f62cb57ea16c99a60937fd9cffb30 | [] | no_license | sahridhaya/BitPlease | d881f95c404ae9a433c79a8f6519ea7eaba9950a | 04e1c38944f0ee24eb1377ced87e6550253fbb2e | refs/heads/master | 2020-04-21T11:36:10.914922 | 2020-04-06T09:02:47 | 2020-04-06T09:02:47 | 169,531,342 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 288 | r | example1_sec1_3.R | #Example 1, section 1.3, page 22
#Find the Dot product of U and V :
DOT =function(U,V) #function to find dot product
{
w<-0
product_matrix <- U*V
for(num in product_matrix)
{
w<-w+num
}
return (w)
}
U<- c(1,-2,3,4)
V<- c(2,3,-2,1)
DOT(U,V)
|
f9b6da4fa04155d34fc14a57a692edda2280345e | e6a93ae315d99a92a2577b29788b7437ce1a5ca8 | /NBJimport.R | c5e329bc9b3e5a8e28d8307825c8337b7254ac81 | [] | no_license | jkmunk/GraphicalLab | 7691774c07290ae9ae09df3f5d8f74d584e69239 | 5913628281404c67669d3c9f2b2b3161a5e0f88d | refs/heads/master | 2023-01-01T17:16:09.213883 | 2020-10-26T10:34:42 | 2020-10-26T10:34:42 | 306,059,550 | 0 | 0 | null | null | null | null | ISO-8859-15 | R | false | false | 1,467 | r | NBJimport.R | # Import from SP as delivered by Nils Bruun Jørgensen
# Data is in one column in Excel file
# Read in as a simple vector at first
setwd("H:/Ongoing projects/Graphical Lab/v0.1/")
library(readxl)
library(dplyr)
#RawIn <- read_excel("Ongoing projects/Graphical Lab/v0.1/Prøvesvar fra NBJ.xlsx",
# c... |
e6d104a3ffbddacb6b804c029f6b2b9cceb106bc | 782027c0c0d58ceeba379b6f4b4783ed37202521 | /code/07_functional-programming.R | adcb0293a6dce73ab848f21720b56466cebbd10f | [] | no_license | Boukos/PS811-computing | a18964cea191303848ac46add206c18d9fbbf030 | 1f77575e6f8e14967599f72e0c14cc2458bbb208 | refs/heads/master | 2022-06-21T02:38:20.530644 | 2020-05-12T19:05:24 | 2020-05-12T19:05:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,820 | r | 07_functional-programming.R | # ----------------------------------------------------
# PS 811: Statistical Computing
# Spring 2020
# "Functions you can pull up to"
# Loops, functional programming, mapping
# ----------------------------------------------------
# The purpose of this lesson is to teach you about
# VECTORIZED operations.
# ... |
275fe482a7f81ce0784ce2566c4624c092b79109 | da62ddcc454c064c388665e87b842017054acd7b | /man/to_ndjson.Rd | f39a37b732fa0ab6e77c0a07a087a4847d276901 | [
"MIT"
] | permissive | SymbolixAU/jsonify | d34ae4ced6b389d19c3207b1136257e794cc7710 | 94e34bf9682f7bc29444546b6a9edc7891aa200f | refs/heads/master | 2023-01-22T09:04:19.057360 | 2023-01-11T03:43:29 | 2023-01-11T03:43:29 | 150,085,264 | 67 | 12 | null | 2020-05-30T05:24:13 | 2018-09-24T10:17:37 | C++ | UTF-8 | R | false | true | 1,975 | rd | to_ndjson.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/to_json.R
\name{to_ndjson}
\alias{to_ndjson}
\title{To ndjson}
\usage{
to_ndjson(
x,
unbox = FALSE,
digits = NULL,
numeric_dates = TRUE,
factors_as_string = TRUE,
by = "row"
)
}
\arguments{
\item{x}{object to convert to JSON}
\it... |
d686041d6342d4a810395d32c63d0af0e6574132 | 554764510bf0b0244919ebcc612c20a020ba846a | /man/adjust_year_effects.Rd | 4eb4f9cbeead7ae215b9818b9abd949d10c31214 | [] | no_license | guytuori/simScores | a42c4091adb55d14ec2fa6606841bb2f05165737 | 33e435930d3a9478f9320d5b2451812430d78d52 | refs/heads/master | 2021-01-10T11:00:16.482569 | 2015-11-10T18:53:54 | 2015-11-10T18:53:54 | 45,933,103 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,619 | rd | adjust_year_effects.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/clean-data.R
\name{adjust_year_effects}
\alias{adjust_year_effects}
\title{Adjust for Changes in Run-Scoring Environment}
\usage{
adjust_year_effects(stats, yfs, type = c("bat", "pit"))
}
\arguments{
\item{stats}{data.frame of player ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.