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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e8e2b713d45d369d3b3806af2bd0f3a0d34c60bd | 6f99deb75cc9525c81805353fd531568740027d2 | /ADAS_NLME3.R | d9cbf6b533e7deef7922d8d0130b88c16cde530f | [] | no_license | hilanov/rcodes | a7b443f33532d1de0c8dd8c994da364fdfd14e35 | 63a57bf362a70d57de163eb500514b304e441c1a | refs/heads/master | 2021-06-29T12:37:29.258574 | 2017-09-13T09:37:24 | 2017-09-13T09:37:24 | 100,592,096 | 0 | 0 | null | null | null | null | SHIFT_JIS | R | false | false | 8,696 | r | ADAS_NLME3.R | setwd("C:/Users/T.Hirano/Documents/【PJ】/Eisai_ADAS")
# packageの読み込み
library(nlme)
library(MASS)
library(ggplot2)
library(magrittr)
library(dplyr)
library(reshape2)
library(minpack.lm)
library(lattice)
# データの読み込み
adef<-read.csv(file="C:/Users/T.Hirano/Documents/【PJ】/Eisai_ADAS/ADEF_SMALL.csv")
# ... |
c1ae6f03348781a3a9b378fcccf2bddf59edfa54 | 32a6385438661229a0aacf72e4537ba3a772724d | /cachematrix.R | 2aaaae55e7d2673a8f33cd2fc378fe15e3df140c | [] | no_license | PetaBosley/ProgrammingAssignment2 | 35d3d888a37f4e95deb2b95e364faf46138c63ba | 882279d6bd143bf8f018dc8379b79e8b13505010 | refs/heads/master | 2021-01-09T06:43:32.767156 | 2015-06-21T10:41:05 | 2015-06-21T10:41:05 | 37,596,336 | 0 | 0 | null | 2015-06-17T13:24:33 | 2015-06-17T13:24:32 | null | UTF-8 | R | false | false | 2,220 | r | cachematrix.R | ## Programming Assignment 2: Caching the Inverse of a Matrix
##
## The assignment consists of 2 function; makeCacheMatrix and cacheSolve (each shown and
## commented below in this file).
## The function code was unit tested in the R console by setting up a matrix, assigned to x
## (see below)
##
## x <- matrix(c(1,2... |
0f5eadff117d1b3026be5c87f90da1e1e046ae7e | 7f18fef2f10c6ba6164e647f89870e4ad3b83874 | /man/spip_binary_path.Rd | e1b4bede252d2c2e810e0f5c603c4c448b8c6141 | [] | no_license | cran/CKMRpop | 9d7ba4a9674f706dac6ceca16fd19d5f0abd82d0 | fdcb234aaa37ca5605e686b4d2c84b86381da20d | refs/heads/master | 2023-06-16T15:03:50.829457 | 2021-07-17T09:00:06 | 2021-07-17T09:00:06 | 379,974,995 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 353 | rd | spip_binary_path.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spip_binary_path.R
\name{spip_binary_path}
\alias{spip_binary_path}
\title{return the path where spip should be in the R system paths}
\usage{
spip_binary_path()
}
\description{
It expects it to be in the R package directory after external in... |
e8a587b3ef2e56684b77fa80d89a1436b7755660 | f43ff1e09138649558c2e90a75bd2d4f3cbbdbb6 | /source/Windows/R-Portable-Win/library/shiny/examples/03_reactivity/app.R | 393ebfe61973af405c6134cd2ad5e8670f455793 | [
"MIT",
"CC-BY-3.0",
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"GPL-1.0-or-later",
"OFL-1.1",
"GPL-2.0-or-later",
"CC-BY-4.0",
"GPL-3.0-only",
"LGPL-2.0-or-later",
"BSD-3-Clause"
] | permissive | romanhaa/Cerebro | 5b2d9371403c52f60341894f84cd0f6a006cc930 | 946ed178c986027d60af6013e63d1fc51ae8b371 | refs/heads/master | 2022-12-02T15:49:57.705873 | 2021-11-20T11:47:12 | 2021-11-21T17:09:37 | 164,686,297 | 87 | 23 | MIT | 2022-11-10T18:21:44 | 2019-01-08T16:09:59 | HTML | UTF-8 | R | false | false | 3,025 | r | app.R | library(shiny)
# Define UI for dataset viewer app ----
ui <- fluidPage(
# App title ----
titlePanel("Reactivity"),
# Sidebar layout with input and output definitions ----
sidebarLayout(
# Sidebar panel for inputs ----
sidebarPanel(
# Input: Text for providing a caption ----
# Note: Chan... |
e56afb49d61e8cab0904a24c345785b096b58c9a | 4a070bd30cebc29fb5a17633d0cc96e27a580fab | /imhr/dist/R/bias_behavioral.R | d39e9899eb49eaa6ef05ff2691527005c1bd756b | [
"MIT",
"Python-2.0"
] | permissive | risoms/mdl | cf4d4b1da554701358508d816058743365819664 | 730ba3f3758412786a34b5309465a82c8f5b5d5d | refs/heads/master | 2021-06-25T06:36:09.959012 | 2020-12-15T03:04:33 | 2020-12-15T03:04:33 | 181,785,493 | 2 | 0 | MIT | 2020-06-12T14:37:06 | 2019-04-17T00:05:25 | Python | UTF-8 | R | false | false | 6,385 | r | bias_behavioral.R | rm(list=ls())
#******************************************************************** Imports
#install.packages("jtools")
library(parallel); library(tidyverse); library(itrak);
#**************************************************************** Definitions
suppressPackageStartupMessages(library(tidyverse))
data_path <- "~/... |
c9124bed3e6cf8c78f59e40ed0d52556ed219709 | 28bc54e930ed1512fa42bccada8d6f039e43b0a6 | /MachineLearningR/Rsvm/svm.R | e5be0502a1395cfe4ba06894e0bec67614e35133 | [] | no_license | sksom/Machine-Learning-R-Projects | 1f349ed14694152f245c6feaaabf2fa6fb22d8bc | 3bb9c676dc900952e7fc0d808141e43b386d5657 | refs/heads/master | 2020-03-19T02:56:05.358008 | 2018-06-01T07:09:53 | 2018-06-01T07:09:53 | 135,676,599 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,661 | r | svm.R | # SVM
# data
data("iris")
str(iris)
library(ggplot2)
qplot(Petal.Length,Petal.Width,data = iris,
color=Species)
# svm library
library(e1071)
mymodel <- svm(Species~.,data=iris)
summary(mymodel) # SVM-Type: C-classification , if response variable would have been
# continuous then this would have bee... |
a895d8add7c82b0b409e92df2465bcfe8dd54a4a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/backports/examples/strrep.Rd.R | dce055404fba36cbc86eefe6c6f558b8789a54fa | [] | 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 | 325 | r | strrep.Rd.R | library(backports)
### Name: strrep
### Title: Backport of strrep for R < 3.3.0
### Aliases: strrep
### Keywords: internal
### ** Examples
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_strrep = getFromNamespace("strrep", "backports")
bp_strrep("-", 10... |
24e790fe543e59401cdf8366541703d0b21e56a5 | c8d1e22aa304ab606e3d8e1c7ba85e00f18a3ff7 | /vis_analysis/LVIS_functions.R | 3dc41328c8333a8796831eceaf50ebf7c1b62837 | [] | no_license | khl0798/LVIS_pipeline | 5d527debf67723be95b8d4c673133b8bc8b1a76f | 300ec340eb01d3a3a552702fc2472f696ed67281 | refs/heads/master | 2023-07-18T00:35:23.318820 | 2021-08-30T22:32:02 | 2021-08-30T22:32:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,887 | r | LVIS_functions.R | ###the starting point is all_P1_collected_IS
###based on the sample_ori column, we subset all VIS from a certain expt.
###we standardize sample_ori in the form Px_celltype_time, make sure boost is transformed.
###
library(ggplot2);
count_VIS_freq <- function(tmp){
U<-tmp$nReads;#we decided to use nReads to count abun... |
bf3f7fa8080e98167afb28df957baf386e4d98f1 | afe83dd189d8c419bc2eb25ad5a86b4531a499ab | /NetworkAnalysis.R | 8a3665ff05702f8349efffcfb9bb929e6be22832 | [] | no_license | dnbarron/BigStudy | aefcb508e5ba47ead794ea25d3885c9bfe401770 | 0bd52230146df518ba936a6f4a458c7f61c1354f | refs/heads/master | 2020-04-08T23:02:20.610724 | 2013-10-03T11:04:53 | 2013-10-03T11:04:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,350 | r | NetworkAnalysis.R | clique.number(g1) # largest clique has 8 members
cls <- closeness(g1, mode='in')
is.connected(g1) # Graph is connected
clusters(g1,mode="strong")
no.clusters(g1) # 1 cluster!
cbs <- cohesive.blocks(g1)
x11(width=10,height=6)
plot.bgraph(cbs)
ebc <- edge.betweenness.community(g1)
community.to.membership(g1,ebc$mer... |
476c8fb0679c16bf4f1c8c83d089835b4e42aa70 | e1e7d0aab8da6a423762dec4ca0b43b706b19867 | /getting and cleanning data/R获取网页数据.R | 982ebc790f919dc3ed81d98a1ffbc5f133dd823f | [] | no_license | qingaidexin/Data-science | 397eace49afdbd7cfde09e6af6c1b937e74c8817 | 8cd34a0ea8f602350fa172c052e65198ea091bdb | refs/heads/master | 2021-01-19T05:03:04.126142 | 2016-06-05T10:06:54 | 2016-06-05T10:06:54 | 60,453,267 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 2,712 | r | R获取网页数据.R | R语言:网页抓取之不同提取方法解析
接上篇,用R获取网页数据之后的处理
(一)XML解析网页并提取数据
当获取表格数据时,可以用readHTMLTable来获取数据,很方便。当数据不是表格化的时,则常用xmlTreeParse(xmlParse)和getNodeSet配合来获取相应的数据。xmlTreeParse 来抓取页面数据,并且形成树。getNodeSet来对树结构数据,根据XPath语法来选取特定的节点集。下面举个实际例子来讲解一下这两个最重要函数的应用。
library(XML)
URL = 'http://www.w3school.com.cn/example/xmle/books.xml'
doc <- x... |
5a2507d1d7c536a465198c28398abe127ba244b7 | c1a17e577be11c1deb13d5a7e588083df15d071f | /data_visualisation_correlation_plot.R | 6cb06242b75d5237044f770170b3924fc1191797 | [] | no_license | divyaimale29/analyticswithr | 2c0152f6b326fa76a56c9f502dc5b704a770857f | a81b13294a756671399787e7fb170042fb19d429 | refs/heads/main | 2023-06-22T11:40:56.661615 | 2021-07-23T14:16:50 | 2021-07-23T14:16:50 | 354,501,983 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,222 | r | data_visualisation_correlation_plot.R | #Correlation Plot in R----
#Use cor( ) function to produce correlations in R and
#we use function corrgram( ) to plot correlograms in R.
# mtcars dataset is natively available in R
head(mtcars)
# Correlation matrix from mtcars
# with mpg, cyl, and disp as rows
# and hp, drat, and wt as columns
x <- mtcars[1... |
f3868fd6a67611fc837ef2f1eb31661e3764150e | 4e9687855d4dd20390576bbb65e6b489b189edd2 | /man/empLogit.Rd | a262832703820ed98e1fb500d7326cda1833f0cc | [] | no_license | cran/binomTools | 55e3f724f382f37f2ede1dd35709ed149c86dbdf | 9b9cfae2db9b41dcd0826d9fdf7fc4abda8b629c | refs/heads/master | 2021-01-20T05:08:29.491513 | 2011-08-03T00:00:00 | 2011-08-03T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,116 | rd | empLogit.Rd | \name{empLogit}
\alias{empLogit}
\title{
Calculates the empirical logit transform
}
\description{
The empirical logit transform allows for a tolerence such that
infinity is not returned when the argument is zero or one.
}
\usage{
empLogit(x, eps = 1e-3)
}
\arguments{
\item{x}{
numerical vector... |
1774c5a010b7362aaa333482ade9a4ab45b52742 | 06dde96ba7b9b2bc67a7cf5bf2d1fbf6c6607e03 | /projet_data_rf.R | 5f5c4b11cfe0ab4a091b951dcbb0cb8489148672 | [] | no_license | arlacroix/Data-science-LDATS2310 | c23b38dfa5d3d5f251936810f87379db218e34cb | 6eefac4bdca5f3a7fa13289be9070627ada6b54d | refs/heads/main | 2023-01-19T13:39:09.750621 | 2020-12-01T09:39:17 | 2020-12-01T09:39:17 | 310,041,833 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,006 | r | projet_data_rf.R | # Random forest code
library(caret)
library(rpart)
library(dismo)
base <- read.table("/Users/lacroixarthur/OneDrive - UCL/Master Actu 2/Data science for finance/projet/DBtrain.csv", sep=",", header=TRUE)
base <- read.table("/Users/lacroixarthur/OneDrive - UCL/Master Actu 2/Data science for finance /projet/DBtrain... |
d70a593645111b05bd443cbc7c330848fbd835ed | b1fcc8be40ae0a7c9a01ae3d1d7ad55bc1e270b5 | /R/aaa.R | fc20d648691622037297cb8f7588e438970bef0f | [
"BSD-2-Clause",
"MIT"
] | permissive | coolbutuseless/lz4lite | 4a196f3665046f18cb9448a8786c25a8a939131f | 47337a3c6e27abf3cc457cb6af5592bbd0855c6f | refs/heads/master | 2022-12-19T01:27:48.489464 | 2020-09-26T00:18:11 | 2020-09-26T00:18:11 | 272,675,271 | 21 | 3 | null | null | null | null | UTF-8 | R | false | false | 49 | r | aaa.R | #' @useDynLib lz4lite, .registration=TRUE
NULL
|
da53a366d961729ae4ff27f17d8e21ea6ed43452 | 29585dff702209dd446c0ab52ceea046c58e384e | /clhs/R/clhs-raster.R | 37b0f5990facf737c24ca09887dfea2bc9d8fa30 | [] | 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 | 327 | r | clhs-raster.R | clhs.Raster <- function(
x, # data
...
){
spdf <- rasterToPoints(x, spatial = TRUE)
spl <- clhs(x = spdf, ...)
if (is(spl, "cLHS_result"))
spl$initial_object <- x
else {
if (ncol(spl) < 2)
spl <- raster(spl)
else
spl <- stack(spl)
}
spl
}
setMethod("clhs", "Raster", clhs.R... |
b38f641ee71442eff637535f6f46b491f0524acf | 7a7d03bac0d7a0c2ddd99d0d4633bf15b8eca1a4 | /tests/testthat/test_checkMatrix.r | b13228037912d0d6efe390b57f5039cb2f84c40b | [] | no_license | kerschke/checkmate | cd9b74c5c27ab7d28f53813a43dafd8906b71b29 | b6bc370cac53c67e6fecaa715b1b11eee943d6c4 | refs/heads/master | 2021-01-15T23:07:01.387628 | 2015-03-19T23:18:32 | 2015-03-19T23:18:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,754 | r | test_checkMatrix.r | context("checkMatrix")
test_that("checkMatrix", {
myobj = matrix(1:9, 3)
expect_succ(Matrix, myobj)
myobj = TRUE
expect_fail(Matrix, myobj)
x = matrix(1:9, 3)
expect_true(testMatrix(x))
expect_true(testMatrix(matrix(nrow=0, ncol=0)))
expect_false(testMatrix(NULL))
x[2,2] = NA
expect_true(testMatri... |
bf91c1ae3f11ec287ae7de9ffc09a1019441ef75 | e409b6660d248ed8809dcdf1c6404fd19b133cdc | /HW/variofit2.R | fa034657658cb011d9761067f0ed04746360d6bb | [] | no_license | nmmarquez/stat517 | fef818c822d39929831f27f4b150b29d1e9ccb2c | 4c808d17e828faa40f4838efe7e2c472b3ad8b0b | refs/heads/master | 2020-04-11T13:13:54.321486 | 2018-12-14T15:57:58 | 2018-12-14T15:57:58 | 161,808,464 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,459 | r | variofit2.R | variofit2 <- function (vario, ini.cov.pars, cov.model, fix.nugget = FALSE,
nugget = 0, fix.kappa = TRUE, kappa = 0.5, simul.number = NULL,
max.dist = vario$max.dist, weights, minimisation.function,
limits = pars.limits(), messages, ...)
{
call... |
9417736688227ab966a9987bab0ea7ca3fcff4af | d84b3c61348544eb3e3ce4332ac853e53d8b244a | /man/modplot.Rd | 396267a9e615d6b5d7f0b2fd0c657328e77a5643 | [] | no_license | kbroman/FuzzyForest | 07d5a0cdbeee7109d0615c1db81198ed4b2a9def | de48c0af127205dea77defae8d4f9e5b4cf41e5b | refs/heads/master | 2021-01-14T11:47:44.084730 | 2015-06-23T03:16:35 | 2015-06-23T03:16:35 | 44,036,898 | 1 | 0 | null | 2015-10-11T02:53:19 | 2015-10-11T02:53:18 | null | UTF-8 | R | false | false | 860 | rd | modplot.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/fuzzy_forest_obj.R
\name{modplot}
\alias{modplot}
\title{Plots relative importance of modules.}
\usage{
modplot(object, main = NULL, xlab = NULL, ylab = NULL,
module_labels = NULL)
}
\arguments{
\item{object}{A fuzzy_forest object.}... |
223ed2664db21ff1cd59a6dff770e5bfc3b7b5e4 | d9f816c245d4fb6b31a8bd6a0e578d7a416b0e3e | /r.R | c165e545723926c1a784bbddbc45ca0d75b8a8c1 | [] | no_license | juancarlosgeo16/calse-de-r | 33fa817520247a90d05dace1c51e3fdbc2b762b4 | 024d02b3daf1fe04ec0955641d5e3336a9c3f2d9 | refs/heads/master | 2020-07-25T01:46:13.932169 | 2019-10-11T06:01:32 | 2019-10-11T06:01:32 | 208,118,745 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,320 | r | r.R | #directorio de trabajo
getwd()
#para cambiar de directorio de trabajo, asignar una nueva carpeta de trabajo
setwd()
#asignar una varIABLE
a <- "jalados"
b <- "8"
TRUE -> c
d <- "progra1"
#para ver las variables que asigne
ls()
#para ver los archivos ded trabajo
dir()
history()
#eliminar una variable , en ... |
065be8383f6a3269cc806ef9635387cddf62bb73 | 80839b1cbe3fe08470bdcac417d4a480bebcf8cf | /R_DataStats/Ch7.R | 94753b7157b8a95929ba5b9ac384141e894d90a2 | [] | no_license | akhagan/Misc_help | e6fb0023541eb6886ac8c8347364070abd02e9e5 | 9851ee049ae3530af9304aae7cdf6b8f3792665c | refs/heads/master | 2020-03-22T15:49:50.425573 | 2019-02-13T19:07:48 | 2019-02-13T19:07:48 | 140,281,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,353 | r | Ch7.R | library(tidyverse)
ggplot(diamonds) +
geom_histogram(mapping = aes(x = z), binwidth = 0.5)
ggplot(data = diamonds, mapping = aes(x = carat)) +
geom_histogram(binwidth = 0.01)+
coord_cartesian(xlim = c(0, 1))
nycflights13::flights %>%
mutate(
cancelled = is.na(dep_time),
sched_hour = sched_dep_time ... |
8593700a10e8259167892ce2e70ef5a6acd985ee | 1fad3cb4dab5b9c89d006ab1085d0376183ac9fa | /Mok-et-al_2018_Developmental-Cell_scRNAseq-analysis-R.R | b51527dd60045cbe4df0d0338d31d63e3a48c4ab | [] | no_license | kasperlab/Mok_et_al_2018_Developmental_Cell | 0bdadfd317933ff3edc854757a51d07f2836a51c | a7a907840ba061b9a3d447afbc8a1199916c0530 | refs/heads/master | 2020-04-13T16:31:49.735980 | 2018-12-27T18:29:28 | 2018-12-27T18:29:28 | 163,323,262 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,935 | r | Mok-et-al_2018_Developmental-Cell_scRNAseq-analysis-R.R | # Load source script (RaceID3_StemID2_class.R), available on https://github.com/dgrun/RaceID3_StemID2
source("~/RaceID3_StemID2_class_GO.R")
# Load required packages
source("https://bioconductor.org/biocLite.R")
biocLite("biomaRt")
install.packages("XML")
install.packages(c("tsne","pheatmap","MASS","cluster","mclust",... |
6066952f00b2897967702e7c9241cbffbd9d2886 | 230982b9ff8911f71ad4dc36c68b6e3639f4f485 | /VertNet2013/Tues.Acquiring&Exploring_species.r | 60619167d7e6e7f86c20ff57e84a0c463eda725c | [] | no_license | mkoo/BITW | aeb8b5d09c36744389979ea8a3b448e790db8c97 | bf645cfc5c1fbeeb129c3d6fbf290a47ae2e9d9e | refs/heads/master | 2020-05-17T12:38:58.209027 | 2018-11-09T23:04:17 | 2018-11-09T23:04:17 | 16,720,884 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 10,894 | r | Tues.Acquiring&Exploring_species.r | #############################################
###VertNet Biodiversity Informatics Training Workshop
###June 2013
#Acquiring and Visualizing occurrence records using 3 different packages
#in geographic and environmental space
#using dismo, rgdal, maptools packages
#
###updated MSK, MH 20130524
###for R.3.0.1
#
... |
93cb18cc0fae420f853286ec24fbd16de6ef9dbb | b38fcb2c8ef24eed88787351ae6a01c3e4310120 | /Day 02. Pictogram/codigo_02.R | afec4a455e0f02f8b22e612df9ce5bb9f1a0543a | [] | no_license | JMZarco/30DayChartChallenge2021 | ee24a79ae86b41a2f8bdf01f318451ccbe92b092 | b5b39376749868a4cec68d324427fc122bd71de8 | refs/heads/main | 2023-06-07T10:46:11.673414 | 2021-07-07T20:44:52 | 2021-07-07T20:44:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,076 | r | codigo_02.R | # Obtención de los datos
# devtools::install_github("moldach/vapoRwave")
# DOC: https://github.com/moldach/vapoRwave
# Ahi vienen las fuentes que se ocupan
# Librerias
library(waffle)
library(hrbrthemes)
library(extrafont)
library(tidyverse)
library(vapoRwave)
library(ggtext) # Esta creo que no la usé
# DATOS PROVEN... |
63261100fba288f25c1f99a3e39cf517d9263e07 | f084db3890abf3f2c1c0b6e28b61ff448468db6b | /bin/prioritizeSNVs.R | a5c1639c7f83963c65b085fbacabb5ba8fcaa824 | [
"MIT"
] | permissive | yocra3/nf-core-cnvcalling | 73423b90cf756c840de9b9c466b6ac08c0b990fa | d8a7e27f5edc0a8f6a19fdab69980965aa5ec070 | refs/heads/master | 2023-08-23T08:57:08.248518 | 2021-02-02T10:54:52 | 2021-02-02T10:54:52 | 269,351,899 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,345 | r | prioritizeSNVs.R | #! /opt/conda/envs/nf-core-cnvcalling/bin/Rscript
#'#################################################################################
#'#################################################################################
#' Prioritize SNVs using annovar data
#' Remove SNVs that fulfill these criteria:
#' - Common SNVs: pr... |
289d4c243ce053564cf01648820dcde54e2e51f0 | 824703319b5958aaa6f1f7099239e4eed86089ae | /plot-area.R | 556e4e618ec70b2fcad93bd4df74bbc54ba9538a | [] | no_license | sebdalgarno/hg-logging-history | f7ca79576e31fdee186e7f8c58091860cfb28372 | 22edd69943ba04a5f38e8bdda34b9f185227a7dd | refs/heads/master | 2021-01-19T08:35:14.151638 | 2017-07-13T22:00:06 | 2017-07-13T22:00:06 | 87,649,551 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,786 | r | plot-area.R | source('header.R')
set_sub("final")
load_datas()
poly <- log17Poly %>%
mutate(Type = "poly",
Year = YearHarv)
road <- log17Road
road15 <- st_buffer(road, 15) %>%
mutate(Type = "road")
comb <- rbind(select(poly, Year, ID, Type), select(road15, Year, ID, Type))
set_sub("logarea")
pals <- c(rgb(227, 94... |
3f1dcd38373343f225ad14755525acce1a6d5e16 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_PenmanMonteith/AFL_ET0_PenmanMonteith/ET0_PenmanMonteith_valgrind_files/1615837784-test.R | 999a9e1af05ecac07075538fac92476bd8e7c96b | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,183 | r | 1615837784-test.R | testlist <- list(G = numeric(0), Rn = numeric(0), atmp = c(2.76275013262294e-242, -2.71589731135932e-284, 4.50329327293703e-20, 5.0107318811678e+173, 2.95741352140887e-174, 2.39856896797372e-167, 1.52716539195969e+202, -1.77363920813042e+194, 4.81258711601651e-74, 416.419964068629, 8.89287946381353e-298, 4.08534971... |
813999108f0f21c303fddcef3e24479e2d27ccb8 | 17a56a3b7228c541ee8e48011379ef76e4bd9a20 | /R/utils.R | 3b1d3a6b41a6ba0fd6298887067d2e999ed2e9c9 | [] | no_license | euctrl-pru/reproducible-ans-performance-paper | 02b54c7202a2d64d00a0da6ceae325bbe95fcd4b | 2af5c2a0a57a851b6f84552cd7308fac616765e3 | refs/heads/master | 2022-03-26T13:59:00.294535 | 2019-11-25T15:33:54 | 2019-11-25T15:33:54 | 171,104,518 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,308 | r | utils.R | library(dplyr)
library(stringr)
# copied from trrrj::ddm2dd
ddm2dd <- function(value) {
# RegEx for DdM (eventually w/ spaces):
# ([N|S|W|E]\s*)?(\d+)°\s*(\d+(?:\.\d+)?)'
pattern <- "([N|S|W|E]\\s*)?(\\d+)°\\s*(\\d+(?:\\.\\d+)?)'"
pieces <- value %>% stringr::str_subset(pattern) %>% stringr::str_match(patter... |
f2c2596e7cb4f721b2a79f4260325da8890b9219 | 0f30a25454dc75a201378d16d37de75431cea79b | /R/wm_ranks.R | a6f49aea95e796ab8b4c92bda13d21185761e193 | [
"MIT"
] | permissive | ropensci/worrms | 489388c0121d7f1df7e1bdf9c5fac46da40925c1 | beb0c3e13ce0a0accdb33c0a91ea14a1ccedadcf | refs/heads/master | 2023-07-02T18:31:28.937341 | 2023-06-19T13:34:08 | 2023-06-19T13:34:08 | 77,186,597 | 19 | 9 | NOASSERTION | 2023-06-02T20:50:11 | 2016-12-23T01:03:45 | R | UTF-8 | R | false | false | 1,154 | r | wm_ranks.R | #' Get taxonomic ranks by their identifier
#'
#' @export
#' @name wm_ranks
#' @param rank_id (numeric/integer) a rank identifier. length==1
#' @param rank_name (character) a rank name. length==1
#' @param id an AphiaID. length==1
#' @param offset (integer) record to start at. default: 1
#' @template curl
#' @return A t... |
5b700243211ab00d9fc9fa4f9437b47a55bef7ba | adc038da9d4a940852573f5862b07c249d911190 | /Codigos/3_Selección_Matriz_De_Pesos.R | f275a875627b11ca2e0da9d196193ba60f7a4c14 | [] | no_license | mrruizf/DISEASE_MAPPING | afad5d7efe7ad30eb9adb103d319270c6cf7a93f | a11d9a307b348c9bd16b97efb489f90535796824 | refs/heads/master | 2022-04-28T18:07:05.818714 | 2020-04-29T21:35:29 | 2020-04-29T21:35:29 | 260,025,648 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 3,007 | r | 3_Selección_Matriz_De_Pesos.R | library(maptools)
library(spdep) ##Matriz de contiguidad
library(adespatial)
library(xtable)
########################################################################
######################MATRIZ DE PESOS ESPACIALES
MPIOS<-readShapePoly("G:/Shapefiles/Epidemiologia/EPIDEMIOLOGIA")
##vecinos
towwer <- pol... |
466f26a8b33ad7405f87cb1e2a2f4bce035f8612 | f76dcb5082462f759a63ff46d41c4acc2dbe5a93 | /tests/testthat/test-write.R | 439730289ecad9abe9fbd0b373b4c35b6edea596 | [
"MIT"
] | permissive | poissonconsulting/readwritesqlite | ba7ae2d6c814eb4880f94ee3e0ee77793a12436a | db961138ad98b957b70b3e4f257ab8c9c317b8e2 | refs/heads/main | 2022-11-02T22:30:43.073748 | 2022-10-16T23:09:15 | 2022-10-16T23:09:15 | 158,617,726 | 39 | 1 | NOASSERTION | 2022-09-28T12:29:35 | 2018-11-21T23:26:36 | R | UTF-8 | R | false | false | 27,897 | r | test-write.R | test_that("rws_write.data.frame checks reserved table names", {
conn <- local_conn()
local <- data.frame(x = as.character(1:3))
expect_error(
rws_write(local, x_name = "readwritesqlite_log", conn = conn),
"'readwritesqlite_log' is a reserved table"
)
expect_error(
rws_write(local, x_name = "read... |
cb0274784d654d28268036562ce3ce89e932b5c5 | b14061976e8881dc12af608abde631abd86400c9 | /function/CHOPseq.BamScannerChr.R | 03112562512f5dd36ab2ecc337b09027a41f887f | [] | no_license | zhezhangsh/CHOPseq | 38a41b20ae320f87ccff6abf5746761bdebf4e8a | 5ff7a248deca09fb6d542876bee29640f2215dd5 | refs/heads/master | 2021-01-15T15:50:43.520019 | 2019-09-10T16:30:53 | 2019-09-10T16:30:53 | 55,070,772 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,224 | r | CHOPseq.BamScannerChr.R | # A wrapper of the Rsamtools:bamScanner function to read all tags on given chromosome(s) and specified SAM fields
CHOPseq.BamScannerChr<-function(bamFile, fields='DEFAULT', chr=NA, start=NA, end=NA, output='data.frame', by.chr=FALSE) {
# bamFile character, path and name of bam file
# fields character vector or preset ... |
743c768878d77726edca3bde8595142e3dc038c7 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/SCPME/man/RIDGEc.Rd | d0a31294c7981fb06f951e8177b169785f198f7c | [] | 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 | true | 486 | rd | RIDGEc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{RIDGEc}
\alias{RIDGEc}
\title{Ridge-penalized precision matrix estimation (c++)}
\usage{
RIDGEc(S, lam)
}
\arguments{
\item{S}{sample covariance matrix (denominator n).}
\item{lam}{tuning parameter for ridge penalty.}
}
\... |
987bc55f11ec3db7a7d8c25a13c30ba9ad782e98 | b9f9cf0f038f7d5581224db3b5fe2de3d9b50b30 | /build_ld_ref/utils/cal_ld.R | fbc0a2bc9e82b4d1383559237727f13579de0419 | [] | no_license | zhenin/HDL | b9c92b2282de71b518c29a5d670f4c8a4e60f6aa | d308812f7c0f4f2cbbdcbad825d26c850df9a950 | refs/heads/master | 2022-07-29T09:20:08.875063 | 2022-07-08T07:43:38 | 2022-07-08T07:43:38 | 209,699,095 | 74 | 27 | null | 2021-04-16T01:45:21 | 2019-09-20T03:39:03 | R | UTF-8 | R | false | false | 4,291 | r | cal_ld.R | #!/usr/bin/env Rscript
suppressWarnings(suppressMessages(require(dplyr)))
suppressWarnings(suppressMessages(require(tidyr)))
suppressWarnings(suppressMessages(require(argparser)))
suppressWarnings(suppressMessages(require(data.table)))
ld.cmd <- function(bfile, ldprefix, chrom, i.segment, from.snp, to.snp,
... |
405c1c65ad9e2f87eee51309d8ede59688095752 | 5adde4b27d8aafe58598e0986c660d5c88bc089a | /plot2.R | 7baede3b7ecf13cef107a96467b762c4fca0ca2c | [] | no_license | jgoodbody/ExData_Plotting1 | 03b439789a9e97e2644c601ffe45bb6690dec67b | 8cf6f7efe5812b7ea476e033e315daf6d146072e | refs/heads/master | 2021-01-15T09:38:34.942026 | 2015-04-12T23:12:20 | 2015-04-12T23:12:20 | 33,827,395 | 0 | 0 | null | 2015-04-12T17:59:32 | 2015-04-12T17:59:32 | null | UTF-8 | R | false | false | 647 | r | plot2.R | ##Read in data
data <- read.csv("household_power_consumption.txt",header=TRUE,sep = ";")
##Create POSIXt class "Time" column
data$Time <- strptime(paste(data$Date,data$Time),format="%d/%m/%Y %H:%M:%S", tz = "")
##Create Date class "Date" column
data$Date <- as.Date(data$Date,"%d/%m/%Y")
##Subset data for Feb 1, 2007... |
1aae8ce03ab073d7fa0a738a0c3b7034e872047a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/geosphere/examples/area.Rd.R | ef12efdcffa92e3a46e0474b605ceeba80485a05 | [] | 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 | 853 | r | area.Rd.R | library(geosphere)
### Name: areaPolygon
### Title: Area of a longitude/latitude polygon
### Aliases: areaPolygon areaPolygon,matrix-method
### areaPolygon,data.frame-method areaPolygon,SpatialPolygons-method
### Keywords: spatial
### ** Examples
p <- rbind(c(-180,-20), c(-140,55), c(10, 0), c(-140,-60), c(-180,-... |
c7a228d55a66467320ed5fc8021379b0f6f519e5 | fb76292e6104e86390654c95e8fb38febb562f7a | /test.R | 63bf4ff12309d433dbd4263bee41519febf7ef95 | [] | no_license | daspromi/dataScienceCourse | 673e41f64854ce47a8cecf7d1dd1ac07aea465bc | 23f2072403600bb25131bbe533f6d38f86a088c8 | refs/heads/master | 2020-09-01T22:29:04.324963 | 2019-11-01T23:02:46 | 2019-11-01T23:02:46 | 219,074,923 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 65 | r | test.R | # Load directory
setwd("~/Documents/Projects/dataScienceCourse") |
341d81f51935f11352d8d751044f283dc51f4140 | a4801f5f15cfe478585286cd1986ca04bcc65eef | /tests/testthat/test-updateAdequacyPatch.R | b7f122e21a70f1dc45b6b822bf9f818c9d7e609f | [] | no_license | rte-antares-rpackage/antaresEditObject | acfa8ad126149fb6a38943919e55567a5af155f8 | 452b09e9b98d4425d6ee2474b9bbd06548e846d2 | refs/heads/master | 2023-08-10T21:01:21.414683 | 2023-07-13T13:06:02 | 2023-07-13T13:06:02 | 96,431,226 | 10 | 16 | null | 2023-09-08T09:31:25 | 2017-07-06T13:07:19 | R | UTF-8 | R | false | false | 1,152 | r | test-updateAdequacyPatch.R |
context("Function updateAdequacySettings")
sapply(studies, function(study) {
setup_study(study, sourcedir)
opts <- antaresRead::setSimulationPath(studyPath, "input")
if (opts$antaresVersion >= 850){
test_that("Update an adequacy parameter", {
updateAdequacySettings(include_adq_patch = TR... |
29df396cc8f23b39d4e2adc2ba161719dbac9d3b | a5bbcb2b8c60e803c0bc6c5f3b6acd6f76f608cd | /man/tables.Rd | 300417e24526541f187ecaf573b53a45032c47cc | [] | no_license | DataXujing/shinyBS | fdfaf0784b40c3693e43ade945bec22efa411bd1 | 6bfa2a44b6d05cebd251d7470b039878510fce3d | refs/heads/master | 2021-07-05T21:12:42.048441 | 2015-01-23T15:12:03 | 2015-01-23T15:12:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,640 | rd | tables.Rd | \name{Table Highlighting}
\alias{highlightRows}
\alias{highlightCells}
\title{
Table Highlighting
}
\description{
Functions to style table elements based on their contents.
}
\usage{
highlightRows(session, id, column, min = NULL, max = NULL, regex = NULL,
class = NULL, style = NULL, reset = NULL)
highl... |
d522e3d5f411cff35de4fb63326adf832bd21bb0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/imputeTS/examples/na.seadec.Rd.R | 9db582096d1fd6d5b46a0f355b3b32abcc87ff93 | [] | 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 | 488 | r | na.seadec.Rd.R | library(imputeTS)
### Name: na.seadec
### Title: Seasonally Decomposed Missing Value Imputation
### Aliases: na.seadec
### ** Examples
#Example 1: Perform seasonal imputation using algorithm = "interpolation"
na.seadec(tsAirgap, algorithm = "interpolation")
#Example 2: Perform seasonal imputation using algorithm =... |
c2cab70635e2c877a296ddbde30f60b3c187edc2 | 0c50324834ad198598e86151fe26dc46ba7b6bb1 | /Chapter 1 Graph Showing Overlap.R | 4b3ef7d59c5dad33aeff7db92eff00faa9686eb6 | [] | no_license | JessicaWilkes97/Project-R-Code | 2ff9af2119c56b3d3c9f5a502de7450f68387c42 | 2188e8949a90222d89898c1e2d70a88e5287d306 | refs/heads/master | 2020-05-18T15:21:08.652562 | 2019-05-01T23:45:36 | 2019-05-01T23:45:36 | 184,495,975 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,857 | r | Chapter 1 Graph Showing Overlap.R | nondiseased<-c(13.3,
11.1,
16.7,
12.6,
7.4,
5.5,
32.1,
27.2,
6.6,
9.8,
10.5,
7.8,
9.1,
12.3,
12,
42.1,
5.9,
9.2,
7.3,
6.8,
... |
d3222d9dd72e8e5849a9c82ea3eea34e1c7ca294 | 6c5eccf8518cfaecdc2a7ac47c060d78a622c789 | /run_analysis.R | 5bd99bc6d768852bb941e4b59a66af40c991a55f | [] | no_license | sueyic/GettingAndCleaningDataCourseProject | 15d89afd436c052acab00a8bda0fe53c4369995f | b9f6a0d5f0f5c3736fdc4cf917589c9db5f7d0e6 | refs/heads/master | 2016-09-06T12:50:09.378332 | 2014-12-29T03:03:06 | 2014-12-29T03:03:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,796 | r | run_analysis.R | ### Submission for course project for "Getting and Cleaning Data":
### http://class.coursera.org/getdata-016/
### Description: Prepare tidy data.
### Author: sueyic@gmail.com
library(plyr)
library(reshape2)
library(stringr)
library(Hmisc)
library(dplyr)
### (1) Merge the training and the test sets to create one d... |
f088d3e12da2fe9fea69ea8447d794b069937e4f | c9b151232ad188a38469473ec765c0f7a1defe7c | /R/cshift.R | 6c5a22e65825d850ef6ec4cd8f231af5673c74a1 | [] | no_license | obreschkow/cooltools | 3b2c46ac539962153c3a9aa8fbeaeee185455015 | 3b212d077537220aec5b8162f04ed85f7f0af996 | refs/heads/main | 2023-08-15T02:14:07.742064 | 2023-07-24T08:47:36 | 2023-07-24T08:47:36 | 184,692,943 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,418 | r | cshift.R | #' Circularly shift each dimension of an array
#'
#' @description Circulates each dimension of an array. This routine is identical to \code{\link[pracma]{circshift}}, but works with arrays up to 5 dimensions.
#'
#' @param x vector or array (up to rank 5)
#' @param s scalar, if x is a vector, or a vector of length match... |
88f852e0c0bcf10589795f5955930b27dd7f09f1 | bba339cdacd372bf37fa8f0e979c674c6ccf1dae | /tmp-app.R | 135bb5f585a306745042d5467ee63883760ea492 | [] | no_license | anguswg-ucsb/groundwater-dash | 6ccfa9d65f7bc54b8d7543cf7197cb488f3f277c | f6c48e29e875e7c846f6acbfa32909f84351668f | refs/heads/main | 2023-03-27T13:36:03.576976 | 2021-03-28T16:04:50 | 2021-03-28T16:04:50 | 326,004,629 | 1 | 1 | null | 2021-01-04T18:52:02 | 2021-01-01T15:27:47 | R | UTF-8 | R | false | false | 6,045 | r | tmp-app.R | # one piece of an answer to this StackOverflow question
# http://stackoverflow.com/questions/31814037/integrating-time-series-graphs-and-leaflet-maps-using-r-shiny
# for this we'll use Kyle Walker's rpubs example
# http://rpubs.com/walkerke/leaflet_choropleth
# combined with data from Diego Valle's crime in Mexico ... |
09d695b5ba9d0d2acddeb288a26d4de7db218b52 | de1a7bf7c408b0b0d8c9c353a70b978c5be3d460 | /R/data.R | 4cfd204e7aff0685ee2c7b9f315b7cd573bbc5a3 | [] | no_license | cran/gWQSRS | a82cad571cdd7550450f750db4e0250648825cc0 | 220e8345eb45f0c8a66443c87c7f6b318366e4e1 | refs/heads/master | 2020-12-22T00:07:29.396933 | 2020-03-03T10:40:02 | 2020-03-03T10:40:02 | 236,609,742 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,117 | r | data.R | #' Exposure concentrations of 34 PCB (simulated dataset)
#'
#' We created the `wqs_data` dataset to show how to use this function. These data reflect
#' 34 exposure concentrations simulated from a distribution of PCB exposures measured in
#' subjects participating in the NHANES study (2001-2002). Additionally, an end-p... |
3a9a2a4fd1ec704181670e59ee9cef7f6bbba759 | 8fb0bb53eeba3ad9dbfb6a6b50a2e340cbeae3e7 | /Misc/ISLR_Scripts/Chapter9.R | 3508223c908131960e929ee2a04165464951e1d6 | [] | no_license | jpsuen/ITEC621_Class_Files | 02cf19de7faf348cc1e63433e6b4fd3b8b3e4189 | 3ae2ff686d44c6e868d9f8867d314d375e6b1907 | refs/heads/master | 2021-01-11T01:16:22.336630 | 2017-07-11T12:50:25 | 2017-07-11T12:50:25 | 70,730,672 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,586 | r | Chapter9.R | ### Chapter 9 Lab: Support Vector Machines
# 9.1 Support Vector Classifier -- need the "e1071" package
install.packages("e1071") # Contains several machine learning methods
library(e1071)
# Let's generate some observations in two classes, X and Y
set.seed(1)
x=matrix(rnorm(20*2), ncol=2)
y=c(rep(-1,10), rep(1,10))
x... |
4f66058711634dd0fa2945b00df0521a098bf4f1 | 5cc48f7a950a49fb17dabeb8d18476980a5e36af | /analyses/input/Fig5-FT_Competition_Index.R | 80d7f4d1db18ba8f3d6370f0f8a199509a773ee1 | [] | no_license | alicelinder/senior-moment | 3a8f7758fdb0aae33da77c63909fc4faaee7ed33 | dfd269ac59acae915a29219220f61d1fdb28573a | refs/heads/master | 2021-01-11T18:21:11.987326 | 2017-03-10T09:21:28 | 2017-03-10T09:21:28 | 69,621,509 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,254 | r | Fig5-FT_Competition_Index.R | # Functional traits and competitiveness at each site and across latitudes
## by Alice Linder
### Jan. 31, 2017
rm(list = ls())
#options(stringsAsFactors=FALSE)
setwd("~/Library/Mobile Documents/com~apple~CloudDocs/GitHub/senior-moment/data")
# LIBRARIES HERE
library(dplyr)
library(devtools)
library(ggplot2)
library(... |
4b6479acec9fe11b43c1d19e661a767c632295fe | 56453f61cb60eff27911795855020932bdf3df2c | /simulation/plot_reliability_sim.R | 1e1d419c922a34afec8c7afe42f27a76368af5eb | [] | no_license | yuxuanzhao2295/Matrix-Completion-with-Quantified-Uncertainty-through-Low-Rank-Gaussian-Copula | 17c6a9154f8112c5b699f24aa55880895ab5efcb | 92b96d3cdd87d791e3f29d053434d1acc616687f | refs/heads/master | 2022-12-30T13:35:28.257117 | 2020-10-22T03:47:15 | 2020-10-22T03:47:15 | 290,662,737 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,631 | r | plot_reliability_sim.R | library(ggplot2)
library(reshape2)
library(gridExtra)
library(grid)
# simulation plot Figure 1
errReliability_allsim_cont = array(0, dim=c(20,100,2,4),
dimnames = list(NULL, Quantile = 1:100, Setting = c('LowRank','HighRank'), Method = c('LRGC','MI+softImpute','MI+GLRM-l2','MI-PCA')))
... |
ea1d7df0dd558d364b0841d936a40b901384070c | fa6bf9f5bee1627b6158a5e693c8c15969c019ee | /Simulation & Risk/HW 2/Keyur - Code & Outputs/02-code_drywell.R | 12a97007f2c6fa558b35a524540f3b6bedc74307 | [] | no_license | gclark422/spring1-orange5 | 59eb61880226000b9f9a6244a1e653319f0d3e3a | 13586f04939ac66f5edf0db4cf34e66be2a81634 | refs/heads/master | 2020-12-06T23:02:53.183034 | 2020-02-22T03:27:17 | 2020-02-22T03:27:17 | 232,574,947 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,716 | r | 02-code_drywell.R | # Loading the libraries
library(tidyverse)
library(readxl)
library(lubridate)
library(scales)
library(xlsx)
# Setting options for the R session
set.seed(12345)
n_sims <- 100000
options(tibble.width = Inf)
windowsFonts("tw_cen_mt" = windowsFont("Tw Cen MT"))
ggplot2::theme_set(
ggplot2::theme_minimal(base_family = "t... |
6a79767183e529e1db039a30acdce931a6d64671 | f324a32f5664544c1956ffdc1dbad61a18751711 | /man/response.surface.lsd.Rd | 6e9d3fff86270613632bc17018bbd4f4546b378c | [] | no_license | cran/LSDsensitivity | 90994ab1b15d66b2871ef7e2aa3349df6b80608c | 5d0c283229b28a57a9ed8306f8f1b64aae9c9ac8 | refs/heads/master | 2022-07-11T11:12:45.433337 | 2022-07-03T20:50:02 | 2022-07-03T20:50:02 | 112,502,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,820 | rd | response.surface.lsd.Rd | \name{response.surface.lsd}
\alias{response.surface.lsd}
\title{
Generate the meta-model 3D response surface data
}
\description{
This function produces a data object for the three-dimensional graphical representations of the meta-model response surfaces for a set of factors (parameters), including the confidence... |
2ad7566741b561f06e119aa95741babc34f20450 | 719f490f2c7b2a82c212cca364d145e1a2ce9d0a | /R_Woodcock/merge_script_bydate.R | 1aed2e5983f2eb6d66eda21c1b05accce1a1f5b7 | [] | no_license | eeliz1/Woodcock | a262bae4b2e9e2a60ce308aefcf595f0fbba4dd8 | b29244a527e8a8a992049040eee92350a7583402 | refs/heads/master | 2020-09-20T07:49:05.102012 | 2018-02-19T18:48:10 | 2018-02-19T18:48:10 | 67,633,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 633 | r | merge_script_bydate.R | #Example Code for Lisa
library(plyr)
#Set working directory
setwd("C:/Users/Elisa/Documents/Woodcock/R_Woodcock/Veg_csv")
#this tells you what files are in the working directory folder then slices the list
filenames=list.files()
x = filenames[9:10]
x
#This combines all thefiles yo... |
e2cd2138a64b076c3fee9cdb03b659d22929ed4d | f45333719c9d6f1b55c95be0f9dc03dea9b6c086 | /man/load_lna.Rd | b0b3c09dea1847560a42d43a1d0e3d9023fc83ba | [] | no_license | fintzij/stemr | 7c95bde20622142c7f62aad49cfb764a46342b47 | 185375e0933331da49bdc53563ce61338de4c450 | refs/heads/master | 2022-05-19T18:29:05.622681 | 2022-03-16T17:16:52 | 2022-03-16T17:16:52 | 52,254,628 | 8 | 6 | null | 2022-03-16T01:35:15 | 2016-02-22T07:16:45 | R | UTF-8 | R | false | true | 997 | rd | load_lna.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_lna.R
\name{load_lna}
\alias{load_lna}
\title{Construct and compile the functions for proposing an LNA path, with
integration of the LNA ODEs accomplished using the Boost odeint library.}
\usage{
load_lna(lna_rates, compile_lna, messages... |
acfefd12eb6000a7c3736f1a576c10e1713bde78 | f464a388b87c7c9d0af4e25d693c7fb9879ebd29 | /PH125.6 Data Wrangling/R code/gather.R | 6f44995cce565f0d7cd2b1809fac4fa952f97147 | [] | no_license | alvarobarbera/HarvardX-PH125-DataScience | 5e57e8d5d36bc57992fbf9a6477a51465ef5fc02 | 1a152f47b20131d71bc61ac94282867843f5a3ae | refs/heads/master | 2022-07-12T09:21:19.496692 | 2020-05-15T08:37:51 | 2020-05-15T08:37:51 | 260,189,883 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 649 | r | gather.R | library(tidyverse)
library(dslabs)
path <- system.file("extdata", package="dslabs")
filename <- file.path(path, "fertility-two-countries-example.csv")
wide_data <- read_csv(filename)
wide_data
# gather
# converting wide into tidy
new_tidy_data <- wide_data %>% gather(year, fertility, '1960':'2015')
new_tidy_data
# ... |
008cfae03b34f03690fdf441fe20696917f86b83 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.networking/man/route53recoveryreadiness_get_resource_set.Rd | 025b6494f5e9a0e318f553d08a8941ce4651db62 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 687 | rd | route53recoveryreadiness_get_resource_set.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/route53recoveryreadiness_operations.R
\name{route53recoveryreadiness_get_resource_set}
\alias{route53recoveryreadiness_get_resource_set}
\title{Displays the details about a resource set, including a list of the
resources in the set}
\usage{
r... |
d6c924d3e63c134a59002d31d1c2f95878ab174d | 3cbe75bc17f544c62a3ba1032997289c11f80223 | /R/data.R | 7b7cbe9cae7cbba2b71f18cf8725add608673d0f | [] | no_license | Fjellrev/nngeo | 352dfc5f3a10dc46962a5345a85cd632be1ea737 | dcee9c4826b2ef8180422f6429f5a293a414c525 | refs/heads/master | 2023-06-29T23:23:30.766756 | 2021-07-15T20:37:53 | 2021-07-15T20:37:53 | 391,885,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,684 | r | data.R | #' Point layer of towns in Israel
#'
#' A \code{sf} POINT layer of towns in Israel, based on a subset from the \code{maps::world.cities} dataset.
#'
#' @format A \code{sf} POINT layer with 193 features and 4 attributes:
#' \describe{
#' \item{name}{Town name}
#' \item{country.etc}{Country name}
#' \item{pop}{Popu... |
6f1113bcb6b89fdd8b7662815cc8b683e707c166 | 5e85df6e3edead3eca4a2a4730f1705d1228c23d | /unsorted_code/image.plot.g.R | fae61c468a6419f7ac88f6684efae11fdf89cfa0 | [
"MIT"
] | permissive | giorgioarcara/R-code-Misc | 125ff2a20531b2fbbc9536554042003b4e121766 | decb68d1120e43df8fed29859062b6a8bc752d1d | refs/heads/master | 2022-11-06T14:44:02.618731 | 2022-10-26T07:34:09 | 2022-10-26T07:34:09 | 100,048,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,988 | r | image.plot.g.R | ### modificata da funzione in package "fields"
# eeg.axis=FALSE, se TRUE allora prende gli argomenti di eeg.axis.args, per disegnare un asse delle x per eeg.
# eeg.axis.args, argomenti da passare alla funzione axis, per diseganre degli assi. Servirà basarsi sulla funzione msectopoints.
image.plot.g=function (..., ad... |
8bd09443dda7636f747ba22a7ab4173457a8beeb | 3deac26e5cb861cb58cbab395c5467d2a6c9888f | /FluxTeam/PFT3_Peru_R_scripts/LICOR_7500_Directory_Loop.R | b2ecf73c3176b62f1a9b1f599d28291486f5a552 | [] | no_license | EnquistLab/PFTC3_Peru | 88b09f0ee99642a2c5ab3c72fc6e21ec1ed0b5c4 | 829e225f5afb584338ecd672621c6d3e390346e2 | refs/heads/master | 2021-03-22T02:56:52.831251 | 2020-04-05T15:26:36 | 2020-04-05T15:26:36 | 109,146,843 | 4 | 7 | null | 2018-08-27T21:21:12 | 2017-11-01T15:12:16 | R | UTF-8 | R | false | false | 1,912 | r | LICOR_7500_Directory_Loop.R | source("LICOR_7500_Flux_Analysis.R")
source("GAS_HOUND_ANALYSIS.R")
readline("Please set the working directory to the folder \n that contains the LiCOR files to be analyzed. \n Do so with the upcoming prompt. \n Note that you must choose a(any) file in the \n folder that you want to set as the working directory. \n Pl... |
a90fd77f87b15a6285d181621f3c6f8202778db0 | 87c22c0890768c7731f944009ace4de422738965 | /week6exercise_distributions.R | df2ef436f2e137f9f4518e6ca7dc64e5a05c3143 | [] | no_license | erichseamon/computational-analysis | bc2d23367237750761f2652d448d02a0a0b4e6ea | aca4509cb166325d574dea067139e1f2fc58911a | refs/heads/master | 2020-04-23T20:37:06.715201 | 2015-08-11T19:43:42 | 2015-08-11T19:43:42 | 40,561,552 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,727 | r | week6exercise_distributions.R | #---------------------------------------------------------------------------------------------------------------------#
# TITLE: week6exercise_distributions.R
#
# COURSE: Computational Data Analysis (FOR504)
# Assignment #3
#
# AUTHOR: Erich Seamon
#
# INSTITUITON: College of Natural R... |
64f1b78384463988741615fc1d245bbe7c321bba | 5a3c52c867009743f7c46a59132c0f7cb12eb643 | /man/plot_box_mut_dep.Rd | 30e3e0072a42afd8825ca07034f06dd70a10da79 | [
"MIT"
] | permissive | sbenfatto/PARIS | 23b004b12396aa08c53b29d072845cf8590c47bc | 179b67a58b2855b411d06877a43624595b71babb | refs/heads/master | 2023-03-17T22:40:38.992952 | 2021-03-12T15:37:37 | 2021-03-12T15:37:37 | 346,786,819 | 2 | 2 | null | null | null | null | UTF-8 | R | false | true | 447 | rd | plot_box_mut_dep.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots_utils.R
\name{plot_box_mut_dep}
\alias{plot_box_mut_dep}
\title{Plot boxplot dependecy vs mutation}
\usage{
plot_box_mut_dep(depgene, mutgene)
}
\arguments{
\item{depgene}{Dependecy score gene name}
\item{mutgene}{Expression gene name}... |
33d020c4d9139c21430f0c30f7ad32cd440d8544 | e26a361b9556305efbdc59cb7554e54cc67e8f80 | /man/configuration_setting_generation.Rd | 70ca5208f634c2ee918d8a587b8e6374bbbf83d3 | [] | no_license | CHuanSite/PJD | 1e9b16b6212428a2069d856efa33cedc57133e66 | f477b613d7a67adf4de50427a80992cd71ab080d | refs/heads/master | 2023-08-26T20:34:17.948459 | 2021-10-21T19:12:54 | 2021-10-21T19:12:54 | 266,581,079 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 981 | rd | configuration_setting_generation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simFunction.R
\name{configuration_setting_generation}
\alias{configuration_setting_generation}
\title{Configuration for simulated data generation}
\usage{
configuration_setting_generation(
featureNum = 50,
DataNum = c(100, 100, 100, 100),... |
38518c6e2d16a0f3afe75dfa83cf496ceb4cf23d | 694bec950bee64845eaf3235331e083a2aa84f97 | /man/gg_color_hue.Rd | 14be48c5d578641bd2dfa2f11d53b1f768d7c2a5 | [] | no_license | AdolfoRojas/webr_Adolfo | d8aeeb27bbeae1376af605a4c8e4d58af7cffd84 | b5a027ce46a305fe4b1ed34bbc156b174e02b59e | refs/heads/master | 2022-08-01T04:20:29.537774 | 2020-05-19T20:11:53 | 2020-05-19T20:11:53 | 265,335,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 263 | rd | gg_color_hue.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PieDonut.R
\name{gg_color_hue}
\alias{gg_color_hue}
\title{Make default palette}
\usage{
gg_color_hue(n)
}
\arguments{
\item{n}{number of colors}
}
\description{
Make default palette
}
|
aef301fed187105e35b78fb1464441b616f59cff | 29585dff702209dd446c0ab52ceea046c58e384e | /SMIR/R/R2CV.R | b9f4d378448b2184eb042835a4df4b4f121bd15c | [] | 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 | 258 | r | R2CV.R | R2CV <- function(model){
if (!any(class(model)=="lm")) stop("model must be class ``lm'' or ``glm''")
yhat <- fitted(model)
ehat <- residuals(model)
y <- yhat + ehat
hi <- influence(model)$hat
yhatcve <- (yhat-hi*y)/(1-hi)
cor(y,yhatcve)^2
}
|
f1374ebb05e7c2ca39328fda8f446e724d509d5e | 8273f47fe706f9ddf034875de1a94a326b43d567 | /intermediateR/Tidyverse.R | 70d55d8aa34e1318848579fe1893a1c53d987d8a | [
"MIT"
] | permissive | Jokendo-collab/intermediateRcourse | 91b82aab5c9f325c3a269dfbc1474191f3f29636 | 9f81fb7a288cb9605400229eafe91ea145eb778f | refs/heads/main | 2023-01-28T00:15:37.417563 | 2020-12-02T11:12:48 | 2020-12-02T11:12:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,800 | r | Tidyverse.R | # ------------------------------------------------------------------------
# Data wrangling with the Tidyverse
# Code used to illustrate key functions and operations from the
# core Tidyverse packages.
# Data are based on waterbird counts conducted in KwaZulu-Natal at
# 60 sites over several successive mont... |
d145df0b248f7ff2cfacf847e2fd2293f2a09861 | 2492c8dee590ff43db2189ddca8c68ac32d49bdf | /TSExperiment/R/scratch.R | c1981c9a8d4ed8b348a9409b8e6f124b2e56a628 | [
"MIT"
] | permissive | dfreestone/TSLibrary | 1848fd0f7cc601bee816dd377742b0901ab3045f | 5b864d23e2c26da1745fc039b5c0358dbda7e69a | refs/heads/master | 2023-03-08T12:07:22.163911 | 2020-04-08T21:21:52 | 2020-04-08T21:21:52 | 83,917,970 | 0 | 0 | MIT | 2022-12-12T10:27:35 | 2017-03-04T19:10:41 | HTML | UTF-8 | R | false | false | 2,182 | r | scratch.R | # TSExperiment::CreateActiveExperiment('the_data_trail',
# '~/Dropbox (William Paterson)/lab/manuscripts/the_data_trail/R',
# '~/Desktop/xx_conditions.txt',
# '~/Desktop/xx_protocol.mpc',
# ... |
54f38ad94a2cf65bbccf3cf35d1120d4ec4b339f | 6c789da6d723702920a44001cc09620d42093d10 | /R/glossary.R | 6d66576980d5c28a44da17ee904a522d3c3d2e7c | [
"MIT",
"CC0-1.0",
"CC-BY-4.0",
"CC-BY-3.0",
"LicenseRef-scancode-public-domain"
] | permissive | YaoqiLi/traitdataform | 97b36d181b0a77df43139674886aee70034ef739 | 9db404002325418c54332cc8e0af96afafe4c3d5 | refs/heads/master | 2020-03-25T07:26:01.502080 | 2018-07-21T17:40:37 | 2018-07-21T17:40:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 149 | r | glossary.R | #' @export
"glossary"
glossary <- read.csv("https://raw.githubusercontent.com/EcologicalTraitData/TraitDataStandard/master/TraitDataStandard.csv")
|
7d9d67408c84da6c1eeb50efca1a84c46ce82023 | 6d51cb6e3ab9d6909479f30a4ea1664cc3a0f5b1 | /man/LSLM2RGB.Rd | e11bd2a3a6a9fb9dff963c50384fc492924bac9c | [] | no_license | playwar/colorscience | d7c51c7f8bb41591725436ff5cd2594f4124762b | 784f5467f4aad5dc5295ab469b78811417751304 | refs/heads/master | 2022-03-01T14:20:03.852206 | 2019-10-29T17:40:02 | 2019-10-29T17:40:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 754 | rd | LSLM2RGB.Rd | \name{LSLM2RGB}
\alias{LSLM2RGB}
\title{Convert LSLM coordinates to RGB}
\description{\code{LSLM2RGB} Converts LSLM coordinates to RGB.
}
\usage{LSLM2RGB(LSLMmatrix) }
\arguments{
\item{LSLMmatrix}{ LSLM coordinates}
}
\value{
RGB coordinates
}
\source{
Francoise Vienot, Hans Brettel,John D. Mollon, 1999
Digital Vi... |
01be6c9d7cec6248fbaf7f9a88cf1c53c0516355 | e7bd469eccdbf11cded79bfd9d4cf457f87fbba4 | /R/HGmultc.r | 9c5f16787eb164dc90641f88e81d980adde83fc3 | [] | no_license | parsifal9/ptools | ac1c4268ec8e7d728e3a21c8df764799dd8c2702 | baeeb606b7e2f9076155de0b7885b6e45daee94c | refs/heads/master | 2023-08-29T17:05:39.639233 | 2023-08-06T08:43:11 | 2023-08-06T08:43:11 | 299,174,721 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,184 | r | HGmultc.r | HGmultc<-function (X, y, weights = rep(1, nrow(X)), initb=NULL, sparsity.prior = "NG",
lambda = 1, bbess = 1e+07, kbess = 0, adj.prior = TRUE, control = HGcontrol())
{
if (max(y) == 1) {
cat("Error: class labels must be 1,2,...,G", "\n")
return()
}
tol0 <- control$tolerance
t... |
cd0c39108953d9da06b8a41c2138435e6c2ded42 | 47afb630e472f82d4da2411319bbb2a85e5bd580 | /server.R | 88bd3cf4acbd264f6cec944c36e34c5f56292444 | [] | no_license | petbadger/ufo_sightings | b54b2bd955153396097a5019a7857519a10b4bc4 | 2034cae5e60f747622af5fb85a565f35453e7b0f | refs/heads/master | 2020-03-29T03:42:48.462992 | 2017-06-18T05:18:29 | 2017-06-18T05:18:29 | 94,650,434 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,706 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
# Define server logic required to draw a histogram
shinyServer(function(input, output, session) {
... |
4b8d64f4715104221371c38da004c03e6f77ba5d | b74900922dcfdad29854da52e0ae91f95ebd0cac | /fsm_elligible.R | ef28493f8ddbd0d9f7efda80758a4bbbb998492c | [] | no_license | uk-gov-mirror/openglasgow.fsm_cg_match | 6c53b082043791c879a3b1252c469440a711beb1 | 57f69cf31171c0fa9a53ba9fe4d5164b8bec3188 | refs/heads/master | 2021-09-13T13:08:24.443742 | 2018-04-30T09:52:23 | 2018-04-30T09:52:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,413 | r | fsm_elligible.R | ### Add FSM criteria to matched cases
matched_final = matched_final %>% mutate(hb_id_member = paste(hb_id, hb_member))
### 1. get our ids from incomes
cohort_income_ids = education_norm$income %>% filter(claim_id %in% matched_final$hb_id) %>% select(claim_id) %>% unique() %>% .$claim_id
### 2. on JSA or income supppo... |
a4df16d67c023a5080b2668f4bb703d30731360b | 7329459bb72ddd723bc58358e80b5f0db3db730c | /R/rglmb.R | c44f76d5fb1e7bbd5474bbe7b82e83bfdf80b3f3 | [] | no_license | knygren/glmbayes | 6f2411da073f3d6bfcb727e8d02d4888cacb8fef | 3c25c08c1f4ac71a0e67d47341fb0cf39497d5f8 | refs/heads/master | 2021-01-17T10:49:54.755257 | 2020-08-29T21:24:08 | 2020-08-29T21:24:08 | 18,466,002 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,963 | r | rglmb.R | #' The Bayesian Generalized Linear Model Distribution
#'
#' \code{rglmb} is used to generate iid samples for Bayesian Generalized Linear Models.
#' The model is specified by providing a data vector, a design matrix,
#' the family (determining the likelihood function) and the pfamily (determining the
#' prior distribu... |
a61a08ae63d56c1bb3560367eaaaf902bbdd8940 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Tentrup/ltl2aig-comp/load_full_3_comp2_REAL.sat/load_full_3_comp2_REAL.sat.R | 81b09305e1505a850d15dbb2f9400efaa31bf114 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 79 | r | load_full_3_comp2_REAL.sat.R | dfdcdd28c4dbdeecdd58c1eba350b79d load_full_3_comp2_REAL.sat.qdimacs 14689 45460 |
7486baec308d752d45f671377d3bf10b30a9950b | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /segmenTier/man/tsd.Rd | 9d6cbdf4fd934c52d3784df71df61c964a0ed2df | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 450 | rd | tsd.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/segment.R
\docType{data}
\name{tsd}
\alias{tsd}
\title{Transcriptome time-series from budding yeast.}
\description{
Transcriptome time-series data from a region encompassing
four genes and a regulatory upstream non-coding RNA in budding yeast... |
e0233bbd4cf4da3f47b299cf5dc33423181eb1d4 | a3568335e5a29070953d512b4241febc5462d9ef | /run_analysis.R | d401db0690a27cc53d18e64704f245a6d7b91b3c | [] | no_license | vifalcon/Getting-and-Cleaning-Data-Course-Project | d055470b62d1a45f638b00b9c7bcadc7bbaffd5b | 4b98dcf959b4518abaf1b03383666eef0f1aa1ba | refs/heads/main | 2023-01-14T16:29:55.605098 | 2020-11-23T23:51:19 | 2020-11-23T23:51:19 | 315,224,105 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,021 | r | run_analysis.R | test<-read.table("./UCI HAR Dataset/test/X_test.txt")
train<-read.table("./UCI HAR Dataset/train/X_train.txt")
#pull data from test set and training set
subject_test<-read.table("./UCI HAR Dataset/test/subject_test.txt")
subject_train<-read.table("./UCI HAR Dataset/train/subject_train.txt")
#pull subject id numbers
... |
47e46ad4dab3dfc87e67605ba7ab53f715cbc431 | 3abfaa6cf0b52c5ff44e9c0aa7d842f73e2d876e | /scripts/buoys-validator/resources/r/ww3nctab2df.R | ca50f141e341da78c3c226aebbb5d7e80ab8d0d3 | [] | no_license | rchailan/mirmidon-toolbox | 0c272c4f7b7fd3db1d2a2a975b8a4e86876bb677 | d116b1e0c8c7faaa4dd99144ea4965a1fa64fd03 | refs/heads/master | 2021-05-29T01:03:44.384387 | 2015-04-23T17:10:45 | 2015-04-23T17:10:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 501 | r | ww3nctab2df.R | library(RNetCDF)
ww3nctab2df <- function (file,station=NULL){
nc.file<-open.nc(file)
nc<-read.nc(nc.file)
#refractor into a df
df<-data.frame(date=nc$time,hs.espi=nc$hs[1,]
,hs.sete=nc$hs[2,]
,hs.leucate=nc$hs[3,]
,hs.banyuls=nc$hs[4,]
... |
339899911d12980d04c2ff5f5979e8ac5d45c51a | a006d51a2e2e09c48c9449c3cb5488bf35e41c87 | /association.R | 755c3f6d4dbe32f69a49cdf1c79913a6ee0b2b4b | [] | no_license | faith-hplc/eQTL-peptide | ee9931b525660ef7092a1b252463c548f4715069 | 3a54c37ef0fbf16ec69210548485f89bd8e69466 | refs/heads/main | 2023-06-12T12:45:20.623556 | 2021-07-04T07:38:49 | 2021-07-04T07:38:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,531 | r | association.R | library("rMVP")
# transform format of marker
# Full-featured function (Recommended)
MVP.Data(fileVCF="prune_ok.vcf",
#filePhe="Phenotype.txt",
fileKin=FALSE,
filePC=FALSE,
out="mvp"
)
# Only convert genotypes
#MVP.Data.VCF2MVP("myVCF.vcf", out='mvp') # the genotype data shou... |
9c68f3d0acaeedb22dece1dc80ce3e0deb45f466 | 3228240f4a9b7aff3053fcbbcd95b93b1f3319b4 | /man/opendss.Rd | 12ec31620b9d762daf65bae0edd99eb9480f0641 | [
"MIT"
] | permissive | cameronbracken/DSS-Rip | 2528612fe7dbf3636c10ca143ff5eb0cb82916a1 | 58acfe05bd9d5d693c5b082b38ee791c1e6d63e3 | refs/heads/master | 2021-01-16T20:47:38.731272 | 2014-03-26T17:56:10 | 2014-03-26T17:56:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 205 | rd | opendss.Rd | \name{opendss}
\alias{opendss}
\title{opendss}
\usage{
opendss(filename)
}
\value{
stuff
}
\description{
Short description
}
\details{
Long Description
}
\note{
NOTE
}
\author{
Evan Heisman
}
|
156c2419e5dbeae557d9f3815333f286d9f71f72 | b76ed9b0617327c56d7e4387e8f249610b169c97 | /sesame_street_audience_code.R | 7671065e114ce7ef5eee1338782cd2d863e48b6a | [] | no_license | ngoyle1/DKC-Analytics-Help-Code | 35c31bdd20110d211356ffaa0d725145e389df94 | 716837d4bbd756e842749ad4ee8fc5d59fb5b0ad | refs/heads/master | 2021-01-23T05:04:17.347787 | 2017-05-30T19:43:17 | 2017-05-30T19:43:17 | 92,951,649 | 0 | 0 | null | 2017-05-31T13:59:53 | 2017-05-31T13:59:52 | null | UTF-8 | R | false | false | 355 | r | sesame_street_audience_code.R | remove(list = ls())
options(stringsAsFactors = FALSE)
options(scipen = 999)
setwd("/Users/harrocyranka/Desktop/")
source("/Users/harrocyranka/Desktop/code/twitter_info_analysis_3.R")
source("/Users/harrocyranka/Desktop/code/estimate_audience.R")
source("/Users/harrocyranka/Desktop/code/script_to_load_packages.R")
p <... |
98e70a32c15435f63295b789c65fdd4941e6f164 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/indelmiss/man/plot.indelmiss.Rd | 11ebc1281be8ee1b9865d5422b83af315e844220 | [] | 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,279 | rd | plot.indelmiss.Rd | \name{plot.indelmiss}
\alias{plot.indelmiss}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Plot parameter estimates from the model fit
}
\description{
Plotting command for use on an object of class "indelmiss". Will draw two plots: one with the estimates for the rates and the other for the "mis... |
8b16b5fcf1aca0f8c93506ae186c335ec66867dd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mice/examples/make.blocks.Rd.R | b97d52bc04d99a84a5e556908e0fcf7123ba9425 | [] | 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 | 179 | r | make.blocks.Rd.R | library(mice)
### Name: make.blocks
### Title: Creates a 'blocks' argument
### Aliases: make.blocks
### ** Examples
make.blocks(nhanes)
make.blocks(c("age", "sex", "edu"))
|
ab158990c7aaaa1a9fd17a3a45ea2ea46f8ec3af | a84dbc7957827272acf07ce0875414d7d5763fe7 | /MLToolkit/Funcoes.R | fbd3b9304ed529473cf57ae5856cf7b4406b7d74 | [
"MIT"
] | permissive | jpcaico/Machine-Learning-Toolkit | 1d22ab88aebde519eeb7f415934dcda0c67ab4ca | d043957d56b61a02019f7e6e05f0d1a081c417b5 | refs/heads/master | 2020-06-04T22:19:24.153229 | 2019-07-02T04:29:16 | 2019-07-02T04:29:16 | 192,213,146 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,780 | r | Funcoes.R | #Sys.setlocale(locale = "portuguese")
####### gerais #################
graficarImportanciaClassificacao <- function(modelo){
data = data.frame(x = rownames(varImp(modelo)$importance),
y = varImp(modelo)$importance)
data = data[c(1,2)]
colnames(data) = c("x", "y")
data = arrange(data, y)
... |
d0e51d098f754ac088f80eb92439fc954d8d97ab | 11311aea4618398dc7a217241809e6fc48fca8e0 | /man/progress_phyllotaxis_update.Rd | ca671320f919d138eca30a3e93343755d7bea08c | [] | no_license | suharoschi/switchboard | 81a8a6b4f3dd9698ed207cd5ec122a0c7db7edd4 | 9fc25eb9e0facba3d8da971dff742bc9701aec0b | refs/heads/main | 2023-08-06T18:44:19.906946 | 2021-10-08T19:07:35 | 2021-10-08T19:07:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 521 | rd | progress_phyllotaxis_update.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/progress_phyllotaxis.R
\name{progress_phyllotaxis_update}
\alias{progress_phyllotaxis_update}
\title{helper function that updates the canvas items of a progress_phyllotaxis widget}
\usage{
progress_phyllotaxis_update(
.switchboard,
eavesd... |
2af164583badd8a39d791e3ecea8ee52da2181ae | ec13d4854010cd663c736856def72cfc50fc0282 | /R/logitcalcLam.R | 57c259ef18120f0648f4ff04c0712a14152d78d9 | [] | no_license | dankessler/standGL | 66cae7f30b3f5be67fbfc7bbc480c6d3edb572fa | 615f2e2eb5e4fbca4fd979536da197899e440242 | refs/heads/master | 2021-05-27T14:26:27.912958 | 2011-02-23T00:00:00 | 2011-02-23T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 591 | r | logitcalcLam.R | logitcalcLam <- function(y, Us, index, nlam = 20, min.lam = 0.05, is.pen = rep(1,length(unique(index)))){
groups <- unique(index)
fitNorm <- rep(0,length(groups))
for(i in 1:length(groups)){
if(is.pen[i] != 0){
newInd <- which(index == groups[i])
fitNorm[i] <- sum((Us[[i]] %*% (t(Us[[i]]) %*% (... |
6e65c108d17d1c89090e2392d26498736f0baa1a | 66a965ce41523533820e85fa2765ee8acb05b6ae | /input_for_2calc.R | eca04e3496664f563a32012efb44739ed9317a4e | [
"CC-BY-4.0"
] | permissive | biodiversity-exploratories-synthesis/Synthesis_dataset_functions_grassland | 61f46e4549e4984528c6c2e24ea527cfae28d521 | 4e1779046d5b9623d6d3cd3aa6a54debe02f2ca2 | refs/heads/master | 2023-08-06T03:40:37.095985 | 2023-08-02T12:52:12 | 2023-08-02T12:52:12 | 181,692,075 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,706 | r | input_for_2calc.R | minimult <- raw_functions[, c("beta_Glucosidase", "N_Acetyl_beta_Glucosaminidase", "Xylosidase", "Urease", "DEA",
"Potential.nitrification2011", "Potential.nitrification2014","nifH","amoA_AOB.2011",
"amoA_AOA.2011", "amoA_AOB.2016", "amoA_AOA.2016", "nxrA_NS",... |
b907688def6f0072664b0990d1df6acb515d346a | a815407aeafc5224b546fbe905af757f40bed1d3 | /R/list_platforms.R | 9ddd131482bb0878840e54252f068d6a2b0d03c4 | [] | no_license | iaradsouza1/MicroarrayMethods | a51de58e2e8a527af3bd3f50e32eedc593024360 | e717ec81551daacebb9dfe804a761c29371139bb | refs/heads/master | 2021-11-24T09:03:44.411844 | 2021-10-29T17:27:44 | 2021-10-29T17:27:44 | 166,096,496 | 0 | 1 | null | 2020-06-25T23:34:12 | 2019-01-16T19:17:58 | R | UTF-8 | R | false | false | 1,325 | r | list_platforms.R | #' List microarray platforms
#'
#' List microarray platforms annotation available for organisms
#'
#' @param dataset ENSEMBL dataset name. A dataset name can be retrieved with list_datasets() function.
#' @param db One of the following ENSEMBL databases: "main" for ENSEMBL_MART_ENSEMBL database (the main database in EN... |
8afa187ac0dfc153af8f6978102cb01093c62a7c | f3e02380300825ce90eaf94546fa2ab823943580 | /man/blink.Rd | b51576446d0e6739e9fe1340700c705165c69946 | [] | no_license | kirillseva/blink | 0ddbec67454049134afaf8129c0bb55fcb436837 | 5219221d2678405ea445a8f52bc47f1536ccd6c5 | refs/heads/master | 2021-01-10T08:26:39.067314 | 2015-12-17T22:17:34 | 2015-12-17T22:17:34 | 45,405,905 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 238 | rd | blink.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/blink-package.R
\docType{package}
\name{blink}
\alias{blink}
\alias{blink-package}
\title{Describe the package.}
\description{
Describe the package.
}
|
f12ff04e076be6be1e2823a946ef7a8e51fe0330 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/spagmix/examples/rpoispoly.Rd.R | 14bdca272f7186cde9252f6f6727c306848e7e70 | [] | 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 | 955 | r | rpoispoly.Rd.R | library(spagmix)
### Name: rpoispoly
### Title: Generate a Poisson point pattern in a polygonal window
### Aliases: rpoispoly
### ** Examples
mn <- cbind(c(0.25,0.8),c(0.31,0.82),c(0.43,0.64),c(0.63,0.62),c(0.21,0.26))
v1 <- matrix(c(0.0023,-0.0009,-0.0009,0.002),2)
v2 <- matrix(c(0.0016,0.0015,0.0015,0.004),2)
v3 ... |
13d3e5e75484415776cf048721707da892845c07 | 5f6d248fa755b953f40ac5bad5401d3985ef37ca | /Graphing/Old/Graphs_differences.r | 10394e6ee4380441dd8ebab8312b7d8b0618806e | [
"CC0-1.0"
] | permissive | LizEve/SquamateLikelihoodRatios | 411dc42882a16c333794292fdafac346fd52a571 | cc90c66832ca6492b52000b7b1fc4fb8fc7994d3 | refs/heads/main | 2023-08-13T12:00:57.835196 | 2021-10-11T21:43:44 | 2021-10-11T21:43:44 | 343,491,251 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 34,255 | r | Graphs_differences.r | rm(list=ls())
library(dplyr)
library(ggplot2)
library(tidyr)
library(ggpubr)
library("viridis")
# set dataset
#dataset <- "SinghalOG"
dataset <- "Streicher"
setwd(paste("/Users/ChatNoir/Projects/Squam/Graphs/",dataset, sep=''))
# Read in data
load(paste("/Users/ChatNoir/Projects/Squam/Graphs/",dataset,"/Calcs_",dat... |
92df2313fbca6e6469a2e4e72929bad72cdab5e5 | 6332c12ee7806f68d629cd0d191c53d028a2a56f | /posteriordb_check/phaseI_check/check_LBFGS.R | 7c1a40dec1ce75c2f563125bbed1750c81da0cbf | [
"BSD-3-Clause"
] | permissive | SteveBronder/Pathfinder | 57f5ce27de94b22855703511ad7e4378d3edeef6 | 06ad87e70c4b29645bf22752a32ccb85973ead5a | refs/heads/master | 2023-07-04T21:39:12.778909 | 2021-08-05T02:59:52 | 2021-08-05T02:59:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,734 | r | check_LBFGS.R | rm(list = ls())
setwd("./posteriordb") # set working dir to cloned package
library(rstan)
options(mc.cores = parallel::detectCores())
rstan_options(auto_write = TRUE)
## install the beta release version of R package posterior
# install.packages("posterior", repos = c("https://mc-stan.org/r-packages/", getOption("repos"... |
c631225fe9385f96a9e77aa6d990145efb50abc7 | 2c8d53ef85044379957a5d16ad530ce12e74378e | /rapid/objects.R | 25dc332871a91d91a6690c6973c50328ea7f8efc | [] | no_license | antoine-lizee/rAPId | 333acb7f1bcad9b436f936f695fc480faa0d86fc | 40bba8ad7d2ef3ebda852f0134f7b6d581b23353 | refs/heads/master | 2021-01-25T08:28:04.251418 | 2015-07-15T23:12:40 | 2015-07-15T23:12:40 | 17,385,078 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,865 | r | objects.R |
library(proto)
# Helpers for proto programming -------------------------------------------
newWithDefaults <- function(protoName, protoArgs) {
# This function creates a constructor for a proto trait, but checking for missing values when these are required.
# The required values are specified by setting their def... |
9f02796c2e6eccb5da63eec341f9a77631bbf796 | 62f106061017995cfda81866a4c6e4a3c953b13c | /CleaningDataCourseProject/run_analysis.R | b1ef8e1efed4a4d1438e3097801bd9cf3938ac43 | [] | no_license | mohitr/datasciencecoursera | e40bba87fa76f87434f0155808b624152ef1415d | cb43b31abebffbc79d4b3359c2ec2da1f4d9c4fb | refs/heads/master | 2016-09-05T15:31:36.489456 | 2014-06-23T16:12:33 | 2014-06-23T16:12:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,633 | r | run_analysis.R | # read features
features <- read.csv("features.txt", sep=" ", header=FALSE)
features <- as.character(features[,2])
# read activity labels
activity_name <- read.csv("activity_labels.txt", sep=" ", header=FALSE)
colnames(activity_name) <- c("activity_id", "activity_name")
# reading test data
test_x <- read.csv("test/X_... |
ae7313243675da9710085d9a72dc33dc4beebc39 | 3e931bb105cc62e35589d071b787a8635ec55552 | /man/summary.qif.Rd | b966a2f41cc8d69710cf1c1066a9e3b6beaaa234 | [] | no_license | umich-biostatistics/qif | 2b31a13bc48a52f5e107c45395b1c355eebfe89e | 59fac882807ffe9b38fe1573b6aa53e516c92341 | refs/heads/master | 2020-06-14T04:16:38.780344 | 2019-07-18T15:51:27 | 2019-07-18T15:51:27 | 194,895,446 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 639 | rd | summary.qif.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qif.r
\name{summary.qif}
\alias{summary.qif}
\title{Summary of a qif Object}
\usage{
\method{summary}{qif}(object, correlation = TRUE, ...)
}
\arguments{
\item{object}{an object for which a summary is desired.}
\item{correlation}{binary, inc... |
ba3e9352ddae4d2a5b515aa272dcfd5693846639 | c8063310239560f8d85e7554a4a9c75f1dec01f3 | /assignment_10/test/160204.r | 298ee7c8c111e39fc8356bb6e9d9540354b577b0 | [] | no_license | bismayswain/endsem | e93e6fed0605751a0e1dc5acfc895c1c2511fadb | 0392277b8cfce3d7d5ee71a69f3e9c33473eac45 | refs/heads/master | 2020-03-13T08:13:50.144947 | 2019-04-18T22:42:49 | 2019-04-18T22:42:49 | 131,039,841 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,860 | r | 160204.r | ######################### Part-1
num_samples <- 50000
data <- rexp(num_samples, 0.2)
#print(data)
value <- list()
for (i in 1: 500)
{
# print(data[10:20])
start=i*100-99
end=i*100
value[[i]] = c(data[start:end])
#print(value[[i]])
}
####################################### Part-2
for (i in 1:500)
{
#str(... |
02acc6d36156c975bba826c7a70cdad687269795 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PWFSLSmoke/examples/monitor_performance.Rd.R | 602464838e41f1ed115a3dd748e6362c554b5375 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,038 | r | monitor_performance.Rd.R | library(PWFSLSmoke)
### Name: monitor_performance
### Title: Calculate Monitor Prediction Performance
### Aliases: monitor_performance
### Keywords: ws_monitor
### ** Examples
## Not run:
##D # If daily avg data were the prediciton and Spokane were
##D # the observed, which WA State monitors had skill?
##D wa <- a... |
dbe4766bc2d95bd90c57f3fc5d7487f547b2208d | 6ad95fc7067d6ab32bee6f1a6ad730b984d12579 | /Akhil/R Codes/Basics of Linear Algebra- T S Blyth and Robertson/Chapter 8/EXR_8_15R.R | 8b3b20c8b56fe00c54675c5b31f563ba3183e043 | [] | 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 | 408 | r | EXR_8_15R.R | # Exercise 15 Chapter 8 Page no.: 142
# Determinant of complex matrix
# Include "Matrix" , "matlib" and "complexplus" library
A <- matrix(c(0, complex(real = 1,imaginary = 1), complex(real = 1,imaginary = 2),complex(real = 1,imaginary = -1),0,complex(real = 2,imaginary = -3),complex(real = 1,imaginary = -2),c... |
eacec629b236fff546b9b1e3d2891b46df18a12e | 12ba52d9a0820f63ccc9006742da8e1f4c892639 | /regex_pattern_extraction.R | 7cda3ae95bcf0fd889cfe5e9ffaeb9d036573ec0 | [] | no_license | ankitccuser187/task | 71bc03cf9da4b22c35b5d9addbd02b62598ca3fc | 077f8b759c8007ea78a26b1579118b3f04d04e23 | refs/heads/master | 2021-01-10T13:54:47.065911 | 2016-01-11T08:49:09 | 2016-01-11T08:49:09 | 49,272,997 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,924 | r | regex_pattern_extraction.R |
#social networking
pattern_1<-"facebook|twiter|plus.google|instagram|tinder"
#multimedia hosting website
pattern_2<-"tube\\.|vimeo|motion|daily|metacafe|videos\\.|movie.*\\.|mp4
|video\\.|movies\\/|movie[a-z]*\\.|video[a-z]*\\.|maza|film|pagalworld\\."
#some pattern for online shoping
pattern_3<-"kart\\.|deal\\.|j... |
0340be058b0045faa4454343e3120c81ecdb76e5 | a80156b781a5d450eed498f0dbd5fbdfd36405da | /Concrete_NN.R | 8cf3e96fe6b81eab276a0e0028655da0d4143474 | [] | no_license | shreyas-95/R-codes | 257e31833bb0598fad23042e661a35d9d7e7e5a8 | c4561577ad81515b4f9f4209a740a131821e430f | refs/heads/main | 2023-01-13T19:36:05.852583 | 2020-11-17T06:31:06 | 2020-11-17T06:31:06 | 301,051,431 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,538 | r | Concrete_NN.R | # Prepare a model for strength of concrete data using Neural Networks.
# Install required packages.
library(neuralnet)
library(nnet)
library(NeuralNetTools)
library(plyr)
library(skimr)
concrete <- read.csv(file.choose())
View(concrete)
attach(concrete)
skim(concrete)
summary(concrete)
str(concrete)
... |
1a7abec049428a3a7895d1c3de68a9eacc8f5343 | 4c27d5a2a61ac4fd036669e38daf407e8645ee66 | /ch_06_v2/ch_06_03_models.R | e68c689ee36134649ab33b27a7a53f8056c1f4e2 | [] | no_license | michaelfrancenelson/Spatial_Ecology_Fletcher_Fortin | da27fd9441752dcba6fa8b37802b7dc6a7e811f9 | 048d1890dc2f07a643a7826fa7cf0cbca17dfbc7 | refs/heads/master | 2020-12-05T14:40:41.452798 | 2020-04-27T12:24:52 | 2020-04-27T12:24:52 | 232,141,202 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,976 | r | ch_06_03_models.R | ## ---- model_1 ----
fit_elev = glm(
VATH ~ elevation,
family = "binomial",
data = thrush_sf)
summary(fit_elev)
## ---- model_2 ----
fit_terrain = glm(
VATH ~ elevation + slope + aspect,
family = "binomial",
data = thrush_sf)
summary(fit_terrain)
## ---- model_3 ----
fit_elev_... |
ce45f7a8c1960be371f2c3e309779a346b76b7c9 | 08f3b72fabbab22bfbd90eb6b3984dc85cb971d8 | /man/colnames_transect.Rd | a9885916784ed608e805e4f4678bbd924721f98f | [
"MIT"
] | permissive | benmack/lucas | 8408801bbfcdcb7efd95d3fb8fb706b043218641 | a4c3376455653bf0a307456b48a91831107b7883 | refs/heads/master | 2021-01-20T10:32:18.399915 | 2019-04-07T10:01:12 | 2019-04-07T10:01:12 | 66,085,066 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 385 | rd | colnames_transect.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/colnames_transect.R
\name{colnames_transect}
\alias{colnames_transect}
\title{Get column names of the transect attributes}
\usage{
colnames_transect(x)
}
\arguments{
\item{x}{a LMD data frame}
}
\value{
character vector with the transect name... |
3ffe879e7cc36f6bf7414101f6f11e5e528ddc6e | c309b0cfa10655c0554a1ec26101445b5a7d6156 | /man/ff_sup_lower_hierarchy.Rd | 00e321b1d7377a4c92074ed064d9fa63e01592fc | [
"MIT"
] | permissive | FanWangEcon/REconTools | 155ceef764a8bcabbb5db0b9796be986fc567ef4 | 2b695a2f6d47458f1f336f230548126bf7201f9f | refs/heads/master | 2022-01-26T04:08:49.039538 | 2022-01-18T05:12:27 | 2022-01-18T05:12:27 | 232,354,596 | 5 | 4 | null | null | null | null | UTF-8 | R | false | true | 719 | rd | ff_sup_lower_hierarchy.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ff_sup_inout.R
\name{ff_sup_lower_hierarchy}
\alias{ff_sup_lower_hierarchy}
\title{Increase the RMD Hierarchy of Existing Files}
\usage{
ff_sup_lower_hierarchy(st_file, it_hierachy_lower_rmd = 1)
}
\arguments{
\item{st_file}{string texts cont... |
714d3bf906f6ace9bfbb1b93c29ef00d1f96735e | d2aac74ea9b5f68360a601dc9ff6494105bfba36 | /Ch05/5-8.R | edffeddbba889b60d93d61d3f7844c23c58aef4a | [] | no_license | ligr00vefe/R-2020 | f61bc50adfcec99b1ced34d95884072a247b24b4 | bb72711b6fb3dd1b46dd4cd55ee7b5982f125903 | refs/heads/master | 2023-01-03T06:45:03.478169 | 2020-10-28T01:56:37 | 2020-10-28T01:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,420 | r | 5-8.R | # 날짜 : 2020/08/05
# 이름 : 권기민
# 내용 : 텍스트시각화
install.packages("multilinguer")
library(multilinguer)
install_jdk()
install.packages(c('stringr', 'hash', 'tau', 'Sejong', 'RSQLite', 'devtools'), type = "binary")
install.packages("remotes")
remotes::install_github('haven-jeon/KoNLP', upgrade = "never", INSTALL_opts=c("--... |
50e9babde25eed55f00aa5bd7de6fbf907999c24 | c06ff03ea688fd22f7968eed274763a7475ae0a4 | /shinycoreci-apps-master/shinycoreci-apps-master/037-date-and-date-range/tests/shinytests/mytest.R | 7aa329f861b392ea920e42481dd04f2db620d9c6 | [] | no_license | RohanYashraj/R-Tutorials-Code | a6b670a7c580e270461c401eb2fb6b52c5accd1a | 1c5e4fa9103912a40c84bca65fbeeb8c9f94e428 | refs/heads/main | 2023-04-06T16:41:42.867165 | 2021-02-04T05:41:36 | 2021-02-04T05:41:36 | 335,850,407 | 1 | 1 | null | 2021-04-13T17:40:14 | 2021-02-04T05:42:29 | HTML | UTF-8 | R | false | false | 450 | r | mytest.R | app <- ShinyDriver$new("../../", seed = 100, shinyOptions = list(display.mode = "normal"))
app$snapshotInit("mytest")
app$snapshot()
app$setInputs(date = "2020-03-13")
app$setInputs(date2 = "2020-01-12")
app$setInputs(dateRange = c("2019-12-01", "2020-01-10"))
app$setInputs(dateRange = c("2019-12-01", "2020-04-24"))
a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.