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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a20d5290ef72b377b5db5ef5966c875bbf07e5a5 | ca8f63825f504399f51b753a8dd5581b423d9503 | /RHotStuff/man/getStokes.from.expData.Rd | eecbc9511dc02c1fbf7daf6d1425f86a8d7190da | [
"MIT"
] | permissive | AlreadyTakenJonas/bachelorThesisSummary | 740cbd3f162f4279f8281ec5081c4e498a3cb1c8 | c7bca66ad007a01a4da275d0a9edc9f62ffb3f0f | refs/heads/master | 2023-03-06T01:51:36.303378 | 2021-02-21T22:06:44 | 2021-02-21T22:06:44 | 340,993,779 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,291 | rd | getStokes.from.expData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getStokes_from_experiment.R
\name{getStokes.from.expData}
\alias{getStokes.from.expData}
\title{Preprocess Data From Stokes Measurements Of Optical Fibers}
\usage{
getStokes.from.expData(data.elab)
}
\arguments{
\item{data.elab}{The experimen... |
6d08aa6c0f5d2d2b1437bec62e70b93885699f51 | 5e4bedf9956fe07b3fa27fee4736e939b3e13fb1 | /man/change_door.Rd | 4b4746b4e1ab18598dd402a326e8237c860c93d6 | [] | no_license | JasonSills/montyhall2 | 315bbe0ae4bf65a38a0389f70b2d5b62d99e3968 | d03ffadca385090e3ca38af00d40486f25b65475 | refs/heads/master | 2022-12-15T22:48:46.954795 | 2020-09-19T23:05:29 | 2020-09-19T23:05:29 | 296,965,394 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 945 | rd | change_door.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/monty-hall-problem2.R
\name{change_door}
\alias{change_door}
\title{Change door strategy.}
\usage{
change_door(stay = T, opened.door, a.pick)
}
\arguments{
\item{The}{function utilizes opened.door and a.pick and sets the stay value
to T.}
}
\... |
759f95b4e15922ff3a496a4e8816683831f23b46 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/PandemicLP/R/pandemicPredicted_Class.R | 962d42e5366bb54fcb3ed85135d9b49678bd4dec | [] | 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,336 | r | pandemicPredicted_Class.R | #' pandemicPredicted objects: Predictions made from a fitted PandemicLP model
#'
#' The \pkg{PandemicLP} prediction function returns an object of S3 class
#' \code{pandemicPredicted}, which is a list containing the components described below. \cr
#' \cr
#'
#' @name pandemicPredicted-objects
#'
#' @section Eleme... |
50fa58c82a5c6307870153779746ab786dc7f76c | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googleadexchangebuyerv14.auto/man/Creative.nativeAd.Rd | c16ed6b3d3f08cab0f9182c3f0488a0012c7ddb9 | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,552 | rd | Creative.nativeAd.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adexchangebuyer_objects.R
\name{Creative.nativeAd}
\alias{Creative.nativeAd}
\title{Creative.nativeAd Object}
\usage{
Creative.nativeAd(Creative.nativeAd.appIcon = NULL,
Creative.nativeAd.image = NULL, Creative.nativeAd.logo = NULL,
adver... |
e5349cbccedfac91cb607aa8402487a9ba5eae78 | 84807965bc7e6b1a02e36cc2dcd242075ed3bd10 | /demo/model/data.R | fe6f615bd7dc0e43349066fa725faf702f621c8d | [] | no_license | albertgoncalves/hoquei | 4614babc258837924ba03d97a5faec31e22fa97d | a4a0179b920179f4dbd5f17ba241b057c08c25cd | refs/heads/master | 2020-04-14T09:45:14.913947 | 2019-03-31T01:44:18 | 2019-03-31T01:44:18 | 163,768,060 | 0 | 0 | null | 2019-03-22T14:01:59 | 2019-01-01T21:33:35 | OCaml | UTF-8 | R | false | false | 2,039 | r | data.R | #!/usr/bin/env Rscript
source("../utils.R")
teams_to_indices = function(index, teams) {
return(as.vector(sapply(teams, name_to_index(index))))
}
adjust_ot = function(data) {
lambda = function(data, rows, team) {
column = sprintf("%s_goals", team)
values = data[, column]
values[rows] ... |
d7f208df076fd2d641469f0fabba266dd73c0d5e | 72166929998ef4ae822b411da9f11b6c375a09ed | /pair.mglmm/man/llik.fim.Rd | eab2a473da4f53ef6f7df2a7f0ac9df61f3bc78f | [] | no_license | rceratti/Dissertacao | 03699c499ce435c32361c79450fc1d615a9a3def | 7dcd06a2a6a983943b282fb816326d6a1b1032c2 | refs/heads/master | 2021-01-22T13:47:05.330564 | 2014-05-03T18:45:57 | 2014-05-03T18:45:57 | 19,409,309 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 713 | rd | llik.fim.Rd | \name{llik.fim}
\alias{llik.fim}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
llik.fim
}
\description{
Monte Carlo approxmation to the log-likelihood. Internal usage.
}
\usage{
llik.fim(mod, formula, beta, S, phi, p, B = 10000, cl = NULL)
}
%- maybe also 'usage' for other objects documented he... |
1ccf47914e4d60659aa843953582bff91a34c2f2 | 08363118c6636f4eaf27be92e0403cb44c35af32 | /osha_inspections.R | ce3ded62de300879341bf70ac271e44dd873b853 | [] | no_license | BenCasselman/osha | 62ecc2565820e4f6e6795e78c2c353c47ca5d2c4 | affc68f5e5e87d4e70f32550ff9a015fcfaf4c57 | refs/heads/master | 2021-01-23T03:43:20.856117 | 2017-04-06T22:53:47 | 2017-04-06T22:53:47 | 86,114,683 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,273 | r | osha_inspections.R | # Tracking inspections activity
library(tidyr)
library(dplyr)
library(ggplot2)
library(lubridate)
# First update data. This function is from "labor_updater" file
daily_data()
load("inspections.RData")
load("violations.RData")
# Overall inspections by month
inspections %>%
mutate(month = as.Date(cut(open_date, bre... |
2e21709e6e374377992883620d5a09cbaeab6608 | a06e089a75fa28b42029223f12161f3ad83d7d6c | /Resources/OPUS-book_opt-2014-Springer-Cortez-Rcode/Solutions/s6-1.R | 3a02dd1488bec17bf72ddeb60cdd75da719307b8 | [] | no_license | CSC-801-StochasticOptimization/Course | 65fd8eeb4290708a1a6e8e507f3a3521e1fa71c0 | 691eb38e08f68e8e90040a9876e541d091fbbec7 | refs/heads/master | 2021-09-06T18:30:19.165056 | 2018-01-13T18:16:26 | 2018-01-13T18:16:26 | 117,366,630 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,249 | r | s6-1.R | source("hill.R") # load the blind search methods
source("mo-tasks.R") # load MO bag prices task
source("lg-ga.R") # load tournament function
# lexicographic hill climbing, assumes minimization goal:
lhclimbing=function(par,fn,change,lower,upper,control,
...)
{
for(i in 1:control$maxit)
{
... |
bd1e02319444f1b3f9a1aafed982149c80402787 | cc44905c6b73213bfe1d5269c7aab3ecebbd8337 | /ARMA.R | f46e1f01b52f3eafcc1ed9f920ba17e2033a4aba | [] | no_license | andresrg99/EQUIPO_MACRO | 9fecc9378e915774732e34aa0cd3c12fa89a57f7 | 95b96a547fa1b83adf90ddeedcb15462cf101256 | refs/heads/main | 2023-04-04T03:56:05.582072 | 2021-04-12T21:35:43 | 2021-04-12T21:35:43 | 344,629,963 | 0 | 2 | null | 2021-03-23T16:47:47 | 2021-03-04T22:47:40 | R | UTF-8 | R | false | false | 3,139 | r | ARMA.R | #Trabajamos con los precios diferenciados
library(lubridate)
library(readr)
library(tidyverse)
library(ggplot2)
library(ggthemes)
library(plyr)
library(forecast)
library(stats)
library(tseries)
library(performance)
library(quantmod)
library(lmtest)
library(moments)
library(dynlm)
library(fpp2)
library(readxl)
librar... |
ea8e9c343420759c4357d7b01fc6565d692bec2c | 555a96d19c5ba05d7c481549188219b0ee2b5855 | /man/HS.recAR.Rd | fa1766cd63012180c1ca84236c39b4fc33dac033 | [
"GPL-3.0-only"
] | permissive | ShotaNishijima/frasyr | 9023aede3b3646ceafb2167130f40b70c9c7d176 | 2bee5572aab4cee692d47dfb9d8e83ce478c889c | refs/heads/master | 2023-08-16T11:43:39.327357 | 2020-01-21T07:49:29 | 2020-01-21T07:49:29 | 199,401,086 | 0 | 0 | Apache-2.0 | 2019-07-29T07:26:21 | 2019-07-29T07:26:20 | null | UTF-8 | R | false | true | 437 | rd | HS.recAR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/future.r
\encoding{UTF-8}
\name{HS.recAR}
\alias{HS.recAR}
\title{HSを仮定したときの加入関数}
\usage{
HS.recAR(ssb, vpares, rec.resample = NULL, rec.arg = list(a = 1000, b =
1000, sd = 0.1, rho = 0, resid = 0))
}
\arguments{
\item{ssb}{親魚資源量}
\item{vp... |
ddb5026aed1418bd1a9961517109d210ea917158 | 6bef150edd1c5db48241b6a6032b984ef52eec35 | /src/at.15.de.8.diy.R | 79325502f3eb911c08f3fdeb2af9a33ea79ca872 | [] | no_license | maizeumn/atlas | 8e0784a4c904b3212144fdfaf5363edf68659b94 | 7f3a0a0a0ef4a0e2e0d272757f39338e8cecc318 | refs/heads/master | 2022-01-15T22:12:57.818274 | 2022-01-10T08:59:46 | 2022-01-10T08:59:46 | 153,759,178 | 3 | 4 | null | null | null | null | UTF-8 | R | false | false | 7,400 | r | at.15.de.8.diy.R | source("br.fun.r")
require(DESeq2)
#require(lmtest)
require(edgeR)
dirw = file.path(dird, "42_de_old")
fi = file.path(dird, '41_qc/10.rda')
x = load(fi)
tm = tm %>% inner_join(th[,1:2], by = 'SampleID') %>%
group_by(Tissue) %>% nest()
th = th %>% inner_join(tl, by = 'SampleID') %>%
select(-paired, -Treatment) ... |
ff0bd872ce0f76c6525ef9bd9621b0cd7e4d0feb | 293246e7c8204686b01fc2e93b7b02ed22259bd3 | /R/nagler-fd-sims.R | db5b2d9453c5b139d4cc3876aab7f0a4669a335e | [] | no_license | leeper/unnecessary | 9749ee598e324480964e062af85dcc3abd055b95 | 281e008d955e26852310d05a5763986d9a90ebdd | refs/heads/master | 2020-03-25T16:09:59.948834 | 2018-08-07T19:24:47 | 2018-08-07T19:24:47 | 143,918,146 | 1 | 1 | null | 2018-08-07T19:29:20 | 2018-08-07T19:29:20 | null | UTF-8 | R | false | false | 3,334 | r | nagler-fd-sims.R |
# load packages
library(tidyverse)
library(magrittr)
# set seed
set.seed(589)
# load data
turnout_df <- haven::read_dta("data/scobit.dta") %>%
filter(newvote != -1) %>%
mutate(case_priority = sample(1:n())) %>%
glimpse()
# fit model
f <- newvote ~ poly(neweduc, 2, raw = TRUE) + closing + poly(age, 2, raw = T... |
b99561ce92b26346297b11a950c94a387cff3da6 | 2bdef30d5971c256f3b927b833700faa61479cf0 | /man/est2SLSCoefCov.Rd | 07d804da89cd4ae382cf24175b40dabce05409eb | [] | no_license | zackfisher/MIIVsem | da3d686547b4af75dca646a2cb58046bf51484cf | a14d6e8fc4d7a5df6317424a5589c2f138f46c1d | refs/heads/master | 2021-12-02T07:07:00.019902 | 2021-11-27T19:45:30 | 2021-11-27T19:45:30 | 47,993,547 | 11 | 7 | null | null | null | null | UTF-8 | R | false | true | 413 | rd | est2SLSCoefCov.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/est2SLSCoefCov.R
\name{est2SLSCoefCov}
\alias{est2SLSCoefCov}
\title{estimate the 2SLS coefficient covariance matrix}
\usage{
est2SLSCoefCov(
d,
poly.mat = NULL,
cov.mat = NULL,
mean.vec = NULL,
acov = NULL,
acov.sat = NULL,
r =... |
d23d0a27ae881ea75195d8dc5c29bcfc8eab1cc2 | 5a4e746ef2dd9862672d1d8197cca011790ce92f | /work/w-cal_part1Pg_part2Pg.R | 2131b5a1860ef0a5054511b6d4dbd4ccf6aa0895 | [] | no_license | shunw/R-coding | 3942d3a494dfdc9c15ed13bc29e0d8743d7ec9da | 54688b1b18b2a92638f5629f4a55a987a5ae9699 | refs/heads/master | 2020-04-17T03:53:27.211759 | 2015-09-23T08:23:54 | 2015-09-23T08:23:54 | 34,199,186 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,943 | r | w-cal_part1Pg_part2Pg.R | #this is to cal the part1 and part2 sum.
#first step: clean data ---> move the NA rows, and sort the data by"D" and "B.Pg"
#second step: add Totalsum ---> cumsum the X..of.pg by D
#third step: add the part1sum/ part2sum ---> cumsum the X..of.pg by D and by part1
#fourth step: add the part1beg/ part1 end/ part2 beg/ pa... |
cf1e144d8fe903e3528bec35c65d3d6deda22e62 | 1d48691fe89fabceae9c89e28d06d7d4b90ca570 | /man/errors_are_warnings.Rd | fcd1f7e29dbc12218cf4da9f03f4cea95427bff8 | [
"MIT"
] | permissive | peterhurford/handlr | b5d7c2ca38b0fc2f5552cbb4e5fdb377bc4346c4 | dc42611e9cb489b9abb87e507fc5e2b14e1711fb | refs/heads/master | 2021-01-21T15:04:51.610361 | 2017-09-14T19:06:52 | 2017-09-14T19:06:52 | 58,596,029 | 3 | 3 | null | 2017-09-14T19:06:53 | 2016-05-12T01:17:48 | R | UTF-8 | R | false | true | 318 | rd | errors_are_warnings.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/errors.R
\name{errors_are_warnings}
\alias{errors_are_warnings}
\title{Convert errors to warnings.}
\usage{
errors_are_warnings(exp)
}
\arguments{
\item{exp}{expresion. The expression to run.}
}
\description{
Convert errors to warnings.
}
|
1adc62a956e7b7bbc77c8cb825dda9e936effbfe | 5d8b3c10ce85e06d4a16e59a8d97b0601bbd71cc | /Model NEW 040217.R | 1dfecbcba545c464145f3d9850ef467b968aff56 | [] | no_license | ChandSooran/DataScienceCapstone | e73b7d29e22ccaf4e01a64779777b7e57695b0c3 | 3f3b65a65262e15cf987a5232487c8553fac4333 | refs/heads/master | 2021-01-21T15:37:32.456147 | 2017-05-20T00:19:06 | 2017-05-20T00:19:06 | 91,852,932 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 40,321 | r | Model NEW 040217.R | ## Model 5.0 - REDUX using Modified Kneser-Ney - Starting March 2017
## Initialize libraries
library(tm)
library(stringi)
library(stringr)
library(quanteda)
library(tictoc)
library(ggplot2)
library(caret)
library(AppliedPredictiveModeling)
library(data.table)
library(plyr)
## Define directories
zipurl ... |
85b09b86b02005f4e2c3160ef2d0ae8689c0627a | 93c7ad720188eec7a3c17b79f5133d9157b530b5 | /R_lecture/Day_06/Day6_1(Web).R | b3fe8679a475c172a3ba2cfb66448d0c07e39a54 | [] | no_license | won-spec/TIL | e1d51d7d1854015b6061d65d9481e8d0fda91089 | 2eee5d96f79b9342cd14dc392e84b226470d6bcd | refs/heads/master | 2022-12-13T01:00:20.591113 | 2019-12-14T11:55:10 | 2019-12-14T11:55:10 | 226,786,238 | 0 | 0 | null | 2022-12-08T03:18:22 | 2019-12-09T04:42:52 | Jupyter Notebook | UTF-8 | R | false | false | 1,902 | r | Day6_1(Web).R | #2주차
#Web 크롤링, 스크랩핑
#외부 API를 이용한 데이터 구축(JSON)
#컴퓨터에서 데이터 통신을 하려면? => 랜카드(NIC) : Network Interface Card
#여러개의 컴퓨터를 이렇게 NIC를 통해서 연결한 후 네트워크망을 생성할 수
#있다.
#LAN ( Local Area Network )
#LAN of LAN / 네트워크의 네트워크 => 인터넷 (물리적인 framework)
#이 위에 여러가지 서비스를 지정해서 사용하고 있어요
#=>파일을 전송하기 위한 서비스 : FTP
#=>메일을 주고받기 위한 서비스 : SMTP
#=>특정 내용을 게... |
c8f49b74e87b3da2a706945ae0a614348a730b6c | 660b3ce26917f021fbfa611d1a7883cdf4ce47a2 | /capeb/api/data/stats/generate_csv.r | 632c2ca4cae968ddfd22b35a2e104a7bf1e5c45e | [
"MIT"
] | permissive | mok33/HyblabDDJ2018 | 2edea7096c347f1d9cc32c09b200c793ad66a3cc | a8734a788fca04b31ed94d4d247c19e13a6ef8f4 | refs/heads/master | 2021-09-06T18:08:44.862322 | 2018-02-09T13:31:17 | 2018-02-09T13:31:17 | 117,953,438 | 0 | 1 | null | 2018-01-18T08:17:13 | 2018-01-18T08:17:12 | null | ISO-8859-1 | R | false | false | 13,147 | r | generate_csv.r | data = read.csv('../raw/CAPEBPaysDelaLoire_2014-2017.csv', header=TRUE, sep=";", encoding ="UTF-8")
data2 = read.csv('Marchés_publics2017.csv', header=TRUE, sep=",", encoding ="UTF-8")
attach(data2)
max(Oui, na.rm = T)
min(Oui, na.rm = T)
attach(data)
data$Code.postal
mean(Oui, na.rm = T)
getAttYear <- function... |
22884360601952298f5640aebf5fe93fed8e395a | 9c8cf90abe2d29d2301852aa8b9306d9c3f87983 | /run_analysis.R | 49f45af0b91b998f0025a2d86a77c4e1edd8b410 | [] | no_license | dchang99/ActivityRecognition | a435ef97eaad60732566b29a7d25122f7b57225b | 4a51efe09c2743e98fa183bf8354c3fbdc0eba0e | refs/heads/master | 2020-03-27T23:00:52.908714 | 2014-11-22T13:51:52 | 2014-11-22T13:51:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,760 | r | run_analysis.R | run_analysis <- function() {
# Read variable names
headers <- read.table("features.txt", col.names=c("id", "name"),
colClasses=c("integer", "character"))
# Read test and train data sets
dataTest <- read.table("./test/X_test.txt", colClasses="numeric")
... |
e05c1913ffc86bf55867cb9ef9f235c79e1dbfe0 | f05ce58140ec9316e2449cda141d3df089fdd363 | /src/main/java/time_series/m5.7/m5.7.data.R | bea3148665835f7efcf586f18c85cd70e8f31399 | [] | no_license | zhekunz2/Stan2IRTranslator | e50448745642215c5803d7a1e000ca1f7b10e80c | 5e710a3589e30981568b3dde8ed6cd90556bb8bd | refs/heads/master | 2021-08-05T16:55:24.818560 | 2019-12-03T17:41:51 | 2019-12-03T17:41:51 | 225,680,232 | 0 | 0 | null | 2020-10-13T17:56:36 | 2019-12-03T17:39:38 | Java | UTF-8 | R | false | false | 693 | r | m5.7.data.R | kcal_per_g <-
c(0.49, 0.47, 0.56, 0.89, 0.92, 0.8, 0.46, 0.71, 0.68, 0.97, 0.84, 0.62, 0.54, 0.49, 0.48,
0.55, 0.71)
neocortex_perc <-
c(55.16, 64.54, 64.54, 67.64, 68.85, 58.85, 61.69, 60.32, 69.97, 70.41, 73.4, 67.53,
71.26, 72.6, 70.24, 76.3, 75.49)
log_mass <-
c(0.667829372575655, 1.65822807660353, 1.68082790852... |
299d7cbf59936e59c54e3b5f7bcaf0622cf0c444 | f1ad76fa058a2235d3adb05ccefc6b262570478e | /man/auto_name.Rd | b86c7b3b36e4ab5e5d9ca45b6b414c7f3eae58fd | [
"CC-BY-3.0",
"MIT"
] | permissive | Ostluft/rOstluft.plot | 863f733b949dd37e5eaf1d8c1e197596242ef072 | fbed7ce639ae6778e24c13773b73344942ca7dc2 | refs/heads/master | 2022-11-16T12:56:44.199402 | 2020-03-23T11:12:02 | 2020-03-23T11:12:02 | 180,803,285 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 961 | rd | auto_name.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{auto_name}
\alias{auto_name}
\title{Ensure that all elements of a list of expressions are named}
\usage{
auto_name(exprs)
}
\arguments{
\item{exprs}{A list of expressions.}
}
\value{
A named list of expressions
}
\description{
N... |
d244b4843ce59abe26633aadeea36e0d5b89bb76 | 3ac522af39cc180a268485fa59a448c9a4debb49 | /CS 6313 - Statistical Methods for Data Science/inclass/sep5.R | e965e98966ee785d234bfcab3063cf7f78a08be0 | [] | no_license | Nandangonchikar/Masters-CS-UT-Dallas | 5a27fa19082112a0a083c048da9da2f26f09a4c8 | 0047d092bd2d3b08859fc5651898f20709746e2c | refs/heads/master | 2022-03-19T06:41:38.255850 | 2019-12-14T23:31:07 | 2019-12-14T23:31:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,887 | r | sep5.R | ########################
# sample size computation #
########################
alpha <- 0.05
epsilon <- 0.03
# > (qnorm((1-alpha/2))/(2*epsilon))^2
# [1] 1067.072
# >
# round up to the next integer
# > ceiling((qnorm((1-alpha/2))/(2*epsilon))^2)
# [1] 1068
# >
########################
# Binomial distribution #
#... |
56af59656576a629bfa52f99cd587617828433d2 | 380ce6ddf7d0480cf4c938c373130dac331cc7e2 | /made4 coding 16april2018.R | 34a56e47b4f70d9f3e4891b8daafd1f6801e45ab | [
"MIT"
] | permissive | JohnBarlowVT/Food_Scraps_Resistome | 33cf50b8e5b1035f959b1a2253fa641e32a23132 | 336f69164bce7df967cafc8d7d218a4faa66386e | refs/heads/master | 2020-03-11T16:02:12.621545 | 2018-04-25T18:39:58 | 2018-04-25T18:39:58 | 130,103,923 | 0 | 0 | null | 2018-04-18T18:39:19 | 2018-04-18T18:16:15 | JavaScript | UTF-8 | R | false | false | 6,866 | r | made4 coding 16april2018.R | # data exploration experiments using made4 package (version 1.52.0)
# made4 = Multivariate analysis of microarray data using ADE4
# code for coinertia analysis of antimicrobial resistance gene (ARGs) data from the food scraps metagenomics project
# 16april2018
#JWB
#----------------------------------------------------... |
eb469432062e6b7647203ba10712ac113f63c151 | d354e58efb0f8804fe501766abbef6e25be48aec | /MetaMultiSKAT/R/Transform_Harmonize.R | 2e4c272bebb2a238d25015952317da53888094a6 | [] | no_license | diptavo/MetaMultiSKAT | 246ec0ca32649d5e5975e8882129b7c37a7623eb | 4e89920d1681a8df2edaf556316b1ac61863a997 | refs/heads/master | 2020-04-01T00:45:35.646646 | 2019-01-22T09:42:25 | 2019-01-22T09:42:25 | 152,712,175 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,114 | r | Transform_Harmonize.R | Transform.MultiSKAT <- function(S1,Sigma_g, Sigma_p){
m <- ncol(S1$Score.Object$Score.Matrix); n.pheno <- nrow(S1$Score.Object$Score.Matrix)
Sc <- mat.sqrt(Sigma_p)%*%S1$Score.Object$Score.Matrix%*%mat.sqrt(Sigma_g)
Ls <- mat.sqrt(Sigma_g%x%Sigma_p)
S1$Regional.Info.Pheno.Adj <- t(Ls)%*%S1$Regional.Info.P... |
6702c8fe2b9832bbb3ddcbd7a98a4ddc06fd2468 | 037415285031e0ff3cc3891c70824946ee45b352 | /한이진/R/R프로그래밍/list0429.R | 370f1ccf48d5c86c15d81d9d1b3e6fd66f3ab3d8 | [] | no_license | kb-ict/20210111_AI_BigData_class | f157634baf0614e443046d699a90b31dc15a8b26 | 0516b1a322cb43602086b689b7b7d93e238024db | refs/heads/main | 2023-06-16T18:17:53.421908 | 2021-07-16T05:30:03 | 2021-07-16T05:30:03 | 346,164,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,079 | r | list0429.R | #List 자료구조: 다른 자료형과 자료구조(벡터, 행열, 리스트, 데이터프레임)를 객체로 생성
list1 <- list(c(1,2,3), c("제니","리사","로제"),TRUE,12.5)
list1
list2 <- list(c("제니","로제","리사"),c(20,30,40))
names(list2) <- c('NAME','AGE')
list2
print(list2[1])
print(list2$NAME)
print(list2$NAME[1])
print(list2$AGE[3])
blackpink <- list(name=c("제니","로제","리사","지수"),a... |
d5c6fb5c40b924df8f6b4558fa4c04223c891e44 | 17e579f385870baa035f6ae338774b856a4b05dc | /imageManipulationSF.R | 541e6ff0b4017839277e95073efca4db5697dad6 | [] | no_license | ryanetracy/spatial-frequency-filtering-in-R | fd535dd1c83a5ff2e36ea2b1bb8d19dc11f73e90 | 346e9986dc1531be0c3a2274c88bc8f87d74f0a7 | refs/heads/master | 2022-08-21T20:36:41.625527 | 2020-05-19T22:56:37 | 2020-05-19T22:56:37 | 265,387,181 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,543 | r | imageManipulationSF.R | # #install the BiocManager suite
# if (!requireNamespace("BiocManager", quietly = TRUE))
# install.packages("BiocManager")
#
# BiocManager::install("EBImage")
library(EBImage)
files <- list.files(path="LIST FILE PATH WHERE IMAGES ARE FOUND", pattern=".jpg", all.files=T, full.names=T, no.. = T)
#make empty lists... |
5d81780f9557382d780663af77f8098a40c2a1e7 | 7e1218a7155e15f7d5c59aeb14c245ca5aa10f0b | /man/SEP_FIM.Rd | 1ee43f22853b24f738f23147adf0bd64e24411a5 | [
"MIT"
] | permissive | fishinfo/FiSh | b64af3af74dec77350d94f0fb5fd49bb967b3385 | 8bd59194569a4f133ec1ad700160a8a789b69f1e | refs/heads/master | 2020-08-11T02:55:12.117433 | 2020-01-02T10:38:40 | 2020-01-02T10:38:40 | 214,477,143 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,391 | rd | SEP_FIM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SEP_FIM.R
\name{SEP_FIM}
\alias{SEP_FIM}
\title{Fisher-Shannon method}
\usage{
SEP_FIM(x, h, log_trsf=FALSE, resol=1000, tol = .Machine$double.eps)
}
\arguments{
\item{x}{Univariate data.}
\item{h}{Value of the bandwidth for the d... |
edcc1a8facd6b677e9f6489452c40445c2888b0c | 875c89121e065a01ffe24d865f549d98463532f8 | /man/example.spatial.Rd | f281eb8c2e2501c63bd013c1b498886f6818a01c | [] | no_license | hugomflavio/actel | ba414a4b16a9c5b4ab61e85d040ec790983fda63 | 2398a01d71c37e615e04607cc538a7c154b79855 | refs/heads/master | 2023-05-12T00:09:57.106062 | 2023-05-07T01:30:19 | 2023-05-07T01:30:19 | 190,181,871 | 25 | 6 | null | 2021-03-31T01:47:24 | 2019-06-04T10:42:27 | R | UTF-8 | R | false | true | 1,174 | rd | example.spatial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/z_examples.R
\name{example.spatial}
\alias{example.spatial}
\title{Example spatial data}
\format{
A data frame with 18 rows and 6 variables:
\describe{
\item{Station.name}{The name of the hydrophone station or release site}
\item{Latitude}{Th... |
1fc13edbeb8443948adf8e349aa6f2578e468caf | d68cfab4a9b2876f4cdfd0c2c8da3b8b5da99157 | /Week5/DataScience05_ModelingInR_WernerColangelo.R | 85ca1e22aa87a341bb440e9b7b1eb416f3dff3c9 | [] | no_license | alfl2/IntroToDS-Fall2014 | 920291e7cc35958bff9e081f2e7f7053b5239a4b | 202360a9c24fd8a91c732cbaf1d66847585c5adb | refs/heads/master | 2021-01-17T08:52:50.424430 | 2014-12-06T23:15:32 | 2014-12-06T23:15:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,118 | r | DataScience05_ModelingInR_WernerColangelo.R | # DataSience05_ModelingInR.R
# Complete the code:
# Classify outcomes using Naive Bayes
# Show Confusion Matrix for Naive Bayes
# DATASCI 250: Introduction to Data Science (4690)
# Autumn 14
# Instructor: Ernst Henle
#
# Homework 5
#
# Submitted by:
# Werner Colangelo
# wernercolangelo@gmail.com
# Clear objects from ... |
812539a595726b0169fdc7719aa251a02c2ab60e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/xfun/examples/parse_only.Rd.R | 0b62520f3fe565081e41477ecc4f3ab398230749 | [] | 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 | 230 | r | parse_only.Rd.R | library(xfun)
### Name: parse_only
### Title: Parse R code and do not keep the source
### Aliases: parse_only
### ** Examples
library(xfun)
parse_only("1+1")
parse_only(c("y~x", "1:5 # a comment"))
parse_only(character(0))
|
8cd3a564db3c249b568112aabb7e261c1805e86d | f755b2cb723c372c3313e6c5a09205d7208decc9 | /test/v0.0.2/testObjectives.R | 55dcaf1f698320e991e61316ee0770987fe0ffe8 | [] | no_license | AcuoFS/acuo-allocation | f25febe5f7d3f5d129c2a14678d65020f932befb | a72da9fff6020a51c25deaacde95c92c92908a0d | refs/heads/master | 2018-10-05T08:12:22.993237 | 2018-04-04T06:50:27 | 2018-04-04T06:50:27 | 67,778,974 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 821 | r | testObjectives.R | library('RUnit')
setwd("E://ACUO/projects/acuo-allocation/test/v0.0.2")
test.suite1 = defineTestSuite("example",
dirs = file.path("testObjectives"),
testFileRegexp = 'objectivesTests.R')
test.suite2 = defineTestSuite("example",
dirs... |
39f3055e31a194fea12a7dccc6a1abcf9400fbd2 | 7be68c0b3218e14f6af748209b31d2e1c6f6b047 | /R/add_initialedit_module.R | 96ab1130091471b21eff5746012013662a82a8ed | [
"Apache-2.0"
] | permissive | jhk0530/eCRF-SMCcath | 1a27da64e35da0f7b13c21acd18da7fdc48c09bb | cd331a798203b90fcf881e28c8cef1e5a9e0236d | refs/heads/main | 2023-07-02T19:00:29.241116 | 2021-07-24T03:26:38 | 2021-07-24T03:26:38 | 351,021,491 | 0 | 0 | Apache-2.0 | 2021-03-24T09:34:21 | 2021-03-24T09:34:21 | null | UTF-8 | R | false | false | 20,052 | r | add_initialedit_module.R |
#' Enroll Add & Edit Module
#'
#' Module to add & initial edit
#'
#' @importFrom shiny observeEvent showModal modalDialog removeModal fluidRow column textInput numericInput selectInput modalButton actionButton reactive eventReactive
#' @importFrom shinyFeedback showFeedbackDanger hideFeedback showToast
#' @importFrom ... |
711b3051ad277802b88aceb494a904f694fe7f37 | 611ba9b2fc085dfb7556f1aa7441b9f47acf82cc | /Digit Recognition - SVM/digit_recognition_svm_v2.R | b4d0710fb467571e19f3de178f8f5d21b2ca7504 | [] | no_license | arunnalpet/PGDDS | 121e39f4a5e68c5f9bef80e4c1fec18eff26c212 | 1da89215b102306d5ce8b3d9b9cc4bdc133b27f3 | refs/heads/master | 2020-04-09T12:20:42.173471 | 2019-08-08T06:32:12 | 2019-08-08T06:32:12 | 160,345,608 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,645 | r | digit_recognition_svm_v2.R | # Assignment: Digit Recognition using SVM
# Objective: Develop SVM classification model to identify the digits based on pixel values.
# Load required libraries
library(caret)
library(kernlab)
library(dplyr)
library(readr)
library(ggplot2)
library(gridExtra)
library(caTools)
# Source the data. Please set t... |
ee4504b174bc9726dc80042de7e448d2f312e2d5 | cab774f05204f8e24c91d1358cf27f6a894f3adb | /wombatR/R/convert.pedigree.multigeneration.R | 24c866f4e63926b3fbea4bbcc5a958dadb6103d8 | [] | no_license | mdjbru-R-packages/wombatR | 7a931e9839bd5086f1afe31ea84f47ee51c42129 | 251c4cb26a3402ce63cc2b36ab74ac05bb4894b8 | refs/heads/master | 2021-01-21T07:53:40.138365 | 2014-10-03T14:06:19 | 2014-10-03T14:06:19 | 25,148,687 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,959 | r | convert.pedigree.multigeneration.R | #' @title Convert parents and offspring identities to unique identities
#'
#' @description Convert a pedigree with independent numbering for the identities
#' of parents and offsprings to a multigeneration compatible
#' pedigree, where identical numbers are not shared between different
#' individuals between the ... |
f6797db755b95a30e5c1c56a1b22bbf8fa56b7d4 | 6c07db4a56830892a21412d3d0cca5128d7dc542 | /cachematrix.R | 3e974b106bc1051945607b558766ac81966388aa | [] | no_license | neurofen/ProgrammingAssignment2 | 974186a6b6e341d432963619f80692a4b7bf01f8 | e933a1f2e1cc6a01b6df2ad78a7835fe22ffd877 | refs/heads/master | 2021-01-18T16:54:59.799583 | 2015-01-25T09:56:20 | 2015-01-25T09:56:20 | 29,799,014 | 0 | 0 | null | 2015-01-25T01:51:24 | 2015-01-25T01:51:24 | null | UTF-8 | R | false | false | 1,817 | r | cachematrix.R | ## Create an cachable matrix object which caches the inversion of a given invertable matrix.
## Using cacheSolve, calculate the inverse of the cacheable matrix. Repeating solve on the
## same cacheable matrix should returned the cached inverse, calculated the first time
## cacheSolve was called.
##
## Usage:
## cached.... |
ab6e75222151b2b14952e14d0e7b2336e274e0e3 | a560269290749e10466b1a29584f06a2b8385a47 | /Notebooks/r/andybega/notebook6b7f424ee9/notebook6b7f424ee9.R | c529830d0906f98611e8b3c3671191a28096fd5a | [] | no_license | nischalshrestha/automatic_wat_discovery | c71befad1aa358ae876d5494a67b0f4aa1266f23 | 982e700d8e4698a501afffd6c3a2f35346c34f95 | refs/heads/master | 2022-04-07T12:40:24.376871 | 2020-03-15T22:27:39 | 2020-03-15T22:27:39 | 208,379,586 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 175 | r | notebook6b7f424ee9.R | library("rio")
library("ggplot2")
library("randomForest")
train <- import("../input/train.csv")
test <- import("../input/test.csv")
str(train)
list.files("../input") |
6457224f28fb1cf330008f4c4fc03498060e19f2 | fd2cd35a789adc3a1e4c83cd7798c6385118c068 | /scripts_R_genericos/explorando_tempo_interna.R | 1c42b7f0a342d73c5961b3d36617862ad632e062 | [] | no_license | covid19br/central_covid | 1ce07ad6a086304983aa97caee9243bfc37367ee | 74e1ca39e4307fc43a8c510d7e98825ae1816d91 | refs/heads/master | 2023-05-11T14:45:02.202142 | 2023-03-22T21:20:51 | 2023-03-22T21:20:51 | 263,488,734 | 12 | 1 | null | 2020-07-10T18:42:29 | 2020-05-13T00:55:54 | HTML | ISO-8859-1 | R | false | false | 4,243 | r | explorando_tempo_interna.R | library(ISOweek)
library(dplyr)
library(tidyr)
library(lubridate)
library(readr)
#source("../nowcasting/fct/get.last.date.R")
#source("../nowcasting/fct/read.sivep.R")
## Leitura dos dados###
data.dir <- "../dados/SIVEP-Gripe/"
last.date <- get.last.date(data.dir)
dados <- read.sivep(dir = data.dir, escal... |
2372c9aa89eb86d70844e73dba69774a43ac0c1f | 58ab1de8a6eb3c9eea7e5e4ce65a6ca92cf68487 | /man/pairs.ridge.Rd | 41b1ef879e3fddd581fca6d078cfeb9b1cf8ef26 | [] | no_license | friendly/genridge | 419312c910f63eb1c2d46a09f27d950cf76a11e7 | 6727b4ec074829d34b5f57ebe362386f80708ddb | refs/heads/master | 2023-08-08T17:06:58.576278 | 2023-08-08T15:31:11 | 2023-08-08T15:31:11 | 105,555,707 | 3 | 1 | null | 2023-08-03T18:46:42 | 2017-10-02T16:10:20 | R | UTF-8 | R | false | true | 2,839 | rd | pairs.ridge.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pairs.ridge.R
\name{pairs.ridge}
\alias{pairs.ridge}
\title{Scatterplot Matrix of Bivariate Ridge Trace Plots}
\usage{
\method{pairs}{ridge}(
x,
variables,
radius = 1,
lwd = 1,
lty = 1,
col = c("black", "red", "darkgreen", "blue",... |
07d520f910fd8cb9e6a6e3db8b7c98bd152ef969 | 58567152aadcf24d632e5e5ecbc458a1de83f95f | /01_scripts/01_analisis_encuesta.R | 76a6a830ab099fb4fd22def26bd4d455530bc3f9 | [] | no_license | quishqa/Curso_R_UNALM_ciencias | 9558d3f294ab9b76a2ffe9b99b0f183c1dd7d389 | 2355f53fe4f264ad0a1679318fad8bb7fc113672 | refs/heads/main | 2023-04-28T14:10:32.870204 | 2021-05-15T21:52:10 | 2021-05-15T21:52:10 | 350,546,649 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,030 | r | 01_analisis_encuesta.R | # Un curso introductorio de R
# Análisis de las respuestas de la encuesta
# Leyendo el archivo csv
respuestas <- read.table("02_data/respuestas27.csv",
header = T,
sep = ",",
stringsAsFactors = F)
# Cambiando el nombre del encabezado
names(re... |
0445aa97a4b28dfd1c1125cd7beda2ab71ad96f0 | c5649a93aeb636af7c2335da5c43b16aab909e0b | /src/titer-plot.R | 2aafdbb4fcacba497cf39087502589720c3b9d09 | [
"MIT"
] | permissive | hilldr/astrovirus | dc33f1dc872e433c8adc542cd4777c64cb4cd51f | 92626644884f9c7aba0bddef4a7e419bff6eda4d | refs/heads/master | 2020-03-15T01:00:33.263252 | 2019-04-19T18:57:13 | 2019-04-19T18:57:13 | 131,883,292 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,722 | r | titer-plot.R | ## R script for plotting the results of correlation analysis
## between viral titer and RNA-seq gene counts
## David R. Hill
## -----------------------------------------------------------------------------
library(magrittr)
## load data
data <- readr::read_csv(file = "../results/counts_metadata_titer-correlation.csv"... |
e8d4dfff93ab2ad82ad31a531b0890671409b719 | da683d1ea1b7001b1b26c7d2b4a18b21652c9677 | /plot2.R | d5e098b580e0037c1a9c44dc2d6ab2447115fa43 | [] | no_license | sayanbanerjee32/ExData_Plotting1 | 7b78e97de1f650073ee55bbdd2c4c1173ecf9aba | a68551f702a36f3c2dacc8755a42073a054e81ab | refs/heads/master | 2021-01-12T18:58:22.082674 | 2015-06-06T19:18:52 | 2015-06-06T19:18:52 | 36,974,861 | 0 | 0 | null | 2015-06-06T09:35:07 | 2015-06-06T09:35:07 | null | UTF-8 | R | false | false | 856 | r | plot2.R | require(dplyr)
require(lubridate)
#reading data file
hpcDF<- read.table("household_power_consumption.txt",header = TRUE, sep = ";")
#filtering on dates
hpcFilteredDF <- filter(hpcDF, as.Date(Date,"%d/%m/%Y") ==as.Date("1/2/2007","%d/%m/%Y") |
as.Date(Date,"%d/%m/%Y") ==as.Date("2/2/2007","%d... |
eb15e319dd17e4da17f114d7670952b4d7e7c60d | 8d041410c9eadf7344fb3c9410eb0176b90e2bc7 | /metabolomics_FC/unsupervised_learning_time_points.R | 3f6c552fcb46ab3a8721a5bb29669c342d686f28 | [] | no_license | easonfg/overfeeding | 0e169403730d3252e2b74f250052d5e87672ebb7 | 120f0e1eba798f688619624874d49641e6d01a4c | refs/heads/main | 2023-04-09T08:56:53.332355 | 2021-04-08T16:12:31 | 2021-04-08T16:12:31 | 355,973,680 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,414 | r | unsupervised_learning_time_points.R | library(dplyr)
library(tibble)
### read data
overfeed.data = read.csv('Re__Obesity_data_set/overfeeding_metabolomics.csv', row.names = 1,
header = F, stringsAsFactors = FALSE, sep=',', dec='.')
pheno.data = read.csv('cytof/phenotypes.csv',
header = T, stringsAsFactors ... |
bc5ee948fea5f11e9d8219378fac2ef4a6946928 | 08e9461d78579eaf46fac27e7bda3c7419313b22 | /workflow/scripts/01download.R | 18022361a682c7940e9e7e04e9e3915ad4a6607a | [] | no_license | CristianRiccio/celegans-pathogen-adaptation | 509bd196397d8611c7e6d382fd470165b5237501 | 73cfed6ecd79f03511ccbbe3a2923d68839d163a | refs/heads/master | 2023-05-31T15:58:26.239064 | 2023-05-20T21:33:40 | 2023-05-20T21:33:40 | 192,746,214 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,126 | r | 01download.R | ### Download data from iRODS, rename it and transform it into fq.gz
### PacBio
snakemake --jobs 4 output/reads/dna/pacbio/{BIGb248,BIGb306,BIGb446,BIGb468}/a.subreads.bam --cluster-config cluster.json --cluster "bsub -n {cluster.nCPUs} -R {cluster.resources} -c {cluster.tCPU} -G {cluster.Group} -q {cluster.queue} -o {... |
d758636d84a7f98316a72246d3b80464ccf0191c | 816e64bd2c1c3ed1eb9c28b3cc73da43bfb0b57c | /cost_summary.R | fa160f7de2f7d808927da2bed5f8c812873b3c95 | [] | no_license | imeikle/storm-data | 320f1fd4957eb963493a4c873d9db4abf53ccaed | 86aae709f3a5eac0615d84bf382b0ed9cf2989c8 | refs/heads/master | 2016-09-11T01:37:16.656479 | 2014-12-20T12:16:16 | 2014-12-20T12:16:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,592 | r | cost_summary.R | storm <- read.csv("repdata-data-StormData.csv.bz2", stringsAsFactors = FALSE)
library(dplyr)
# Remove all those events which did not incur costs
storm_cost_significant <- filter(storm, (PROPDMG != 0 & CROPDMG != 0))
# Replace duplicates caused by case variance
storm_cost_significant$PROPDMGEXP <- sapply(storm_cost_s... |
87c0862fc8f7c4443ec0fa0f6e815ff35a7e391c | 4fefba17f572330a88a693b8bd7b6a4d0f0c2c75 | /best.R | 7c43b741f1368e797028bafebf70714cd2f174b6 | [] | no_license | TerraSetzler/best | f6fe20e1e7d57bd856ea924b5cb58d01c14c5e46 | 12a05702b4234f4f3c87971f1deb3d91b65748d7 | refs/heads/master | 2021-01-10T15:12:19.053719 | 2015-10-31T17:41:29 | 2015-10-31T17:41:29 | 45,266,045 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,194 | r | best.R | best <- function(state, outcome) {
data2 <- read.csv("outcome-of-care-measures.csv", na.strings = "Not Available")
data1 <- data2[which(data2$State == state),]
if(outcome != "heart attack" || "heart failure" || "pnumonia") {
stop("invalid outcome")
}
if(outcome == "heart attack") {
z <- min(a... |
9cac9c7ca636eb9c697ecfe8c673a1f8468f76cf | 08705790131f97a4c6fc4c7f8824fc91b67eb5ed | /PackageTryV3/R/SplitGroup.R | 265b1f20a30ebb39ce6639a90e8c314591a1227b | [] | no_license | Durenlab/PackageTry | e6d76b85ed083dfd2ee22d4ff67f717c0579dcfe | 843f5c1d4f8fa4eaabcc86b13d7cd27afbd834c6 | refs/heads/main | 2023-06-13T07:43:23.598894 | 2021-07-07T18:36:47 | 2021-07-07T18:36:47 | 382,151,249 | 0 | 1 | null | 2021-07-06T16:40:15 | 2021-07-01T20:39:51 | C++ | UTF-8 | R | false | false | 123 | r | SplitGroup.R | "SplitGroup" <- function(foldername,barcord,W3,H,Reg_symbol_name,Reg_peak_name,cluster){
UseMethod("SplitGroup");
}
|
da2e07f926ec2f717765092217780f8db5ae019e | c283c9dac2440ad037a106b69fb659c54c5e9f5c | /code/13.R | 6a571e81f93fae830759b7046502c190f230920e | [] | no_license | ykx-ykx/work2 | f46ca88dfafb0568fb0f16343439450306dc0a77 | 9ff4d41dfcd19d96875ed6d451782fbeb0655b69 | refs/heads/main | 2023-04-01T10:50:09.475033 | 2021-04-04T02:49:29 | 2021-04-04T02:49:29 | 354,437,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,562 | r | 13.R | library(ggplot2)
library(NbClust)
library(reshape2)
library(ggsignif)
library(dplyr)
#MIR靶基因
miRNA_target<-read.delim("G:/colon_cancer/c3.mir.mirdb.v7.2.symbols.gmt",header = FALSE)
target<-miRNA_target[c(274,524,1104,760),]
mir_29a<-na.omit(unique(t(cbind(target[1,2:1071],target[2,2:1071]))))
mir_29a<-as.data... |
20c0bf21f4ffe201296dfd206dd68fdfdabd081e | 446373433355171cdb65266ac3b24d03e884bb5d | /man/saga_rastermasking.Rd | 7c8732601fe49242b37dba311b43f30b6417c766 | [
"MIT"
] | permissive | VB6Hobbyst7/r_package_qgis | 233a49cbdb590ebc5b38d197cd38441888c8a6f3 | 8a5130ad98c4405085a09913b535a94b4a2a4fc3 | refs/heads/master | 2023-06-27T11:52:21.538634 | 2021-08-01T01:05:01 | 2021-08-01T01:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,104 | rd | saga_rastermasking.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/saga_rastermasking.R
\name{saga_rastermasking}
\alias{saga_rastermasking}
\title{QGIS algorithm Raster masking}
\usage{
saga_rastermasking(
GRID = qgisprocess::qgis_default_value(),
MASK = qgisprocess::qgis_default_value(),
MASKED = qgi... |
f6cd9024ea22f67ef19b1c4bb7427365ae8be7cf | 9eff21629a84f33ce0da2840a72dea50e94dc524 | /R/cause_params_sims.R | 3822edf56770753b1f17a56ad45df98f2f9733d9 | [] | no_license | sangyoonstat/causeSims | 6b4221dd4db71104fb7ac35835a21f10014bd4b8 | 1997e0ac3e55a23ac386b0b4911daba1fe9979c1 | refs/heads/master | 2023-05-01T04:51:37.087823 | 2020-09-02T19:41:32 | 2020-09-02T19:41:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 598 | r | cause_params_sims.R |
#'@title Estimate CAUSE parameters for simulated data
#'@param dat A simulated data frame created with sum_stats
#'@param null_wt Null weight in dirichlet prior on mixing parameters
#'@param no_ld Run with the nold data (T/F)
#'@return
#'@export
cause_params_sims <- function(dat, null_wt = 10, no_ld=FALSE, max_candid... |
430eed8218c21f6836d51ebf12d1a5a1c68a264b | 4832243131b31f3a22fd1a4480bdf8938cbfb272 | /FishCreekAlevinParentage2014.R | 11865d6d92d627065070a9f9cf9b36a66d9cb12d | [] | no_license | krshedd/SEAK-Chum-Parentage | b267d6387e292f93bacaa6db499e7409ffa40250 | 6464534d025bc7a8caae201d1ecca654591f6d87 | refs/heads/master | 2023-01-28T21:21:31.605699 | 2023-01-25T23:43:36 | 2023-01-25T23:43:36 | 63,094,480 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,945 | r | FishCreekAlevinParentage2014.R | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#### 2014 Fish Creek Parentage Analysis ####
# Kyle Shedd Mon Jul 11 11:14:11 2016
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
date()
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... |
03ae1326fa6eaf5cba33471522ebf1e4e7504a42 | f7748db84b273c3b4f3ad289df86c1cf73671df0 | /PDF Estimation.R | 05736009a8eddadaad0998bad259965e2bdab12a | [] | no_license | maglavis138/WeeklyRecApp | a616b99813e9515ae01891595b2182f4cb7547b0 | 2024f8f450fafc9903e6a3f1f2b5707879f8868b | refs/heads/master | 2021-01-22T04:48:25.676330 | 2017-09-03T14:13:49 | 2017-09-03T14:13:49 | 102,269,266 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,240 | r | PDF Estimation.R |
library(MASS)
library(fitdistrplus)
remove_outliers <- function(x, na.rm = TRUE, ...) {
qnt <- quantile(x, probs=c(.25, .75), na.rm = na.rm, ...)
H <- 1.5 * IQR(x, na.rm = na.rm)
y <- x
y[x < (qnt[1] - H)] <- NA
y[x > (qnt[2] + H)] <- NA
y
}
plot_histogram <- function(data){
hist(data, # histogram
... |
3029d3e9902178395a4ac6ffb3170b85274b4b0b | 966cec6374ae11cf5cad5e819c06047a252bd085 | /suvivalanalysis.R | 1ff98ed7310199b882d952d86092e3980c25c6da | [] | no_license | zhangliyin666/TCGAbiolinks | 2e91575d53ea72fd8e98a2802a5a39708ef62e8c | dec87fa946e714c5c8ae37db8ac649df7dc5a102 | refs/heads/master | 2023-03-31T23:27:07.309322 | 2021-04-11T10:03:30 | 2021-04-11T10:03:30 | 355,908,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 492 | r | suvivalanalysis.R | TCGAbiolinks::getGDCprojects()$project_id
clin.LUAD <- GDCquery_clinic("TCGA-LUAD", "clinical",save.csv = TRUE)
#write.csv(clin.LUAD,file = "LUAD_clinical.csv")
library(survminer)
TCGAanalyze_survival(clin.LUAD,
clusterCol="gender",
risk.table = FALSE,
xli... |
2b7828ac2390e034b9b1e6b2849bff5fc4f70b7f | 796b959d64ca828fc1d6ceb028a1244fd779bcf4 | /LSuperior/LS_ICE_Analysis.R | fc427addd5763edc25e70b58794acaf362138f00 | [] | no_license | droglenc/WiDNR_Creel | 96a29fd4820d6db4bc77ef325ce29bbbb1545e3d | 4118b4cd48f12cabf1dc48fdef22d617554dd21c | refs/heads/master | 2020-04-11T18:55:40.400660 | 2020-01-28T13:39:04 | 2020-01-28T13:39:04 | 162,016,946 | 0 | 0 | null | 2019-10-14T00:43:48 | 2018-12-16T15:54:30 | HTML | UTF-8 | R | false | false | 3,103 | r | LS_ICE_Analysis.R | #=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=
#
# PROGRAM TO ANALYZE LAKE SUPERIOR ICE CREEL
#
# DIRECTIONS:
# 1. Create a "LS_ICE_YEAR" folder (where YEAR is replaced with the year
# to be analyzed ... e.g., LS_ICE_2019) inside "LSuperior" folder.
# 2. Use Access macro to extra... |
0c3e31fd1016f4a820fd682a09799e841ce6b2cc | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/TrajDataMining/examples/owMeratniaByCollection.Rd.R | 0c046b7f200af49f27d5b3f8d81c5cf7d6d6df8c | [] | 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 | 476 | r | owMeratniaByCollection.Rd.R | library(TrajDataMining)
### Name: owMeratniaByCollection
### Title: Ow Meratnial By Collection
### Aliases: owMeratniaByCollection
### owMeratniaByCollection,TracksCollection,numeric,numeric-method
### ** Examples
library(magrittr)
library(sp)
library(ggplot2)
ow <-owMeratniaByCollection(tracksCollection,13804... |
fa2cfe4df2c5c918a9e31ae6fed3fc85cc6eb574 | ce68a85c4a6c5d474a6a574c612df3a8eb6685f7 | /book/packt/Mastering.Data.Analysis.with.R/08 - Polishing Data.R | b406c3571d9587ea3d7905255757a7708c8a3aed | [] | no_license | xenron/sandbox-da-r | c325b63114a1bf17d8849f076bfba22b6bdb34a3 | c217fdddc26ed523b3860e2000afc699afac55a2 | refs/heads/master | 2020-04-06T06:58:17.049181 | 2016-08-24T06:16:32 | 2016-08-24T06:16:32 | 60,466,314 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,455 | r | 08 - Polishing Data.R | ## Extracted code chunks from
##
## Gergely Daróczi (2015): Mastering Data Analysis with R.
##
## Chapter #8: Polishing Data. pp. 169-192.
##
##
## This file includes the code chunks from the above mentioned
## chapter except for the leading ">" and "+" characters, which
## stand for the prompt in the R console.... |
be73ca73b931786b036dbc2126b9a4dc22deb8ad | 7c4b414da8b71d9f54242a07e7526cecf8020106 | /deaths_in_Finland/ui.R | 0e70089b3b70468f7893a5b84894341369b50439 | [] | no_license | zavolainen/developing_data_products_project | 53ef6116977c66dcb3e08fe3250808caba48d27c | 8fe0fcab615f981b316e839b113d6b6ab2758b0b | refs/heads/master | 2020-04-11T07:45:30.134502 | 2018-12-14T12:50:45 | 2018-12-14T12:50:45 | 161,621,323 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 582 | r | ui.R | library(shiny)
library(plotly)
ui <- fluidPage(
headerPanel("Deaths in Finland - years 1980-2017"),
sidebarPanel(
sliderInput("year", "Select the years you want to inspect", 1980, 2017, value = c(1980, 2017), sep = ""),
checkboxInput("total", "Show total", value... |
90e99acd0d219683a5e585177866cd055ab9505d | c0eaf1f57e6673445a8692c8d3be546b627ccd7f | /rfg_submission_code/code/ensemble/ens-105.r | 9dc294462701ee59526584590565c108c5c7f507 | [
"BSD-3-Clause"
] | permissive | nalu357/DiabetesRetinopathyDetection | fbc47428fc88cd29d70c167dd88180b73c941b8f | 391d1c1230d73733e07df8eaa111abd18b1d1170 | refs/heads/master | 2022-08-28T16:43:56.534318 | 2022-07-26T15:14:02 | 2022-07-26T15:14:02 | 186,412,136 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,742 | r | ens-105.r | library(glmnet)
library(ggplot2)
library(caret)
library(plyr)
# set.seed(2)
img_dir = '../../../../kaggle-eye/data/crop256x256/train'
args = commandArgs(TRUE)
if (length(args)) {
img_dir = args[1]
}
set.seed(6)
predictor_file_name = 'ens-105-predictors.csv'
predictor_dat = read.csv(predictor_file_name, stringsAsFa... |
ce5c0c801224f8bd314dbe34011c0cbdbf24f807 | edbe9c10eec8f9c62598a6c55bc129e35261a699 | /Plot3.r | 38a41315f54a20e870d29381c503cbd466d99300 | [] | no_license | menrotProg/ExData_Plotting1 | effb2347c159f8f99973ddbc4cbde149ffb923fd | 00b771dfb4d32da53630e3b3c3791d8817087584 | refs/heads/master | 2021-01-22T21:23:08.906664 | 2015-06-06T03:28:20 | 2015-06-06T03:28:20 | 36,886,478 | 0 | 0 | null | 2015-06-04T17:52:40 | 2015-06-04T17:52:40 | null | UTF-8 | R | false | false | 897 | r | Plot3.r | rm(list=ls())
library(sqldf)
##
## Read from the dataset only the relevant 2 days, using SQL query
##
## Assumes dataset is in the working directory
##
wd <- read.csv.sql(
"household_power_consumption.txt",
sql = "select * from file where Date='1/2/2007' OR Date='2/2/2007' ",
sep=";",head=TRUE)
# create a ... |
a93d2ba92287e915c37984a35dbdd40c58e64111 | b251f9b356673d08b21093b59690021dd8653d48 | /man/repmat.Rd | 23212b8eb3af1c5987d554487379211fe25573f2 | [] | no_license | GarrettMooney/moonmisc | c501728302e35908f888028f9be4522921b08be3 | 0dee0c4e5b3b55d93721a4c70501e7322d44cd15 | refs/heads/master | 2020-03-24T13:38:25.650579 | 2019-10-19T18:22:05 | 2019-10-19T18:22:05 | 142,748,283 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 592 | rd | repmat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/repmat.R
\name{repmat}
\alias{repmat}
\title{Rep Mat Function}
\usage{
repmat(X, m, n)
}
\arguments{
\item{X}{a numeric matrix}
\item{m}{number of row-wise replications}
\item{n}{number of column-wise replications}
}
\value{
numeric matrix ... |
02c253fee9df7d3679fcacf7fd32ba59447afb9b | aa3ba28eac4a2734ba2f0360820035eb643f06e0 | /Programs/SVM.r | 6acb8b72856af78cdef1b46754b149802f460e8e | [] | no_license | AlQatrum/ProjetFilRouge | 6094ea2383976ab7b7c9bcb6161a804848715172 | e8a7918900ff1a4ea56970011a11e6d2e2e8b24a | refs/heads/main | 2023-03-07T18:06:41.332953 | 2021-02-25T22:14:08 | 2021-02-25T22:14:08 | 311,359,108 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,441 | r | SVM.r | ########################################## Description ##############################################
# This script aims to create a SVM separating young + old from the others. #
#####################################################################################################
rm(list = ls... |
bb1ed00deba1390b8310ea02e5f708ce69ab1749 | 8599857de719b36466687e4cd3ff258497fc3998 | /ARules/Groceries_arules.R | 0fcb27889b5df2d6ddc84e9d3cfe5faf4c9222db | [] | no_license | MenaliBagga/Data-Mining-Projects | b388c1048f3e5a5f6386dabf78f5103994c0324d | 1b469c374925860a0d72e1b722ec4a177c2d2de6 | refs/heads/master | 2020-05-15T07:53:23.217629 | 2019-04-28T06:50:55 | 2019-04-28T06:50:55 | 182,149,765 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,974 | r | Groceries_arules.R | library(arules)
library(arulesViz)
library(tidyverse)
data("Groceries")
head(Groceries)
grocery <- as(Groceries, 'data.frame')
head(grocery)
summary(Groceries)
# Density of 0.026 means 2.6 % are non-zero matrix cells.
# Dimensions: 9835 * 169
# Whole milk was purchased 2513 times which is 26% of t... |
1fe25b84132381f354e953030cc0d13383b137e7 | 131183f323a69c26a875c1e49f596a26c3783ee0 | /man/cnNeutralDepthFromHetSites.Rd | d0141f8793897a0a12659919d0119b46a96eef12 | [
"Apache-2.0"
] | permissive | chrisamiller/copyCat | 079eb1cf031c4bbec82655d52e29b531226c24b8 | c009dc05ed16f940bb2837a54577b56e3b3682c5 | refs/heads/master | 2021-07-21T07:55:09.551037 | 2021-07-15T15:26:02 | 2021-07-15T15:26:02 | 6,358,229 | 27 | 10 | NOASSERTION | 2021-02-24T16:57:08 | 2012-10-23T19:10:48 | R | UTF-8 | R | false | false | 1,801 | rd | cnNeutralDepthFromHetSites.Rd | \name{cnNeutralDepthFromHetSites}
\alias{cnNeutralDepthFromHetSites}
\title{
cnNeutralDepthFromHetSites
}
\description{
examines heterozygous SNP positions in fixed windows to identify
copy-number neutral regions. Finds the median read depth in these
regions and uses it as the baseline for copy number estimatio... |
13cbf9acb72b056dfcb394d64bfb2c86a1932278 | 4879269434417ce69e70e3f1d43789ae3a9cc8e9 | /.checkpoint/2019-01-01/lib/x86_64-w64-mingw32/3.5.1/weathermetrics/doc/weathermetrics.R | 3b58f15d3997d95db90dc83e13d6ad50ebcd39e5 | [] | no_license | cghoehne/transport-uhi-phx | 53a091b71a04bd24d063aceec60e0abbd66434b6 | d16fb6c5f44740c5e77a26897b762d70d23c8dc9 | refs/heads/master | 2022-11-11T06:58:00.961572 | 2020-03-07T01:12:07 | 2020-03-07T01:12:07 | 149,355,287 | 2 | 1 | null | 2020-06-18T19:27:22 | 2018-09-18T21:39:25 | R | UTF-8 | R | false | false | 4,563 | r | weathermetrics.R | ## ----echo = FALSE--------------------------------------------------------
library(weathermetrics)
## ------------------------------------------------------------------------
#Convert from degrees Celsius to degress Fahrenheit
data(lyon)
lyon$TemperatureF <- convert_temperature(lyon$TemperatureC,
old_metric = "cel... |
4231fb7edb3c178f209fc797a185ed9615fa864f | 67f31a9f56d85ede80920358fe40462c2cb710ed | /man/seqv.Rd | db47d6461af6c4bcb6c623daab28d3e2b5d51b60 | [] | no_license | vh-d/VHtools | ff95b01424c210b3451f4ee63d5aaa016e553c2e | a7907e8ba370523ca92985fb73f734a3284896b8 | refs/heads/master | 2020-04-12T06:25:18.169942 | 2019-04-09T20:09:34 | 2019-04-09T20:09:34 | 60,918,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 613 | rd | seqv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transform.R
\name{seqv}
\alias{seqv}
\title{seq function on vectors}
\usage{
seqv(from, to, ..., simplify = F)
}
\arguments{
\item{\code{from, to}}{the starting and (maximal) end values vectors of the sequences.}
\item{\code{simplify}}{logic... |
194b8b9586653a59d8c8d2b3f42743c9047814f8 | 5e5fa7fa2f060f7ae836e274f77fbea23d5012b1 | /snoke_results.R | e9f646834402efd77eef0426b9fdad80a9fe7b83 | [] | no_license | BDSS-PSU/capr_poll | 59f1d9a072f92699bbbfc482fc24aeb0917f6aa5 | 0f2ec1be4595d872dca1ba9ef8b546253bf6e2d2 | refs/heads/master | 2016-09-01T08:48:44.622315 | 2016-02-23T20:36:04 | 2016-02-23T20:36:04 | 52,108,074 | 0 | 1 | null | 2016-02-20T15:24:29 | 2016-02-19T18:34:20 | Python | UTF-8 | R | false | false | 3,523 | r | snoke_results.R | load("~/Box Sync/CAPRpoll/CAPR-R-format/capr.5.ballots.charc.Rdata")
#####
## Remove time outliers (people who took longer than 30 minutes)
#####
capr_no_outliers = capr[capr$tot.time < 1800, ]
#---------------------------
# Considering time taken to complete ballots and total character lengths
#---------------------... |
66743800e980b1c89170b683d66192b64eeea5a2 | 36efea92e1b51480f9301e18f2c3085b8a376ede | /cachematrix.R | 3cc97456e2224d9ad526e7e552ac0809f9341b19 | [] | no_license | vanqm/ProgrammingAssignment2 | abba0e9636c00ddeb32ed90a3ba5d5d3b6467d99 | b99385ffa6e647a1d29a417aa136d2b3c2e75771 | refs/heads/master | 2020-05-20T22:22:14.374422 | 2014-12-14T09:20:56 | 2014-12-14T09:20:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,759 | r | cachematrix.R |
# makeCacheMatrix: This function creates a special "matrix" object that can cache its inverse.
## set the value of the vector
## get the value of the vector
## set the value of the solve
## get the value of the solve
## cacheSolve: This function computes the inverse of the special "matrix" returned by makeCacheMatrix... |
88a867aa9734c3fe29a3273ac1004cb82cee15c8 | 08fd1cd25eb2d334f8e74e7daccae701a86956f8 | /_site/R_Scripts/0001_Natividad_Fish_Data_Raw_Clean_Up_2006_to_2012.R | 902f5928e9b95b5d61ff30178cc2805a14cb354b | [] | no_license | rbeas/baja-eco-data | 01e3b59b489a455c9c0508e37db9fc1ccb0398a3 | 2571e29c0e03a9f5f90416494448395682bef594 | refs/heads/master | 2020-12-24T15:04:44.018794 | 2015-02-13T18:59:08 | 2015-02-13T18:59:08 | 27,797,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,389 | r | 0001_Natividad_Fish_Data_Raw_Clean_Up_2006_to_2012.R | ########### Reef Check Fish Data Clean Up Process ###########
# Written by: C. A. Boch, May 29, 2014
# Micheli Laboratory, Hopkins Marine Station, Stanford University
# Note: the raw data was changed by the following to keep the data structure and format in its most basic form and structure
# Process the data to make ... |
7afe5c3f63664afd60fab00e4b7d0e1d6bd3ccc5 | e819b9628724e07f12d5e2138b0ee90aaf468113 | /scripts/large_occ_buffer_calc.R | 2f443e114451038331485e7b12e65142af3c29b7 | [] | no_license | ccmothes/endophyteDimensionsGit | 50989161bba4a372e36d5a2b20389833dc0e9ef2 | 03bba362050cd3678afb34468dfaa04e01239969 | refs/heads/main | 2023-07-09T20:35:55.174152 | 2021-08-20T20:49:06 | 2021-08-20T20:49:06 | 397,606,505 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,488 | r | large_occ_buffer_calc.R | # Large OCC buffer calculation
# Set Up -----------------------------------------------------------
library(raster)
library(geodist)
library(cluster)
library(readr)
library(dplyr)
setwd("/scratch/projects/endophytedim/")
# read in occ
load("data/thinned_occ_large.RData")
specs <- thin.occ.large %>% pull(species) %>... |
cf292dd2d0b6a6736513f42b0b453b872309b50b | c56cb5069a959a5e4d555c4eae307ac73198add9 | /man/montecarlo.Rd | 3919acfc4896797585b3d63258edae02bc53ec15 | [] | no_license | cran/agricolae | f7b6864aa681ed1304a07405392b73c2182f8950 | cad9b43db1fcd0f528fe60b8a416d65767c74607 | refs/heads/master | 2023-07-26T22:33:36.776659 | 2023-06-30T20:30:06 | 2023-06-30T20:30:06 | 17,694,321 | 7 | 9 | null | 2015-12-31T20:15:37 | 2014-03-13T03:53:58 | R | UTF-8 | R | false | false | 1,091 | rd | montecarlo.Rd | \name{montecarlo}
\alias{montecarlo}
\title{ Random generation by Montecarlo }
\description{Random generation form data, use function density and parameters
}
\usage{
montecarlo(data, k, ...)
}
\arguments{
\item{data}{ vector or object(hist, graph.freq) }
\item{k}{ number of simulations }
\item{\dots}{ Othe... |
f3e77da8cec990e29496432323ab5732125ef6b0 | 8b044e42b5e453ff3dbdf939b86083d1971bc160 | /submit.R | bbd991791684b6716e4442bcf9c14c02ac6fc9a9 | [] | no_license | walkabilly/pa_task_view | acebbbc0f5e7fc83714abe9448eb72e9ab8487a9 | 69b2f4ecf1c39135ba1abbd6a2f8261a600f7cd6 | refs/heads/master | 2023-06-27T21:43:48.596632 | 2023-06-16T16:08:04 | 2023-06-16T16:08:04 | 136,500,385 | 0 | 2 | null | 2019-11-28T15:49:41 | 2018-06-07T15:56:26 | null | UTF-8 | R | false | false | 746 | r | submit.R | # Javad Khataei
# skhataeipour@mun
# 11/29/2019
# this code submit ctv file to CRAN
library(ctv)
r <- getOption("repos") # set CRAN mirror
r["CRAN"] <- "https://cloud.r-project.org"
options(repos=r)
ctv_file <- read.ctv("PhysicalActivity.ctv")
html_file <- "PhysicalActivity.html"
check_ctv_packag... |
db6f30039cdc56ae1e99bb3c16cb4e9fad7161fd | 4384af4add4a62c2e922704e6ef2f7729f33bef0 | /RCode/Analysis/3b_reModelsVizLagStruc.R | 94daecbe02246ae2fbbac7848bd48a9213db5a22 | [] | no_license | s7minhas/ForeignAid | 8e1cffcae5550cbfd08a741b1112667629b236d6 | 2869dd5e8c8fcb3405e45f7435de6e8ceb06602a | refs/heads/master | 2021-03-27T18:55:20.638590 | 2020-05-12T16:42:58 | 2020-05-12T16:42:58 | 10,690,902 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,949 | r | 3b_reModelsVizLagStruc.R | if(Sys.info()['user']=='s7m' | Sys.info()['user']=='janus829'){ source('~/Research/ForeignAid/RCode/setup.R') }
if(Sys.info()['user']=='cindycheng'){ source('~/Documents/Papers/ForeignAid/RCode/setup.R') }
################################################################
################################################... |
ccf3e8558effc27bde615a6c1a459fc7958fc778 | 20fb140c414c9d20b12643f074f336f6d22d1432 | /man/NISTukThUn59FtOjoule.Rd | 0174be504540e89f51f7a367eb3095febeb32fdb | [] | no_license | cran/NISTunits | cb9dda97bafb8a1a6a198f41016eb36a30dda046 | 4a4f4fa5b39546f5af5dd123c09377d3053d27cf | refs/heads/master | 2021-03-13T00:01:12.221467 | 2016-08-11T13:47:23 | 2016-08-11T13:47:23 | 27,615,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 803 | rd | NISTukThUn59FtOjoule.Rd | \name{NISTukThUn59FtOjoule}
\alias{NISTukThUn59FtOjoule}
\title{Convert British thermal unit to joule }
\usage{NISTukThUn59FtOjoule(ukThUn59F)}
\description{\code{NISTukThUn59FtOjoule} converts from British thermal unit (59 F) (Btu) to joule (J) }
\arguments{
\item{ukThUn59F}{British thermal unit (59 F) (Btu) }
}
\v... |
7166efb22310186d32a8f2348d294de1b8bf67cb | 81fb985e71980705e5d354bf95ef8cf0756a9c32 | /spGenerateInteraction.R | 384f20cff7a8d8d22f0719c22d0e64ed7d4c7ce9 | [] | no_license | yongkai17/n-way-spFSR | f2b4912889863634d1b2a19575a6be0d3f76f434 | 58da62501cfcef13909e8696014c21afb6ef9981 | refs/heads/master | 2020-03-30T12:49:46.938854 | 2018-10-02T12:02:03 | 2018-10-02T12:02:03 | 151,242,953 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,856 | r | spGenerateInteraction.R | source('modifiedMakeClassifTask.R')
source('modifiedMakeRegrTask.R')
spGenerateInteraction <- function(task, wrapper,
data, seed.number = NULL,
total_features,
max_interaction_threshold_percent,
... |
0bc6123d8cf803c312ac256608235a898be65af8 | a625bec26103f79c89ab475357effdae50f29fcb | /Mushrooms.R | 8fca62ebdb4b6ab1bdf177f80716bc93bcdc8cfb | [] | no_license | gelandr/capstone_CYO | fb85b51680c1756ae46943031e037e7fbf5285bb | 3ca80fece097b7f0178e7aaf4cd5f9222487b52e | refs/heads/master | 2020-09-22T12:37:38.603495 | 2019-12-26T22:03:33 | 2019-12-26T22:03:33 | 225,198,039 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,924 | r | Mushrooms.R |
if(!require(tidyverse)) install.packages("tidyverse", repos = "http://cran.us.r-project.org", dependencies = TRUE)
if(!require(caret)) install.packages("caret", repos = "http://cran.us.r-project.org", dependencies = TRUE)
if(!require(gridExtra)) install.packages("gridExtra", repos = "http://cran.us.r-project.org", de... |
569027df5c7198a2c09c62d9c8b6039b1dc71a30 | a6b6d7ee41dbed94cbf1a5f8a27f2237704b8983 | /Grand-average-eriksen.R | b4c8caac3419799a7a6bbdea1f26590f4a19948f | [] | no_license | BartlettJE/PhD_EEG | 791ff273e3c12d98256485412a9e3755bf670ca0 | 992a135134ac649f87bd951982a0a25bff2e121f | refs/heads/master | 2021-06-11T02:47:12.633782 | 2020-03-22T08:52:14 | 2020-03-22T08:52:14 | 128,170,825 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,089 | r | Grand-average-eriksen.R | require(R.matlab) #function to be able to read matlab files - EEG data saved from MNE Pythin
require(tidyverse)
require(pracma) #function to allow the calculation of linear space for plotting
require(cowplot)
require(readbulk)
require(afex)
require(skimr)
# Load my packages
source("EEG_functions.R")
# prepare batch... |
4e678f4f1a8a5783878c90b7f71a8a1bfd914279 | fdd5042b1b4cd9151f6cc2289f3ba5023d05791f | /20160226 titanic logistic regression meeting 2.R | db61d1f8be27fb7b17e79fa3e6dcd2fedb78b535 | [] | no_license | WallaceTansg/Kaggletitanic | 50265281f183a2e54b510e0e2e44b4626bea3188 | 2a2881b1418f5ca769c099fa6ff79158c3c6aa03 | refs/heads/master | 2021-01-10T14:33:08.942603 | 2016-03-02T02:52:00 | 2016-03-02T02:52:00 | 52,928,358 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,732 | r | 20160226 titanic logistic regression meeting 2.R | #decision tree
install.packages(rpart)
library(rpart)
#cforest
install.packages('party')
library(party)
#randomForest
install.packages('randomForest')
library(randomForest)
#more efficiency
library(readr)
#for visualisation purpose of missing value pattern#
library(VIM)
#for impute missing value purpose
library(mic... |
bf4ed302aec1ad7bc3fc565ee4043273d63ce8ed | 2785f694ee390cfe78b189e9956ff8c58fe68ac6 | /R/est_pow.R | 3753b7c96576a566f27bdd98f42d73be54ca3d0d | [] | no_license | VanAndelInstitute/bifurcatoR | e8400afad194e41802f5156ba6a6184e6d8d1d5b | 9346700eb392f494d79485c9734c2a1e54996219 | refs/heads/main | 2023-08-17T04:08:22.138059 | 2023-05-30T17:40:16 | 2023-05-30T17:40:16 | 452,341,124 | 6 | 5 | null | 2023-08-30T16:00:10 | 2022-01-26T15:59:38 | R | UTF-8 | R | false | false | 5,748 | r | est_pow.R | #' est_pow
#'
#' @param n number of [somethings]
#' @param alpha default significance level (0.05)
#' @param nsim number of simulations (20)
#' @param dist generating distribution
#' @param params parameters for the generating distribution
#' @param tests names of tests to run
#' @param ... |
3552297ffca0f26c4ba5d97fd8e7f4c752164ae3 | 266c2547061106cc5c12ce6aaf9f72d68683a828 | /Skriptit/kartta.r | b4a39a12e179997f7ae70e1c8e20255f6e331d29 | [] | no_license | ficusvirens/ELS-laskuri | 7ed502f9aeb4e74ab30db025508d2c6347762aef | 7a5d9c7227cc35ae60e4120a94ea995cbd2f271d | refs/heads/main | 2023-03-18T11:53:02.695970 | 2021-03-04T11:31:08 | 2021-03-04T11:31:08 | 344,451,155 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,083 | r | kartta.r | # ELS-laskuri
# Sofia Airola 2016
# sofia.airola@hespartto.fi
library("tmap")
# FIXMAP: muokkaa kartan drawMap-funktiolle sopivaan muotoon
# map = shapefile-objekti, jossa vesistömuodostumien nimet ovat otsakkeen "Nimi" alla
fixMap <- function(map) {
# muutetaan vesistömuodostumien nimet character-muotoon
... |
fe4f3a979c98a2bd2621b488087351c7803432c8 | 29585dff702209dd446c0ab52ceea046c58e384e | /koRpus/R/coleman.liau.R | 8c3cf0511bc594b923200303c0f40422e417366f | [] | 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,746 | r | coleman.liau.R | # Copyright 2010-2014 Meik Michalke <meik.michalke@hhu.de>
#
# This file is part of the R package koRpus.
#
# koRpus is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at yo... |
1790a3fe25190a97ba47ce092227877ad9b968b4 | 248f361e13e043c73cb7e5e2573852ddd9970db2 | /inst/extdata/facial_distance.R | 5cc09a3fdb3a388ea2cc233d69f47aa096d0b87e | [] | no_license | kindlychung/collr2 | ff82f38066386923268c598c145f912fa89f8215 | 6c7ebc59277de2dbd24a6413e994ba5b6eb82ca4 | refs/heads/master | 2021-01-23T13:22:22.327304 | 2015-01-08T15:57:03 | 2015-01-08T15:57:03 | 28,972,848 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 619 | r | facial_distance.R | require(collr)
setwd("/media/data1/kaiyin/RS123_1KG")
phenoNames = paste("dist", 1:36, sep="")
for(phenoName in phenoNames) {
argscoll = getPlinkParam(
allow_no_sex = "",
missing_phenotype = 9999,
pheno = "RS123.1kg.pheno/face.phenoAll.csv",
covar = "RS123.1kg.pheno/face.phenoAll.c... |
cfa8454733ff0bcf023aa568c5fba19b85cbb654 | f3441308f90b0843b313b8690b0d2b6fb5b467cb | /내가 공부한 것/Data/Q_1.R | 4449615593fff336c8f2e0af63671fc3fbf74548 | [] | no_license | qjvkdkel12/R | 5a2cc5aca085b349e679e89ce660078674cb0ed5 | 1d54f276a44922fcebfab2fdfc92de597547a66e | refs/heads/master | 2020-07-08T13:18:53.790677 | 2019-09-04T03:41:16 | 2019-09-04T03:41:16 | 203,686,011 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 271 | r | Q_1.R | # data.frame()과 c()를 조합해 표의 내용을 데이터 프레임으로 만들어 출력해 보자.
abc <- data.frame(제품 <- c("사과","딸기","수박"),
가격 <- c(1800,1500,3000),
판매량 <- c(24,38,13))
abc
|
ba74fe9fb8ad6e57e259a1dcebef1e62021af512 | df6dc09aca37d6cd616436fe4ee1021677cebd37 | /man/cfba_moment.Rd | c6d3a583231a57aebaa839275233bba1bf75eb1b | [] | no_license | cran/sybilccFBA | 9eadbbcc6bf0cd550dd4cc003a106b742b9764cd | 4c7c379f9407323f9d6963b3315487146cb5321e | refs/heads/master | 2020-05-17T11:07:00.514539 | 2019-12-15T14:20:05 | 2019-12-15T14:20:05 | 18,368,868 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,972 | rd | cfba_moment.Rd | \name{cfba_moment}
\alias{cfba_moment}
\encoding{utf8}
\title{ Function: cfba_moment: implement MOMENT method}
\description{
This function uses GPR, kcat, and molecular weights to calculate fluxes
according to MOMENT method.
}
\usage{
cfba_moment(model,mod2=NULL, Kcat,MW=NULL,
selected_rxns=NULL,v... |
2eff7b898ae3fcefdcdd2ddd5f107faa7a077171 | 0feedfcb9f76e63e15727486747d9693d4863e5a | /稳健性检验/breadth/breadth_y.R | d10c3823dbde5c9577524b570b17b5e8ffe5313d | [] | no_license | jaynewton/paper_6 | be06bd623707d87e0446f25eed0851d86738f561 | 331ce16dd031e9e3506fc91ac00bb7769cc2095f | refs/heads/master | 2020-04-02T02:33:06.048234 | 2018-11-11T11:24:59 | 2018-11-11T11:24:59 | 153,915,405 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,466 | r | breadth_y.R | #################################
load("F:/我的论文/第五篇/主代码/individual investor preference/RData/da_tsk_all_1.RData")
#load("F:/我的论文/第五篇/主代码/individual investor preference/RData/da_tsk_all_2.RData")
#load("F:/我的论文/第五篇/主代码/individual investor preference/RData/da_tsk_all_3.RData")
#load("F:/我的论文/第五篇/主代码/individual investor p... |
d136cc97e4610f54f1b176b07d142674af594712 | fff9bbc9b5d874ca4bfe8dcd53ff94db2792c75f | /tests/testthat/test_iotable_get.R | c1327be64dbf42be7f694fd1d5ca455743c59418 | [] | no_license | DrRoad/iotables | c53be36e02752afc9cba5425aeb304ac34b19c77 | 0dcd94f5b21e059469dc424e2c06504cc2da9177 | refs/heads/master | 2020-03-27T04:25:53.715206 | 2018-08-21T22:28:57 | 2018-08-21T22:28:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,981 | r | test_iotable_get.R | library (testthat)
library (iotables)
context ("Creating an IO Table")
#iotable_get ( source = "naio_10_cp1620", geo = "CZ",
# stk_flow = "TOTAL", year = 2010,
# unit = "MIO_NAC", data_directory = 'data-raw')
#test <- iotable_get ( source = "naio_10_pyp1620", geo = "CZ",
# stk... |
bd1c3d5bad2254fce771d52c8d1be1240f3da872 | 6721d0fdd7b61e6f8687d50059a7c20a4a101f5a | /analysis_scripts/pseudotime/4-fit_clusters_K36_and_K9m3_single_and_double_by_celltypes.permute.R | d682c32cd3533ae9c771fc19d7794abb76f8ecc8 | [] | no_license | jakeyeung/scChIX | b2f9e274ff150b91c19be283336457d42e512d15 | c038113b658ea19dd6489b8daef4516c4a9055a2 | refs/heads/main | 2023-04-30T17:44:02.136452 | 2023-04-25T13:32:52 | 2023-04-25T13:32:52 | 358,041,325 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,332 | r | 4-fit_clusters_K36_and_K9m3_single_and_double_by_celltypes.permute.R | # Jake Yeung
# Date of Creation: 2021-08-24
# File: ~/projects/scChIX/analysis_scripts/pseudotime/4-fit_clusters_K36_and_K9m3_single_and_double_by_celltypes.R
# Load meta after unmixing and run DE to find neighborhood structures
rm(list=ls())
library(dplyr)
library(tidyr)
library(ggplot2)
library(data.table)
library(... |
451f616e2c0fcecbd144bcba0f0437cf73fcda5a | 12f319b3df41097e858bab5b13536a350871c2cf | /R/BIO.R | 5de45f7f545ce3851861eb5a467041a386fe2ba2 | [
"CC-BY-4.0"
] | permissive | talbano/qti | bda76edd29b650e10bfe1136983756fd8b45a50a | 622f7e699d934455408e7e4766f398ccae78a826 | refs/heads/master | 2023-01-05T01:31:51.644564 | 2022-12-30T23:14:11 | 2022-12-30T23:14:11 | 111,174,639 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 801 | r | BIO.R | #' Medical Biology Item Bank
#'
#' A list containing 611 medical biology items, each stored as an object of
#' class \link{qti_item}.
#'
#' Items include the following information, accessible via list elements:
#' \itemize{
#' \item id: unique identifier.
#' \item title: descriptive item title, in this case the learn... |
c02b74e53639c3dc261c76506050a070f5e68392 | 29585dff702209dd446c0ab52ceea046c58e384e | /NNS/R/Uni_SD_Routines.R | 720831d73b56b524f08236e37c9f86f4e83af32f | [] | 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 | 4,272 | r | Uni_SD_Routines.R | #' FSD
#'
#' Uni-directional test of first degree stochastic dominance using lower partial moments used in SD Efficient Set routine.
#' @param x variable
#' @param y variable
#' @author Fred Viole, OVVO Financial Systems
#' @references Viole, F. and Nawrocki, D. (2016) "LPM Density Functions for the Computation o... |
094137426ccc42979b64d12bfe81b6e548cc9b52 | 57ca4315d1ca99e293df246c5abba38c9f212579 | /ConnRedis.R | cd5f5e19aba4549b646f16cb6cb62e864e42b0d6 | [] | no_license | mike3722/BigData | 6a91afdd31d99ca5cf877fbe8e0b1c6f0c8a0e2e | 74f6180a8bfbd49832ec9bb7d4623b569706174a | refs/heads/master | 2020-04-09T05:11:48.481917 | 2018-12-02T14:42:46 | 2018-12-02T14:42:46 | 160,055,139 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 100 | r | ConnRedis.R | #install package rredis
libary(rredis)
redisConnect()
redisSet("x",rnorm(S))
redisSet("x")
|
a8f6fcafec61cec3dfc94d7d7320c260fe42cf17 | 4476502e4fed662b9d761c83e352c4aed3f2a1c2 | /GIT_NOTE/06_R_Quant/01_크롤링/step16_ 종목정보 시각화.R | 7a7ec17229ba28e86ff4a4afc57e6195d4334a73 | [] | no_license | yeon4032/STUDY | 7772ef57ed7f1d5ccc13e0a679dbfab9589982f3 | d7ccfa509c68960f7b196705b172e267678ef593 | refs/heads/main | 2023-07-31T18:34:52.573979 | 2021-09-16T07:45:57 | 2021-09-16T07:45:57 | 407,009,836 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,902 | r | step16_ 종목정보 시각화.R | #step16_ 종목정보 시각화
library(ggplot2)
#x축은 ROE 열을 사용하고, y축은 PBR 열
#geom_point() 함수를 통해 산점도 그래프를 그려줍니다
ggplot(data_market, aes(x = ROE, y = PBR)) +
geom_point()
#단치 효과를 제거하기 위해 coord_cartesian() 함수 내에 xlim과 ylim, 즉 x축과 y축의 범위를 직접 지정해줍니다.
ggplot(data_market, aes(x = ROE, y = PBR)) +
geom_point() +
coord_cartesian(x... |
4d37b2063dfd16405b8c4823a2e136530e67689c | 56988ca3d2d1af30f611ae6b4df98f981f9b8bbe | /home_backup_20200305.R | 0037760448944f1395a1036abf0dfd60eaba1d66 | [] | no_license | gehami/test_general_map | d8cffd0ae0550bdf84683905648f2e72ef89a095 | 13cdbc0d18298a48b9fd96cffb535568e6bb89ef | refs/heads/master | 2020-09-11T22:25:42.920513 | 2020-05-18T22:23:10 | 2020-05-18T22:23:10 | 222,208,020 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 86,768 | r | home_backup_20200305.R | # home page
# county_list = toTitleCase(gsub("([^,]+)(,)([[:print:]]+)", "\\3 county, \\1", county.fips$polyname))
######## REading in codebook #########
#reading in codebook to translate the names of the acs vars to their name in the dataset
# if(!exists('codebook')){
codebook = read.csv('variable_mapping.csv', s... |
e153b15743288f2ba5b8b04650042268eee5e6a9 | b7be985e023d4ff52407f2271b1967b5973c7bfd | /R/link_function.R | 9ee5898a0c335d0d933d955ea5480aa83f39a6e0 | [] | no_license | YuqiTian35/multipledls | a257430f4a30e480318fc9e6705c55b26c27d142 | b6206edcbd7d867e874b8db2a491e673782b4013 | refs/heads/master | 2023-04-13T12:20:21.583399 | 2021-05-01T21:41:41 | 2021-05-01T21:41:41 | 363,510,310 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,787 | r | link_function.R | #' Link functions number
#'
#' This function faciliates the stan code
#'
#' @param link the link function
#' @return An integer representing corresponding link function
func_link_num <- function(link){
return(case_when(link == "logit" ~ 1,
link == "probit" ~ 2,
link == "loglog" ~... |
57fdf8b20b02acb146ce2e3bbcc5e159b31d87a4 | 3a6d384573453ec998d342f09c5ad0bc3d070ddc | /IntroR_2.3.4_FOR_GRADING_Aspringer.R | 8ef66f21f7e199f3b5f22365cd9ffa84b7f414cc | [] | no_license | pearselab/r-intro-aspri951 | 53c1fe6734a06e500508fa233e7be6aa2f71008c | b29ad99db5b0b57943784fe6bde32ef576a62dd4 | refs/heads/master | 2021-01-12T18:26:00.822052 | 2017-02-10T23:58:07 | 2017-02-10T23:58:07 | 71,375,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,900 | r | IntroR_2.3.4_FOR_GRADING_Aspringer.R | #LESSON 2:
#1: Write loop that prints 20-->10
for(i in 20:10){
print(i)
}
#2: Write loop that prints 20-->10, evens only
for (i in 20:10){
if (i %% 2 == 0){print(i)}
}
#3: Write a function that calculates whether a number is prime
prime <- function(n){
if (n < 0){
stop("Number must be greater than... |
bf06caeed522b7581235b9ad386bce2ca6b6f875 | 3c994c347b5cc6655cc5f2c75c17558c5024dbb8 | /test.R | 97ee40d47f3f0ee72652ff4bf78d195b687fe0d6 | [] | no_license | by3362/RClass | 973dfaf490df213004dc64ae444047ef7c571754 | 135d08f2665dda579960d2a68cc410bf211ad32f | refs/heads/master | 2021-01-13T17:01:37.321408 | 2016-12-25T05:20:07 | 2016-12-25T05:20:07 | 76,712,709 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,759 | r | test.R | name <- c("Eric","Jack","Tom")
name
age <- c("28", "26", "34")
gender <- c("Male","Male","Female")
data <- data.frame(name, age, gender, stringsAsFactors = FALSE)
data
data[1,]
y <- 0
for (x in 1:10) {
y <- x + y
print(y)
}
data1 <- c("Is that apple pie I smell?",
"Julie never missed a ball, a promenade,... |
dd3c541ecc8e53722383cdb5f9c2e53d113a0313 | 35ce753be66bb1756a68b1de5a2567ea8a922dd2 | /graph_of_causes_effects.R | 1bc021b9aa4e5677af9cb35715ae47faba453a03 | [] | no_license | adsieg/Cause-Consequences-relationships-NLP | 33a98beb4b1d14bf86d38a7051c69fea4cf93852 | 0ee9806dc3d513a41133abb92c61a29b9cbd2514 | refs/heads/master | 2020-05-17T03:15:32.920131 | 2019-04-29T13:36:20 | 2019-04-29T13:36:20 | 183,473,671 | 6 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,026 | r | graph_of_causes_effects.R | # Loading
library("readxl")
setwd("C:/Users/adsieg/Desktop/Cause_Effect/app/dataset")
# xls files
edges <- read_excel("word.xlsx")
edges<- edges[,c("from","to")]
nodes <- read_excel("nature.xlsx")
library(dplyr)
nodes %>%
select('id', 'group', 'which_sentence') %>%
filter(which_sentence == "sentence_id_0")
libr... |
2caef9266dfcaf506dfd7a4e13aaf4e03fce4016 | 9d0546fb67bf2d6800e37513cb1612e554f6d6ad | /man/output_result.Rd | eb14d6ff956e8300b04d19d26d6c066fe910daf1 | [
"MIT"
] | permissive | jaspershen/lipidflow | 15f3bac0f1370b2bdf6ea1a984055a07eb2f51be | e06c3c0b794eae3764ca1296485df36e3a8a7887 | refs/heads/main | 2023-03-13T02:55:38.405431 | 2021-03-04T06:53:36 | 2021-03-04T06:53:36 | 336,693,231 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 402 | rd | output_result.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/output_result.R
\name{output_result}
\alias{output_result}
\title{output_result}
\usage{
output_result(path = ".", match_item_pos, match_item_neg)
}
\arguments{
\item{path}{work directory.}
\item{match_item_pos}{match_item_pos}
\item{match_... |
d30633fcc8a2b53c22927d1744155760ef2203f5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/TSdist/examples/LBKeoghDistance.Rd.R | 652f4dd714c83b83a8873a057a3b927cfc83fbe1 | [] | 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 | 570 | r | LBKeoghDistance.Rd.R | library(TSdist)
### Name: LBKeoghDistance
### Title: LB_Keogh for DTW.
### Aliases: LBKeoghDistance
### ** Examples
# The objects example.series1 and example.series2 are two
# numeric series of length 100 contained in the TSdist package.
data(example.series1)
data(example.series2)
# For information on their gen... |
42bf4cf2dab760bfd1a670492eaaa5836b4dd49f | 1b473280443b277ef942c21ed2f786da252dea35 | /R/opasnet.R | cc34281335067793c7b2dfc2cc4897d356600886 | [] | no_license | jtuomist/OpasnetUtils | d52def972ceb5daa0c3076ced4672fe577478863 | 7bbc38d71188f6bab3bfd969584817cca28f2a2d | refs/heads/master | 2021-07-09T22:38:10.228825 | 2020-07-09T16:13:37 | 2020-07-09T16:13:37 | 150,073,444 | 0 | 1 | null | 2019-04-27T13:48:32 | 2018-09-24T08:24:19 | R | UTF-8 | R | false | false | 5,128 | r | opasnet.R | # Get data from Opasnet
#
# filename - Name of the file
# wiki - Source Wiki: opasnet_en (default), opasnet_fi, heande (.htaccess protected)
# unzip - File name in package (if compressed)
#
# Returns file contents (loaded using curl)
opasnet.data <- function(filename,wiki='', unzip='') {
now <- Sys.time()
... |
632fc0d1ef703e329cb2671ef777b044a21d6059 | 13fd537c59bf51ebc44b384d2b5a5d4d8b4e41da | /R/tests/testdir_autoGen/runit_simpleFilterTest_lowbwt_131.R | 5ea722b3ea88b56f39b7938ca8453f31ec3ad288 | [
"Apache-2.0"
] | permissive | hardikk/h2o | 8bd76994a77a27a84eb222a29fd2c1d1c3f37735 | 10810480518d43dd720690e729d2f3b9a0f8eba7 | refs/heads/master | 2020-12-25T23:56:29.463807 | 2013-11-28T19:14:17 | 2013-11-28T19:14:17 | 14,797,021 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,162 | r | runit_simpleFilterTest_lowbwt_131.R | ##
# Author: Autogenerated on 2013-11-27 18:13:59
# gitHash: c4ad841105ba82f4a3979e4cf1ae7e20a5905e59
# SEED: 4663640625336856642
##
source('./findNSourceUtils.R')
Log.info("======================== Begin Test ==========================... |
3d17f96a74ab77da8685f8e1ba59f16911f8d9ae | 4e7372d1bd37ce2a112bde0db2dae68f6ce74001 | /server.R | d6fd1aa6f65926f239dcb213e3c4b2fc21ee82c7 | [] | no_license | vc2004/server_malfunc_prediction | 3f60d97a43450405ff3c31cfc3931757bdadfc2b | 4032e7f93079dc6b23875842afbdeb98a342531d | refs/heads/master | 2021-01-10T02:11:10.283339 | 2016-02-14T14:19:06 | 2016-02-14T14:19:06 | 51,649,699 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 634 | r | server.R | library(shiny)
HOURS <- 24
MIN <- 60
SEC <- 60
err <- 8
all_keepalive <- 22204800
lambda <- err/all_keepalive * (HOURS * MIN * SEC/10)
shinyServer(function(input, output) {
output$zero_rate <- renderPrint({
zero_rate <- ppois(1, lambda*input$server*input$day) -
dpois(1, lambda*input$se... |
3317f954f1cf98543cd29f5b05e2e2449dbf63cb | fb9ee3cde7a557cbdef0eebc9a66356c1b2223ab | /cachematrix.R | d1f9f0c7efae48bf71721f6f4fdaa8578064a8eb | [] | no_license | samantha0214/ProgrammingAssignment2 | 659a85c86f28fb3abec4a81fa028f6c9ab917c27 | 0957ec6cf2666968b7c90c606526f7d4f1492565 | refs/heads/master | 2021-01-16T21:29:34.831412 | 2015-08-05T08:43:46 | 2015-08-05T08:43:46 | 39,734,598 | 0 | 0 | null | 2015-07-26T17:31:07 | 2015-07-26T17:31:06 | null | UTF-8 | R | false | false | 1,319 | r | cachematrix.R | #The following two function are used to find the inverse of a matrix.
#makeMatrix creates a list containing a function to :
#1.set the value of the matrix
#2.get the value of the matrix
#3.set the value of inverse of the matrix
#4.get the value of inverse of the matrix
makeCacheMatrix <- function(x = matrix()) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.